tidy:0.4.0

I am submitting

[x] an update for a package

This release is a major redesign of the documentation syntax, intending to pave the way for eventual built-in documentation support. There is a migration guide for adopting the new syntax.
Instead of (old)
/// This function computes the cardinal sine, $sinc(x)=sin(x)/x$.
///
/// - x (int, float): The argument for the cardinal sine function.
/// -> float
#let sinc(x) = if x == 0 {1} else {calc.sin(x) / x}

we now write (new)
/// This function computes the cardinal sine, $sinc(x)=sin(x)/x$.
///
/// -> float
#let sinc(
  /// The argument for the cardinal sine function.
  /// -> int | float
  x
) = if x == 0 {1} else {calc.sin(x) / x}

The new style

removes almost all extra syntax and makes use of pure Typst syntax (cross references are now handled via single @ instead of @@).
moves the parameter descriptions right in front of each parameter.
has a temporary syntax for type annotations that makes it relatively easy to switch to the built-in solution that we are expecting to have soon in Typst.

The old syntax
Note that you can also keep using the old syntax which will still be around for some time. It can be activated via tidy.show-module(old-syntax: true, ...).
New features

New parser for the new documentation syntax. The old parser is still available and can be activated via tidy.show-module(old-syntax: true).
Cross-references to function arguments.
Support for detecting curried functions, i.e., function aliases with prepended arguments using the .with() function.
Auto-previewed examples can now be written with (inspired by the official Typst documentation)```example
#rect()
```

or```examplec
rect()
```

I'm happy to get feedback. Enjoy!

I can confirm that src/testing.typ is not a test file and that src/show-example.typ is not an example file 😅.

Yes, sorry about that, the heuristics for this warning is a bit too easy to trigger. Anyways, thank you for the update!


NRF52840_DK does not work by default

This example builds for the NRF52840 without errors but gets stuck in a loop removing files when run.
Example version: mbed-os-5.11.0-rc2 - 1bdc29842a1fceed925c08fd4e106945d6c19952
OS: Windows 10
Compiler: armcc
Board: NRF52840_DK
Test output:
> mbed compile -t ARM -m NRF52840_DK -f
...
> mbed sterm -b 115200 -r
[mbed] Detecting connected targets/boards to your system...
[mbed] Opening serial terminal to "NRF52840_DK"
--- Terminal on COM326 - 115200,8,N,1 ---
���j
9625) Re�--- Mbed OS KVStore static API example ---
kv_reset
kv_reset -> 265
kv_set first dummy key
kv_set -> 265
kv_get_info of first key
kv_get_info -> 265
kv_get_info key: /kv/dummy_key1
kv_get_info info - size: 0, flags: 139895
kv_get first key
kv_get -> 265
kv_get key: /kv/dummy_key1
kv_get value:
kv_set second dummy key
kv_set -> 265
kv_set third key with Confidentiality, Integrity and Replay Protection flags
kv_set -> 265
kv_set Set 'Real' Key 1
kv_set -> 265
kv_set Set 'Real' Key 2 with flag write-once
kv_set -> 265
Removing 'Dummy' Keys
1) Removing
2) Removing
3) Removing
4) Removing
5) Removing
6) Removing
7) Removing
8) Removing
9) Removing
...

Please see the readme:
Note: The example is by default set to be used on K64F target with internal memory (see: mbed_app.json). If running in another target, make sure the target.json for the target includes the "components": ["FLASHIAP"] and device_has": ["FLASH"] or add this section to the example mbed_app.json.

It looks a limitation of the NRF52840_DK platform.

@MarceloSalazar is this still an issue then ? Or can it be closed?

@MarceloSalazar @adbridge @c1728p9 does this mean kvstore is not supported on NRF52840_DK?

@c1728p9 it has been 5 days since the last reminder. Could you please update the issue header as previously requested?

@c1728p9 it has been 5 days since the last reminder. Could you please update the issue header as previously requested?

@c1728p9 it has been 5 days since the last reminder. Could you please update the issue header as previously requested?

@c1728p9 it has been 5 days since the last reminder. Could you please update the issue header as previously requested?

@c1728p9 it has been 5 days since the last reminder. Could you please update the issue header as previously requested?

@c1728p9 it has been 5 days since the last reminder. Could you please update the issue header as previously requested?

@c1728p9 it has been 5 days since the last reminder. Could you please update the issue header as previously requested?

@c1728p9 it has been 5 days since the last reminder. Could you please update the issue header as previously requested?

@c1728p9 it has been 5 days since the last reminder. Could you please update the issue header as previously requested?

@c1728p9 it has been 5 days since the last reminder. Could you please update the issue header as previously requested?

@c1728p9 it has been 5 days since the last reminder. Could you please update the issue header as previously requested?

@c1728p9 it has been 5 days since the last reminder. Could you please update the issue header as previously requested?

Thank you for raising this detailed GitHub issue. I am now notifying our internal issue triagers.
Internal Jira reference: https://jira.arm.com/browse/IOTOSM-3105


Feat:  groq API integration

Closes:  #240

Title : groq API integration
Name:  Pranoti Durugkar
Idenitfy yourself:  Gssoc

Describe the add-ons or changes you've made 📃
I have added a page under the resources section where user can put their question and search for answers and user will be answered as if it is being answered by Chanakya.
Type of change ☑

What sort of change have you made:

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Code style update (formatting, local variables)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Checklist: ☑

[x] My code follows the Contributing Guidelines & Code of Conduct of this project.
[x] This PR does not contain plagiarized content.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly wherever it was hard to understand.
[x] My changes generate no new warnings.

Screenshots 📷

Note to reviewers 📄

Always link your issue not the pr. Update it.

@Avdhesh-Varshney made routing changes


fix: take pending test-cases in task list

Fix for #161

@muhammadyusuf-kurbonov Thanks for looking into this. Can you please add some tests to this project for your expected behaviors?


Priority Sampling Formula

In Appendix G of the muzero paper, they define the priority of a sample as p_i = | nu_i - z_i |, and write "nu is the search value and z the observed n-step return."  (I'll use "nu" in place of ν for clarity when comparing with v)
However, in self_play.py, line 335, you seem to calculate priority as | v_i - nu_i |.
There are three related but distinct quantities here:
v - the output of the value head for a position
nu (ν) - the value estimate returned by MCTS for a position
z - the bootstrapped value of a position calculated using the next k observed rewards and the nu value k steps in the future, and discounting appropriately.
See Section 3 of the paper for definitions of these three terms.
It seems to me that the code currently does not match the priority calculation in the paper.  Is this intentional?  The | v - nu | formulation in the code has the advantage that priorities can be quickly updated whenever a position is used in training, because a new v is obtained.  The | nu - z | version in the paper is not amenable to priority updates, because that would seem to require at a minimum re-running MCTS to re-estimate nu, and at most re-playing the game for k round to re-estimate z, both of which are products of the current weights.

Hi,
Yes there are questions about that and we are not sure to doing it right.
The paper uses ν (the search value) and z (the observed n-step return).
But to update the priorities during the training, I think we would have to do the MCTS search at every training step for every step in the batch. To avoid that, we use the value predicted by the network instead of the search value. See https://github.com/werner-duvaud/muzero-general/blob/dfec4079f5bad7b3b3ffcb47e98a1298e2c3a03a/trainer.py#L216
For the initial priority, you can use the max recorded priority with the setting in the config or we tried to propose a priority with the available information at the current time step: the value predicted by the network and the search value.
We thought again about it and finally, we have changed the initial priority by waiting the end of the episode, now it matches the paper formula, but we will keep the different formula (see above) for the updated priorities.


Add validations to catch empty train/test scenarios

Description
Adding these validations to make sure the downstream predict calls don't fail unexpectedly.
Checklist

[ ] I have added screenshots above for all UI changes.
[ ] I have added e2e tests for all UI changes.
[ ] Documentation was updated if it was needed.

Codecov Report

Merging #1749 (cdc0201) into main (7ba1f3e) will increase coverage by 3.49%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #1749      +/-   ##
==========================================
+ Coverage   88.30%   91.80%   +3.49%
==========================================
  Files          90       74      -16
  Lines        5252     4113    -1139
==========================================
- Hits         4638     3776     -862
+ Misses        614      337     -277

Flag
Coverage Δ

unittests
91.80% <100.00%> (+3.49%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...sibleai/responsibleai/rai_insights/rai_insights.py
78.74% <100.00%> (+0.12%)
:arrow_up:

raiwidgets/raiwidgets/responsibleai_dashboard.py

raiwidgets/raiwidgets/cohort.py

raiwidgets/raiwidgets/error_analysis_dashboard.py

raiwidgets/raiwidgets/interfaces.py

...idgets/raiwidgets/responsibleai_dashboard_input.py

raiwidgets/raiwidgets/model_analysis_dashboard.py

raiwidgets/raiwidgets/error_analysis_constants.py

...iwidgets/raiwidgets/explanation_dashboard_input.py

...iwidgets/raiwidgets/fairness_metric_calculation.py

... and 7 more

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


Disable Traefik v1 handling

We have been packaging Traefik v2 since k3s v1.21, but we still have logic embedded to check for v1 and skip deploying v2 if it is found.
This same logic also runs on RKE2, causing some confusing log messages on server startup:
Jan 24 14:03:47 zerk422 rke2[1361]: time="2024-01-24T14:03:47Z" level=info msg="Pod for etcd is synced"
Jan 24 14:03:47 zerk422 rke2[1361]: time="2024-01-24T14:03:47Z" level=info msg="Pod for kube-apiserver is synced"
Jan 24 14:03:47 zerk422 rke2[1361]: time="2024-01-24T14:03:47Z" level=info msg="ETCD server is now running"
Jan 24 14:03:47 zerk422 rke2[1361]: time="2024-01-24T14:03:47Z" level=info msg="rke2 is up and running"
Jan 24 14:03:47 zerk422 systemd[1]: Started Rancher Kubernetes Engine v2 (server).
Jan 24 14:03:47 zerk422 rke2[1361]: time="2024-01-24T14:03:47Z" level=info msg="Failed to get existing traefik HelmChart" error="helmcharts.helm.cattle.io \"traefik\" not found"

We should disable the legacy v1 detection for K3s v1.30.0.
Ref:

https://github.com/k3s-io/k3s/pull/2910

No backports; this should be for 1.30+ only.

Reproduced using VERSION=v1.30.1+k3s1
Validated using COMMIT=cff6f7aa1d7987a658b030b2bc69df7c25f515c8
In this case the validation is just the absence of the error from v1 checking so there isn't anything to show other than state that the error does not occur.
journalctl logs on existing releases show the error
Jun 11 22:35:42 ip-1-1-3-25 k3s[2779]: time="2024-06-11T22:35:42Z" level=info msg="Failed to get existing traefik HelmChart" error="helmcharts.helm.cattle.io \"traefik\" not found"

$ kgn
NAME              STATUS   ROLES                       AGE   VERSION
ip-1-1-1-44       Ready    control-plane,etcd,master   18m   v1.30.1+k3s-cff6f7aa


ReactGridLayout mutates props on widget resize

When adding a new item to the dashboard and resizing it immediately, props will be mutated here. When using a library like immer, the app will crash with the following exception:
Uncaught TypeError: Cannot assign to read only property 'w' of object '#<Object>'
  at ReactGridLayout.onResize (ReactGridLayout.js:614)

This is very similar to #1063 , but it's affecting another part of the code base (and is triggered by a different user action).
I will have a look into this and provide another fix.

I've created a PR with a fix: https://github.com/STRML/react-grid-layout/pull/1156

The issue isn't stale. I'll try to look back into my PR in the next days.

Any news on this?

Still an issue.


cxx fails, when CXX or CXXFLAGS are used

the cxx tool fails to handle CXX or CXXFLAGS environment variables correctly,
even for a hello.cpp
Examples:
CXX="g++  -DHELLO_FROM_CXX" cxx
CXX="g++"  CXXFLAGS="-DHELLO_FROM_CXXFLAGS" cxx

Instead of building the example, scons prints the scons commandline help.

When avoiding a "-D" in CXXFLAGS and using a "-I" instead (with a script for CXX),
the failure is different:
Example with "scriptname":
CXX="scriptname"  CXXFLAGS=" -I/$HOME/dummy_include_dir "  cxx

scriptname -o hello.o -c -std=c++20 -O2 -pipe -fPIC -fno-plt -fstack-protector-strong -Wall -Wshadow -Wpedantic -Wno-parentheses -Wfatal-errors -Wvla -Wignored-qualifiers hello.cpp
sh: 1: scriptname: not found
*** [hello.o] Error 127

Using export makes no difference:
export CXX="scriptname"
export CXXFLAGS=" -I/$HOME/dummy_include_dir "
cxx

scriptname -o hello.o -c -std=c++20 -O2 -pipe -fPIC -fno-plt -fstack-protector-strong -Wall -Wshadow -Wpedantic -Wno-parentheses -Wfatal-errors -Wvla -Wignored-qualifiers hello.cpp
sh: 1: scriptname: not found
*** [hello.o] Error 127

Ah, yes. This isn't really supported. I want to support this in cxx2 which will be a scons-less rewrite, though.
Until then, I'll either update the documentation to say this isn't supported or add support for it.
Thanks for reporting.


{bp-15075} semaphore: change semaphore count to atomic operation

Summary
dd sem_wait fast operations, use atomic to ensure atomicity of semcount operations, and do not depend on critical section.
Test with robot board:
before modify:
nxmutex_lock cost: 78 ns
nxmutex_unlock cost: 82 ns
after modify:
nxmutex_lock cost: 28 ns
nxmutex_unlock cost: 14 ns
Impact
RELEASE
Testing
CI

[Experimental Bot, please feedback here]
No, this PR does not fully meet the NuttX requirements.  While it provides a summary of the changes and some performance testing results, it's missing crucial information.
Here's a breakdown of what's missing:

Summary:  While the summary describes what was changed, it lacks the why. Why was this change necessary? Was it to fix a bug, improve performance, or add a feature? What specific functional part of the code was modified (e.g., semaphore implementation)?  There's no mention of related issues.

Impact:  Simply stating "RELEASE" is insufficient.  Each impact category should be addressed with a "YES" or "NO" followed by a description if "YES."  For example, this change likely impacts performance (YES, mutex lock/unlock times reduced), and possibly compatibility (depending on the nature of the change).  The impact on documentation also needs to be clarified. Was documentation updated to reflect these changes?

Testing:  "CI" is not enough. While Continuous Integration is important, the PR needs to provide specific details about the local testing environment.  What host OS, CPU architecture, and compiler were used? What target architecture and board configuration were tested?  The provided test logs are helpful, but they lack context. What specific test case generated these logs?  More comprehensive testing is required to ensure the changes don't introduce regressions.

In short, the PR needs to be significantly more detailed to meet the NuttX requirements. It should clearly explain the motivation for the change, its comprehensive impact, and provide detailed testing information beyond just "CI".


Improve X and Y translation for improved realism

What?
Look into what makes a experiences real when it comes to the translation of x, and y

Research!
Found a very good project from Stanford that does the same as what we are trying to do!
https://web.stanford.edu/class/cs231a/prev_projects_2016/final-project.pdf
@marhjoh @haugeSander

See pr #39

Update 11th April
New equations for the X and Y translation. It uses the resolution of the screen, the focal length of the camera and more.
Presenting two options, one with res and another one without resolution. More research need to be done, but this looks better than before.

Also presenting the scalar value for scaling based on the environment, so the movement makes more sense:

See PR #40

Note that the formula needs rework

Closing for now


Settings does not open in a standalone version throwing "Unable to open 'settings.json': Cannot read property 'preferencesModel' of null" error

VSCode Version: 1.14.1 (standalone)
OS Version: Windows 7

Steps to Reproduce:

File -> Preferences -> Settings
Error thrown: "Unable to open 'settings.json': Cannot read property 'preferencesModel' of null"

Reproduces without extensions: Yes

Confirmed, exact same situation here.

@myklt @mrkafk Can you please open Dev tools from the command pallete

Press F1
Type Developer: Toggle Developer Tools and Select it

It opes Developer tools. Can you let me know if there are any logs related to above error?
Thanks

@sandy081
Unable to open 'settings.json': Cannot read property 'preferencesModel' of null.: Error: Unable to open 'settings.json': Cannot read property 'preferencesModel' of null.     at t.doHandleSetInputError (file:///C:/Dev/VSCode/resources/app/out/vs/workbench/electron-browser/workbench.main.js:29:424008)     at file:///C:/Dev/VSCode/resources/app/out/vs/workbench/electron-browser/workbench.main.js:29:423614     at Object.v [as _notify] (file:///C:/Dev/VSCode/resources/app/out/vs/workbench/electron-browser/workbench.main.js:28:53344)     at Object.enter (file:///C:/Dev/VSCode/resources/app/out/vs/workbench/electron-browser/workbench.main.js:28:56329)     at n.Class.derive._oncancel._run (file:///C:/Dev/VSCode/resources/app/out/vs/workbench/electron-browser/workbench.main.js:28:58157)     at n.Class.derive._oncancel._completed (file:///C:/Dev/VSCode/resources/app/out/vs/workbench/electron-browser/workbench.main.js:28:57598)     at l (file:///C:/Dev/VSCode/resources/app/out/vs/workbench/electron-browser/workbench.main.js:28:61093)     at $.then.o.(anonymous function) (file:///C:/Dev/VSCode/resources/app/out/vs/workbench/electron-browser/workbench.main.js:28:61307)     at Object.g [as _notify] (file:///C:/Dev/VSCode/resources/app/out/vs/workbench/electron-browser/workbench.main.js:28:52764)     at Object.enter (file:///C:/Dev/VSCode/resources/app/out/vs/workbench/electron-browser/workbench.main.js:28:56329)

Also receiving the same error with extensions disabled.
Unable to open 'settings.json': Cannot read property 'preferencesModel' of null.: Error: Unable to open 'settings.json': Cannot read property 'preferencesModel' of null.     at t.doHandleSetInputError (file:///C:/Program Files (x86)/Microsoft VS Code/resources/app/out/vs/workbench/electron-browser/workbench.main.js:29:424033)     at file:///C:/Program Files (x86)/Microsoft VS Code/resources/app/out/vs/workbench/electron-browser/workbench.main.js:29:423639     at Object.v [as _notify] (file:///C:/Program Files (x86)/Microsoft VS Code/resources/app/out/vs/workbench/electron-browser/workbench.main.js:28:53344)     at Object.enter (file:///C:/Program Files (x86)/Microsoft VS Code/resources/app/out/vs/workbench/electron-browser/workbench.main.js:28:56329)     at n.Class.derive._oncancel._run (file:///C:/Program Files (x86)/Microsoft VS Code/resources/app/out/vs/workbench/electron-browser/workbench.main.js:28:58157)     at n.Class.derive._oncancel._completed (file:///C:/Program Files (x86)/Microsoft VS Code/resources/app/out/vs/workbench/electron-browser/workbench.main.js:28:57598)     at l (file:///C:/Program Files (x86)/Microsoft VS Code/resources/app/out/vs/workbench/electron-browser/workbench.main.js:28:61093)     at n.Class.derive.join.r.forEach.$.then.o.(anonymous function) (file:///C:/Program Files (x86)/Microsoft VS Code/resources/app/out/vs/workbench/electron-browser/workbench.main.js:28:61307)     at Object.g [as _notify] (file:///C:/Program Files (x86)/Microsoft VS Code/resources/app/out/vs/workbench/electron-browser/workbench.main.js:28:52764)     at Object.enter (file:///C:/Program Files (x86)/Microsoft VS Code/resources/app/out/vs/workbench/electron-browser/workbench.main.js:28:56329)

I am still having the same error in the new version:

VSCode Version: 1.14.2 (standalone)
OS Version: Windows 7 32bit

Any info on this, @myklt ?

I am sorry, I am not able to reproduce this on stable and insiders.
Is it possible to try our insiders and see you have the same issue?

@sandy081, The issue seems to be fixed in the insider version (VSCode-win32-ia32-1.15.0-insider)
Thank you !!

Thanks.


Display output directory in generate message

What this PR does / why we need it: Displays the output directory in the output of acs-engine generate - this helps new users to more easily locate the generated ARM templates.
Which issue this PR fixes: fixes #1294
Special notes for your reviewer: None
Release note:

NONE

@itowlson,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


HIVE-685 GenericUDFQuote

HIVE-685 GenericUDFQuote
@pvary Kindly review the source and merge

Code merged as available in Jira ticket
So closing.


Cannot Set Up SSH Key

Description
Hi! When I try  connect to my devboard via "mdt shell," I get the following error message:
I followed the instructions at https://coral.ai/docs/dev-board/mdt/#install-mdt, and it looks like the same key is on both my local device and on the coral. Any help would be very appreciated. Thanks!
Waiting for a device...
Connecting to wishful-orange at <IP_ADDRESS>
Key not present on wishful-orange -- pushing
It looks like you're trying to connect to a device that isn't connected
to your workstation via USB and doesn't have the SSH key this MDT generated.
To connect with mdt shell you will need to first connect to your device
ONLY via USB.
Cowardly refusing to attempt to push a key to a public machine.
Click to expand!
Issue Type
Support
Operating System
Mendel Linux
Coral Device
Dev Board
Other Devices
No response
Programming Language
No response
Relevant Log Output
No response

@nihalraman can you please try the solution provided here changing ip address from 192.168.10 to 172.20.10 in site-packages/mdt/sshclient.py line 86: https://stackoverflow.com/questions/58938727/unable-to-connect-google-coral-using-otg-port/59035796#59035796

Ah, ok that makes sense. Thanks!


feat: display all models in the models page

Fixes #43
What does this PR do?
Display all models from the catalog in the models page. If the model is not downloaded, existing actions are disabled. Goal is to allow new actions (download,...) in the future
Screenshot / video of UI

What issues does this PR fix or reference?
#43
How to test this PR?
Go to the Models page

I wonder if we want to only disable the actions, or completely hide them (as they will be replaced by other actions in the future)
The title is not accurate anymore (Models on disk)
Probably not related to this PR, but the pointer should not change to a hand when a button is disabled

I would argue that they probably should be separated ? I don't really like having all my models mixed up. As a user I probably want to have some clear distinctions between what I have locally, and what I could have.
For now the catalog is kinda small, but in the future we might have a lot.
@mairin might have an opinion on the matter ?

Let's drop the popularity column, @lstocchi and I talked about this before and we can't grab this data in the way we want so let's just drop for now.
@axel7083 What might be a natural way would be to have tabs like @feloy added to the containers tab, there they are All | Running | Stopped. Instead here it could be something like, All | Downloaded | Available to Download - what do you think?


[in_app_purchase] iOS simulator continually asks for Apple ID Sign-In when attempting to restorePurchase

Hello, I understand the IOS in-app purchases are not supported on simulator devices, however, when calling restorePurchases on IOS, I receive a dialog box asking for Apple ID sign-in:

This is the same defect as https://github.com/flutter/flutter/issues/94269 which was resolved by migrating to RevenueCat (so not really resolved)
I have tried my developer AppleID, as well as my Sandbox ID, and both are rejected.  The error I get is:

I have had to code around the call on IOS (by eliminating the call to restorePurchase), so clearly not an ideal solution.
Steps to Reproduce
Simply create an app with in-app billing and execute on an IOS simulator.  Code to call restorePurchase something similar:
void restorePurchase(Function restorePurchaseResponseCallback) {
    //store the function to return purchase flow response
    _purchaseFlowResponseCallback = restorePurchaseResponseCallback;

    //this is a restore event, not a purchase
    _isPurchaseAttempt = false;

    _iap?.restorePurchases();
  }

The sign-in occurs on the _iap?.restorePurchase(), and the _purchaseFlowResponseCallback is never executed.
##flutter doctor -v
[✓] Flutter (Channel stable, 3.3.9, on macOS 13.1 22C65 darwin-arm, locale en-GB)
• Flutter version 3.3.9 on channel stable at /Users/sneglia/Development/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision b8f7f1f986 (5 weeks ago), 2022-11-23 06:43:51 +0900
• Engine revision 8f2221fbef
• Dart version 2.18.5
• DevTools version 2.15.0
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
• Android SDK at /Users/sneglia/Library/Android/sdk
• Platform android-33, build-tools 33.0.1
• Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 14C18
• CocoaPods version 1.11.3
[✗] Chrome - develop for the web (Cannot find Chrome executable at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome)
! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
[✓] Android Studio (version 2021.3)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
[✓] Connected device (4 available)
• sdk gphone64 arm64 (mobile) • emulator-5554                        • android-arm64 • Android 13 (API 33) (emulator)
• iPhone 11 Pro (mobile)      • E8FE561B-A0EE-446D-AC1B-6D734CDAAF3F • ios           • com.apple.CoreSimulator.SimRuntime.iOS-13-7 (simulator)
• iPhone 14 Pro (mobile)      • B5A738C6-7667-45B4-BFC3-23A6E4EA27AC • ios           • com.apple.CoreSimulator.SimRuntime.iOS-16-2 (simulator)
• macOS (desktop)             • macos                                • darwin-arm64  • macOS 13.1 22C65 darwin-arm
[✓] HTTP Host Availability
• All required HTTP hosts are available

@sneglia9191
There's similar open issue describing your case, https://github.com/flutter/flutter/issues/82398, so please follow-up in it for further updates. Closing this as a duplicate.

This is the same defect as #94269 which was resolved by migrating to RevenueCat (so not really resolved)

That was also same as the original issue I linked above in a nutshell.

Darshan why are you linking to a closed and unresolved issue? :)


Use radians in radiation

Purpose

RRTMGP uses radians for latitude and longitude. This PR fixes the bug that we pass in latitude in degrees.
Closes #1716.
To-do

Content

[ ] I have read and checked the items on the review checklist.

We decided to change to use degrees in RRTMGP to be more consistent. Ignore this PR for now.


chore: Disable dependabot because it needs update to golang 1.22

What this PR does / why we need it:
We are waiting until downstream supports golang 1.22, then we can update upstream.
Release note:
None

/cc @0xFelix

Closing. I will post a PR to update to go 1.22.
/close


add the type to the map store in the documentation

Small fix in the documentation, the type SettingsValue is created but is not passed in the persistentMap function

Thanks!

Welcome!


refactor(bootstrap): replace lodash.mergeWith with custom function

To reduce our bundle size by about 10kb we replace lodash.mergeWith with
a custom implementation to merge objects and arrays.

Bors merge bot cheat sheet
We are using bors-ng to automate merging of our pull requests. The following table provides a summary of commands that are available to reviewers (members of this repository with push access) and delegates (in case of bors delegate+ or bors delegate=[list]).

Syntax
Description

bors merge
Run the test suite and push to master if it passes. Short for "reviewed: looks good."

bors merge-
Cancel an r+, r=, merge, or merge=

bors try
Run the test suite without pushing to master.

bors try-
Cancel a try

bors delegate+
Allow the pull request author to merge their changes.

bors delegate=[list]
Allow the listed users to r+ this pull request's changes.

bors retry
Run the previous command a second time.

This is a short collection of opinionated commands. For a full list of the commands read the bors reference.

bors merge


Enable some dependency features for wasi-nn.

This is a follow up of #7766 and #7792. It fixes cargo build for wasmtime-wasi-nn standalone build.

Thanks, @jianjunz!


Can this method be applied to stable diffusion?

Can this method be applied to stable diffusion?

@dingjingzhen Yes, you can just checkout this paper: https://arxiv.org/pdf/2210.03142.pdf.
Basically this method can be applied on any diffusion model.
You can say what this method doing is just train a new model with special noise schedule and target.
And the training target is to "simulate" 2step ddim sampling from teacher model.


ERR: data is too big

Intermittent black video output with "ERR: data is too big" in the console.
v0.15.1
windows 10 pro x64 build 21327 prerelease (to have the gpu selector)
As time goes, this get more and more frequent until OBS says the remote end not responds and i get complete black output with the video client.
streaming source from OBS x264 via rtmp 1080p 60fps CQP10 video.
Even if i push the quantizer, to lower bitrate and quality, it still does this error.
The streaming network is a direct attached 2.5G couple of dedicated ethernet interfaces, peaks about 1.5 gbits/s from time to time.
(when i transfer files it runs flawless at ~300Mo/s)
Dunno which is culprit, this software or OBS.

hello, this is a duplicate of #206 and fixed in v0.15.2


Rename from ApiKey to Key

AIza0deadbeef00deadbeef00deadbeef00dead

Eddy, I am no longer sure this is a good idea. My apologies. We should try to prefer the terms used in docs, see below, ApiKey is definitely right for SendGrid. I think we need a clear definition for an API key, which is a credential that itself effectively serves  as a credential, that is, comprises both a user and password.
https://sendgrid.com/docs/ui/account-and-settings/api-keys/

Refers to: Src/Plugins/Tests.Security/TestData/SecurePlaintextSecrets/Inputs/SEC101_003.GoogleKey.txt:1 in 2cc9f37. [](commit_id = 2cc9f37087858ec12e8d56732955ca22f8faab3e, deletion_comment = False)


Fix ci in llvm

Is CVF supposed to pass with llvm branch ?
Using /gpfs/bbp.cscs.ch/ssd/apps/hpc/jenkins/deploy/libraries/2021-01-06/linux-rhel7-x86_64/gcc-9.3.0/py-six-1.14.0-uj3k6l/lib/python3.8/site-packages
Finished processing dependencies for channel-validation-framework==0.0.0
++ cvf_stdrun mod/cvf mod/neocortex/mod/v5
Traceback (most recent call last):
  File "/jenkins/06/workspace/sim.channel-validation-framework.pipeline.gerrit/BUILD_HOME/venv/bin/cvf_stdrun", line 33, in <module>
    sys.exit(load_entry_point('channel-validation-framework==0.0.0', 'console_scripts', 'cvf_stdrun')())
  File "/jenkins/06/workspace/sim.channel-validation-framework.pipeline.gerrit/BUILD_HOME/venv/bin/cvf_stdrun", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "/gpfs/bbp.cscs.ch/ssd/apps/hpc/jenkins/deploy/externals/2021-01-06/linux-rhel7-x86_64/gcc-9.3.0/python-3.8.3-suxrst/lib/python3.8/importlib/metadata.py", line 77, in load
    module = import_module(match.group('module'))
  File "/gpfs/bbp.cscs.ch/ssd/apps/hpc/jenkins/deploy/externals/2021-01-06/linux-rhel7-x86_64/gcc-9.3.0/python-3.8.3-suxrst/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 655, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 618, in _load_backward_compatible
  File "<frozen zipimport>", line 259, in load_module
  File "/jenkins/06/workspace/sim.channel-validation-framework.pipeline.gerrit/BUILD_HOME/venv/lib/python3.8/site-packages/channel_validation_framework-0.0.0-py3.8.egg/channel_validation_framework/commands.py", line 15, in <module>
  File "<frozen zipimport>", line 259, in load_module
  File "/jenkins/06/workspace/sim.channel-validation-framework.pipeline.gerrit/BUILD_HOME/venv/lib/python3.8/site-packages/channel_validation_framework-0.0.0-py3.8.egg/channel_validation_framework/config.py", line 12, in <module>
  File "<frozen zipimport>", line 259, in load_module
  File "/jenkins/06/workspace/sim.channel-validation-framework.pipeline.gerrit/BUILD_HOME/venv/lib/python3.8/site-packages/channel_validation_framework-0.0.0-py3.8.egg/channel_validation_framework/mod.py", line 1, in <module>
ModuleNotFoundError: No module named 'nmodl'
script returned exit code 1

Please retest


CHAOS-6113 Fix left nav bar and center screen mismatch

Fix left nav bar and center screen mismatch for Cloud Foundry faults

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://668f7fa22aeaa0f38138010f--harness-developer.netlify.app


it dosent work

2024-03-23 11:18:46 INFO     discord.client logging in using static token
Traceback (most recent call last):
File "C:\Users\blaze\Downloads\simplediscordbot-main\simplediscordbot-main\bot.py", line 397, in
bot.run(DISCORD_TOKEN)
File "C:\Users\blaze\AppData\Local\Programs\Python\Python311\Lib\site-packages\discord\client.py", line 860, in run
asyncio.run(runner())
File "C:\Users\blaze\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 190, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "C:\Users\blaze\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\blaze\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 653, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "C:\Users\blaze\AppData\Local\Programs\Python\Python311\Lib\site-packages\discord\client.py", line 849, in runner
await self.start(token, reconnect=reconnect)
File "C:\Users\blaze\AppData\Local\Programs\Python\Python311\Lib\site-packages\discord\client.py", line 777, in start
await self.login(token)
File "C:\Users\blaze\AppData\Local\Programs\Python\Python311\Lib\site-packages\discord\client.py", line 609, in login
raise TypeError(f'expected token to be a str, received {token.class.name} instead')
TypeError: expected token to be a str, received NoneType instead

You need to create the file ".env" in the same directory as bot.py, and inside the file, add DISCORD_TOKEN='YOURSUPERSECRETTOKEN' replace the YOURSUPERSECRETTOKEN with your bot token (keep the quotation marks).


New chatbot style interactions for conversations

Addition of new chatbot style interactions for conversations in Melissa's general_conversations.py action module.
Sample format for an action module
Documentation of the WORDS constant
PS: New sample conversations can be inspired from Iron Man or similar AI movies ;)

Hey, I'd like to contribute to this issue and the Repeat action module one. :smiley:

I'm interested in helping with this issue, any chance you can give more specifics on what you want in terms of keywords?

@Hutcharmy There's nothing specific right now. Think about something you might like in your personal assistant (or if you had something like Jarvis). Creative and flaunting conversations invited too. I would recommend everyone interested in this to first discuss the dialogues/keywords here before sending in a PR.

@lakshmanaram and @Hutcharmy need any help from me?

Two new additions here: https://github.com/Melissa-AI/Melissa-Core/pull/77.


[Doc] Add Kafka source connector guide

Fix https://github.com/apache/pulsar/issues/5015

@Anonymitaet @tuteng Should we just aggregate the source and sink guide to one file, as you can share the same usage of a standalone kafka cluster.

@murong00 I've added separate guides for both Kafka source connector (this PR) and Kafka sink connector (https://github.com/apache/pulsar/pull/5210) to improve clarity, does it make sense?

run integration tests

run integration tests

run integration tests


Feature Request: Workaround for Duplicate Class Names Between Local Code and Dependency

After reading your documentation, I understand that the @JsonObject decorator now requires the class identifier as the first parameter. However, one of my dependencies for my project also uses to Json2Typescript and has a conflicting class name with one of my own. Is there a way I can have Json2Typescript separate the use of the duplicate class names?
Thanks in advance!

I also recommend to encourage the third-party dependency to use unique names for their class identifiers.
If you have something more to add, feel free to reopen the issue.


Improve navigation for Admin area

NOTE: This is potentially superseded by new global nav design in related issue #161 . Links to alternative requirements in Google doc below.

Redesign top nav menu for switching from homepage to plans area
Also for admins switching from plans area to admin area
add "Admin area" tab to main menu bar
remove "Admin area" from top right drop-down menu
add "Plan area" or "View plans" tab to main menu bar when in Admin area
Super Admin tab and/or functions will become part of the Admin area

Non-logged-in version: https://wireframe.cc/BatUuz
Logged-in version: https://wireframe.cc/FgAwAU
Menu items Google doc: https://docs.google.com/document/d/1iMOP6wU6Qv7RObjM8El9EeZzDyeyke62qewS8qZx4-0/edit
Pivotal ticket: https://www.pivotaltracker.com/story/show/131906525
related tickets:
#120873081
#131906263

It's easier to revise navigation if you look at key screens, decide what their main function is, then place the necessary buttons there. Same goes for #161 .

Since change in global nav design, this issue is no longer relevant.


Datatype mapping from mysql to go

I have been using your replication package to translate mysql binlogs. The db version is 5.5. I am new to this package but absolutely love the work you have done. I am using it for a pretty large scale replication scenario, where I am extracting data from binlogs and constructing a SQL out of it to be run on another platform which is not mysql. The data types matter to me because I need to convert all the data to string (as SQL scripts).
I was intrigued by the data type mapping from mysql to go. So I created a large table with all the possible data types and inserted one row in it. Then I printed the value of each field along with its data type. And the results were very interesting.
The mapping was basically the following. The left side is the column data type from show create table and the right side the data type of the go variable using reflect.TypeOf()
I just wanted to confirm with you that I am not looking at something wrong and this is the intended behavior. Also if there any other gotchas I should be aware of. I need to make sure the replication runs fine with a Multi TB database setup. Please read my thoughts at the bottom. .
    col0a bit(4),                   int64
    col1a tinyint(1),               int8
    col1b tinyint(1) unsigned,      int8
    col1c tinyint(4),               int8
    col1d tinyint(4) unsigned,      int8
    col3a smallint,                 int16
    col3b smallint unsigned,        int16
    col4a mediumint,                int32
    col4b mediumint unsigned,       int32
    col5a int,                      int32
    col5b int unsigned,             int32
    col6a bigint,                   int64
    col6b bigint unsigned,          int64
    col7a decimal,                  string
    col7b decimal unsigned,         string
    col7c decimal(5),               string
    col7d decimal(5,2) unsigned,    string
    col8a float,                    float32
    col8b float unsigned,           float32
    col8c float(10,5),              float32
    col8d float(10,5) unsigned,     float32
    col9a double,                   float64
    col9b double unsigned,          float64
    col9c double(10,5),             float64
    col9d double(10,5) unsigned,    float64
    col10a date,                    string
    col10b datetime,                string
    col10c timestamp,               string
    col10d time,                    string
    col10e year,                    int
    col11 char(10),                 string
    col12 varchar(10),              string
    col13 binary(10),               string
    col14 varbinary(10),            string
    col15 tinyblob,                 []uint8
    col16 tinytext,                 []uint8
    col17 blob,                     []uint8
    col18 text,                     []uint8
    col19 mediumblob,               []uint8
    col20 mediumtext,               []uint8
    col21 longblob,                 []uint8
    col22 longtext,                 []uint8
    col23 enum('a','b','c'),        int64
    col24 set('a','b','c')          int64

My thoughts for the mapping -

no go uint types even for unsigned data (actually helps)
all decimal datatypes are string (a bit weird)
all date types are string except year which is an int (makes sense)
binary and varbinary are strings (why not hex)
all blob and text types are hex (makes sense)
enum and set are int64s and displays the index of the data not the actual data (probably because binlog has the index only)

enum has the index number (0,1,2,3) and if value is '' the index number = 0
set has doubling index number(1,2,4,8..)

all nulls become nil (thank god for that)

I basically used the following insert
insert into datatypes values (1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,now(),now(),now(),'11:11:11','1980','a','b',0xAB,0xCD,0xEF,'tinytext',0xA1,'text',0xA2,'mediumtext',0xA3,'longtext','c','c');

and got the following result.
dtype := reflect.TypeOf(d)
fmt.Printf("value : %v , type : %v \n", d, dtype)

value : 1 , type : int64
value : 2 , type : int8
value : 3 , type : int8
value : 4 , type : int8
value : 5 , type : int8
value : 6 , type : int16
value : 7 , type : int16
value : 8 , type : int32
value : 9 , type : int32
value : 10 , type : int32
value : 11 , type : int32
value : 12 , type : int64
value : 13 , type : int64
value : 14 , type : string
value : 15 , type : string
value : 16 , type : string
value : 17.00 , type : string
value : 18 , type : float32
value : 19 , type : float32
value : 20 , type : float32
value : 21 , type : float32
value : 22 , type : float64
value : 23 , type : float64
value : 24 , type : float64
value : 25 , type : float64
value : 2023-02-15 , type : string
value : 2023-02-15 00:48:58 , type : string
value : 2023-02-15 00:48:58 , type : string
value : 11:11:11 , type : string
value : 1980 , type : int
value : a , type : string
value : b , type : string
value : � , type : string
value : � , type : string
value : [239] , type : []uint8
value : [116 105 110 121 116 101 120 116] , type : []uint8
value : [161] , type : []uint8
value : [116 101 120 116] , type : []uint8
value : [162] , type : []uint8
value : [109 101 100 105 117 109 116 101 120 116] , type : []uint8
value : [163] , type : []uint8
value : [108 111 110 103 116 101 120 116] , type : []uint8
value : 3 , type : int64
value : 4 , type : int64

binlog type are different with MySQL's type at user's side, I found the comment of (*RowsEvent).decodeValue
points to https://github.com/mysql/mysql-server/blob/a246bad76b9271cb4333634e954040a970222e0a/sql/log_event.cc#L1863 . This libryary just translate the binlog type to golang's type

all decimal datatypes are string (a bit weird)

there's a UseDecimal in config to switch to a 3-rd party implemented decimal.

@sandhutarun Just wanted to thank you for your research. Due to the lack of docs, your type mapping is very helpful.


Deployment does not rollingupdate when I upgrade

Hello,
When I deployed a new version with helm3 (helm upgrade --install  ) all pods are stopped in the same time and I generated a downtime :-(
This works in helm v2, is there any way to resolve this issue?
thanks in advance!
My rollingupdate parameters :
maxSurge: 2
maxUnavailable: 1
Output of helm version: 3.3.4
Output of kubectl version: 1.15.11
Cloud Provider/Platform (AKS, GKE, Minikube etc.): AKS

@brichou I'm sorry to hear you had a problem like this.
Helm delivers the payload to Kubernetes. It doesn't start or stop pods. This is all determined by the contents of the Kubernetes manifests generated from the templates. There is something in the content of the chart that's causing this. Without seeing that detail, I cannot point to the cause.
One thing that did change from Helm v2 to Helm v3 is that Helm takes into account changes to resources that occurred between releases. For example, if a sidebar is attached by a service mesh. It uses a three way strategic merge patch (from Kubernetes). If Helm v2 was blowing away an old change it might carried over now.
I hope this helps give you a couple places to look

@brichou check this faq.
https://helm.sh/docs/faq/#improved-upgrade-strategy-3-way-strategic-merge-patches

thanks for your reply!
I'm going to check my charts but if your expert eyes can find what is wrong I will be happy ! :-)
charts.zip
thanks

I don't see anything in the chart that would cause it to go offline. Do all the replicas come online when it is running? Or, are only 1/3 normally running?

hi,
Thanks for your help on this subjet but i found what was wrong, the deploiment worked with another chart version (not the version I uploaeded), and this version contained an error with replicas parameter :-(
All works fine now with helm v3 and rolling update :-)
Thanks a lot for your time!


Replace inline function in DPC++ rng uniform with functor (workaround to fix internal compiler error)

/intelci: run


Navigation problem with Prism and navigation arrows

Today i tried to implement a CarouselView in my Xamarin Forms Application.
After the successfull implementation i recognized that i couldn't navigate any more to another page. I did some hours of research and removed the navigation arrows. Then page navigation worked again.
So there is definitly a problem between Prism.Forms and the arrow keys.
Would be great, if this is going to be fixed.

hi, try this plugin instead https://github.com/AndreiMisiukevich/CardView
Because, this plugin was merged to XF..

@alexrainman any solution for this?

@wilsonvargas can you post an example so i can reproduce this issue?

I am getting close to release date. Please submit a demo reproducing the issue if you want a fix to be included. Thanks

Hi @alexrainman, I am also seeing this issue when using Prism and ShowArrows="true". I have a sample project but it is too big to attach here

I am back! Releasing new version in the next 2 weeks. Will try to reproduce this myself.


Path is not referenced properly

https://github.com/lencx/vite-plugin-rsw/blob/bbd21056333116ec63c56b1db7a428eeb5278430/src/compiler.ts#L36
Looks like you could use path.sep or simply '/' when concatenating both directories names.
so it should say smt like: const crateRoot = root + '/' + rswCrate;

Thanks for the feedback. It's my negligence, it can be handled like this:
const crateRoot = path.resolve(root, rswCrate);

You're right. That's even better! thanks!


fixed WhereClauseVisitor to handle constant booleans. Fixes #821

Please be careful
I don't really know what I'm doing :)
I did a quick analysis of the behavior and fixed what seemed to be the problem in my case. I'm not however sure I completely understand the original idea, so I can't tell if the previous implementation was a mistake or had some purpose to behave like it did.
I ran all the tests, some of them failed but they did failed on the latest origin sources as well, so I suppose these are not because of my change. More likely the lack of v8 language and some system encoding problems, I can't investigate it right now

@migajek Got it, and thanks! Honestly, the Linq support for now falls into the category of "if it passes the tests, it's good enough"


@RObjectField annotation with codec option has no effect

Expected behavior
According to the brief documentation on the @RObjectField annotation I should be able to use this annotation on a field within a class annotated with @REntity to override the namespace and codec. For instance, in the below demo I'm using @RObjectField to override the serialization mechanism used to encode otherObject.
RootObject.java
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@REntity
public class RootObject {
    @RId
    private String id;
    private String name;
    private Integer number;
    @RObjectField(codec = JsonJacksonCodec.class)
    private OtherObject otherObject;
}

OtherObject.java
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class OtherObject implements Serializable {
    private String otherId;
    private String otherName;
    private Integer otherNumber;
}

When I apply the @RObjectField annotation I expect the otherObject to be serialized using the JsonJacksonCodec. For instance, after I execute the following code:
RLiveObjectService liveObjectService = client.getLiveObjectService();
liveObjectService.persist(rootObject);

I should see a Redis command in my MONITOR log that looks like this (note the JSON format):
1620743885.392746 [0 <IP_ADDRESS>:64039] "HSET" "redisson_live_object:{22746573743132333422}:nl.devillers.redisson.RootObject" "\"otherObject\"" "{\"@class\":\"nl.devillers.redisson.OtherObject\",\"otherId\":\"other5678\",\"otherName\":\"other\",\"otherNumber\":5678}"
1

Actual behavior
When I check out the logs of my Redis instance using MONITOR I see the following HSET command
1620743370.396250 [0 <IP_ADDRESS>:63593] "HSET" "redisson_live_object:{043e087465737431323334}:nl.devillers.redisson.RootObject" "\x04>\x0botherObject" "\x04\x04\t>!nl.devillers.redisson.OtherObject\xa4P\xd9JL\xb1\xaf]\x00\x00\x00\x03>\aotherId\x16\x00>\totherName\x16\x00>\x0botherNumber\x16\x00\x16>\tother5678>\x05otherK\x00\x00\x16."

With or without the @RObjectField annotation, the result is always the above. I've also tried different codecs to see if there's a problem with the codec, but I think the annotation is simply being ignored all together. If I move the codec specification to the @REntity annotation, I do see the correct result, but then the entire entity will be serialized using Jackson, which is not what I want.
Steps to reproduce or test case
See above description.
Redis version
5.0.10
Redisson version
3.15.4
Redisson configuration
Single node setup.

Fixed. Thanks for report


image resolution

How to change link to photo? Cause it's not in full resolution. I opened photo via facebook account and link was [https://scontent.xx.fbcdn.net/hphotos-xfp1/t31.0-8/11894415_142201052791249_2462838957330698595_o.jpg] but plugin opens photo like that [https://fbcdn-photos-d-a.akamaihd.net/hphotos-ak-xfp1/t31.0-0/p480x480/11894415_142201052791249_2462838957330698595_o.jpg]. It is not the same resolution. Plugin thumb image link is [https://fbcdn-photos-d-a.akamaihd.net/hphotos-ak-xfl1/v/t1.0-0/p130x130/11959959_142201052791249_2462838957330698595_n.jpg?oh=4b3d65c20143300a78679da6e3ad9903&oe=56694DA0&gda=1450735549_4862cc3341cbcfd97d6cbee0f8c7f86c]. It is so tiny (130x130)... How can I change all plugin links (image-thumb, full image, album cover image and etc) to one link which will always direct to full resolution image? Like that [https://scontent.xx.fbcdn.net/hphotos-xfp1/t31.0-8/11894415_142201052791249_2462838957330698595_o.jpg]

solved)

How did you solved? Thanks
Enviado desde mi iPhone

El 9/9/2015, a las 7:44, timracer<EMAIL_ADDRESS>escribió:
solved)
—
Reply to this email directly or view it on GitHub.

just comment this
for (i = 0; i < $(cover.images).length; i++) {
if (
($(cover.images)[i].height >= prefHeight && $(cover.images)[i].width >= prefWidth) &&
($(cover.images)[i].height <= albumImg.height && $(cover.images)[i].width <= albumImg.width)
) {
albumImg = $(cover.images)[i];
}
and this
for (i = 0; i < $(result.data)[a].images.length; i++) {
if (
($(result.data)[a].images[i].height >= prefHeight && $(result.data)[a].images[i].width >= prefWidth) &&
($(result.data)[a].images[i].height <= albumImg.height && $(result.data)[a].images[i].width <= albumImg.width)
) {
albumImg = $(result.data)[a].images[i];
}
}

but I still cannot get image in full resolution into lightbox :(

Debug traffic in your browser with Firebug.
You will see the response of the Facebook API.
Check the URLs in JSON the response for images and if it is provided by API than it will be there.
If it is there just rename tr property in code for lightbox. Let me know if this was helpful for you

ok, I will try

nothing) I guess I couldn't solve it

And I want to try to use this https://github.com/brutaldesign/swipebox instead of lightbox. According to me it will seems so elegant with your great plugin

Should not be that hard to add it. I created this lightbox behavior as I did not want to import some existing plugin and make it to heavy :)

Anyway your  plugin is very helpful and useful to much people and me!

Hi @dejanstojanovic! I cannot change image resolution to full resolution into lightbox.
in html structure

but

how to change  link?

Check method loadPhotos, it loops through images attached to photo. Add a simple condition which will find the largest image (check width and height of the returned object) and use the source property.
Please check this and let me know if you managed to do anything.
I'm currently a bit busy, so I cannot be more specific where exactly to make the change to make it work :(

ok

I saw you closed the issue. Did you find the solution?

I didn't


Think about the source contract for knative

https://github.com/knative/eventing/pull/482/files#r226756604

https://github.com/knative/eventing/pull/482/files#r226757935


Update/Add nmake

Tool name
nmake
Tool license
you literally own it
Add or update?

[X] Add
[ ] Update

Desired version
latest
Approximate size
No response
Brief description of tool
This tool is used by CMake to compile C/C++ code using MSVC.
My org does not allow GitHub Actions from unverified creators, so I attempted to manually install winget and the VS2022 build tools manually but couldn't get it to work.
URL for tool's homepage
https://winget.run/pkg/Microsoft/VisualStudio.2022.BuildTools
Provide a basic test case to validate the tool's functionality.
nmake /?

Platforms where you need the tool

[ ] Azure DevOps
[X] GitHub Actions

Runner images where you need the tool

[ ] Ubuntu 20.04
[ ] Ubuntu 22.04
[ ] macOS 11
[ ] macOS 12
[ ] macOS 13
[ ] Windows Server 2019
[X] Windows Server 2022

Can this tool be installed during the build?
winget install -e --id Microsoft.VisualStudio.2022.BuildTools

Tool installation time in runtime
No response
Are you willing to submit a PR?
if it's easy

Hello @illeatmyhat, Given the small installation time (1-2 min.) we would not like to pre-install the tool into the image also because of maintenance concerns.
Please install it in runtime using the following snippet.
- name: install VS component
        shell: cmd
        run: |
          "C:\Program Files (x86)\Microsoft Visual Studio\Installer\vs_installer.exe" modify --channelId VisualStudio.16.Release --productId Microsoft.VisualStudio.Product.Enterprise -q --includeRecommended --add "Microsoft.VisualStudio.2022.BuildTools"


Fix Tendermint RPC Commit signature types

Closes #658

Is this change compatible to both Tendermint 0.33 and 0.34?

I adjusted the proofOp recently, even though it was for 0.34 not 0.33. However, as now one is using proofs with tendermint 0.33, it is breaking an unused functionality.
Either we keep doing that for such features that are different or bite the bullet and make a new 0.34 version.
I must say that there was no failing test nor any user complaints on this functionality before, so it is safe to say it will not break much. However, we could be clear and rename the adaptor to v0.34 and use a v0.33 alias, saying "it is compatible for normal usage, but not for commits or proofs"

Either we keep doing that for such features that are different or bite the bullet and make a new 0.34 version.

I'm fine either way. #642 is planned anyways. It is just a question of timing.

I'm fine either way. #642 is planned anyways. It is just a question of timing.

Good point here. Let's do the quick and dirty way now (it is blocking) and then do a nice refactor in #642


Fix book URL in Cost.md

😇

Thanks!  I wasn't expecting any pull requests, so I hadn't been looking for them.


Enhancing GCS provisioner and dataplane

Feature Request
In the current implementation of Gcs extensions, authentication is against the Google Cloud API. Furthermore, ProjectId should be configured in the project setting before running the project. This limits the connector to only one project and one service account.
Which Areas Would Be Affected?
Extensions: gcp-core, gcs-provisioner, dataplane-google-storage
Why Is the Feature Desired?
Enhancing the usage of google storage extension
Solution Proposal
By including the projectId in the GcsStoreSchema, users can define it in the DataAddress.
Another approach for authentication is to create a Service Account key file and use it to retrieve the GoogleCredentials. Similar to Azure storage Data Plane, the key could be uploaded into the vault and be pointed in the keyname in the DataAddress.

Currently, the project can be explicitly set in the connector configuration, or fetched from the SDK configuration (see GcpConfiguration).
The requested feature allows to override the setting of the connector with the value optionally expressed in the DataAddress.


HDRP support

This isn't complete as I need to fix some alpha issues (however I have 0 experience writing shaders with unity and HDRP) and add support for procedural rendering.
One of the things that seems strange to me is that alpha blending works perfectly when injected "Before Transparency" but it affects eye adaptation and stops the rendering of transparent objects. Probably a fairly simple fix but we really want it to be injected after post processing which is where issues occur.
If one of the devs here would be willing to look into this you'll probably have more success than me but for now this is a perfectly functional port to the HDRP and this PR could help some people who need support ASAP and get the ball rolling on 100% accurate support.

Quick demo screenshot.

Thanks for that! But I'm not exactly sure how to set it up with HDRP. The "render feature" part of the docs confuse me. Does that even exist in HDRP?

@nothke no, that is a URP feature. You can check out the updated read me with HDRP setup here.
Just right click in your scene, add a custom render pass volume and add a Dear ImGui pass after post processing. Make sure you actually pull down this pull request as this isnt actually integrated into the main repo yet, it's a request for the developers to do so :)

Ahhh, got it now! But still doesn't work..
Is this the correct settup:

I'm getting profiler sample errors:

Correction: it works, but still getting these profiler errors, that's obviously a Unity issue as they come from the pipeline.

Yeah those are caused by Unity by the looks of it. I never touched the profiler and I wasnt getting any warnings on 2019.3

This is very useful. Thanks @MissEmbyr !
@goncalo Would be useful to have the alpha issues resolved. Any advice?

Hi @MissEmbyr  - Thanks for your work, really appreciated 🥇
Have you figured out how to fix the apha issue?
Also, in order you use your changes, should I just overwrite the contents of the original package with yours?
Thanks 👍


PHPDoc incorrect type client ID

Incorrect type in php doc
https://github.com/walkor/GatewayWorker/blob/38b44c95f21cd340b5a9cff3987ddb2abb9a2a38/src/Lib/Gateway.php#L802
https://github.com/walkor/GatewayWorker/blob/38b44c95f21cd340b5a9cff3987ddb2abb9a2a38/src/Lib/Gateway.php#L812
https://github.com/walkor/GatewayWorker/blob/38b44c95f21cd340b5a9cff3987ddb2abb9a2a38/src/Lib/Context.php#L124

Thanks.


Improve formatting for max song duration of Playlist

Fade music out and stop at given time.

Currently shown in seconds. Needs to be min:sec when creating playlists and displaying in HTML.

closed by pull request #24


Centos 7.5 support

How can I make a similar exe for Centos7.5?

Yes,You can build CentOS7.5 image.
but the used kernel is WSLs, so there will be no significant difference.


Subplots

The “subplot” mark would essentially be a faceted plot specification within an existing plot, but with facets positioned arbitrarily by an anchor in x and y, and with a fixed width and height. The subplots would share the same scales.

"The subplots would share the same scales."

I would very much like if I could have different scales (I guess that means axis-ranges?) in the sub-plots. The way this is done in Matplotlib is to specify whether the sub-plots should share the x and y axis ranges. Perhaps this would be possible here as well? Thanks!


I get a lot of 'Could not parse JSON' errors

I seem to get a good report (awesome!) but I do get a lot of errors...
Could not parse JSON from file report\files\commonComponents_tabPanelMain_demo_v
iew_DemoPanel_js\report.history.json
Could not parse JSON from file report\files\commonComponents_tabPanelMain_demo_v
iew_DemoToolbar_js\report.history.json
Could not parse JSON from file report\files\commonComponents_tabPanelMain_view_M
ainTabPanel_js\report.history.json
Could not parse JSON from file report\files\commonComponents_tabPanelMain_view_T
abPanelToolbar_js\report.history.json
Could not parse JSON from file report\files\commonComponents_tree_demo_app_model
_HardwareTreeGridModel_js\report.history.json
Could not parse JSON from file report\files\commonComponents_tree_demo_app_model
_HardwareTreeModel_js\report.history.json
Could not parse JSON from file report\files\commonComponents_tree_demo_app_store
HardwareTreeGridStore_js\report.history.json
Could not parse JSON from file report\files\commonComponents_tree_demo_app_store
HardwareTreeStore_js\report.history.json
Could not parse JSON from file report\files\commonComponents_tree_demo_app_view
TreeDemoTabPanel_js\report.history.json
Could not parse JSON from file report\files\commonComponents_tree_demo_app_view
Viewport_js\report.history.json
Could not parse JSON from file report\files\commonComponents_tree_demo_app_js\re
port.history.json
Could not parse JSON from file report\files\commonComponents_underlinedPanel_dem
o_app_js\report.history.json
Could not parse JSON from file report\files\commonComponents_underlinedPanel_Und
erlinedPanel_js\report.history.json
Could not parse JSON from file report\files\commonComponents_wizard_controller_W
izardController_js\report.history.json
Could not parse JSON from file report\files\commonComponents_wizard_demo_demo_js
\report.history.json
Could not parse JSON from file report\files\commonComponents_wizard_view_private
_WizardContentPane_js\report.history.json
Could not parse JSON from file report\files\commonComponents_wizard_view_private
_WizardHelpWindow_js\report.history.json
Could not parse JSON from file report\files\commonComponents_wizard_view_private
_WizardNavigation_js\report.history.json
Could not parse JSON from file report\files\commonComponents_wizard_view_private
WizardStepsPane_js\report.history.json
Could not parse JSON from file report\files\commonComponents_wizard_view_Wizard
js\report.history.json
Could not parse JSON from file report\files\commonComponents_wizard_view_WizardP
age_js\report.history.json
Could not parse JSON from file report\report.history.json
Done!

+1, it's really poor experience

On each build we append the plato reports, its quite annoying to have people ask me about the message every time. Can and will you address this?


publish as a node package?

Hello, I see there is a package.json in the repo. By adding a name and a version number, users will be able to fetch directly the repo as a package which can be useful when compiling for apps.
Is that something you will consider adding?
Many thanks for all the work!

This repo contains different examples using either Python pytezos or TypeScript Taquito.
I am not sure if it should be published as nodejs package.
Open Minter SDK was supposed to be a repo of reusable contracts.


Bump netty to a 5.x. version after its release

Description
Upgrade netty to a 5.x version after its release
Related Issues:
https://github.com/wso2-enterprise/wso2-apim-internal/issues/4896
https://github.com/wso2-enterprise/wso2-apim-internal/issues/4899
https://github.com/wso2-enterprise/wso2-apim-internal/issues/4901
https://github.com/wso2-enterprise/wso2-apim-internal/issues/5025
Steps to Reproduce
N/A
Affected Component
APIM
Version
4.3.0
Environment Details (with versions)
No response
Relevant Log Output
No response
Related Issues
No response
Suggested Labels
No response

Removing from the 4.3.0 release, as the netty 5.x version is not yet available.

Since there are no GA releases for netty 5.x after 2015, closing the issue.


Photo Capture is taking too long time

photoResult = fotoapparat.takePicture();
        photoResult
                .toBitmap()
                .whenAvailable(new PendingResult.Callback<BitmapPhoto>() {
                    @Override
                    public void onResult(BitmapPhoto result) {
                        selectedBitmap = rotateBitmap(result.bitmap, -result.rotationDegrees);
                        stopCamera();
                    }
                });

I/Choreographer:  Skipped 94 frames!  The application may be doing too much work on its main thread.
D/Fotoapparat: stopPreview
I/Choreographer: Skipped 39 frames!  The application may be doing too much work on its main thread.

I am using version 1.3.0
Please let me know if I am doing anything wrong

The reason why it takes a while is that you are rotating the image on the main thread. That is not a particularly fast operation, so consider moving it to a background thread.
One other (better) option would be to use Transformer:
photoResult
                .toBitmap()
                .transform(new Transformer<BitmapPhoto, Bitmap>() {
                    @Override
                    public Bitmap transform(BitmapPhoto input) {
                        return rotateBitmap(input.bitmap, -input.rotationDegrees);
                    }
                })
                .whenAvailable(new PendingResult.Callback<Bitmap>() {
                    @Override
                    public void onResult(Bitmap result) {
                        selectedBitmap = result;
                        stopCamera();
                    }
                });

Thank's it saves time.
but still it's taking approx 2 sec of time.
Is it normal?

Yes, that is expected. Most of the time goes into decoding Bitmap from JPEG byte array which camera sends to us. You can speed up the process by reducing the picture size in Fotoapparat initialization.


Wrong documentation?

Hello Mircosoft Team,
The above mentioned documentation states at step 3 "Notification Templates" window. Isn't this functionality already changed since NAV 2016 and nowadays solved over customization of report layouts? At least I still can't find the "notification tempaltes" window in Business Central. A clarification would be great on how to customize these messages.

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

ID: 0c8abdcb-336b-e718-0cc3-3e69ab793cfb
Version Independent ID: 17849231-f864-3ad8-5ff2-6664c1295ff1
Content: Setting Up Workflow Notifications - Business Central
Content Source: business-central/across-setting-up-workflow-notifications.md
Service: dynamics365-business-central
GitHub Login: @SorenGP
Microsoft Alias: sgroespe

Thank you for the feedback
I have replaced all mention of the (obsolete) Notification Template functionality with information about how to customize report 1320, Notification Email, using the report layout customization feature, described here: https://docs.microsoft.com/en-us/dynamics365/business-central/ui-how-create-custom-report-layout
The updated help will be available in approximate one week.


Kscript in VSC

I have finally managed to get Visual Studio Code to agree with kscript scripts, and I wrote down the tweaks necessary. I thought other people might be interested.

Thanks for the pointer. I've updated the readme accordingly in https://github.com/holgerbrandl/kscript/commit/c7bc1985

Honestly, I think we can learn a lot from JBang - one line CLI invocation that downloads vscode if not available, configures it with the appropriate plugins, downloads the JDK (!) etc.


SplitButton - screen readers - cursor/browse mode and disabled splitButton

Go through the points and fix it or report it as JAWS bugs. Please test it as well with NVDA and VoiceOver.
14.	[Screen readers]: In cursor mode, when navigating to “New conversation” disabled button JAWS reads as “New conversation button menu  Unavailable  menu”. (Expected: Screen reader should read as “New conversation split button menu Unavailable)
15.	[Screen readers]: On “More options” disabled button Screen reader reads as “Unlabeled 1 button menu Unavailable menu” (this will not repro when point 4 is fixed)

@kolaps33 on 14 it reads new conversation split button unavailable and on 15 it reads more options button menu unavailable menu.
Looking at the HTML and aria attributes for both buttons can you suggest what is wrong with them?

Retested now with NVDA and JAWS and could not reproduce original reported issues.


Determine how to support non-default drupal public/private files directories

What happened (or feature request):
We currently assume that sites will use the standard public files path of sites/default/files when determining where imported files should go, and how nginx rewrite rules are configured to support imagestyles.
What you expected to happen:
We will need to provide a way to make public and private file paths configurable. Unfortunately these configurations are not trivial to change after a site has been in existence for some time, as this path gets stored in entries in the files table for d7, and could also be in any WYWIWYG-derived content.
Anything else do we need to know:
Related source links or issues (like source JIRA issue):
#57 is where we originally discussed this need, though it does not fit within the scope of that or the 0.1 milestone.
This also relates closely to #59

Related https://github.com/drud/ddev/issues/59

Leaving this in v0.8 because of the dependency in #293.

IMO this is easier (technically) than we might have been thinking.

We can easily mount any host-level directory onto any expected directory in the container, meaning that the directory will "just be there" where the code expects. This works perfectly for private files, which are not exposed to the webserver at all and thus require no configuration.
The most common way of managing alternate directories for public files is the lowly symlink - that's true almost everywhere in production. So if the files are stored in /var/data, people use sudo ln -s /var/data ..../sites/default/files - We could easily create a symlink and a mount where needed.

@rfay's last comment certainly describes how to solve the problem at a technical level. We would still need to address how a user implements this (when in the config process does this occur? how do they set/update it? etc). Need to think a little more before we have a path forward.

We need to review if this is still worth pursuing... perhaps we can push post 1.0.

It looks like we technically have an approach that can achieve this. See comment here https://github.com/drud/ddev/issues/293#issuecomment-307964866. I would argue that we should provide direction in our docs so that end-users looking to achieve this can connect the dots. And if there tends to be a lot of demand for this, we can re-evaluate whether we need a more robust approach.

Converted to actionable. We will scope this to just documenting how to achieve this using custom nginx configs.

This is related to CMS support, which we are prioritizing in v1.2.0 (or earlier).

If the various files directories are on the host mount with the code (which would often be the case), and if we drop the import-files explicit command, then the basic case here is pretty easy.
OTOH when public files is in a strange place... I wouldn't be surprised if people don't just have to work with that, and they could add one of @tannerjfco's lovely post-import steps to update the db to point public and private files to a decent location. I'm pretty sure we're not going to solve this one entirely on our own, there's going to be a mixture of support from us and action from our customers.

Since this never seems to come up at all, and since files directories innately live on host anyway, and since nobody seems to use import-files anyway (except by extension Pantheon users), I'm going to close. We'll come back if it becomes an issue. But it's been quiet a really long time.


[chip] Convert Edge-triggered status interrupt to Level

[ ] Revise the comportability spec

Define event and status. Event is one-time trigger, and status is the current HW status (e.g: FIFO empty)
Draw two waveforms (event: set -> SW clears) (status: asserted, HW condition alleviated then status drops)

[ ] #16693
[ ] Change SPI_DEVICE IP: upload FIFOs, TPM FIFOs
[ ] HMAC/ KMAC IPs: MsgFIFOs (full? watermark?)
[ ] Flash_ctrl, full / watermark interrupts.

CC: @weicaiyang @a-will

i split the uart one to a separate issue since uart has already passed D3...

Changing this to backlog as we decided not to change if the current interrupts work.

Triaged for flash_ctrl, agreed that this isn't something we need to change.

Triaged for spi_device, agreed

Triaged for uart, same reasoning as above

Triaged for kmac, agreed, not necessary for M2.5.

Thanks @ballifatih.
@cindychip: WDYT for hmac (since you've triaged that block)? If you agree this is not necessary for this release (none of the currently planned milestones), we can conclude the discussion

Carried over from https://github.com/lowRISC/opentitan/issues/12989:

Thanks for mentioning it, further wishes:

UART: tx_watermark and rx_watermark would be better as status-type, tx_empty should remain event-type
USB: pkt_received, pkt_sent, av_empty, and rx_full all come with explanations that the underlying condition needs to be addressed, before the interrupt can be cleared, and that it will otherwise re-assert.  I would be more natural to make these status-type, as that is basically how they already work.

Wishlist for status-type interrupts:

spi_device: generic_rx_full, generic_rx_watermark, generic_tx_watermark, readbuf_watermark,
upload_cmdfifo_not_empty, upload_payload_not_empty
i2c: fmt_threshold and rx_threshold (as well as future tx_threshold and acq_threshold)
spi_host: It seems that six different sources are combined into one event-type interrupt, spi_event. Four of them are clearly status type (RXFULL, TXEMPTY, RXWM, TXWM), the other two READY and IDLE could also work as status-type, so I would like to ask that the entire spi_event interrupt become status-type.  (Already, the description of e.g. RXFULL makes it sound as if status-type logic applies, "To prevent the reassertion of this interrupt, read more data from the RX FIFO, or increase CONTROL.RX_WATERMARK.")

Thanks for mentioning it, further wishes:

UART: tx_watermark and rx_watermark would be better as status-type, tx_empty should remain event-type
USB: pkt_received, pkt_sent, av_empty, and rx_full all come with explanations that the underlying condition needs to be addressed, before the interrupt can be cleared, and that it will otherwise re-assert.  I would be more natural to make these status-type, as that is basically how they already work.

@msfschaffner , I am trying to assess whether we should make changes for KMAC as well and if yes for which KMAC interrupts:

kmac_done : signals when the absorption has completed, event seems fine for this.
kmac_err: signals when an error has occured, event seems fine for this.
fifo_empty: indicates if the message FIFO is empty, status seems more sensible for this one. It has also been proposed by Eli initially. However, in the list above there are cases where event seems for preferrerable (tx_empty for UART) and cases where status is preferred (TXEMPTY for SPI_HOST). Please let me know if I missed something. I am now factoring the DD/DV work KMAC out into a seperate issue.

I actually don't understand why UART's tx_empty would be an event type. What purpose does that have?

I thought the preference stated by others in previous comments might be relevant for UART only due to the much slower timing. But who knows. Thanks for sharing your opinion, I think we are both on the same page. :-)

For HMAC, I concur with @vogelpi's suggestion for KMAC:

hmac_done: event
fifo_empty: status
hmac_err: event

@msfschaffner
For flash_ctrl, interrupt based data transaction mechanism has never been used.
(Tested only in the block level and which works fine).
I don't see any reason we take the risk to modify this IP as @tjaychen commented earlier
(https://github.com/lowRISC/opentitan/issues/15378#issuecomment-1273670458).

@jesultra was there a specific reason to keep the tx_empty interrupt for UART as event instead of converting to status?

I have split the tasks out into individual issues that are associated with the individual blocks.
Hence I am closing this issue since the effort is now tracked elsewhere.
CC @johngt

I have another interrupt that I think should be status instead of event: intr_state on the System Reset Controller. This should be a status based on the state of the combo_intr_status and key_intr_status registers (which should remain event-based though). Otherwise there are race conditions trying to read/clear those three registers correctly. Thoughts?

I think that makes sense. There is a similar one in adc_ctrl which does not make any sense to keep edge-based, since it forwards a collated set of interrupts:
https://github.com/lowRISC/opentitan/blob/7e196e6f072791aa17817b7691aed6b258399eeb/hw/ip/adc_ctrl/data/adc_ctrl.hjson#L353-L371
I will convert these when I open up adc_ctrl.
Created an issue to track here: #21832


FloatingActionMenu does not expand

I have a FloatingActionMenu in a Fragment.  In some cases, the menu does not expand.  Typically causing this fragment to be recreated resolves the issue.
For what it's worth, the OnClick listeners for the FloatingActionButtons inside the FloatingActionMenu always trigger reliably once the menu is showing.
Any tips on how to troubleshoot this?

Could you provide your xml and fragment code?

http://pastebin.com/RCiUhaCC
http://pastebin.com/C37muEGw
A lot of irrelevant code in there, but I left it all in. I'm not doing much with the FABs besides setting OnClick listeners with Butterknife (line 102-114).  Those always work.  It's the expansion of the FloatingActionMenu that is unreliable.

Sorry, can't even imagine what can be wrong. I've tried your layout without some views that I don't have in my dependencies  and everything works fine for me.

Thanks for checking it out.  I'll keep playing with it and see if I can pin down exactly what steps will reproduce the issue.

I have a theory about the cause of this - in some circumstances, I show a view on top of the region occupied by the FAB, and then set its visibility to 'gone.'  I've noticed that only the area that was never covered by this other view responds to a click. Does this sound like a plausible cause, and can you think of any possible fixes?

(I don't know is this has been answered yet)
It seems that the FAM (Floating Action menu) wont expand if there is anything "clickable" below it. I've had this problem with an "EditText" below the area where the button apears. When moved the editText to other position the FAM worked perfectly.
So, the solution that worked for me is moving any clickable items from the area where the FAM appears.


Breakup of datasets used during lung nodule detector training

Hello
The datasets used for training the MONAI lung nodule detector were  the LUNA16 (which has around 888 datasets and is a subset of LIDC-IDRI) dataset right ? May I know the approximate breakup used for training and testing ?
Thanks
Rajesh

@mingxin-zheng @tangy5 may be able to help with this one, I assume this refers to this notebook.

Thanks @Rajesh-ParaxialTech for the question. I would defer the question @Can-Zhao about the dataset splitting.

Hi @Rajesh-ParaxialTech, you can refer to the data section in this tutorial: https://github.com/Project-MONAI/tutorials/tree/main/detection#1-data.
Hope it helps, thanks.
(move to discussion for now)


RNSimData.getSimInfo().phoneNumber0 from react-native-sim-data gives null

"react-native": "0.54.0",
"react-native-sim-data": "^3.0.0"
Granted Runtime PermissionsAndroid.PERMISSIONS.READ_PHONE_STATE,
RNSimData.getSimInfo().phoneNumber0: null countryCode0 gives: ""

same as #9

Ty,
ok I already follow the all instruction of. https://stackoverflow.com/questions/23675868/how-to-get-phone-no-of-device-programmatically/23675998#23675998
but not getting phoneNumber,
I check in Phone--> Settings --> About --> Phone Identity,  I can view the phone number in the settings, then also won't be able to get phoneNumber via this code!

another issue is ,
When first time app load RNSimData.getSimInfo().simSlotIndex0 gives undefined ,but when I reload or restart the app then I get values what might be the reason?

that might be an issue during development mode for React Native, since it tries to do hot reload. restarting does affect the way the app behave

__

Ty,
I already follow the instruction of. https://stackoverflow.com/questions/23675868/how-to-get-phone-no-of-device-programmatically/23675998#23675998
I check in Phone--> Settings --> About --> Phone Identity, I can view the phone number in the settings, then also won't be able to get phoneNumber via this code!
but still not getting phoneNumber,

what about this one ?

that might be an issue during development mode for React Native, since it tries to do hot reload. restarting does affect the way the app behave

Thanks!

that might be an issue during development mode for React Native, since it tries to do hot reload. restarting does affect the way the app behave

Thanks for reply ,
I generate debug .apk file and Release .apk file ,
Still having same problem ,
When first time app load RNSimData.getSimInfo().simSlotIndex0 gives undefined ,but when I  restart the app then I get values , what might be the reason?

Ty,
I already follow the instruction of. https://stackoverflow.com/questions/23675868/how-to-get-phone-no-of-device-programmatically/23675998#23675998
I check in Phone--> Settings --> About --> Phone Identity, I can view the phone number in the settings, then also won't be able to get phoneNumber via this code!
but still not getting phoneNumber,

?

+1

that might be an issue during development mode for React Native, since it tries to do hot reload. restarting does affect the way the app behave

Thanks for reply ,
I generate debug .apk file and Release .apk file ,
Still having same problem ,
When first time app load RNSimData.getSimInfo().simSlotIndex0 gives undefined ,but when I restart the app then I get values , what might be the reason?

Did you find any solution?

not yet

no


Splash screen

@SchrodingersGat Looks nice! Unfortunately the screenshot in the carousel are low-res / squished in, maybe some highlighting of small part of the UI could be better? Or ability to zoom in?

Great point @eeintech - I think some zoomed images would be a great idea here. The images are also having some aspect ratio issues it seems!

I'll see today if I have time to improve the "wow" effect :smile:

@SchrodingersGat Started playing with lightGallery but then realize there is no easy way to contain it to a div element (it is tied up to body) and therefore ends-up covering the full page but only when clicking on one of the image thumbnails, like in their demo:
https://www.lightgalleryjs.com/demos/thumbnails/
Could you consider it an option? Maybe instead of the thumbnail tiles, the bootstrap carousel could be playing and on click it would pop up the light gallery.
There are few "pure" JS carousel options, some better than others. Nothing I could find that would load pictures from a pre-defined asset folder, I guess this would have to be done independently.
This library looks interesting: https://splidejs.com/
Have not had to chance to try it out though but I don't see a native "fullscreen-on-click" option...

splide looks really nice, and is MIT license which is good!
Perhaps we should move to splide and fix https://github.com/inventree/inventree-docs/issues/149


Opera 35 is now current

Perhaps you have this in the new 1hour old data update, but seems not to be live on the website?
http://www.opera.com/docs/history/

It's there now at least.


Please, edit the config file and provide your repositories directory

I have the config.ini pointing to a directory that exists. Does it need to contain a git repository, does it need chown or chmod?
I've tried pointing it to a directory that has multiple git repos in it and pointing to a single repo and it doesn't seem to take. I'm in need of clarification.

According to the documentation, the path points to a folder containing the repositories. It needs to be readable by the webserver.


0.4.2 yo generator in Windows gives error when selecting NO for articles and chat modules

The 0.4.2 generator  in Windows is returning an error saying 'rm is not a function' when choosing NO for article & chat modules

@abhinavdalal try using the latest verrsion, which is 0.4.3. If you have further questions, please file an issue on the generator repo.


Prepare demo of suggested tool for the SME's to test aggregations

Description
As a subject matter expert
I want to be able to test the calculation engine, for both BRS-023 and BRS-027
so that i can verify the results
Acceptance criteria

Document the suggestion of how SME's can test aggregations

Drawing of how the test data is created, the entities involved, and the process.
Drawing is part of the Sprint demo prep


Airrecord find_each

Hi team!
I am not experienced enough to write the proper tests for this and open a pull request, but I wanted to share the community my Rails inspired find_each for Airrecord. Instead of looping through the pagination and returning potentially thousands of records in one big array, this allows you to grab one page, process each record in that page, grab the next page, etc.
Example usage
Table.find_each(view: 'blah') do |record|
      puts record.id
end

For big queries and low memory servers it can really help!
Here's my config/airrecord.rb if anyone wants to add this to their application, and of course I would love to see this moved into a pull request.
Airrecord::Table.class_eval do
  def self.find_each(filter: nil, sort: nil, view: nil, offset: nil, paginate: true, fields: nil, max_records: nil, page_size: nil, &block)
    options = {}
    options[:filterByFormula] = filter if filter

    if sort
      options[:sort] = sort.map do |field, direction|
        { field: field.to_s, direction: direction }
      end
    end

    options[:view] = view if view
    options[:offset] = offset if offset
    options[:fields] = fields if fields
    options[:maxRecords] = max_records if max_records
    options[:pageSize] = page_size if page_size

    path = "/v0/#{base_key}/#{client.escape(table_name)}/listRecords"
    response = client.connection.post(path, options.to_json, { 'Content-Type' => 'application/json' })
    parsed_response = client.parse(response.body)

    if response.success?
      records = parsed_response['records']
      records = records.map do |record|
        new(record['fields'], id: record['id'], created_at: record['createdTime'])
      end
      records.each(&block) if block_given?
      if paginate && parsed_response['offset']
        find_each(
          filter: filter,
          sort: sort,
          view: view,
          paginate: paginate,
          fields: fields,
          offset: parsed_response['offset'],
          max_records: max_records,
          page_size: page_size,
          &block
        )
      end

    else
      client.handle_error(response.status, parsed_response)
    end
  end
end

Cheers!

Interesting.. Let me test if there's a time I create PR for this one

I hope you can add this, we are currently experiencing this exact bottleneck, and a paginated result would work so much better

Part of me wonders if we could just expose the last parsed_response["offset"] so that people can "roll their own" flow (I can imagine for example someone might want a .detect like run a block until a condition is met then bail out). The records interface already accepts an offset e.g. Things.records(pagination:false, offset:'whatever') but because AirTable's offset tokens are generated on the fly you need to know what the last one was. Maybe something like
do
  goodThing = Things.records(pagination:false, offset: Things.last_offset).find { |thing| isVeryGoodThing(thing) }
while Things.last_offset && goodThing.nil?


Wrong string deserialized in binary but not json?

I am serializing a struct A which contains a few members include two length one std::vectors of struct B.  B contains, among other things, a couple of strings.  Struct A inherits from another class.  Both structs (and the base class of the first) contain serialize methods that simply list all their members.
If I serialize to json, and then deserialize immediately, the result is correct.  If I use a binary archive instead, however, then one of the strings in the first std::vector is wrong... it has the value of the corresponding string of the same member in the other std::vector!!
Any idea about what might be going on here or how to diagnose this?  If not then I'll start trying to build an isolated repro case to figure out what is happening.

To clarify a little:
struct B {
    std::string bad;
    std::string good;
};

struct A {
    std::vector<B> first;
    std::vector<B> second;
};

After deserialization, a.first[0].bad has been made a copy of a.second[0].good.  And because we're using GCC <5.0 the string class is using ref counted data, so I know that the good string was copied (either explicitly or incidentally) to the bad string because the pointers to the string characters are identical.

Would need a minimal running example to help further with this.

Have worked around the problem for now, and will likely update the GCC version being used.  Will not follow up on this issue unless it recurs (having read about the previous issue with GCC 4.8.x strings, I strongly suspect it is related).


Consider standardizing all key representations to Jwk & remove PrivateKey, PublicKey, and Key traits

Currently we have three traits:
pub trait Key: Send + Sync {
    fn alias(&self) -> Result<String, KeyError>;
    fn jwk(&self) -> Result<Arc<Jwk>, KeyError>;
}

pub trait PublicKey: Key + Send + Sync {
    fn verify(&self, payload: &[u8], signature: &[u8]) -> Result<(), KeyError>;
}

pub trait PrivateKey: Key + Send + Sync {
    fn to_public(&self) -> Result<Arc<dyn PublicKey>, KeyError>;
    fn sign(&self, payload: &[u8]) -> Result<Vec<u8>, KeyError>;
}

These traits are all object safe so they can be dynamically dispatched, namely PublicKey and PrivateKey (for example, see the KeyManager trait). The idea being that we want to enable key managers which don't represent keys as JWK data structures.
However, the idea that key managers don't have to represent keys as JWK's is incompatible with our current DID strategy. We currently require publicKeyJwk in our Verification Method Data Model.
If we remove these traits and standardize our approach to only JWK as the required representation, then we disable our ability to support DID key representations as publicKeyMultibase (spec).
If we can safely assume we will never support publicKeyMultibase then we can reduce unnecessary abstraction and the downstream overhead with our binding initiatives.

If we choose to maintain our existing approach, then an actionable item with this ticket is to 2-parts:

Add a new Key method, called multibase(); we can set the default implementation to currently throw an error, we just want to stub it in for the sake of showcasing this is intended to be supported
Add the relevant doc comments to the Key trait linking back to this ticket as a means of historically tracking this decision

Nearly 2 years on from DID Core 1.0, it seems that JWK usage within DIDs and VCs is the most common case.  Work on the multibase format has continued (see here).
I'd be curious to hear whether there are concrete motivating cases for the support of the multibase key representation format?
On a related note, @decentralgabe, what about CBOR key format?  Given what you are involved with as far as COSE do you foresee a need to support the CBOR key representation such that this might be a reason to motivate taking an approach that isn't entirely JWK-centric? (even if we decide that we won't support multibase)

If we run into situations where size constraints are an issue we should explore COSE keys and CWTs.
That said, I know @mistermoe has looked into CBOR/CWTs in the past and has found the tooling lacking. Rust may make this easier for us.
In the near term my recommendation is to not put effort towards CBOR/COSE.


should be compatible with Xcode 8, swift 2.3

Please create an Xcode 8 branch and merge this in.

Yes please update this library to support Xcode 8.3.3 Swfit 3 version thanks.


Whitespace fix

Coverage decreased (-0.4%) to 99.585% when pulling 053fb2beda43aa70446a3c8caad4aa5c0aa04b9d on marek-knappe:whitespace-fix into 392c4b00fbe2e0cc8ad4259c7896d1ffc5eca10d on TerbiumLabs:master.

Coverage remained the same at 100.0% when pulling 1f0168c58dccc5ce813658f00a9fa659afd99b60 on marek-knappe:whitespace-fix into 392c4b00fbe2e0cc8ad4259c7896d1ffc5eca10d on TerbiumLabs:master.


no-trailing-whitespace ignores trailing whitespace in comments

Bug Report

TSLint version: current master
TypeScript version: 2.1.4
Running TSLint via: cli

TypeScript code being linted
// comment with trailing spaces
/* multiline comment
    with trailing whitespace in first line */

with tslint.json configuration:
"no-trailing-whitespace": true

Actual behavior
no error
Expected behavior
// comment with trailing spaces
                               ~~~~ [trailing whitespace]
/* multiline comment
                    ~ [trailing whitespace]
   with trailing whitespace in first line */

Is this intended or can this be fixed? And should this be configurable with a config option?
The fix would not be difficult. I'd like to fix this if you want it

Is there ever a valid reason for that? I'd prefer not to add an option if not

Why would you want to notify trailing whitespace in comments? Isn't the whole point of comments to not run any validations on it other than it being opened/closed properly?

Isn't the whole point of comments to not run any validations on it other than it being opened/closed properly?

I guess this is open to interpretation, but no, I don't think that's the whole point of comments. I don't see why you would want trailing whitespace in some part of your code and not others. If you and others feel strongly about it, you could send a PR to allow the rule to ignore comments.

^ this. I like having trailing whitespace in my TSDoc comments, but otherwise it's a waste.
/**
 *.{description}
 *.
 *.{params,etc}
 */

Config for the rule might want to include whether all comments are ignored or just TSDoc comments.


Update .travis.yml

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


core/sql: panic on db.Exec error

Description
From a discussion on this PR: https://github.com/spacemeshos/go-spacemesh/pull/5219#discussion_r1398668625 db.Exec can only return an error in 2 cases:

the DB has already been closed
the provided SQL is syntactically invalid

In both cases the error is severe enough that db.Exec should panic and cause the node to exit to avoid a node in a state it won't / cannot recover from to keep running and just log those errors.
Affected code

db.Exec and most functions calling it.

it is not the exhaustive list. it can also exit with interrupt if connection wasn't able to acquire lock. in that case you should retry, but node doesn't do that

In that case should db.Exec retry (up to X times) before panicking? Otherwise every call to db.Exec would need to repeat that logic.

no please don't panic there

Since panicing might be a overreaction in a lot of cases, I'll close the issue.