[stdlib] Deprecate MutableCollection._withUnsafeMutableBufferPointerIfSupported

In Swift 5.0, SE-0237 introduced the public MutableCollection.withContiguousMutableStorageIfAvailable method. It’s time we migrated off the old, underscored variant and deprecated it.
The default MutableCollection.sort and .partition(by:) implementations are currently calling this hidden method rather than the documented interface, preventing custom Collection implementations from achieving good performance, even if they have contiguous storage.

@swift-ci test

@swift-ci benchmark

Build failed
Swift Test Linux Platform
Git Sha - ba3c4039273e5930b5c5af86228e8bc1bb2e941e

Oh, nice, we have test coverage! ❤
[ RUN      ] ArraySliceWithNonZeroStartIndex_MutableRandomAccessCollectionRef.ArraySliceWithNonZeroStartIndex.ArraySlice<LifetimeTracked>.Type.partition/DispatchesThrough_withUnsafeMutableBufferPointerIfSupported
stdout>>> check failed at /home/buildnode/jenkins/workspace/swift-PR-Linux/branch-main/swift/stdlib/private/StdlibCollectionUnittest/CheckMutableCollectionType.swift, line 968
stdout>>> expected: 1 (of type Swift.Int)
stdout>>> actual: 0 (of type Swift.Int)
stdout>>> check failed at /home/buildnode/jenkins/workspace/swift-PR-Linux/branch-main/swift/stdlib/private/StdlibCollectionUnittest/CheckMutableCollectionType.swift, line 970
stdout>>> expected: 1 (of type Swift.Int)
stdout>>> actual: 0 (of type Swift.Int)
[     FAIL ] ArraySliceWithNonZeroStartIndex_MutableRandomAccessCollectionRef.ArraySliceWithNonZeroStartIndex.ArraySlice<LifetimeTracked>.Type.partition/DispatchesThrough_withUnsafeMutableBufferPointerIfSupported

@swift-ci test

@swift-ci benchmark

Build failed
Swift Test Linux Platform
Git Sha - 1ebbfabe7c48c866262cb6e59e420552501f017c

Build failed
Swift Test OS X Platform
Git Sha - 1ebbfabe7c48c866262cb6e59e420552501f017c

Performance: -O

Regression
OLD
NEW
DELTA
RATIO

FlattenListLoop
1453
2185
+50.4%
0.66x (?)

FlattenListFlatMap
4277
5233
+22.4%
0.82x (?)

Code size: -O
Performance: -Osize

Regression
OLD
NEW
DELTA
RATIO

FlattenListFlatMap
5215
5811
+11.4%
0.90x (?)

Code size: -Osize
Performance: -Onone

Regression
OLD
NEW
DELTA
RATIO

DictionaryBridgeToObjC_Access
882
996
+12.9%
0.89x (?)

Code size: -swiftlibs

How to read the data
The tables contain differences in performance which are larger than 8% and
differences in code size which are larger than 1%.
If you see any unexpected regressions, you should consider fixing the
regressions before you merge the PR.
Noise: Sometimes the performance results (not code size!) contain false
alarms. Unexpected regressions which are marked with '(?)' are probably noise.
If you see regressions which you cannot explain you can try to run the
benchmarks again. If regressions still show up, please consult with the
performance team (@eeckstein).

Hardware Overview
  Model Name: Mac Pro
  Model Identifier: MacPro6,1
  Processor Name: 8-Core Intel Xeon E5
  Processor Speed: 3 GHz
  Number of Processors: 1
  Total Number of Cores: 8
  L2 Cache (per Core): 256 KB
  L3 Cache: 25 MB
  Memory: 64 GB

16:33:26
/home/buildnode/jenkins/workspace/swift-PR-Linux/branch-main/swift/stdlib/private/StdlibCollectionUnittest/CheckMutableCollectionType.swift:517:1:
error: expressions are not allowed at the top level

<shameful facepalm>

@swift-ci test

Build failed
Swift Test Linux Platform
Git Sha - b50db27f27ef29ac38523f247a02b8a9b7554bb8

Build failed
Swift Test OS X Platform
Git Sha - b50db27f27ef29ac38523f247a02b8a9b7554bb8

@swift-ci test

Build failed
Swift Test Linux Platform
Git Sha - 379a27d21967e7d14481f87362bbf879b2125f96

Build failed
Swift Test OS X Platform
Git Sha - 379a27d21967e7d14481f87362bbf879b2125f96

@swift-ci test

Build failed
Swift Test Linux Platform
Git Sha - aadca9c461c12c2377f16cf86f273f7e30646cc6

'WorkspaceTests.testArtifactDownloadHappyPath' started at 2021-02-24 06:35:06.861
/home/buildnode/jenkins/workspace/swift-PR-Linux/branch-main/swiftpm/Tests/WorkspaceTests/WorkspaceTests.swift:4402: error: WorkspaceTests.testArtifactDownloadHappyPath : XCTAssertEqual failed: ("[<AbsolutePath:"/tmp/ws/.build/artifacts/A">, <AbsolutePath:"/tmp/ws/.build/artifacts/B">]") is not equal to ("[<AbsolutePath:"/tmp/ws/.build/artifacts/A">, <AbsolutePath:"/tmp/ws/.build/artifacts/A">, <AbsolutePath:"/tmp/ws/.build/artifacts/B">]")

Hm.

@swift-ci test linux platform

@swift-ci test


I want auto complete for source field

https://api.flutter.dev/flutter/material/Autocomplete-class.html
See branch auto-complete-source-container, the only problem is that re-rendering closes the option menu.
consider using my link_suggestions.dart widget.

No demand for this feature


Run Time type mismatch

Tim,
I am getting a type mismatch when parsing a straightforward json, not sure why.
I am just trying to extract the volume field out of the json
Sub getData()
Application.DisplayAlerts = False
Application.ScreenUpdating = False
Dim wb As Workbook
Dim ws As Worksheet
Dim rng As Range
Dim symbol As String
Dim n As Integer
Dim lastrow As Long
Set wb = ActiveWorkbook
Set ws = Sheets("Sheet1")
ws.Activate
'Last row find
lastrow = ws.Cells(Rows.Count, "A").End(xlUp).Row
Set rng = ws.Range("A4:A" & lastrow)
'Clear Prior Prices
ws.Range("B4:B" & lastrow).ClearContents
n = 4
'Get Symbols list
For Each x In rng
symbol = x

Set myrequest = CreateObject("WinHttp.WinHttpRequest.5.1")
myrequest.Open "Get", "https://www.alphavantage.co/query?function=GLOBAL_QUOTE&symbol=" & symbol & "&apikey=RYDLM2TSPACNQFJK"
myrequest.Send

MsgBox (myrequest.ResponseText)

Dim Json As Object
Set Json = JsonConverter.ParseJson(myrequest.ResponseText)

MsgBox Json(1)("06. volume")
    'i = Json("Global Quote")(1)("06. volume")
 '   ws.Range(Cells(n, 2), Cells(n, 2)) = i

n = n + 1

Next x

ws.Columns("B").AutoFit
MsgBox ("Data is downloaded.")

ws.Range("B4:B" & lastrow).HorizontalAlignment = xlGeneral
'ws.Range("B4:B" & lastrow).NumberFormat = "$#,##0.00"

Application.DisplayAlerts = True
Application.ScreenUpdating = True
End Sub

Thanks,
Dan

Was this solved?
I am running into a similar issue.  Below is the code I am using.  Basically, I am trying to create a message box that outputs the Low for IBM on 09/17/2020.  Nothing is output, it actually errors out and says  and cannot fill in the t1 variable.  I can't see what is wrong with it.
symb = "IBM"
u = "https://www.alphavantage.co/query?function=TIME_SERIES_DAILY&symbol=" & symb & "&outputsize=compact&apikey=RYDLM2TSPACNQFJK"
myrequest.Open "Get", u
myrequest.Send
status1 = myrequest.Status
Set Json = JsonConverter.ParseJson(myrequest.ResponseText)

t1 = Json("Time Series (Daily)")("2020-09-17")("3. low")

MsgBox (t1)

I was able to get the code to work.  In the references to symb, the symbols had an extra space... "IBM " which was throwing it off.


[Broken Link] Under Reference section of "Algorithm -> Introduction Page"

Webpage : https://techinterviewhandbook.org/algorithms/introduction/#references
Under this section, the 3rd URL is broken : https://quip.com/q41AA3OmoZbC
Moreover, the URL redirects to https://quip.com/cVcAAAJJ9qq for me.
Screenshot :

This is my first issue in github, BTW.

Thanks, I'll remove it


Upgrade MODM to latest v1.3.x release

No problem, I will update it once I see new release.

@bhavenst all stage events bugs should be resolved from what we tested. Scheduled, pending, started, completed event types are being delivered for each stage and in the order that azure deployments are being executed.


Failed Application Setup Neovim

Describe the bug
After setting up Neovim in the application setup, when launching neovim it tries to install the plugins and fails from not being able to resolve github.com
To Reproduce
Steps to reproduce the behavior:

Go to Application Setup
Click on Neovim
Let install then launch nvim
See error

Expected behavior
I expect gold coins to rain from the sky, no insomnia, and world peace.
Oh, and neovim to work.
Screenshots

Additional context
Here is a snippet of the above screenshot.
  Total: 40 plugins

  Failed (39)
    ○ alpha-nvim
        Cloning into '/home/jeremy/.local/share/nvim/lazy/alpha-nvim'...
        remote: Enumerating objects: 1006, done.
        remote: Counting objects: 100% (223/223), done.
        remote: Compressing objects: 100% (96/96), done.
        remote: Total 1006 (delta 136), reused 154 (delta 125), pack-reused 783 (from 1)
        Receiving objects: 100% (1006/1006), 118.33 KiB | 3.38 MiB/s, done.
        Resolving deltas: 100% (248/248), done.
        fatal: unable to access 'https://github.com/goolord/alpha-nvim.git/': Could not resolve host: github.com
        fatal: could not fetch 5818065cfb64e932cebc45ed6d3819b7c3b80ca7 from promisor remote
        warning: Clone succeeded, but checkout failed.
        You can inspect what was checked out with 'git status'
        and retry with 'git restore --source=HEAD :/'

The rest is just like that x 39
This seems to be related to lazyvim trying to install the plugins after linutil put the configs in place and was on Manjaro.
The clone is successful, but the checkout fails. If you go into the directory its trying to do the checkout in, all the files are staged for deletion, if you reset to master/main the files show up. But then on launch they try to change to the nonexistent hash again.

this looks like an issue with Chris's neovim config, so I'd put an issue in over there and close this one


Cannot run cc-runtime which was compiled manually

I just compiled cc-runtime manually
$./cc-runtime cc-env
cannot determine proxy config

And I replaced current /usr/bin/cc-runtime to this new generated cc-runtime, it reported cannot start qemu, and /var/lib/clear-containers/runtime/runtime.log have no logs about new cc-runtime.
How to test new compiled cc-runtime?

This error suggests your configuration file is either invalid (missing proxy details) or is not readable by your current user.
Also, please don't just copy the compiled binary into /usr/bin - run sudo make install as documented:

https://github.com/clearcontainers/runtime/blob/master/docs/developers-clear-containers-install.md#build-and-install-components

Hi @jovizhangwei - Is this still an issue for you?

Also, have you seen this document?

https://github.com/clearcontainers/runtime/blob/master/docs/developers-clear-containers-install.md


Major refactor of constructors

Stable release - for comment
Missing lots of unit tests - but should cover nearly the complete specification
Closes #28
Closes #32

Coverage decreased (-17.83%) when pulling e9120098839f0dc2d7ae384543e4d794ff564dec on 1.0.0 into 1f145e64187f62d1d96e02f128f1ae4882d9409e on master.

Coverage decreased (-16.86%) when pulling 725f578f2a9d071b909b69e06c79c8c108218862 on 1.0.0 into 1f145e64187f62d1d96e02f128f1ae4882d9409e on master.

Coverage decreased (-16.86%) when pulling cdf063863e9ef768f7f61b4864323d547dfa3bbe on 1.0.0 into 1f145e64187f62d1d96e02f128f1ae4882d9409e on master.

Coverage decreased (-16.82%) when pulling 70c8a734a1ad9becace48de64c7cae1b96d60ebc on 1.0.0 into 1f145e64187f62d1d96e02f128f1ae4882d9409e on master.

Coverage decreased (-15.79%) to 81.73% when pulling 1913d99c6ee58573eb4249a950eb02f138baaa4b on 1.0.0 into d889e07e4a4795a3c0fe2ca2d4596d7dfbe815fa on master.

Coverage decreased (-15.79%) to 81.73% when pulling 1fca9cbfd7a0f2c48a6ea3e3b7922bd571ff9591 on 1.0.0 into d889e07e4a4795a3c0fe2ca2d4596d7dfbe815fa on master.

Coverage decreased (-15.9%) to 81.18% when pulling 5aeac4bf093dc0b6ff6afd06a4c4fef8f0b337eb on 1.0.0 into d8ed882321615d07f02bd3c7e3d7a1990b5def85 on master.

Coverage decreased (-15.38%) to 81.7% when pulling 2f0a93eef672d4abddfcbcfe8e0f07262c7fa2ed on 1.0.0 into d8ed882321615d07f02bd3c7e3d7a1990b5def85 on master.

Coverage decreased (-15.25%) to 81.83% when pulling 6ccac725bb8969b282a5184c402d80bd680b96fd on 1.0.0 into d8ed882321615d07f02bd3c7e3d7a1990b5def85 on master.

Coverage decreased (-15.76%) to 81.32% when pulling 6ccac725bb8969b282a5184c402d80bd680b96fd on 1.0.0 into d8ed882321615d07f02bd3c7e3d7a1990b5def85 on master.

Coverage decreased (-15.25%) to 81.83% when pulling 6ccac725bb8969b282a5184c402d80bd680b96fd on 1.0.0 into d8ed882321615d07f02bd3c7e3d7a1990b5def85 on master.

Coverage decreased (-15.25%) to 81.83% when pulling 6ccac725bb8969b282a5184c402d80bd680b96fd on 1.0.0 into d8ed882321615d07f02bd3c7e3d7a1990b5def85 on master.

Coverage decreased (-15.6%) to 81.54% when pulling 1abeeeeab6ce68e8778e0947ad1710307cafc285 on 1.0.0 into 87e8a332d79c364f18bd9f5d014f84d3ac539ac2 on master.

Coverage decreased (-15.1%) to 82.03% when pulling ed8b467db27be2751c69e009eafa4d88c371a536 on 1.0.0 into 87e8a332d79c364f18bd9f5d014f84d3ac539ac2 on master.


fz does not change directory in tmux zsh when directory path contains trailing slash (/)

Category

[x] fzf binary
[ ] fzf-tmux script
[ ] Key bindings
[ ] Completion
[ ] Vim
[ ] Neovim
[ ] Etc.

OS

[x] Linux
[ ] Mac OS X
[ ] Windows
[ ] Windows Subsystem for Linux
[ ] Etc.

Shell

[ ] bash
[x] zsh
[ ] fish

fzf version is 0.16.6
It is in tmux environment, and TERM is screen-256color.
When there is a trailing slash (/) at the end of directory path, fz command will not change directory.
For example, I want to change to /home/czchen/Downloads directory with fz. The first directory path si /home/czchen/Downloads/ which contains the trailing / and it is the one auto completed by tab. fz will not change directory to the path. However, if I remove the trailing /, fz will change directory to the path.
# czchen @ sune in ~
$ fz /home/czchen/Downloads/

# czchen @ sune in ~
$ fz /home/czchen/Downloads

# czchen @ sune in ~/Downloads
$

You should report this to the issue tracker of fz, not here.


Attach Sparkler to Travis

If someone gives me project admin rights, I would be happy to hook up Sparkler to Travis so that stuff like:
https://github.com/USCDataScience/sparkler/pull/82 builds failing, are no longer a surprise :)

@buggtb Please do. You have been given Admin rights :-)

Should this be closed now? I see you have configured.


Split many bone ik into ccdik solver ik modifier and kusudama constraint ik modifier

Try!

[ ] ccdik solver solves everything
[ ] inverse kinematics solves everything with the ccdik solver keeping every other bone in place except for one bone which has constraints


Sztab-WOSP-Bialystok/wosp-staff-issues#24

I recommend separate link property from Navigations object to antoher array. Links in dropdown feature elements objects are detected as undefinded

I recommend separate link property from Navigations object to antoher array. Links in dropdown feature elements objects are detected as undefinded

Will create another Issuer for that


Fix for issue #62

Support DynamoDBMapper v2 annotations (@DynamoDBTypeConverted, @DynamoDBTyped etc.) instead of/in addition to @DynamoDBMarshalling for query methods.
I have left a few TODOs in the code to highlight areas where feedback is particularly sought.

Codecov Report

Merging #79 into master will decrease coverage by 0.13%.
The diff coverage is 51.85%.

@@             Coverage Diff              @@
##             master      #79      +/-   ##
============================================
- Coverage     40.58%   40.44%   -0.14%
  Complexity      336      336
============================================
  Files            64       64
  Lines          1752     1763      +11
  Branches        341      346       +5
============================================
+ Hits            711      713       +2
- Misses          936      942       +6
- Partials        105      108       +3

Impacted Files
Coverage Δ
Complexity Δ

...in/spring/data/dynamodb/core/DynamoDBTemplate.java
27.95% <0%> (-0.31%)
10 <0> (ø)

...ery/DynamoDBEntityWithHashAndRangeKeyCriteria.java
74.11% <100%> (ø)
74 <1> (ø)
:arrow_down:

...repository/query/AbstractDynamoDBQueryCreator.java
46.8% <100%> (+1.15%)
11 <2> (ø)
:arrow_down:

...y/query/DynamoDBEntityWithHashKeyOnlyCriteria.java
78.37% <100%> (ø)
14 <1> (ø)
:arrow_down:

...epository/query/AbstractDynamoDBQueryCriteria.java
68.38% <47.82%> (-1.72%)
101 <3> (ø)

Continue to review full report at Codecov.

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

+1 This would be helpful for my project too.

Excellent. Thank you!


Updating models docs and Makefiles used for testing

Updating models docs and Makefiles used for testing, Fixing linting issues

@atorkmabrains Ready to review


⚠ Samsung has degraded performance

In dd8d33f, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2530 ms

Resolved: Samsung performance has improved in 30debea.


[#391] feat: on open uses crypto amount

Related to #391

Description
In order to have onOpen use the crypto amount, we have to know the crypto price before opening the button. This is now the case, as we fetch the price just as the component loads.
Test plan

Make sure onOpen works with the crypto amount even if the paybutton is fiat,
Make sure fiat widgets still work normally; i.e they fetch the price too.

No longer builds for me:

Try again, should work now

looks good to me


Update Material UI 4 to 5

From the shell:
<EMAIL_ADDRESS>Material UI v4 doesn't receive active development since September 2021. See the guide https://mui.com/material-ui/migration/migration-v4/ to upgrade to v5.

Or Remove it altogether! :) Not sure we really can't live without it.


Exclude all modules from directory apps from GitHub Action build process

In directory apps will be places many apps for different platforms to let see, how KotUniL works on these platform and to check the availability of all features in deliveries. These application should be not build by each commit.

@michalharakal Could you please try it?

@vsirotin I am not sure, what do you mean. Where or by which trigger these applications shoudn't be build? In the moment only the lib is build with Github action, see:
https://github.com/vsirotin/si-units/blob/main/.github/workflows/build.yaml#L29

Done


Development: Remove code coverage from PR template

Motivation and Context

We have the bot now, there is no need to define this manually
Description

Removed the section

The bit does not work reliably. It only adds comments which are hidden in the conversation, so we agreed in the dev meeting to keep this information in the OR description at the top of the page.


Application crash on  HUAWEI JNY-LX1

Fatal Exception: java.lang.IndexOutOfBoundsException: getChars (6 ... 5) has end before start        at android.text.SpannableStringBuilder.checkRange(SpannableStringBuilder.java:1326)        at android.text.SpannableStringBuilder.getChars(SpannableStringBuilder.java:1213)        at android.text.TextUtils.getChars(TextUtils.java:154)        at android.text.TextUtils.substring(TextUtils.java:345)        at android.view.inputmethod.BaseInputConnection.getTextBeforeCursor(BaseInputConnection.java:505)        at com.android.internal.view.IInputConnectionWrapper.executeMessage(IInputConnectionWrapper.java:264)        at com.android.internal.view.IInputConnectionWrapper$MyHandler.handleMessage(IInputConnectionWrapper.java:89)        at android.os.Handler.dispatchMessage(Handler.java:110)        at android.os.Looper.loop(Looper.java:219)        at android.app.ActivityThread.main(ActivityThread.java:8349)        at java.lang.reflect.Method.invoke(Method.java)        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:513)        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1055)
Brand:HUAWEI
Model:JNY-LX1
Version:Android 10
flutter version 2.10.1

@hussenIbrahim
Can you provide flutter doctor -v, a complete minimal reproducible code sample and steps to replicate that throws this exception ?

@hussenIbrahim Can you provide flutter doctor -v, a complete minimal reproducible code sample and steps to replicate that throws this exception ?

` Flutter (Channel stable, 2.10.2, on Microsoft Windows [Version 10.0.22000.493], locale en-GB)
• Flutter version 2.10.2 at C:\src\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 097d3313d8 (12 days ago), 2022-02-18 19:33:08 -0600
• Engine revision a83ed0e5e3
• Dart version 2.16.1
• DevTools version 2.9.2
[√] Android toolchain - develop for Android devices (Android SDK version 32.0.0-rc1)
• Android SDK at C:\Users\Hussen\AppData\Local\Android\sdk
• Platform android-32, build-tools 32.0.0-rc1
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
• All Android licenses accepted.
[√] Chrome - develop for the web
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.10.0)
• Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
• Visual Studio Community 2019 version 16.10.31321.278
• Windows 10 SDK version 10.0.18362.0
[√] Android Studio (version 4.1)
• Android Studio at C:\Program Files\Android\Android Studio
• 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 1.8.0_242-release-1644-b01)
[√] VS Code (version 1.64.2)
• VS Code at C:\Users\Hussen\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.34.0
[√] Connected device (4 available)
• SM M115F (mobile) • R9JN40LXMSJ • android-arm    • Android 11 (API 30)
• Windows (desktop) • windows     • windows-x64    • Microsoft Windows [Version 10.0.22000.493]
• Chrome (web)      • chrome      • web-javascript • Google Chrome 98.0.4758.102
• Edge (web)        • edge        • web-javascript • Microsoft Edge 98.0.1108.62`

a complete minimal reproducible code sample and steps to replicate that throws this exception ?

@hussenIbrahim Please provide this too.

sorry for late reply
this exception comes from firebase Crashlytics.
i have no idea how and where this exception is occurs

@hussenIbrahim
From the crash log you shared, it seems to be related or similar to this old issue : https://github.com/flutter/flutter/issues/33642. Can you try the reproduction steps and code mentioned in it and see if you are able to replicate it locally on same huawei device ?

i tried on another Huawei device , but I couldn't reproduce this crash.

Without a proper replication code and steps, we won't be able to make this issue actionable. If you see a pattern or exact steps to replicate, provide the same so that we can address it properly.


Added link stats packet

Follow-up to RC packet chat. Currently based on ELRS. Open to changes to make it more general A/R.

I'm going to use this packet format unless the community wants something different.

@David-OConnor Thanks for linking me in for co-ordination with MAVLink https://github.com/mavlink/mavlink/pull/1920.
I hope to discuss this in the MAVLink call tonight (I personally don't know much about radio links). I've reproduced the two proposed messages below.
I think they are relatively similar except that the MAVLink version seems to report RSSI/SNR from both ends of the transmission. It is not clear to me if the radio can get the information from the other end of the communication. If it can, then having that information would be useful presumably.
From an alignment perspective it would be good to have a similar naming convention and ranges, so we can easily map. After the call I will hopefully be able to communicate in a useful way on this.
uint8 STATUS_RSSI_VALID = 1 # RSSI field is valid

# Uplink - received signal strength (RSSI) for antennas 1 and 2 respectively. Ranges from
# -255 to 0. (An integer value of 100 means RSSI is -100dBm)
uint8 uplink_rssi_1
uint8 uplink_rssi_2

# Link quality, on a scale from 0 to 255 - its precise definition may change basd on the link
# protocol used. Example: percentage of recent packets received correctly. With this example,
# 0 means no valid packets received recently; 255 means 100% of packets received recently are # valid.
uint8 uplink_link_quality

# Signal-to-noise ratio.
int8 uplink_snr

# Example: 1 for antenna 1, and 2 for antenna 2. Not applicable for single-antenna links.
uint8 active_antenna

# This is an implementation-specific enum. May represent the OTA protocol used,
# and transmission rate.
uint8 rf_mode

# This is an implementation-specific enum describing the current transmitter nominal
# power level.
uint8 uplink_tx_power

# Statistics for downlink data, ie telemetry.
uint8 downlink_rssi
uint8 downlink_link_quality
int8 downlink_snr

Mavlink "Proposal": RADIO_LINK_STATS

rssi values are in MAVLink units: 0 represents weakest signal, 254 represents maximum signal by default.
Can be changed to dBm with a flag RADIO_LINK_STATS_FLAGS_RSSI_DBM.

- uint8_t flags (including RADIO_LINK_STATS_FLAGS_RSSI_DBM)
- uint8_t rx_LQ : (%) Link quality
- uint8_t rx_rssi1 : Rssi of antenna1
- int8_t rx_snr1 :  Noise on antenna1. Radio dependent.
- uint8_t  rx_rssi2 : Rssi of antenna1
- int8_t rx_snr2 :  Noise on antenna2. Radio dependent.
- uint8_t rx_receive_antenna :  0: antenna1, 1: antenna2
- uint8_t rx_transmit_antenna :  0: antenna1, 1: antenna2
- uint8_t tx_LQ : (%)
- uint8_t tx_rssi1 : Rssi of antenna1.
- int8_t tx_snr1 : Noise on antenna1. Radio dependent.
- uint8_t tx_rssi2: Rssi of antenna2
- int8_t tx_snr2 : Noise on antenna2. Radio dependent.
- tx_receive_antenna 0: antenna1, 1: antenna2
- uint8_t tx_transmit_antenna:  0: antenna1, 1: antenna2

Added downlink LQ. Concur on all points. I prefer the uplink and downlink names since they're more explicit.

on antenna, pl note that each unit does both receive and transmit and may handle antenna for both differently. Therefore you CANNOT just use one field like "active_antenna" but must use "active_antenna_used_for_receive" and "active_antenna_used_for_transmit". Since both sides of the link are represented in the message, there thus must be 2x2 = 4 active_antenna fields...

I think we're now aligned in the sense that the data can be mapped between systems. We could be a bit closer if you chose to do this https://github.com/dronecan/DSDL/pull/33#pullrequestreview-1492242056 - but that would be up to you.
I'm not sure if we need more than this at this point or not.

Given the DroneCAN RC channels packet was merged as 0-255, I'd like to keep that.
Thoughts on merging this? Thank you!

Thoughts on merging this?

Thanks @David-OConnor .
From a MAVLink perspective "right now" this is fine - there isn't a 1:1 mapping but your current data could be mapped to our subset of the data by a flight stack. If we wanted to take your superset of fields we could add those too. I'm not planning on pushing the MAVLink side of this until someone wants to start using it, since I'm not going to implement it.
My concern here is that the number of people who have looked at this is quite small. Ollie, me, you. I worry that perhaps we just don't have a broad enough worldview. Worth spending a little more time to get more input?
I'll see if I can get more eyes on the MAVLink side of things. Are there more people you can involve in the DroneCan community?

@peterbarker can you have a look at this?

On the valid-data question, the rc-input packet uses a flags field to indicate which fields are present.  Is there some reason not to use that pattern in here too, negating the question about "good invalid values"?
Should this be a per-antenna message, rather than having fields which are redundant in the non-diverse case?  So include an antenna number rather than multiple (e.g.) RSSI fields.


kafka: Change the kafka docker image to point to a more stable tag instead of latest

Related to #4431

Update: Unfortunately changing the kafka docker image to a more stable tag did not fix the issue.
Without app logs this will be difficult to debug further.
The microscope pr waiting to be merged, will help know what's happening.
I am waiting on the the microscope work #4452
and enabling collecting app logs in CI: #4463


Automatically switch between backend package registries

The initial package registry used is picked at random between unpkg and jsdelivr. If this one causes issues, a retry will be done with the other package registry.
You can force the initial package registry by adding ?pkgreg=unpkg or ?pkgreg=jsdelivr at the end of the request URL, e.g. https://<hostname>/.rum/web-vitals?pkgreg=unpkg. However if this first one fails, a retry will still be done with the other registry.
Fixes: #321
Note that this PR and the jsdelivr-2 branch are built on top of the https://github.com/adobe/helix-rum-collector/tree/jsdelivr branch

Hi @trieloff I think I addressed your concerns. Let me know if you have any more thoughts.

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

v2.20.0
v2.20.0
GitHub release

Your semantic-release bot :package::rocket:


deployment of nexclipper-collector is wrong

The image tag "k8s-test" does not exist.
need to change it to k8s.
Moreover, the way to distribute helm chart with tgz(nexclipper-0.1.0.tgz) style is not a good idea because I can not contribute this kind simple issue. Why don't you separate it from the main project?

Hello,
We used "k8s-test" in the testing process. I changed it to "k8s" and uploaded it. Could you tell me where I saw "k8s-test"? I need to fix it.
I will remove tgz (nexclipper-0.1.0.tgz) and separate the project.
Thanks for your comments.


cmd: update --confirmation_constraints description

Bonus: log returned errors by lnd when canceling a shim.
Fix #405

You updated the announcement_constraints, not the confirmation_constraints. When I try to create a channel that accepts 0 conf, I still don't see how to do that in the CLI -h output, nor in the confirmation summary.


Rewrite links is not working anymore

The feature "Rewrite links" does not seem to be working anymore.
Steps to reproduce the issue

Enable rewrite links on settings page
Open https://busy.org/@tarmo888/why-didn-t-byteball-use-the-referral-links-from-the-beginning
Click on the first link
Here you got redirected to Steemit.com instead of Busy.org

Problem is that our whitelist regex doesn't handle - in permlinks.
It can be updated there:
https://github.com/busyorg/busy/blob/27dd2383806eda8daf46748cbbbb26739d08ced4/src/client/helpers/regexHelpers.js#L9
Current regex:

We should update everything marked as word.
I'm not sure what is supported for which part, but I guess we need to add:

- for tags and permlinks
- and . (?) for usernames

Valid characters should be checked before, so we don't miss anything.


Fails to avoid keyboard if TextInput is focused while keyboard is closing

Describe the bug
Hi, in a list of TextInputs, what I'm trying to achieve here is to create new item and focus it when return key is pressed from the keyboard.
This results in closing initially opened keyboard since blur is triggered when return key is pressed, and reopen the keyboard after new item is added and focused.
Newly added TextInput seems to avoid the keyboard just fine if the time between closing the keyboard and focusing new TextInput is very short, but once there's a delay in between those two actions, it doesn't avoid the keyboard.
The delay can be caused due to:

Rendering added item takes time
Adding new item and updating list is done by an API request

To simulate and reproduce this bug, I gave setTimeout of 100ms before adding new item. You can check it on addAndFocus function of below code.
I'm also posting a recorded video of this so I believe it'll be a lot easier to understand the issue by checking the video first.
Code snippet
import React, { useCallback, useEffect, useRef, useState } from 'react';
import { FlatList, ListRenderItemInfo, StyleSheet } from 'react-native';
import { TextInput } from 'react-native-gesture-handler';
import { KeyboardAwareScrollView } from 'react-native-keyboard-controller';

type ListItem = {
  id: string;
  text: string;
};

const DATA: ListItem[] = [
  {
    id: '1',
    text: 'Test1',
  },
  {
    id: '2',
    text: 'Test2',
  },
  {
    id: '3',
    text: 'Test3',
  },
  {
    id: '4',
    text: 'Test4',
  },
  {
    id: '5',
    text: 'Test5',
  },
  {
    id: '6',
    text: 'Test6',
  },
  {
    id: '7',
    text: 'Test7',
  },
];

type Props = ListItem & {
  isFocused: boolean;
  onSubmit: () => void;
};
const Item = ({ id, text, isFocused, onSubmit }: Props) => {
  const inputRef = useRef<TextInput | null>(null);

  useEffect(() => {
    if (isFocused) {
      inputRef.current?.focus();
    }
  }, []);

  return (
    <TextInput
      ref={inputRef}
      style={styles.input}
      value={text}
      onSubmitEditing={onSubmit}
    />
  );
};

export const TestKeyboardAwareList = () => {
  const [data, setData] = useState<ListItem[]>(DATA);
  const addedItemIdRef = useRef<string | undefined>();

  const addAndFocus = useCallback(() => {
    setTimeout(() => {
      const newItemId = new Date().getTime().toString();
      addedItemIdRef.current = newItemId;
      setData((prev) => [...prev, { id: newItemId, text: '' }]);
    }, 100);
  }, []);

  const renderItem = useCallback(
    ({ item }: ListRenderItemInfo<ListItem>) => {
      const isFocused = addedItemIdRef.current === item.id;
      return <Item {...item} isFocused={isFocused} onSubmit={addAndFocus} />;
    },
    [addAndFocus]
  );

  return (
    <FlatList
      data={data}
      renderItem={renderItem}
      keyExtractor={(item) => item.id}
      keyboardDismissMode={'interactive'}
      renderScrollComponent={(props) => {
        return <KeyboardAwareScrollView {...props} />;
      }}
    />
  );
};

const styles = StyleSheet.create({
  input: {
    height: 80,
    borderWidth: 1,
    width: '100%',
  },
});

Repo for reproducing
Import above component in any screen
To Reproduce
Steps to reproduce the behavior:

Tap on last item to focus it
Tap return button to add new item at the bottom of the list
New item is added and focused but it won't avoid the keyboard

Expected behavior
Added item should avoid the keyboard
Screenshots
https://github.com/user-attachments/assets/412ba87d-05b7-4631-a12e-d16bdd5d9f4d
Smartphone (please complete the following information):

Desktop OS: MacOS 14.5
Device: iPhone 15 simulator
OS: iOS 17.4
RN version: 0.74.2
RN architecture: old
JS engine: Hermes
Library version: 1.12.5

Additional context
n/a

@thisisgit have you tried to add blurOnSubmit={false}? In this case the keyboard will not be closed automatically when you press enter (and you can control yourself whether the keyboard needs to be closed or you need to move the focus to the next input). I believe this prop will give you a better control of the keyboard management and you will not have race conditions 🤔 Am I right? 👀

@kirillzyusko You're right, blurOnSubmit={false} works since it won't close the keyboard when return key is pressed.
However it's a different story if we would want to support multiline and trigger submit when return key is pressed.
When multiline property is set to true, return key now adds a newline character instead of triggering submit. AFAIK there's no workaround to prevent newline character from being added when multiline is set to true. Here're related issues:

https://github.com/facebook/react-native/issues/28535
https://stackoverflow.com/questions/38068675/how-to-prevent-new-line-when-enter-is-pressed-in-react-native/49152780#49152780

Therefore TextInput should have blurOnSubmit={true} and multiline={true} to support above requirements.
I would also prefer to not close the keyboard when return key is pressed since that looks cleaner. But too bad they don't support it yet with multiline={true}. However this comment says they may be able to support it once Fabric is up (and hey, it's already 2024 and is now available🙄)
Now I see that I should have added this in the Additional Context. Sorry for that.

@thisisgit you are right with multiline={true} you need to have blurOnSubmit={true}, but how do you close the keyboard with multiline={true}? I think in this case you should call Keyboard.dismiss()?
In your example you were using single line inputs, so I thought that blurOnSubmit={false} may help you 🤷♂
Do I correctly understand that you are using multiline={true} and blurOnSubmit={true} and when you press return then keyboard gets closed?

@kirillzyusko Yup, to summarize:

multiline={true} & blurOnSubmit={false}: hitting return key adds newline without closing the keyboard

https://github.com/user-attachments/assets/eb3b1657-cf3f-46a5-838f-405bc7b58a40

multiline={true} & blurOnSubmit={true}: hitting return key triggers onSubmitEditing and closes the keyboard

https://github.com/user-attachments/assets/84e2bd46-e99f-4164-976c-d179f97661a4

And here's the updated code of `multiline={true}` & `blurOnSubmit={true}`
import React, { useCallback, useEffect, useRef, useState } from 'react';
import { FlatList, ListRenderItemInfo, StyleSheet } from 'react-native';
import { TextInput } from 'react-native-gesture-handler';
import { KeyboardAwareScrollView } from 'react-native-keyboard-controller';

type ListItem = {
  id: string;
  text: string;
};

const DATA: ListItem[] = [
  {
    id: '1',
    text: 'Test1',
  },
  {
    id: '2',
    text: 'Test2',
  },
  {
    id: '3',
    text: 'Test3',
  },
  {
    id: '4',
    text: 'Test4',
  },
  {
    id: '5',
    text: 'Test5',
  },
  {
    id: '6',
    text: 'Test6',
  },
  {
    id: '7',
    text: 'Test7',
  },
];

type Props = ListItem & {
  isFocused: boolean;
  onSubmit: () => void;
};
const Item = ({ id, text, isFocused, onSubmit }: Props) => {
  const inputRef = useRef<TextInput | null>(null);

  useEffect(() => {
    if (isFocused) {
      inputRef.current?.focus();
    }
  }, []);

  return (
    <TextInput
      ref={inputRef}
      style={styles.input}
      defaultValue={text}
      multiline={true}
      blurOnSubmit={true}
      onSubmitEditing={onSubmit}
    />
  );
};

export const TestKeyboardAwareList = () => {
  const [data, setData] = useState<ListItem[]>(DATA);
  const addedItemIdRef = useRef<string | undefined>();

  const addAndFocus = useCallback(() => {
    // Using setTimeout to simulate adding new item via API request
    setTimeout(() => {
      const newItemId = new Date().getTime().toString();
      addedItemIdRef.current = newItemId;
      setData((prev) => [...prev, { id: newItemId, text: '' }]);
    }, 100);
  }, []);

  const renderItem = useCallback(
    ({ item }: ListRenderItemInfo<ListItem>) => {
      const isFocused = addedItemIdRef.current === item.id;
      return <Item {...item} isFocused={isFocused} onSubmit={addAndFocus} />;
    },
    [addAndFocus]
  );

  return (
    <FlatList
      data={data}
      renderItem={renderItem}
      keyExtractor={(item) => item.id}
      keyboardDismissMode={'interactive'}
      renderScrollComponent={(props) => {
        return <KeyboardAwareScrollView {...props} />;
      }}
    />
  );
};

const styles = StyleSheet.create({
  input: {
    height: 80,
    borderWidth: 1,
    width: '100%',
    fontSize: 24,
  },
});

@thisisgit thank you for such detailed explanation! I debugged your code. The problem comes to the fact that view is not laid out on a native side when you set a focus:
{
  "eventName": "onFocusedInputLayoutChanged",
  "layout": {
    "absoluteX": 0, "absoluteY": 59.666666666666664, "height": 0, "width": 0, "x": 0, "y": 0
  },
  "parentScrollViewTarget": 3327,
  "target": 3379
}

I slightly modified your code:
    setTimeout(() => {
      if (isFocused) {
        inputRef.current?.focus();
      }
    }, 16);

And now it works properly. Can you check on your side whether such code produces acceptable result for you?
I'm thinking on how to handle such cases on a native side, but don't have any ideas at the moment because current codebase heavily relies on the fact that we can measure TextInput before keyboard events. But with your code we break that rule, because view is not laid out yet and we actually set focus to that input (so we already have an upcoming keyboard event, but measurement will produce incorrect output).
Anyway - curious to hear whether such workaround works for you (i. e. to add 16ms on JS before .focus() to be sure that view is laid out). In my understanding that would be the ideal solution, because we still rely on event order that library relies on and you just add a small code piece that handles layout management and assures that view can be measure before setting a focus).

@kirillzyusko I tried adding 16ms timeout on both above example and on my app and can confirm that it's working good 👍
I wasn't suspecting view not laid on the native side at all since focus event is being triggered in useEffect.
And most of all, removing setTimeout from addAndFocus function just works:
const addAndFocus = useCallback(() => {
    // setTimeout(() => {
    //   const newItemId = new Date().getTime().toString();
    //   addedItemIdRef.current = newItemId;
    //   setData((prev) => [...prev, { id: newItemId, text: '' }]);
    // }, 100);

    // Removing setTimeout here avoids the keyboard
    const newItemId = new Date().getTime().toString();
    addedItemIdRef.current = newItemId;
    setData((prev) => [...prev, { id: newItemId, text: '' }]);
  }, []);

https://github.com/user-attachments/assets/7bf0c588-bdcd-467a-8a88-e5354a359b75
Or giving setTimeout long enough to wait for keyboard to completely dismiss also works:
const addAndFocus = useCallback(() => {
    setTimeout(() => {
      const newItemId = new Date().getTime().toString();
      addedItemIdRef.current = newItemId;
      setData((prev) => [...prev, { id: newItemId, text: '' }]);
      // Or give longer timeout to wait for keyboard to dismiss completely
    }, 500);
  }, []);

https://github.com/user-attachments/assets/8ae6f869-fdd5-478a-939c-e07764c7d6fb
Note that I didn't apply the 16ms timeout fix in above examples.
That's why I was suspecting maybe the issue is coming from when trying to measure TextInput while keyboard is animating. Because content height of FlatList shrinks/expands when TextInput is focused/blurred and may fetch the measurement of TextInput which layout change is in progress.
Anyways, thanks to you, I'll stick to the 16ms solution. I also found out calling inputRef.current?.focus() on onLayout of TextInput also works but I'm afraid of side effects since onLayout is also triggered when layout of the item changes.
But I'm curious, isn't view supposed to be already laid out in the native side when useEffect is called in the component?

I also found out calling inputRef.current?.focus() on onLayout of TextInput also works but I'm afraid of side effects since onLayout is also triggered when layout of the item changes.

I think you can create an additional ref and call the function only one time (after that change ref value to true and if it's true then don't call .focus).

But I'm curious, isn't view supposed to be already laid out in the native side when useEffect is called in the component?

Well, this is my understanding as well (like view should be mounted and laid out) 🤷♂
I have an assumption that TextInput may do its own layout calculation and it can be actually mounted in native view hierarchy, but may require one additional frame to be properly laid out (but it's just an assumption).
I had "similar" issue in https://github.com/kirillzyusko/react-native-keyboard-controller/pull/491 - there I also had to miss one frame to properly pick up selection coordinates when multiline input grows.
Maybe a problem (as you pointed out earlier) comes from the fact, that TextInput needs an additional frame to be laid out when parent is currently animating. A lot of guesses - just need time to investigate that. But I think a combination of animation + laying out a view requires an extra frame. And most likely it's not something that I can fix (since it'll come from react-native core).
So I think calling a .focus with delay is a good workaround for now 🙃

Here're related issues:

https://github.com/facebook/react-native/issues/28535
https://stackoverflow.com/questions/38068675/how-to-prevent-new-line-when-enter-is-pressed-in-react-native/49152780#49152780

Read these topics more carefully - well this is really frustrating, that you can not customize handling of multiline input with custom enter behavior 🤯
The Fabric definitely will fix the problem because you can synchronously call functions from JS etc., but right now two architectures are suported, so that means that Meta will not consider this to be fixed until two architectures are supported at the same time.
Let's hope that in 0.76 the Fabric will become a default architecture and then after several month the issue will be closed and TextInputs will have a better customization 🤞
@thisisgit Look what I found: https://github.com/facebook/react-native/pull/33653 Seems like you may have multiline input, call submit function and control from JS whether you should close a keyboard or not 👀

@kirillzyusko This is AWESOME! Thank you so much for finding this! I thought this would be the best solution since it also fixes the keyboard flickering issue. And... you found it!
It was little tricky to find out on how to use the added feature since that submitBehavior prop didn't show up in autocomplete. Also the official documentation didn't include any info about it so I first thought that it isn't released yet.
But it worked just fine when I tried it:
<TextInput
      ref={inputRef}
      style={styles.input}
      defaultValue={text}
      multiline={true}
      // This!
      submitBehavior={'submit'}
      onSubmitEditing={onSubmit}
    />

https://github.com/user-attachments/assets/5b404b66-6a33-4fb7-aa57-6d2463ecbce0
Found out that the PR didn't include Typescript support so I created a PR on react-native to support it and hope it gets merged ASAP without any issue. Meanwhile, I'll just suppress the type error.
Again, I really appreciate your help on resolving issues that is out-of-scope of this library 🙏
I'll close this issue as multiple solutions have been suggested.

@thisisgit nice! Would be good to submit a PR to the documentation website as well I think 🙃
New demo from UI perspective looks much better 😍 It looks exactly like it should work!

@kirillzyusko Yup I'll check on the website once this gets merged since there may be something that I'd be missing. Thanks!

@thisisgit I think your PR was already merged 🙃 It was imported on a Phabricator, so now it's only a technical aspect when your PR will update the status on GitHub 👀

@kirillzyusko Oh thanks for letting me know. It's a lot quicker than I thought😮 I'll come back and check the website once I'm done with some urgent tasks. Probably at most this weekend?


Successfully uploaded docker image assets but fails to pull due to file accesibility

First of all, thanks for the great project on building private docker registry simplified and cost effective for individual developers; but one major problem I met after uploading image to the r2 buckets is returning an HTML page titled "You are not authorized to view this object" from Cloudflare after the GET operation by running docker pull. While I tried your example yet it seems to be working and I successfully managed to run your application, but when it comes to me the problem exists. I'm assuming there might be an issue with the CORS policy setting for the bucket to some degree while it automatically blocks access from unknown domains if AllowedOrigins field is not configured? Whereas I did set the allowed origins to * wildcard for authorizing access from all entry points, but it still doesn't seem to be working, I have tried to switch machines from my local devices to VMs but the same issue repeatedly occurs, below is my CORS configuration for the certain bucket storing my images edited on the policy tab of Cloudflare.
[
  {
    "AllowedOrigins": [
      "*"
    ],
    "AllowedMethods": [
      "GET",
      "POST"
    ],
    "AllowedHeaders": [
      "*"
    ],
    "ExposeHeaders": [
      "*"
    ]
  }
]

I have read the Cloudflare documentation on granting public access to bucket via custom domains, I initially believed the problem persists was due to the cache period for the CORs policy to take effect on the certain domain, but I've also tried binding other domains and it pulling images from still did not succeed and persisted returning 404 page, could you please share your CORS setting to make the bucket to work as a registry or there might be some issue with my own configs?

Hi @andatoshiki, I appreciate the kind words however this project was more of a PoC if anything.
I don't have any special CORS settings or policies set on my end. I would have included it in the README.md otherwise.
I'm sorry I can't be much of a help, but if you figure out the solution I would be happy to hear how you solved it.


[instr-express] TAV failing with<EMAIL_ADDRESS>

TAV for @opentelemetry/instrumetnation-express is currently failing.
Failing tests seem releated to the latest release of express v4.20.0
Link to workflow run:

https://github.com/open-telemetry/opentelemetry-js-contrib/actions/runs/10789534620/job/29922738157

Here's a simple repo:
import express from 'express';
const app = express();

app.get(['/test', 6, /test/], (_req, res) => {
    res.send({ response: 'response 4' });
});

I think passing 6 here is the issue - it does not conform to the types provided by the express package. So it may be a problem with out tests that does not affect users. It's also reproducible without OTel so I'm going to assign P4 (bug in tests).


Windows doesn't support pre-release k8s versions

Deploying a pre-release (ex. 1.11.0-alpha1) k8s version throws the following error:

Mode                LastWriteTime         Length Name
----                -------------         ------ ----
d-----         5/1/2018   9:33 PM                volumeplugins
C:\AzureData\CustomDataSetupScript.ps1 : Cannot convert value "1.11.0-alpha.1"
to type "System.Version". Error: "Input string was not in a correct format."
At line:1 char:1
+ C:\AzureData\CustomDataSetupScript.ps1 -MasterIP <IP_ADDRESS> -KubeDn ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorExcep
   tion
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorExceptio
   n,CustomDataSetupScript.ps1

For now all pre-release versions are disabled on Windows, we should enable pre-release version parsing and enable future pre-releases for Windows.

is this the issue? https://github.com/Azure/acs-engine/blob/b7364feda03b86967b6f401d5518c8edad73be68/parts/k8s/kuberneteswindowssetup.ps1#L318

@PatrickLang yep, looked over a deployment, that's the reason the script errors out. Made pull request  to fix this, tested it on 1.11.0-alpha.2, setup works just fine.


Color::INDIGO is not indigo

Bevy version
Bevy 4.0.0
Operating system & version
Ubuntu 20.04
What you did
Was looking at the breakout example where a ClearColor resource was added. I noticed the Color struct has some constant values to choose from, including the value INDIGO. When using that value on a simple default app, the color generated is much more purple than indigo. A simple reproducible example:
use bevy::prelude::*;

fn main() {
    App::build()
        .add_plugins(DefaultPlugins)
        .add_resource(ClearColor(Color::INDIGO))
        .run();
}

What you expected to happen
The background color to be indigo.
What actually happened
The background color was purple.
Additional information
My initial search of a hex value for indigo led to #4B0082, which appears to be the programming for Color::INDIGO. Color pickers seem to show that as more of a purple. However I don't want this issue to get heated over the definition of indigo, so do with this info what you will.
Below is what I see when using Color::INDIGO:

From a quick Google search, indigo more closely resembles the color below.

The colours where added in #859, and should be the HTML colours, so #4B0082 for indigo (how nice of GitHub to render the colour! Seems to be between the two colours in your issue)
In #616, there was a difference made between rbg and rgb_linear
Colors::INDIGO is set up using rgb_linear https://github.com/bevyengine/bevy/blob/72b2fc98437f39a8099efcc137697efc32a21800/crates/bevy_render/src/color.rs#L45
If I take the same values and use them as rgb, I get the expected colour:
  .add_resource(ClearColor(Color::rgb(0.29, 0.0, 0.51)))

I'm not very fluent in colour spaces, so would be great if someone that knows those better could take a look at it

The colours where added in #859, and should be the HTML colours, so #4B0082 for indigo (how nice of GitHub to render the colour! Seems to be between the two colours in your issue)
In #616, there was a difference made between rbg and rgb_linear
Colors::INDIGO is set up using rgb_linear https://github.com/bevyengine/bevy/blob/72b2fc98437f39a8099efcc137697efc32a21800/crates/bevy_render/src/color.rs#L45
If I take the same values and use them as rgb, I get the expected colour:
  .add_resource(ClearColor(Color::rgb(0.29, 0.0, 0.51)))

I'm not very fluent in colour spaces, so would be great if someone that knows those better could take a look at it

I've read some on color spaces, but to spare you the details (although I do believe every game programmer should understand the basics about sRGB  and gamma correction), when describing colors you most often want to avoid using the linear colors that haven't been gamma corrected. They are used only when mixing and blending colors, and when sending them to the screen (most often done automatically by the GPU in a shader).
When giving color values, they should always be in sRGB (the standard RGB space, aka gamma corrected), and this is the colorspace that all programs use when interfacing with users (the values they give, and what you give).
TLDR:
change it from linear to srbg, which is the Color::rgb function. It seems that the other colors use linear as well, which is also probably wrong.

I've read some on color spaces, but to spare you the details (although I do believe every game programmer should understand the basics about sRGB  and gamma correction), when describing colors you most often want to avoid using the linear colors that haven't been gamma corrected. They are used only when mixing and blending colors, and when sending them to the screen (most often done automatically by the GPU in a shader).
When giving color values, they should always be in sRGB (the standard RGB space, aka gamma corrected), and this is the colorspace that all programs use when interfacing with users (the values they give, and what you give).
TLDR:
change it from linear to srbg, which is the Color::rgb function. It seems that the other colors use linear as well, which is also probably wrong.

I noticed this and did some testing, rgb_linear() seems to always produce much lighter colors than expected

I noticed this and did some testing, rgb_linear() seems to always produce much lighter colors than expected

I grabbed the list of 148 (139*) "named colours" in CSS to generate this code using bevy's own Color functions. Do we want this full list?
This is Indigo:
/// #4B0082 Indigo
pub const INDIGO: Color = Color::rgb_linear(0.07036010921001434326171875, 0., 0.223227977752685546875);

use bevy::prelude::*;

fn main() {
    const INDIGO: Color =
        Color::rgb_linear(0.07036010921001434326171875, 0., 0.223227977752685546875);
    App::build()
        .add_plugins(DefaultPlugins)
        .add_resource(ClearColor(INDIGO))
        .run();
}

*duplicates are:
"#00FFFF": [
    "Aqua",
    "Cyan",
],
"#FF00FF": [
    "Fuchsia",
    "Magenta",
],
"#778899": [
    "Light Slate Gray",
    "Light Slate Grey",
],
"#708090": [
    "Slate Gray",
    "Slate Grey",
],
"#808080": [
    "Gray",
    "Grey",
],
"#A9A9A9": [
    "Dark Gray",
    "Dark Grey",
],
"#D3D3D3": [
    "Light Gray",
    "Light Grey",
],
"#696969": [
    "Dim Gray",
    "Dim Grey",
],
"#2F4F4F": [
    "Dark Slate Gray",
    "Dark Slate Grey",
],

I grabbed the list of 148 (139*) "named colours" in CSS to generate this code using bevy's own Color functions. Do we want this full list?
This is Indigo:
/// #4B0082 Indigo
pub const INDIGO: Color = Color::rgb_linear(0.07036010921001434326171875, 0., 0.223227977752685546875);

use bevy::prelude::*;

fn main() {
    const INDIGO: Color =
        Color::rgb_linear(0.07036010921001434326171875, 0., 0.223227977752685546875);
    App::build()
        .add_plugins(DefaultPlugins)
        .add_resource(ClearColor(INDIGO))
        .run();
}

*duplicates are:
"#00FFFF": [
    "Aqua",
    "Cyan",
],
"#FF00FF": [
    "Fuchsia",
    "Magenta",
],
"#778899": [
    "Light Slate Gray",
    "Light Slate Grey",
],
"#708090": [
    "Slate Gray",
    "Slate Grey",
],
"#808080": [
    "Gray",
    "Grey",
],
"#A9A9A9": [
    "Dark Gray",
    "Dark Grey",
],
"#D3D3D3": [
    "Light Gray",
    "Light Grey",
],
"#696969": [
    "Dim Gray",
    "Dim Grey",
],
"#2F4F4F": [
    "Dark Slate Gray",
    "Dark Slate Grey",
],

Do we want this full list?

Yes... and no 😃
The full fix would be to have a const function to create colours with standard rgb hex. To do that, this TODO should be done
https://github.com/bevyengine/bevy/blob/cf0e9f9968bb1bceb92a61cd773478675d35cbd6/crates/bevy_render/src/color.rs#L14
But fixing the colours to have the correct value in linear until this is done is better than what we have now.

Do we want this full list?

Yes... and no 😃
The full fix would be to have a const function to create colours with standard rgb hex. To do that, this TODO should be done
https://github.com/bevyengine/bevy/blob/cf0e9f9968bb1bceb92a61cd773478675d35cbd6/crates/bevy_render/src/color.rs#L14
But fixing the colours to have the correct value in linear until this is done is better than what we have now.

Do we want this full list?

Yes... and no 😃
So the list that's currently in Bevy is a smaller subset of that.
I'll submit a PR later for all of the CSS colours using the generated values. I personally think it's worth having.

The full fix would be to have a const function to create colours with standard rgb hex. To do that, this TODO should be done
https://github.com/bevyengine/bevy/blob/cf0e9f9968bb1bceb92a61cd773478675d35cbd6/crates/bevy_render/src/color.rs#L14
But fixing the colours to have the correct value in linear until this is done is better than what we have now.

Maybe I'll have a go at this a bit later on. What should these types be called?

Do we want this full list?

Yes... and no 😃
So the list that's currently in Bevy is a smaller subset of that.
I'll submit a PR later for all of the CSS colours using the generated values. I personally think it's worth having.

The full fix would be to have a const function to create colours with standard rgb hex. To do that, this TODO should be done
https://github.com/bevyengine/bevy/blob/cf0e9f9968bb1bceb92a61cd773478675d35cbd6/crates/bevy_render/src/color.rs#L14
But fixing the colours to have the correct value in linear until this is done is better than what we have now.

Maybe I'll have a go at this a bit later on. What should these types be called?

Maybe I'll have a go at this a bit later on. What should these types be called?

I would go with Color for the standard one that everybody is used to, and LinearColor for the linear variant, that is the one we have currently

Maybe I'll have a go at this a bit later on. What should these types be called?

I would go with Color for the standard one that everybody is used to, and LinearColor for the linear variant, that is the one we have currently


Update Jade to 1.8.2

I have a very similar bug to #9 that is caused by this specific markup
script.
	(function () {
		if (anyVariable) {}
		// any comment
	})();

It's fixed by simply bumping Jade to 0.35.0, which is exactly the next version.
I also tried 1.8.2 and the whole build works fine too, so we might as well update Jade to that.

Can you pull this in?

@bfred-it can you try with Jade 1.9.2?
Also, please revert the version number change. I'd like to think about that a little bit.

Done. I used it with 1.8.2 on 3 different projects and haven't had any issues

Any problems with this version?

I tested it on 3 project and it works fine everywhere

0.2.0 was released and published to npm.
Thanks @bfred-it!

Thank you!


Video not working..

hi...
i'm razi from malaysia..i already downloaded you Album source code from Github.com
the sample program look cool...the feature easy to used it..
But i got problem when run in Huawei Ep820 (Handset/Handheld)...
the problem is when i click on Album and click Take Video..when press record button
Toast "Size limit reached"...btw i already change save to location to Internal Storage...
Any idea?

Use Album:

Album.album(this)
    .multipleChoice()
    .camera(true)
    .cameraVideoLimitBytes(...) // Specify the file size, which is part of the phone's bug
    ...;

Use video:

Album.video(this)
    .multipleChoice()
    .camera(true)
    .limitBytes(...) // Specify the file size, which is part of the phone's bug
    ...;

Use camera:

Album.camera(this)
    .video()
    .limitBytes(...) // Specify the file size, which is part of the phone's bug
    ...;

Album.camera work fine..
but  when you using
Album.album(this)
.multipleChoice()
.requestCode(200)
.columnCount(2)
.selectCount(6)
.camera(true)
.cameraVideoQuality(1)....
got problem...so any suggestion/example limitbytes using?

Time and file size is proportional to the general we only choose one to use, it is recommended to limit the time, video recording is completed, the use of ffmpeg or any libraries to compress the video.

Work Fine with 2 below code...
Album.camera(this)
.video()
.limitBytes(Integer.MAX_VALUE) // Specify the file size, which is part of the phone's bug
...;
Album.video(this)
.multipleChoice()
.requestCode(200)
.columnCount(2)
.selectCount(6)
.camera(true)
.limitBytes(Integer.MAX_VALUE )

The above three examples are possible to use, after our test is no problem, if you have any questions, trouble you to feedback to us.
In addition, it is very welcome to submit the PR to participate in the development of this project.


error on mvn clean package appassembler:assemble

On running $ mvn clean package appassembler:assemble
got following test failure:
Failed tests:   testStreamIteration(io.anserini.collection.BibtexCollectionTest): expected:<author_name1  and
testManualSegmentInitialization(io.anserini.collection.BibtexCollectionTest): expected:<author_name1  and
testIterateCollection(io.anserini.collection.BibtexCollectionTest): expected:<author_name1  and
testNonEnglishTopics(io.anserini.search.topicreader.TopicReaderTest): expected:<[?????????????????]> but was:<[《▒?▒里走▒?▒骑》和张艺谋是什么关系？]>
testNonEnglishTopics_TopicIdsAsStrings(io.anserini.search.topicreader.TopicReaderTest): expected:<[?????????????????]> but was:<[《▒?▒里走▒?▒骑》和张艺谋是什么关系？]>
test(io.anserini.util.ExtractAverageDocumentLengthTest): expected:<... Exact avg doclength[(..)
test(io.anserini.util.ExtractDocumentLengthsTest): expected:<...(sum of doclengths):[(..)
Tests run: 222, Failures: 7, Errors: 0, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  46.345 s
[INFO] Finished at: 2020-03-27T10:21:56+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project anserini: There are test failures.
[ERROR]
[ERROR] Please refer to C:\bosch\open_source\anserini\target\surefire-reports for the individual test results.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

I am getting the above error when working on windows with maven, is it advised to build the system on linux machine?

Yes, we don't have much experience with Windows because most of our team members use Mac and/or Linux.


Fixes Inconsistent BITOP: BITOP with non string source key

Fixes #666
Description
This pull request addresses the issue where the BITOP: BITOP with non string source key command in DiceDB was not giving the expected output
Changes made:
Fixed the error that must be shown correctly when running BITOP command with non string source key.
Output

The expected output when the above set of commands when run on Redis:

The observed output Earlier was the above set of commands when run on DiceDB:

@karandixit10 can you please add output result from dice-tests repo for this test.

@karandixit10 can you please add output result from dice-tests repo for this test.

I have attached the output from the dice-tests also

Please add a unit test too.

Please add a unit test too.

Ok I'll add it today.

Added UnitTest for this @lucifercr07 Please Review it


Add ability to not attach any artifacts.

Currently .har and .so are attached as artifacts.  .har can be disabled (attachHeaderFiles) but not .so-files.
Please add a configuration to not attach them also.  When uploading to a public repository we don't wan't  to duplicate files.  The .so-files are in the apk already, when this plugin is part of a complete Android project that produces an apk.
Thanks

@jhdgithub - assume you have the android-maven-plugin "looking for" artifacts in the target folder and using that?  That would work and we can probably add support for that.  If you are running the build in separate sub-modules it cant be done unfortunately - the APK plugin will have to look for attached artifacts in the reactor.

To clarify, the module you are building the APK in also contains the NDK plugin to compile a native library?  If its a pure native library project, the flag will be disallowed since there needs to be at least one artifact attached to a module.

Yes, I use android-maven-plugin for the apk, and android-ndk-maven-plugin just builds the ndk stuff in the same module.

Committed to master - please give it a spin and let me know.  Note that using the flag on a "pure" native project will break the build

Works OK with attachLibrariesArtifacts false.

Ok, will be in the next release


(AreaChart) Allow overflow of data points in non-scrollable chart

When creating an AreaChart, the last data point gets clipped. For my use case, the gradient under the graph is fine but I would like the full circle of the data point to show. Is there a way to do this?
Screenshot

Code example
Creating the data:
const points = [66, 50, 48, 60, 75, 70, 72].map((value, idx, arr) => ({
  value,
  customDataPoint: () =>
    // only show point on the last entry
    idx === arr.length - 1 && (
      <View
        style={{
          width: 20,
          height: 20,
          backgroundColor: "white",
          borderWidth: 4,
          borderRadius: 10,
          borderColor: "#07BAD1",
        }}
      />
    ),
}));

The component:
<LineChart
  data={points}
  width={325}
  xAxisThickness={0}
  yAxisThickness={0}
  initialSpacing={0}
  adjustToWidth
  thickness={3}
  hideRules
  stepValue={20}
  maxValue={90}
  interpolateMissingValues
  color="#07BAD1"
  curved
  curveType={1}
  areaChart
  startFillColor="#07BAD1"
  startOpacity={0.8}
  endFillColor="#07BAD1"
  endOpacity={0.3}
  isAnimated
  disableScroll
  pointerConfig={{}}
/>

Certainly due to the 'adjustToWidth' props.
Try spacing={} props or reduce yAxisLabels width

i have save problem

Hi @witaylor @julienclaerhout @erdaulhaq 👋
Thanks for reporting this issue. It is fixed in versions 1.4.13 onwards. 🎉
Now we are also adding the dataPointsRadius to the width of the chart, so the data point will not be cropped.
Please use the latest version of the library.


Add a setting to manually set the Pane border width

Follow up from #994 and PR:#3060
In the aforementioned PR, we're hardcoding the border width to 2. This should really be configurable to any positive double.
Questions:

(Similar to the discussion in #3061) There's been discussion before about allowing custom theming, hypothetically powered by XAML. Would we want to wait for that discussion to be had before we do this?

If we do want to do this in XAML later, would enabling it in the json now negatively impact that future scenario?

Does this one need to be a setting? Can we live with "there is a border" / "there is no border"?

I mean, there's pretty minimal difference between implementing this as a bool vs a double, right? I personally think a smaller border is nice, but there might be someone who's crazy and wants an 8px border or something


missing pages

In our chat yesterday (7 Sept) Kim noted that the data dump from EBI, which was supposed to have everything, is in fact missing quite a bit from the Drupal side.
I have manually added back the missing non-FAQ documentation pages and the file format descriptions that were under submit-data (now also in documentation).
This is a list of other pages that I've noticed are missing:

submit-data/gene-name-registry	may move from submit-data; need all sub-pages too:

Gene Naming Committee members
S. pombe gene naming guidelines
Reserved gene names
Gene name conflicts
Gene name reservation form

downloads page	and all sub-pages, i.e.

downloads/datasets - go through and decide which sub-pages to keep; make list of edits
downloads/documents - and all sub-pages and linked files (also see https://github.com/pombase/website/issues/355#issuecomment-328075868)
downloads/chado-database-dumps	(note to self: edit text)

news archive (in #239 it seems we decided not to continue adding news items as a separate thing, but do we want to link the old ones somewhere out of the way but accessible if you look?)

Why did we decide not to have news items? I don't remember that...

It's entirely possible I misinterpreted the old ticket. The important point is that the news items are among the missing, so if we want the old news for a pombase v2 archive either Kim has to get them in his second attempt or we'll have to screen-scrape 'em.
I also don't see a ticket about news in pombase 2 - how it'll work, where we put items, etc. Should I create one?

OK, in  #239 we have
-news feed
-events (dump this as news feed is sufficient?)
-jobs (dump this as news feed mailing list is sufficient?)
(I think this just means that jobs and events are not required (IIRK, were never asked for), we would just put such things on the news feed....
But I don't think we discussed anything about how we want it to be....

ok, #510

download page now in #512, and gene names in #515, so I think everything's covered


chore: Removing quickstart showcase

Description of the change
This pull request removes the quickstarts-showcase module and arranges the use cases according to the TOC list.
Checklist
Development

[x] The changes have been covered with tests, if necessary.
[x] You have a green build, with the exception of the flaky tests.
[x] UI and JS files are fully tested, the user interface works for all modules affected by your changes (e.g., solve and analyze buttons).
[x] The network calls work for all modules affected by your changes (e.g., solving a problem).
[x] The console messages are validated for all modules affected by your changes.

Code Review

[x] This pull request includes an explanatory title and description.
[x] The GitHub issue is linked.
[ ] At least one other engineer has approved the changes.
[ ] After PR is merged, inform the reporter.

Not sure screenshots should be a top-level directory. It screws up the hierarchy, takes attention away from use cases and technologies. Maybe we put each screenshot into the directory of the relevant quickstart?


Spark task component only support spark1.X using sprak-submit, not suitable for spark2

Spark task submit can specify the spark version
Spark task component only support spark1.X using sprak-submit, not suitable for spark2
add the spark version selector to specify the spark version
In 1.1.0, shell component can submit spark2  job

add a picture or add some log info for us to see what the problem?

OK, we will consider the Spark and MR task multi-version problem solution, and we are very welcome to contribute this feature.
我们会考虑Spark和MR任务多版本问题解决方案，也非常欢迎能贡献此功能

i will do this job, through env file to get spark exec path

merge to dev~


Smooth Scrolling using robotgo

Robotgo version (or commit ref): 0.100.6
Go version: go version go1.17 darwin/arm64
Gcc version: Apple clang version 12.0.5 (clang-1<IP_ADDRESS>)
Operating system and bit: Macos v12.0.1(Monterey)
Resolution: 2560 x 1600
Can you reproduce the bug at Examples:

[ ] Yes (provide example code)
[ ] No
[x] Not relevant

Provide example code:

for True {
      robotgo.ScrollMouse(1, "down")
      robotgo.MilliSleep(1000)
}

Log gist:

Description
Hi, I was trying to get a terminal app to smoothly scroll but can't figure out a way to do it. So I was wondering if there was a way to smoothly scroll hidden somewhere in the robot. I've tried using the above while loop but this is not "smooth". It is a noticeable and jagged way to scroll. Is there a way to reduce how much a "1" can scroll?
Or is there a way to scroll as we do in browsers(scroll by n pixels for some n, instead of "clicks") using which we could emulate smooth scrolling? Any idea on what we need to do to get smooth scroll to work(Do we need to implement something like this: https://en.wikipedia.org/wiki/Smoothstep)?

Use:
for {
    robotgo.Scroll(10, -10)
    robotgo.MilliSleep(200)
}

This function is seem "smooth".

Or you can use the new function robotgo.ScrollSmooth(-1, 10) scroll 10 times.


Connection between supervision and control block out of order

(@danyill masquerading to describe issue @jarradraumati found)
Generally, supervisions go in the correct order but I found a case where they do not:

Here is a video:
https://github.com/danyill/oscd-supervision/assets/3224671/c43e88ab-4734-4501-b4f9-bdbbc29f7f56
Here is the scd file:
XAT (13).zip
The issue seems only be the UI because the intended connections is shown for the Val of the setSrcRef:
<LN desc="HV_MU_Trips" lnType="SIEMENS_6MU85_01SIPROTEC5_LNType_LGOS" prefix="HV_" lnClass="LGOS" inst="2">
	<Private type="Siemens-MasterId">d797cd79-1a63-4498-9af5-878a2baa3066</Private>
	<DOI desc="Mode (controllable)" name="Mod">
		<SDI name="Oper"/>
	</DOI>
	<DOI desc="Behavior" name="Beh"/>
	<DOI desc="Health" name="Health"/>
	<DOI desc="Name plate" name="NamPlt">
		<DAI name="configRev">
			<Val>2023-06-08 09:06:31</Val>
		</DAI>
	</DOI>
	<DOI desc="Needs commissioning" name="NdsCom"/>
	<DOI desc="Status subscription" name="St"/>
	<DOI desc="Status Sim messages" name="SimSt"/>
	<DOI desc="Exp. conf. rev." name="ConfRevNum"/>
	<DOI desc="Rec. conf. rev." name="RxConfRevNum"/>
	<DOI desc="Ref. GOOSE CB" name="GoCBRef">
		<DAI name="setSrcRef" valImport="true">
			<Val>XAT_242_M2Prot_MechanicalTrips/LLN0.Ctl_1</Val>
		</DAI>
	</DOI>
	<DOI desc="Diagnosis error" name="DiagErr"/>
</LN>

Thank you for filing this issue -- it is most helpful.
Just one of the render functions had not consistently used the helper function to generate the supervisions and that appears to be the cause of this. PR on the way.


[Question] What time zone is used when dates are enabled, and can it be changed?

I sometimes need to cross reference server side logs with client side logs by date. Is the local machine time zone used for logging, or is it in UTC/GMT? Also is there a way to choose the time zone for logging.
I took a quick look in the code, and I think it's using local time zone, but I'm unsure. If so, I suppose I can just log the local time zone on launch. Otherwise, it would be nice to be able to select UTC/GMT so all logs use the same time zone for easy referencing.

Yes, take a look here:
https://github.com/DaveWoodCom/XCGLogger/blob/master/Sources/XCGLogger/XCGLogger.swift#L138
By default, the logger uses a DateFormatter that uses local time. But you can create your own DateFormatter and set the logger to use that. Something like:
log.dateFormatter = {
    let customDateFormatter = DateFormatter()
    customDateFormatter.locale = Locale(identifier: "en_CA")
    customDateFormatter.timeZone = TimeZone(abbreviation: "GMT")
    customDateFormatter.dateFormat = "yyyy-MM-dd HH:mm:ss.SSS"
    return customDateFormatter
}()

Awesome thanks!


Want to add one more /handler  in metrics. Please help to me do that ..

Issue type:

Pick one:
Feature request
Bug report
Support request

What happened:
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Other important information:
Configuration file (remove section, if not applicable):
# Please post the contents of your configuration file, here

Metrics output (remove section, if not applicable):
# Please post the output of the exporter's /metrics endpoint, if applicable

Exporter output (remove section, if not applicable):
# Please post the output of the exporter itself, if applicable

Example log file (remove section, if not applicable):
# Please post an excerpt of a log file that can be used to reproduce the error
# Keep the excerpt as short as possible and make sure to redact any sensitive data.

Environment:

Exporter version:
OS (e.g. from /etc/os-release):
Others:

I don't really get what you're trying to do. Can you clarify a bit?

Closed due to lack of feedback. Feel free to re-open.


Ember CLI v2.12 -> v2.13

Update to CLI v2.13 and remove all console warnings
Additionally, Locking bulma at 0.1.2 as well -- I was seeing some visual diffs when updating to latest (@jbailey4) -- See https://github.com/open-tux/ember-bulma/issues/63

@alexdiliberto 👍 You mind also committing you .gitignore with /yarn-error.log added as well?

ping @jbailey4

@jbailey4 We have 2 license files here for some reason, I'm deleting the one that's not auto generated by CLI

@alexdiliberto 👍


Download invoice for order

I want to merge this change because it adds the possibility to download invoice from the popup menu in the order details view for logged in user.

PR intended to be tested with API branch:
https://github.com/mirumee/saleor/pull/5732
PR intended to be tested with SDK branch:
https://github.com/mirumee/saleor-sdk/pull/13
Screenshots

Pull Request Checklist

[ ] All visible strings are translated with proper context.
[ ] All data-formatting is locale-aware (dates, numbers, and so on).
[ ] The changes are tested.
[ ] The code is documented (docstrings, project documentation).
[ ] Changes are mentioned in the changelog.

Task linked: CU-6a5w9n Show my invoices as a user in my storefront order list


How to detect draw order of objects

Describe the bug
I have two dwg files with difference draw order of two objects
To Reproduce
Parse two file and serialize to JSON. There is no difference except for modification date. They have the same draw order.
Expected behavior
I think these object should have different position in Objects array.
Screenshots

using ACadSharp;
using ACadSharp.IO;
using Newtonsoft.Json;

void onNotification(object sender, NotificationEventArgs e)
{
    Console.WriteLine(e.Message);
}

CadDocument doc = DwgReader.Read("./draworder.dwg", onNotification);

var json = JsonConvert.SerializeObject(doc, new Newtonsoft.Json.JsonSerializerSettings {
    ReferenceLoopHandling = ReferenceLoopHandling.Ignore,
    Formatting = Formatting.Indented,
    PreserveReferencesHandling = PreserveReferencesHandling.Objects,
});

await File.WriteAllTextAsync("output1.json", json);

Correct me if i test it wrong.

Any updates?

@DomCR i tried to parse SORTENTSTABLE from files. As you can see in screenshot below, it looks like draw order.
Left side is the first screenshot from issue description, right is the second. 437 is green shape, 483 is blue shape.

What do you think of it? If it helps, i will push changes later.

now I see what you mean, ACadSharp should implement this object for that, by now this is not implemented but I can open a branch to implement this object into the library.
If you have a PR with an implementation feel free to push it into master and I'll be glad to review it, by now I'll open a branch to implement the SORTENTSTABLE object.


Bug: error message property prevents submission after correction

From Freshdesk ticket 19577

I am trying to get error messages in gcds-input to work with Drupal. When a form is submitted, Drupal checks for validation errors and sets error messages when needed. I have those appearing using the error-message property.
The problem I am running into is that if the user corrects their input and clicks on the submit button, it will not submit. I presume this is because something in GCDS is preventing submission when there are error messages shown.
We need a way of bypassing this so that server-side validation can run.
The documentation mentions "custom validation" but does not say how it would need to be implemented.

Ping Support once resolved, so we can circle back with client!

Still to be released: https://github.com/cds-snc/gcds-components/pull/668


Limit drag to scroll height

Is there a possibility in slip.js to limit drag to scroll height? That is, element drags within the scroll container.

I believe this was fixed by #72.

Looks like this is still an issue


Feature: set origin (put image in upper left corner) without breaking focal point zooming

What problem does this feature solve?
My use case is to display big images up to 100MP on 100% of the available screen. The default origin 50%, 50% moves the picture away and thus creates big white border. Setting origin to '0 0' solves this but breaks focal zoom (as documented).
Describe the solution you'd like
A way to set origin '0 0' or another way to put the image in the upper left corner with focal zoom feature.
Describe alternatives you've considered
I tried to play around with "contain". Contain inside seem to do nothing in regards of image position but panning stops working (i guess due to container size + transform origin 50). "outside" seem to have a very odd behaviour making the image jump on any interaction (initially loaded half split in the upper left corner and it jumps away on pan or zoom)
Additional context
I am relatively new to javascript development so their might be an easy way i didn't saw. My first step would just be to render the image as the browser would do (upper left corner, zoomed out to fit screen), from there i want focal zoom on mouse down to cursor position to 100% and pan as long mouse down. on mouse button release back to fit screen.

I found a way:
`  imageContainerElement = document.getElementById("image");
imageElement = imageContainerElement.getElementsByTagName("img")[0];
panzoom = Panzoom(imageContainerElement,{
startScale:zoomFactorToFit(),
startX:-imageElement.clientWidth * 0.5,
startY:-imageElement.clientHeight * 0.5
});
`
My request would be to be able to set default of origin to be 0 0 as for svg.

Thanks for opening an issue. It should be unnecessary to change the transform origin to do this. The initial position of the image is determined by good old CSS. That said, if you can make a small example on https://codepen.io or https://jsbin.com or https://jsfiddle.net, I can help with the code.
Closing as we should be able to figure it out without adding a feature.

i put the code here:
https://jsbin.com/cukamavaja/edit?output
it is really your default code - my problem is: how to put the image in the upper left corner (the same position as it would have without Panzoom).
I achieved this now by setting startX and startY but this is really ugly:
function calculateXYstart(){
  let result = {x: null, y:null};
  if(imageElement.clientHeight>imageElement.clientWidth){
    result.x = -imageElement.clientWidth * 0.5;
    result.y = imageContainerElement.clientHeight-imageElement.clientHeight * 0.5;
  } else {
    result.x = imageContainerElement.clientWidth-imageElement.clientWidth * 0.5;
    result.y = -imageElement.clientHeight * 0.5;
  }
  return result;
}

This puts the image where i want to have it. Without the if either it is cut left (if landscape) or cut top (if portrait). I am sure there must be an easier way.
My code also did some other stuff (every thing works):

initially zoom to fit screen / container
pan is disabled
pointer down zoom to pointer with scale factor 1 (my images are always much bigger than screen)
pointer down also enable pan and lets you pan, here i need to calculate the pan my self - with default panning let the picture jump - i guess due some wrong offset?
pointer up: panzoom.reset() (really helpful function here)

This is how i implemented pan (global pan is disabled):
function pan(event) {
  if (zoomedIn) {
    let currentPan = panzoom.getPan();
    panzoom.pan(
      currentPan.x - (pointerPosition.x - event.x),
      currentPan.y - (pointerPosition.y - event.y),
      { force: true }
    );
  }
  pointerPosition.x = event.x;
  pointerPosition.y = event.y;
}

here i put everything together: https://jsbin.com/duquraj/edit?html,js,output
i just noticed that in jsbin the picture is cut on top :-(. it looks as expected in Firefox but has still a bigger white border in chrome. So help to make it fit in upper left corner or on to with center align woul be appreciated much.


How to raise 4 mb file conversion from Godot 3.5.1 to 4 beta 13

Godot version
v4.0.beta.arch_linux [23e10d1df]
System information
Artix Linux 6.1.1-zen1-1-zen Plasma 5.26.4
Issue description
https://pastebin.com/5E7UC6bn
Another issue is my .material files are not converted so I'll open another issue
Maybe also animation and mesh files
Steps to reproduce
Have files larger than 4096 kb in your Godot 3  project then import to Godot 4
Minimal reproduction project
N/A

You can increase the maximum file size limit using a command line argument when you launch the project converter tool
 --convert-3to4 max_file_size_kb line_length_limit
For example for a 1GB size limit and a max line length of 1000 you would write  --convert-3to4<PHONE_NUMBER>
More details in the PR: https://github.com/godotengine/godot/pull/64396
This could be added to the docs here: https://docs.godotengine.org/en/latest/tutorials/migrating/upgrading_to_godot_4.html

Hello! I was reading through the doc that you linked, and I noticed that the doc doesn’t mention using the command line to convert, or specifically, the —convert-3to4 argument. Instead, another method was mentioned, where instead of the command line, you just import a Godot 3.x project into Godot 4 Project Manager and an update tool will be used.
Would it be possible to also include the command line method of using —convert-3to4 in the doc to provide more options for users?
This flag was tough to find since the only other place where I've seen —convert-3to4 is here: https://docs.godotengine.org/en/latest/tutorials/editor/command_line_tutorial.html


Fluent validation to swagger

If you remove attributes, you have to create validators for these DTOs. Are they already implemented?

Yes, in previous PR's, and they are already merged . See


Approval with --ask flag deletes the file instead of overwriting it

It looks like when the arguments were reversed in the file we didn't also reverse the order of files in the mv command.
@randycoulman I'm fixing it now--you'll want to be sure to upgrade before RailsConf.

I thought I did reverse that. Thanks for catching my oversight.
Randy

On Apr 20, 2015, at 10:45 AM, Katrina Owen<EMAIL_ADDRESS>wrote:
It looks like when the arguments were reversed in the file we didn't also reverse the order of files in the mv command.
@randycoulman I'm fixing it now--you'll want to be sure to upgrade before RailsConf.
—
Reply to this email directly or view it on GitHub.

 I recall something about a merge conflict that I probably got wrong.


error when training data in the example

Hi,
Firstly, thanks for your detailed explanation. However, when I tried to train the model I had the following error which I am not sure where is it:
`(tensorflow1) D:\tensorflow1\models\research\object_detection>python train.py --logtostderr --train_dir=training/ --pipeline_config_path=training/faster_rcnn_inception_v2_pets.config
WARNING:tensorflow:From D:\Anaconda3\envs\tensorflow1\lib\site-packages\tensorflow\contrib\learn\python\learn\datasets\base.py:198: retry (from tensorflow.contrib.learn.python.learn.datasets.base) is deprecated and will be removed in a future version.
Instructions for updating:
Use the retry module or similar alternatives.
INFO:tensorflow:Scale of 0 disables regularizer.
INFO:tensorflow:Scale of 0 disables regularizer.
WARNING:tensorflow:From D:\tensorflow1\models\research\object_detection\trainer.py:228: create_global_step (from tensorflow.contrib.framework.python.ops.variables) is deprecated and will be removed in a future version.
Instructions for updating:
Please switch to tf.train.create_global_step
INFO:tensorflow:Scale of 0 disables regularizer.
INFO:tensorflow:Scale of 0 disables regularizer.
INFO:tensorflow:depth of additional conv before box predictor: 0
WARNING:tensorflow:From D:\tensorflow1\models\research\object_detection\core\box_predictor.py:396: calling reduce_mean (from tensorflow.python.ops.math_ops) with keep_dims is deprecated and will be removed in a future version.
Instructions for updating:
keep_dims is deprecated, use keepdims instead
WARNING:tensorflow:From D:\tensorflow1\models\research\object_detection\core\losses.py:316: softmax_cross_entropy_with_logits (from tensorflow.python.ops.nn_ops) is deprecated and will be removed in a future version.
Instructions for updating:
Future major versions of TensorFlow will allow gradients to flow
into the labels input on backprop by default.
See tf.nn.softmax_cross_entropy_with_logits_v2.
Traceback (most recent call last):
File "train.py", line 167, in
tf.app.run()
File "D:\Anaconda3\envs\tensorflow1\lib\site-packages\tensorflow\python\platform\app.py", line 126, in run
_sys.exit(main(argv))
File "train.py", line 163, in main
worker_job_name, is_chief, FLAGS.train_dir)
File "D:\tensorflow1\models\research\object_detection\trainer.py", line 255, in train
train_config.optimizer)
File "D:\tensorflow1\models\research\object_detection\builders\optimizer_builder.py", line 50, in build
learning_rate = _create_learning_rate(config.learning_rate)
File "D:\tensorflow1\models\research\object_detection\builders\optimizer_builder.py", line 109, in _create_learning_rate
learning_rate_sequence, config.warmup)
File "D:\tensorflow1\models\research\object_detection\utils\learning_schedules.py", line 156, in manual_stepping
raise ValueError('First step cannot be zero.')
ValueError: First step cannot be zero.`
Thanks!

When I tested this work with the cards dataset, it worked well.
So I tried to train the network with my own data on another computer.
I think generating records was done successfully, however I've had the same error.
Considering from the error message, It seems to be caused by train_config in faster_rcnn_inception_v2_pets.config we've created.
Fixing about the learning rate, I think it will work.
I'm sorry but I don't have any more ideas about it.

I found the answer in https://github.com/tensorflow/models/issues/3794.

Thanks S-aiueo32 for posting the link to the solution!

2018 solution with new format. Uncomment these two lines in the learning_schedules.py and you start to generate steps to train your custom images. I check the 2017 tutorials but the way of writing code in 2018 has changed at some parts so you stuck at every steps with old tutorials.
if boundaries and boundaries[0] == 0:
raise ValueError('First step cannot be zero.')


Improve DeadBranchPrune to be type aware in x is None case

Feature request
Case to support:
https://github.com/tardis-sn/tardis/pull/2690#issuecomment-2208231462
https://gist.github.com/Sumit112192/6ddf8cb7be016caba1ce98feca95815d

@numba.njit
def aNumaFunc(flag):
    if flag is None:
        variable1 = 1
    else:
        variable1 = "a different dataype"
    return variable1

when flag is not of NoneType.
A test is proactively added in https://github.com/numba/numba/pull/9645/commits/8ca92c70f6256d9424aa774187cf4eba80c6d0de
This is doable given LiteralPropagationSubPipelinePass already runs partial type inference. Perhaps, DeadeBranchPrune can be made to optionally use type info.

I'm parking my exploratory attempt to this problem (closing https://github.com/numba/numba/pull/9651 and https://github.com/numba/numba/pull/9645). @stuartarchibald and I concluded that proper support for this will require changes to TypeInference (and PartialTypeInference). We need TypeInference to:

only make progress when all data-dependent edges are type-inferred;
make step-wise progress to avoid skipping avoid into branches.

We need to avoid situation where:

exiting partial type inference pass with incorrect type-info because not all incoming values of Phi nodes are checked;
prematurely failing type inference by skipping into branches that will be pruned.

One of the prerequisite of doing all these is making sure TypeInference pass only consume SSA IR. Currently, LiteralPropagationSubPipelinePass is using PartialTypeInference with non-SSA IR.


Contact form Project Pull request

Summary :
Used flex for both sessions.
Used Micro verse template 2 for reference.
The used mobile-first CSS model
Used grid and flex as per instruction.
Following Mobile's first model.
Created contact form and footer as per Figma template.
Bugs have been updated according to the template
Content of this about section with a flexbox

@frank1738 README.md file has been updated and key features have been added as required by the reviewer to the readme file .


miq_ae_domain spec/factory wasn't setting class name

The MiqAeDomain class inherits from MiqAeNamespace, the class
for MiqAeDomain factory was set to MiqAeNamespace.

@Fryguy @kbrock
Please review


Some submit feedback

Adds some submit feedback. Ref: https://github.com/yuvipanda/jupyterhub-configurator/issues/5
This is how it looks on success:

This is how it looks on failure:

Feedback very much welcome (my UI skills are almost non-existent :grimacing: )

Thanks for opening this, @GeorgianaElena!
What do you think of making this more react-y? I think using getElementById and friends is generally frowned upon, and due to how re-rendering works might not do what you actually want it to do.
Maybe we should use a isSaving variable with useState, and render appropriate messages based on the state of that?
/cc @damianavila

The UX looks good to me though.

After pressing Submit, I was expecting from green alert to show you the update process was successful.
I noticed the button changes to "Saved", but this is a subtle change, IMHO.
Alternatively, you may change the button to green, but that is not in sync with the rest of the alerts you are showing...

In the last commits, I changed a bit how the submit feedback mechanism looks and behaves. The reason is that I noticed that any alert or button text modification made in the onChange handler sometimes makes the form change event to be lost and never arrive to onSubmit (this thread seems to explain what's going on).
The only solution I could think of, was to basically do nothing during onChange and have a Toast that hides itself after a time period. All the changes to the submit button and this toast element, happen only onSubmit and page init. This is how it looks like now:

What do you think?

OK, from your last commit it seems you are putting the elements in a row to prevent that weird button displacement, I guess that should do the trick! Do you have any gif to see how that looks like now? Thanks!

OK, from your last commit it seems you are putting the elements in a row to prevent that weird button displacement, I guess that should do the trick! Do you have any gif to see how that looks like now? Thanks!

Yes, using the Row element fixed that weird left alignment :tada:
This is how it looks like now:

\o/


REJECTED_REDIRECTED forced unexpected DOCUMENT_FETCHED

Hi Pascal,
I found the following behavior:

We have page1.html which is correctly processed as REJECTED_PREMATURE.  (due to no changes in the sitemap lastmod).
And we have a second page page2.html which redirects to page1.html.
This redirects leads to a DOCUMENT_FETCHED for page1.html even though it was already correctly listed as REJECTED_PREMATURE

2019-07-08 18:32:39 INFO - REJECTED_PREMATURE: https://obfuscated/page1.html
2019-07-08 18:32:45 INFO - REJECTED_REDIRECTED: https://obfuscated/page2.html
(HttpFetchResponse [crawlState=REDIRECT, statusCode=301,
reasonPhrase=Moved Permanently (https://obfuscated/page1.html)])
2019-07-08 18:32:46 INFO - DOCUMENT_FETCHED: https://obfuscated/page1.html

I would expect the following output:
2019-07-08 18:32:39 INFO - REJECTED_PREMATURE: https://obfuscated/page1.html
2019-07-08 18:32:45 INFO - REJECTED_REDIRECTED: https://obfuscated/page2.html
(HttpFetchResponse [crawlState=REDIRECT, statusCode=301,
reasonPhrase=Moved Permanently (https://obfuscated/page1.html)])
2019-07-08 18:32:46 INFO - REJECTED_PREMATURE: https://obfuscated/page1.html

Best regards
Sascha

Interesting... I will investigate further.  Could be a bug.

After investigating, I could not reproduce.
When redirect occurs, it is possible for a page to be queued for processing a second time (but not more). This is intentional, in case of redirect loops or other odd cases (e.g. login redirecting back to original URL).  The reason for this behavior is described in #533.
I tried to reproduce the issue on my side, but while the page gets processed (but rejected) a second time for the above reasons, it comes up the second time still as REJECTED_PREMATURE.
The fact that you get something different the second time it is accessed suggests that the conditions have changed between the first and second time the page is processed.  Is it possible for instance enough time has elapsed between the two attempts so that the page suddenly became eligible for recrawl?
If so, it is working as designed for now.  If that's not the case, I would need a copy of your configuration that can reproduce it (you can send by email if sensitive).
I am aware the occasional double-processing on redirects is not ideal, but it gets the job done until the next major release where the approach may be reconsidered.  Keep in mind it does not do that for all your URLs, just some of the redirected ones.  There should normally be no harm other than the extra processing.

Hi Pascal,
thank you for your efforts.
We found this entry in the logs
java.lang.IllegalStateException: Chunk 12626972 no longer exists [1.4.196/9]

After that error message Norconex started to re-crawl every document.
Do you think this is might be related to this behavior?
In the meantime we are also investigating if some of the conditions might have changed.
But I wanted to make sure that this chunk issue is not causing our behavior.
Best regards
Sascha


Support upload of non-tabular files

We should support ingest of non-tabular (unstructured) data files through the python library

Implemented in 0.8.1