Avoid bug in conda-build 3.28.3

Checklist

[ ] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

This change will be undone whenever the feedstock is rerendered. Hopefully, a fix will be published before you need to do that.
If you are planning to expand immediately to ARM processors, then you will need to ensure that this change is not erased by conda-smithy.

@carterbox Do you have a link to the bug?

https://github.com/conda/conda-build/issues/5136

@carterbox , @xhochy Thank you. This was a long journey


clr.KeyHook.Hooker a nil value?

https://gist.github.com/njbmartin/8147bad7d6edc29cf905 the script here looks like it throws this error...
ERROR Ultrabox.ChromaSync.App: Neo.IronLua.LuaRuntimeException: Object is nil.
The file looks like it would work for this app, with hooking in keys to have a reactive keyboard however I can't seem to get it to work. Any ideas? Has this feature been removed? Will it be added?

Hey there! Thanks for checking it out, however the KeyHook is part of a plugin that is not included with Chroma Sync, and the lua interaction was causing performance issues. Key Hook will be returning soon though as part of the lua experience!

Hey, wondering when this will become available. It would be awesome to be able to make custom reactive themes.


Display a warning when using an invalid node version. r=vporof

Displays a message when users have an outdated version of node.

*****
You are currently running node v5.0.0. The minimum supported version is v5.8.0. Please upgrade your version of node, or use a node version manager, like nvm:
https://github.com/creationix/nvm
*****

Updated to use package.json's engines.node property and displays the valid ranges.

r+ hot hot!
appveyor failed for some reason, but ship away if all's good.


Upgrading Rails

What happened
Upgrading to rails 5.1.6
Insight
We need to upgrade as 5.1.4 doesn't support pg > 1.0
Proof Of Work
Simple change
Fixes #65

This is a fine intermediary step but we should actually move this to 5.12 raise in #56


⚠ Digital Ocean - https://status.digitalocean.com/ has degraded performance

In 177baaf, Digital Ocean - https://status.digitalocean.com/ (https://status.digitalocean.com/api/v2/status.json) experienced degraded performance:

HTTP code: 200
Response time: 128 ms

Resolved: Digital Ocean - https://status.digitalocean.com/ performance has improved in f54c5ed.


encoding/json: panic on embedded struct pointer that implements Unmarshaler

What version of Go are you using (go version)?

$ go version
go version go1.11.5 linux/amd64

Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GOARCH="amd64"
GOBIN=""
GOCACHE="<snip>/.cache/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="<snip>/go"
GOPROXY=""
GORACE=""
GOROOT="/usr/local/go"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build174238184=/tmp/go-build -gno-record-gcc-switches"

What did you do?

https://play.golang.org/p/c6Q_ehlEHMQ
What did you expect to see?
Unmarshaling works.
What did you see instead?
panic: json: Unmarshal(nil *main.A)

Analysis
This is caused by encoding/json not initializing (new) the embedded struct pointer field. Type asserting the embedding struct to Unmarshaler works, with the interface value holding a pointer to the embedding struct, but on calling the UnmarshalJSON method it gets called with the embedded struct as the receiver, which is nil.
Also see https://github.com/go-yaml/yaml/issues/436

I don't think there's anything that we can do without changing the reflect package (and since the reflect package is a dynamic representation of the Go language, this may mean changing the Go language itself).
The fundamental problem is that embedded types have their methods forwarded to the parent. Thus, type B has an UnmarshalJSON method. From the perspective of the json package, it has no idea that it needs to also allocate a value of type A since it sees the UnmarshalJSON method on B first and calls it. You could argue that json should investigate whether the UnmarshalJSON was forwarded from embedding, and if so, allocate the necessary receivers. However, reflect doesn't seem to provide an API to distinguish between methods directly declared on the parent, versus those from embedded children.

Also, the fact that you can't directly call UnmarshalJSON on an allocated B suggest that the user code itself is problematic.
var b B
err := b.UnmarshalJSON([]byte(`{"hello": "world"}`))
fmt.Println(err) // json: Unmarshal(nil *main.A)

I guess fixing this would require extending reflect with the ability to give you information about the chain of embedded structs from where a method implementation comes from. But maybe it also takes additional special handling so that an embedded UnmarshalJSON doesn't interfere with serializing the struct itself.
Any sort of input on the zero value of B will trigger this since encoding/json will try to call it's embedded UnmarshalJSON method.

There is no way in Go in embed a type and not have it's method set be forwarded. Embedding forwards both fields and methods and is a common gotcha in Go and a source of bugs.
That said, you can destructively cancel out the forwarded method if another embedded type has the same method. In such a case, the parent type will not have forwarded methods that have naming conflicts.
Consider this modified example of yours: https://play.golang.org/p/PTTh6Jqf7El
However, I should note that this approach is a hack. In general I recommend against the use of embedding. It tends to cause more problems than it solves.

@segevfiner is this still a bug that you want addressed, or do you feel that your question has been answered? If you think this is more of a question, and less of a bug at this point, you can continue the conversation here: https://golang.org/wiki/Questions

Definitely a bug. If an embedded value works, why shouldn't an embedded pointer? Also considering that this is not documented anywhere, and calls the user UnmarshalJSON with a nil pointer receiver which is completely unexpected here and will likely cause a random panic suprising the user/developer.

@segevfiner thanks for following up.
/cc @rsc

Definitely a bug.

I disagree.

If an embedded value works, why shouldn't an embedded pointer?

Embedded pointers already have asymmetric behavior compared to the non-pointer versions.
Examples:
b.A = nil      // possible for embedded pointer, obviously not possible for embedded value
b.A = 5        // may panic for embedded pointer, never panics for embedded value
b.a = new(int) // impossible to initialize an embedded unexported pointer (see #21357)

I don't believe asymmetry here is an argument that this is a bug.

calls the user UnmarshalJSON with a nil pointer receiver which is completely unexpected here

The json did call UnmarshalJSON with an allocated pointer to (*B).UnmarshalJSON. It is the Go language semantics that then forwarded the call to the underlying (*A).UnmarshalJSON with a nil pointer. Again, this is not the json package's fault but rather surprising behavior around embedding in Go.

cause a random panic surprising the user/developer.

The json package is not panicking. Your example code is calling panic on L30.
I don't think there is anything actionable here for json other than a proposal to change reflect or the Go language.

Whether you call this a bug or not. It's still a behavior that surprised me and I didn't expect.
Of course they have different/asymmetric behavior, but Go does try to hide some of the differences where it can between pointers and values. Not all cases of course since they arw different after all.
Do consider that this can easily happen in some deeply nested struct inside some other struct and maybe even on some slice of such structs which allocates items dynamically.
Yeah json isn't panicking. But the user UnmarshalJSON called with an unexpected nil receiver can easily do.
Except documenting this, if there is any convention of documenting such gotchas... It's quite possible that fixing this would require extending/modifying reflect to be able to fix this.

Embedded are in general difficult to use properly and naturally lead to surprisingly spooky action at a distance. This is a general gotcha that isn't specific to json. As such, I don't believe we need to complicate the documentation (which is already complicated) with gotchas from the language itself.

I'm going to close this issue, then, and we can re-open if this needs to be evaluated again later on.


Use integration provided image entities and fix sensor name for SOC

@tmack8001 this fixed the charging card for me.  Please accept the merge request.  Thank you!


Support passing where in ufunc

Closes #7274.
Refs #6692, #6693
The feature itself was written by @toslunar in #5550, but the option was hidden as _where as the motivation of that pull-request was a bug-fix. I talked with him offline and agreed that there should be no issues exposing this option to public.

/test mini

https://ci.preferred.jp/cupy.linux.cuda118/119994/
https://ci.preferred.jp/cupy.linux.cuda102/119999/
Hmm wonder why it's not working in CUDA 11.8 although working in CUDA 10.2...
01:04:53.358077 STDOUT 1597]	cupy_result = (array([[   2.,    4.,    6.,    8.,   10.,   12.,   14.,   16.,   18.,
01:04:53.358079 STDOUT 1597]	          20.,   22.,   24.,   26.,   28.,   3...
01:04:53.358084 STDOUT 1597]	        1178., 1180., 1182., 1184., 1186., 1188., 1190., 1192., 1194.,
01:04:53.358085 STDOUT 1597]	        1196., 1198., 1200.]], dtype=float32),)

...

01:04:53.358118 STDOUT 1597]	numpy_result = (array([[   0.,    4.,    0.,    8.,    0.,   12.,    0.,   16.,    0.,
01:04:53.358119 STDOUT 1597]	          20.,    0.,   24.,    0.,   28.,    ...
01:04:53.358122 STDOUT 1597]	           0., 1180.,    0., 1184.,    0., 1188.,    0., 1192.,    0.,
01:04:53.358125 STDOUT 1597]	        1196.,    0., 1200.]], dtype=float32),)

/test mini

/test mini

It passes on local but failing on CI...

Hi there,
I'm very interested in seeing this PR move forward. Is there anything specific I can assist with to help expedite the process?
Looking forward to contributing!
Best regards,
Joan

The problem is that the test (cupy_tests/core_tests/test_ndarray_ufunc.py) is failing as linked above and needs to investigate the cause.


[$500] Web - Troubleshoot - Troubleshoot RHP does not open smoothly

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: v1.4.42-0
Reproducible in staging?: Y
Reproducible in production?: N
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause-Internal Team
Slack conversation:
Action Performed:

Navigate to staging.new.expensify.com
Go to Profile settings.
Go to About.
Go to Troubleshoot.

Expected Result:
Troubleshoot RHP will open smoothly.
Actual Result:
Troubleshoot RHP does not open smoothly.
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[x] Android: mWeb Chrome
[ ] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

Screenshots/Videos
https://github.com/Expensify/App/assets/115492554/86fac6dc-4ec9-41cc-8ff2-633ecf8b3836

View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~019ad8eba175f66ec3
Upwork Job ID:<PHONE_NUMBER>676678656
Last Price Increase: 2024-02-15

We think that this bug might be related to #wave8-collect-admins
CC @zanyrenney

Can reproduce on web 👍  but i don't think this should be a blocker

Can reproduce on web 👍 but i don't think this should be a blocker

+1 to Alex's assessment
Looks like the Troubleshoot menu was added in this PR: https://github.com/Expensify/App/pull/35306. @TMisiukiewicz do you plan on tackling polish/clean up issues related to the feature? Let me know and I can assign you! Thanks!

@amyevans we are having a discussion about moving this page to full card here, I think we can wait until we establish the proper implementation because if we change it, this ticket may become obsolete

Seems like a possible dupe of https://github.com/Expensify/App/issues/36645

Yes, we will be improving that as part of the original GH https://github.com/Expensify/App/issues/34082

Okay great, thanks for confirming. I'll close this one out.


RFE variables for clusterhost and token

I setup and teardown origin via minishift very often (dev environment). Each time I need to edit the clusterhost in four files, the token in four files, and the central_registry_hostname in one file (unsure if that last one is required). Could top level variables be added to these files? I could then, perhaps, specify --extra-vars to the ansible-playbook command.

@thomasmckay you can modify the inventory which would serve you the best.  Our intentions is to support an inventory that could be used for multiple different clusters.  Since you are using minishift you shouldn't need to use token but openshift_username/openshift_password which could be stored in all.yml along with clusterhost.  There is no reason why you can't use --extra-vars now since those variables will always win precedence .


Removed ember-try from dependencies

Fixed deprecation warning:
DEPRECATION: ember-try is now included with ember-cli. Including it in your package.json is unnecessary.

:)

Glad to help


Requirements for the dashboards

Your dashboard should be interactive and allow the user to:

Select which countries to display (among a pre-defined list).
Select which time period to display.
Select which variable(s) to display:
number / cumulated number / 7-day rolling average
of confirmed cases / deaths / (recovered)
Upon parameter selection, graphics should be updated dynamically.

You could also implement peak detection with the first numeric derivative.

Visualization

Dashboard displays graphics of Covid-19 cases or deaths vs time.
Dashboard displays graphics of Covid-19 cases or deaths for several countries.
Data are normalized with respect to the number of inhabitants per country.
Peak (wave) detection is implemented.

Interaction

User can select which country to display (among a predefined list of countries).
User can display many countries in the same graphic.
User can select the color of the line.
User can select to display Covid-19 cases or deaths.
User can select the time frame to display.

The new check list is the following, i think it is the one we have to follow rn:

just added the smoother on a week charts

added the json file

no color hcoice but choice of date to add

I see an error in the code.
The variables  the charts for ca_pms and de_pms  are not created yet.  I will do it

no color hcoice but choice of date to add

I don't  understand what is the change you did about the color or date?

no color hcoice but choice of date to add

I don't understand what is the change you did about the color or date?

I did none, I was just taking notes about what Pierre said during class :) we no longer have to make a choice of color, but we do have to do a choice of date

ok,  keep this Issue for solving the visualization and interactions Tasks we need to achieve

no color hcoice but choice of date to add

I don't understand what is the change you did about the color or date?

I did none, I was just taking notes about what Pierre said during class :) we no longer have to make a choice of color, but we do have to do a choice of date

This interaction task is already mentioned above  (time frame display)


Unable to load DLL 'libSkiaSharp' ASP.NET WebApp, net472

I've tried everything mentioned in https://github.com/mono/SkiaSharp/issues/513, and none of the suggestions helped. I'm creating this new bug in hope to resurrect the above-closed ticket.
I'm using TallComponents Rasterizer4 and have a ticket about this with them. They use SkiaSharp 1.60.3, and all works fine on my development box running Win 10 Pro, 64bit, with Any CPU selected on my ASP.NET Web App, with .NET Framework 4.7.2 and VS 2019.
But, when I deploy to QA environment which is Win 2012 R2, 64bit, selecting anything from Any CPU, or doing the suggestions mentioned in the above ticket #513  none of them works, I keep getting the exception below.
I even tried upgrading to the latest SkiaSharp version 1.68.0, with no luck.
This the exception I'm getting.
System.TypeInitializationException: The type initializer for 'SkiaSharp.SKImageInfo' threw an exception. ---> System.DllNotFoundException: Unable to load DLL 'libSkiaSharp': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
at SkiaSharp.SkiaApi.sk_colortype_get_default_8888()
at SkiaSharp.SKImageInfo..cctor()
I really hope someone can point me in the right direction. Thanks.

After further research into this, I found out different posts indicating that SkiaSharp requires C++ VS 2015 dist, so I installed it from here https://www.microsoft.com/en-us/download/details.aspx?id=53587
and it seems to work now. I would have to do further testing, some end-2-end to make sure all works fine.
But, this is really embarrassing for the team not to include the needed DLLs in the first place and makin this requirement hidden in all kinds of posts. I hope you guys can fix this and make a new release soon.

It is possible to use static linking for the needed libs but that will increase file size. Maybe this could be optional. In the end it isn't a big deal to install that dependency. This should be documented so everyone knows these requirements.

I believe that we do have it now in the 1.68.x releases. I believe it was documented in the readme with 1.60, but I think it got removed once we moved on to 1.68

Closing because it is now statically compiled in since v1.68.x.


Bump dependencies in AMI

@mjasion, I have fixed the CML part of the workflow, but Packer is still failing.


https://github.com/Dwolla/omnipay-dwolla.git no longer exists.

composer.lock points to this remo in:
"name": "dwolla/omnipay-dwolla",             "version": "dev-master",             "source": {                 "type": "git",                 "url": "https://github.com/Dwolla/omnipay-dwolla.git",                 "reference": "f58af834d62a938834d96b435c644b69c3c1ecf8"             },             "dist": {                 "type": "zip",                 "url": "https://api.github.com/repos/Dwolla/omnipay-dwolla/zipball/f58af834d62a938834d96b435c644b69c3c1ecf8",                 "reference": "f58af834d62a938834d96b435c644b69c3c1ecf8", "shasum": ""
So composer install fails to achieve victory ;P

Oh sorry! I just saw the issue here:

https://github.com/invoiceninja/invoiceninja/issues/2507

I'll close this one.


Unexpected offset with segue

Hello,
when i use a segue to go to an other view and i go back to my view, with the ParallaxEffect, the parallaxeffect is not at his original location, it is lower in my view.
I've tried lot of things but nothing solve my problem can you help me?

Hi @zemadara, Can you upload a sample project with the bug ? It will help easily debug it.

i've tried to put the code on viewDidAppear but i've forget just one line, sorry my bad


Feature Suggestion: Save Current Config on Exit

Not sure if this great program is being updated but if so, a small suggestion: Would be great to have a checkbox to autosave the config on exit. Or a prompt to save if changes are detected. It's a small thing but I constantly forget to save!

Thanks! Implemented in v0.7.


Error: 'dart:ffi' can't be imported when compiling to Wasm

Hello
i try to compile a flutter web project but:
flutter build web --wasm

┌─ New feature ────────────────────────────────────────────────────────────────────────────┐
│   WebAssembly compilation is new. Understand the details before deploying to production. │
│   See https://flutter.dev/wasm for more information.                                     │
└──────────────────────────────────────────────────────────────────────────────────────────┘

Target dart2wasm failed: ProcessException: Process exited abnormally with exit code 64:
*NOTE*: Compilation to WasmGC is experimental.
The support may change, or be removed, with no advance notice.

../../../flutter/.pub-cache/hosted/pub.dev/ffi-2.1.2/lib/src/allocation.dart:5:1: Error: 'dart:ffi' can't be imported when compiling to Wasm.
import 'dart:ffi';
^
../../../flutter/.pub-cache/hosted/pub.dev/ffi-2.1.2/lib/src/utf16.dart:5:1: Error: 'dart:ffi' can't be imported when compiling to Wasm.
import 'dart:ffi';
^
../../../flutter/.pub-cache/hosted/pub.dev/ffi-2.1.2/lib/src/utf8.dart:6:1: Error: 'dart:ffi' can't be imported when compiling to Wasm.
import 'dart:ffi';
^
../../../flutter/.pub-cache/hosted/pub.dev/ffi-2.1.2/lib/src/arena.dart:8:1: Error: 'dart:ffi' can't be imported when compiling to Wasm.
import 'dart:ffi';
^
../../../flutter/.pub-cache/hosted/pub.dev/cryptography-2.7.0/lib/src/dart/argon2_impl_vm.dart:16:1: Error: 'dart:ffi' can't be imported when compiling
to Wasm.
import 'dart:ffi';
^
../../../flutter/.pub-cache/hosted/pub.dev/vector_graphics_compiler-1.1.11+1/lib/src/svg/_tessellator_ffi.dart:6:1: Error: 'dart:ffi' can't be imported
when compiling to Wasm.
import 'dart:ffi' as ffi;
^
../../../flutter/.pub-cache/hosted/pub.dev/vector_graphics_compiler-1.1.11+1/lib/src/svg/_path_ops_ffi.dart:6:1: Error: 'dart:ffi' can't be imported
when compiling to Wasm.
import 'dart:ffi' as ffi;

Flutter doctor -v
[✓] Flutter (Channel stable, 3.22.2, on macOS 14.5 23F79 darwin-arm64, locale fr-FR)
    • Flutter version 3.22.2 on channel stable at /Users/SSe/.asdf/installs/flutter/3.22.2-stable
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 761747bfc5 (3 weeks ago), 2024-06-05 22:15:13 +0200
    • Engine revision edd8546116
    • Dart version 3.4.3
    • DevTools version 2.34.3

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
    • Android SDK at /Users/SSe/Library/Android/sdk
    • Platform android-34, build-tools 33.0.1
    • ANDROID_HOME = /Users/SSe/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.4)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15F31d
    • CocoaPods version 1.15.2

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

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

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

[✓] Connected device (3 available)
    • macOS (desktop)                 • macos                 • darwin-arm64   • macOS 14.5 23F79 darwin-arm64
    • Mac Designed for iPad (desktop) • mac-designed-for-ipad • darwin         • macOS 14.5 23F79 darwin-arm64
    • Chrome (web)                    • chrome                • web-javascript • Google Chrome 126.0.6478.127

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

Consider filing this in the Flutter repo instead as it's unrelated to package:web and they might be able to assist you better.
https://github.com/flutter/flutter

Note that importing dart:ffi when compiling to Wasm was not supported and after https://github.com/dart-lang/sdk/issues/55979 is disallowed. https://github.com/dart-lang/sdk/issues/55948#issuecomment-2191019396 has some more details.
As for the specific issue it seems you are facing, I believe it's being tracked in https://github.com/dnfield/vector_graphics/issues/244.


Implement memory operations (mem+calldata)

mload
sload
mload8
calldatacopy
calldataload
calldatasize

This has been implemented. It can be closed.


[FLINK-22889][tests] Improve logging in JdbcExactlyOnceSinkE2eTest

What is the purpose of the change

Use LogLevelRule to enable debug logs for JdbcExactlyOnceSinkE2eTest (instead of log4j2-test.properties which isn't used in CI)
Configure MySQL lock wait timeout to make it clear if task cancellation or snapshot times out because of this
Log InnoDB and transactions statuses to see blocking transactions (every ~4s)

When running for ~20 minutes log size is ~110 Mb with #16523 applied (without the latter more than 1Gb).
Sample log output:
23346 [Thread-14] DEBUG org.apache.flink.connector.jdbc.xa.JdbcExactlyOnceSinkE2eTest$MySqlJdbcExactlyOnceSinkTestEnv$InnoDbStatusLogger [] - Blocked TRX
23394 [Thread-14] DEBUG org.apache.flink.connector.jdbc.xa.JdbcExactlyOnceSinkE2eTest$MySqlJdbcExactlyOnceSinkTestEnv$InnoDbStatusLogger [] - waiting_trx_id: 2117, waiting_pid: 48, waiting_query: insert into books (id, title,  ...  values (57,'57','57',57.0,57), blocking_trx_id: 2102, blocking_pid: 0, blocking_query: null
23394 [Thread-14] DEBUG org.apache.flink.connector.jdbc.xa.JdbcExactlyOnceSinkE2eTest$MySqlJdbcExactlyOnceSinkTestEnv$InnoDbStatusLogger [] - All TRX
23396 [Thread-14] DEBUG org.apache.flink.connector.jdbc.xa.JdbcExactlyOnceSinkE2eTest$MySqlJdbcExactlyOnceSinkTestEnv$InnoDbStatusLogger [] - trx_id: 2117, trx_state: LOCK WAIT, trx_started: 2021-07-17 22:33:40, trx_requested_lock_id:<PHONE_NUMBER>42296:2:4:30:139905741168352, trx_wait_started: 2021-07-17 22:33:40, trx_mysql_thread_id: 48,
23397 [Thread-14] DEBUG org.apache.flink.connector.jdbc.xa.JdbcExactlyOnceSinkE2eTest$MySqlJdbcExactlyOnceSinkTestEnv$InnoDbStatusLogger [] - trx_id: 2103, trx_state: RUNNING, trx_started: 2021-07-17 22:33:39, trx_requested_lock_id: null, trx_wait_started: null, trx_mysql_thread_id: 0,
23397 [Thread-14] DEBUG org.apache.flink.connector.jdbc.xa.JdbcExactlyOnceSinkE2eTest$MySqlJdbcExactlyOnceSinkTestEnv$InnoDbStatusLogger [] - trx_id: 2102, trx_state: RUNNING, trx_started: 2021-07-17 22:33:39, trx_requested_lock_id: null, trx_wait_started: null, trx_mysql_thread_id: 0,
23397 [Thread-14] DEBUG org.apache.flink.connector.jdbc.xa.JdbcExactlyOnceSinkE2eTest$MySqlJdbcExactlyOnceSinkTestEnv$InnoDbStatusLogger [] - Engine status
23398 [Thread-14] DEBUG org.apache.flink.connector.jdbc.xa.JdbcExactlyOnceSinkE2eTest$MySqlJdbcExactlyOnceSinkTestEnv$InnoDbStatusLogger [] -
=====================================
2021-07-17 22:33:41 0x7f3e5c09e700 INNODB MONITOR OUTPUT
=====================================
Per second averages calculated from the last 4 seconds
-----------------
BACKGROUND THREAD
-----------------
srv_master_thread loops: 2 srv_active, 0 srv_shutdown, 1 srv_idle
srv_master_thread log flush and writes: 0
----------
SEMAPHORES
----------
OS WAIT ARRAY INFO: reservation count 33
OS WAIT ARRAY INFO: signal count 23
RW-shared spins 8, rounds 8, OS waits 0
RW-excl spins 11, rounds 141, OS waits 4
RW-sx spins 2, rounds 60, OS waits 2
Spin rounds per wait: 1.00 RW-shared, 12.82 RW-excl, 30.00 RW-sx
------------
TRANSACTIONS
------------
Trx id counter 2119
Purge done for trx's n:o < 2100 undo n:o < 0 state: running but idle
History list length 9
LIST OF TRANSACTIONS FOR EACH SESSION:
---TRANSACTION<PHONE_NUMBER>53808, not started
0 lock struct(s), heap size 1136, 0 row lock(s)
---TRANSACTION<PHONE_NUMBER>52096, not started
0 lock struct(s), heap size 1136, 0 row lock(s)
---TRANSACTION<PHONE_NUMBER>51240, not started
0 lock struct(s), heap size 1136, 0 row lock(s)
---TRANSACTION 2117, ACTIVE 1 sec inserting
mysql tables in use 1, locked 1
LOCK WAIT 2 lock struct(s), heap size 1136, 1 row lock(s)
MySQL thread id 48, OS thread handle<PHONE_NUMBER>62048, query id 761 <IP_ADDRESS> test update
insert into books (id, title, author, price, qty) values (57,'57','57',57.0,57)
------- TRX HAS BEEN WAITING 1 SEC FOR THIS LOCK TO BE GRANTED:
RECORD LOCKS space id 2 page no 4 n bits 112 index PRIMARY of table `test`.`books` trx id 2117 lock mode S locks rec but not gap waiting
Record lock, heap no 30 PHYSICAL RECORD: n_fields 7; compact format; info bits 0
 0: len 4; hex 80000039; asc    9;;
 1: len 6; hex<PHONE_NUMBER>36; asc      6;;
 2: len 7; hex 820000008a0110; asc        ;;
 3: len 2; hex 3537; asc 57;;
 4: len 2; hex 3537; asc 57;;
 5: len 4; hex 00006442; asc   dB;;
 6: len 4; hex 80000039; asc    9;;

------------------
TABLE LOCK table `test`.`books` trx id 2117 lock mode IX
RECORD LOCKS space id 2 page no 4 n bits 112 index PRIMARY of table `test`.`books` trx id 2117 lock mode S locks rec but not gap waiting
Record lock, heap no 30 PHYSICAL RECORD: n_fields 7; compact format; info bits 0
 0: len 4; hex 80000039; asc    9;;
 1: len 6; hex<PHONE_NUMBER>36; asc      6;;
 2: len 7; hex 820000008a0110; asc        ;;
 3: len 2; hex 3537; asc 57;;
 4: len 2; hex 3537; asc 57;;
 5: len 4; hex 00006442; asc   dB;;
 6: len 4; hex 80000039; asc    9;;

---TRANSACTION 2103, ACTIVE (PREPARED) 2 sec recovered trx
1 lock struct(s), heap size 1136, 0 row lock(s), undo log entries 7
TABLE LOCK table `test`.`books` trx id 2103 lock mode IX
---TRANSACTION 2102, ACTIVE (PREPARED) 2 sec recovered trx
2 lock struct(s), heap size 1136, 1 row lock(s), undo log entries 7
TABLE LOCK table `test`.`books` trx id 2102 lock mode IX
RECORD LOCKS space id 2 page no 4 n bits 112 index PRIMARY of table `test`.`books` trx id 2102 lock_mode X locks rec but not gap
Record lock, heap no 30 PHYSICAL RECORD: n_fields 7; compact format; info bits 0
 0: len 4; hex 80000039; asc    9;;
 1: len 6; hex<PHONE_NUMBER>36; asc      6;;
 2: len 7; hex 820000008a0110; asc        ;;
 3: len 2; hex 3537; asc 57;;
 4: len 2; hex 3537; asc 57;;
 5: len 4; hex 00006442; asc   dB;;
 6: len 4; hex 80000039; asc    9;;

--------
FILE I/O
--------
I/O thread 0 state: waiting for completed aio requests (insert buffer thread)
I/O thread 1 state: waiting for completed aio requests (log thread)
I/O thread 2 state: waiting for completed aio requests (read thread)
I/O thread 3 state: waiting for completed aio requests (read thread)
I/O thread 4 state: waiting for completed aio requests (read thread)
I/O thread 5 state: waiting for completed aio requests (read thread)
I/O thread 6 state: waiting for completed aio requests (write thread)
I/O thread 7 state: waiting for completed aio requests (write thread)
I/O thread 8 state: waiting for completed aio requests (write thread)
I/O thread 9 state: waiting for completed aio requests (write thread)
Pending normal aio reads: [0, 0, 0, 0] , aio writes: [0, 0, 0, 0] ,
 ibuf aio reads:, log i/o's:, sync i/o's:
Pending flushes (fsync) log: 0; buffer pool: 0
994 OS file reads, 394 OS file writes, 175 OS fsyncs
104.47 reads/s, 16428 avg bytes/read, 90.23 writes/s, 40.74 fsyncs/s
-------------------------------------
INSERT BUFFER AND ADAPTIVE HASH INDEX
-------------------------------------
Ibuf: size 1, free list len 0, seg size 2, 0 merges
merged operations:
 insert 0, delete mark 0, delete 0
discarded operations:
 insert 0, delete mark 0, delete 0
Hash table size 4441, node heap has 0 buffer(s)
Hash table size 4441, node heap has 0 buffer(s)
Hash table size 4441, node heap has 0 buffer(s)
Hash table size 4441, node heap has 0 buffer(s)
Hash table size 4441, node heap has 0 buffer(s)
Hash table size 4441, node heap has 0 buffer(s)
Hash table size 4441, node heap has 0 buffer(s)
Hash table size 4441, node heap has 1 buffer(s)
306.92 hash searches/s, 841.54 non-hash searches/s
---
LOG
---
Log sequence number          28624569
Log buffer assigned up to    28624569
Log buffer completed up to   28624569
Log written up to            28624569
Log flushed up to            28624569
Added dirty pages up to      28624569
Pages flushed up to          28522435
Last checkpoint at           28522435
192 log i/o's done, 47.50 log i/o's/second
----------------------
BUFFER POOL AND MEMORY
----------------------
Total large memory allocated 17121280
Dictionary memory allocated 464665
Buffer pool size   1023
Free buffers       718
Database pages     304
Old database pages 0
Modified db pages  148
Pending reads      0
Pending writes: LRU 0, flush list 0, single page 0
Pages made young 2, not young 333
0.00 youngs/s, 0.00 non-youngs/s
Pages read 969, created 171, written 155
0.00 reads/s, 0.00 creates/s, 0.00 writes/s
Buffer pool hit rate 972 / 1000, young-making rate 0 / 1000 not 23 / 1000
Pages read ahead 0.00/s, evicted without access 0.00/s, Random read ahead 0.00/s
LRU len: 304, unzip_LRU len: 0
I/O sum[509]:cur[48], unzip sum[0]:cur[0]
--------------
ROW OPERATIONS
--------------
0 queries inside InnoDB, 0 queries in queue
0 read views open inside InnoDB
Process ID=1, Main thread ID=139905455810304 , state=sleeping
Number of rows inserted 42, updated 0, deleted 0, read 1
10.50 inserts/s, 0.00 updates/s, 0.00 deletes/s, 0.25 reads/s
Number of system rows inserted 81, updated 379, deleted 0, read 5230
20.24 inserts/s, 94.73 updates/s, 0.00 deletes/s, 1307.17 reads/s
----------------------------
END OF INNODB MONITOR OUTPUT
============================

Thanks for the review @AHeise.
I've removed the commit from FLINK-23416 and accepted your suggestion, merging.


Log to google analytics when a selector is changed.

lgtm but shouldn't there be a corresponding change in SegmentedControl.tsx too?

I see a change in SegmentedControl.tsx.


Move 'Handling Events' example from Codepen to CodeSandbox

The main goal of this PR is to move the 'Handling Events' examples page currently in Codepen to Codesandbox! 🎉
Preview changes: https://deploy-preview-2378--reactjs.netlify.com/docs/handling-events.html

As can be seen from this PR, there is only one JS file that is imported into handling-events.md and is the same file that will be sent to CodeSandbox. So far so good, and the idea sounds great!
However there is a problem: Comments that are used to highlight/hide lines are also sent to CodeSandbox as shown below.:
Highlight/hideline on CodeSandbox.
That seems a little strange to me. "Messing" the code in the examples doesn't look cool.
In that case, would it be interesting for me to adapt the gatsby-remark-code-repls plugin (or some other plugin) to remove comments that highlight/hide the lines before sending to CodeSandbox?
Despite what I did working, there is another approach. Like @cyan33 did in #913, there is a specific file for the markdown, and other specific to be sent to CodeSandbox.
This approach does not have the problem of "messing up" CodeSandbox examples with highlight/hideline comments, however you will need to maintain two files.
This PR brings the approach I found most interesting and would like to hear some opinions on what makes the most sense.
cc @cyan33 @bvaughn @gaearon

On the tradeoff for the links, comparingat the eventual urls from code sandbox in comparison to the links you have in the code:
codesandbox://handling-events/toggle-example,handling-events/toggle-example.css

vs

https://codesandbox.io/api/v1/sandboxes/define?parameters=N4IgZglgNgpgziAXKADgQwMYGs0HMYB0AVnAPYB2SoGFALjObVSACYwoNvkYTzMBOMTE0QgoaenCYAaEIOEBaFqQC2SMRPhMAvrJVoIlUQAs05FlEO4FMAG4NacAPS1SuXLBsAPNCpSxiBG1dEEM2LwJjWhUoZhpGB3UAHhYIWwACCBYAXgAdOVJSWnyAPiSnVNsSkBDTc0tyazsHZ1d3TxgfPwCSOLpE0ScAKnTjLJgFfjN8YABGBQAWbXShp1zyJydRiFxjS13aSemYOYAGaVnZi4WFWYAOaQAmR-11iD9Sflp0gCUhDG-YH4qnSAHJ5ADQQBuN4fL6_f60AAiAHkALLpIEg8GIpSqaGwlCfb6ggguNweCadXz-QgYOBwAnkdYYcQM9IAFQpsHSnXo5jgCOEBAAwqoieQHOlgOt0ul4lJ-ABXAGfAAUKGBKDgAEppbK5ek4EqOPwNVrdTDyIb0rQxnACFJNOlstKIHAue0YCjyIhbcqYNorQa5ZtOfb0gAjMJWTKCyUYeBwND8ACettI6X0WBg6QABnb3Xn0gB3T5YTLWu25jBoKBQSOYLAh232yJmCwwEWWbAu1vu9v1Ls9rAEaPmNWFy0G17M62jDuwbsQbBqvUy-dyqeOmC0ADKtE0aqd9BdJXSao3Nrl7s9lJ9foAhCfCLfud7yNIW9odTqrXLZwNQRzBgM11xbQRaCVfhrTVFs5SSSMlVoVxrQoZdsGyYBtzqTsMKwbQSngw1sLbF8CDfL0fXSAB-MEUQAOVBdI_VBFEADF2NBWdr3ScokJQigiM3dI_xndZAPIP5hFRNECGAtgzQNJI7x5JwSi_edlAwJUVAcAh8FoABRWA9MYAAhVMAEkWDVcFCloUEdXWMTKFqRcrBsexGFad9vBpAJ6QQZAQHifkRBASNSBYdMr0NdAWFSRo_QAVhQLwJJqYIgA

It would seem feasible that whatever pre-processor you use could remove the range and highlight statements before creating the URLs?

A sidenote: we have support for highlighting lines in the embed, but only when enabling the codemirror editor. An example here: https://codesandbox.io/embed/new?codemirror=1&highlights=8,9,10,11. We could implement this as well for the default editor (Monaco) if that would be interesting.

On the tradeoff for the links, comparing the eventual urls from code sandbox in comparison to the links you have in the code:
codesandbox://handling-events/toggle-example,handling-events/toggle-example.css

vs

https://codesandbox.io/api/v1/sandboxes/define?parameters=N4IgZglgNgpgziAXKADgQwMYGs0HMYB0AVnAPYB2SoGFALjObVSACYwoNvkYTzMBOMTE0QgoaenCYAaEIOEBaFqQC2SMRPhMAvrJVoIlUQAs05FlEO4FMAG4NacAPS1SuXLBsAPNCpSxiBG1dEEM2LwJjWhUoZhpGB3UAHhYIWwACCBYAXgAdOVJSWnyAPiSnVNsSkBDTc0tyazsHZ1d3TxgfPwCSOLpE0ScAKnTjLJgFfjN8YABGBQAWbXShp1zyJydRiFxjS13aSemYOYAGaVnZi4WFWYAOaQAmR-11iD9Sflp0gCUhDG-YH4qnSAHJ5ADQQBuN4fL6_f60AAiAHkALLpIEg8GIpSqaGwlCfb6ggguNweCadXz-QgYOBwAnkdYYcQM9IAFQpsHSnXo5jgCOEBAAwqoieQHOlgOt0ul4lJ-ABXAGfAAUKGBKDgAEppbK5ek4EqOPwNVrdTDyIb0rQxnACFJNOlstKIHAue0YCjyIhbcqYNorQa5ZtOfb0gAjMJWTKCyUYeBwND8ACettI6X0WBg6QABnb3Xn0gB3T5YTLWu25jBoKBQSOYLAh232yJmCwwEWWbAu1vu9v1Ls9rAEaPmNWFy0G17M62jDuwbsQbBqvUy-dyqeOmC0ADKtE0aqd9BdJXSao3Nrl7s9lJ9foAhCfCLfud7yNIW9odTqrXLZwNQRzBgM11xbQRaCVfhrTVFs5SSSMlVoVxrQoZdsGyYBtzqTsMKwbQSngw1sLbF8CDfL0fXSAB-MEUQAOVBdI_VBFEADF2NBWdr3ScokJQigiM3dI_xndZAPIP5hFRNECGAtgzQNJI7x5JwSi_edlAwJUVAcAh8FoABRWA9MYAAhVMAEkWDVcFCloUEdXWMTKFqRcrBsexGFad9vBpAJ6QQZAQHifkRBASNSBYdMr0NdAWFSRo_QAVhQLwJJqYIgA

It would seem feasible that whatever pre-processor you use could remove the range and highlight statements before creating the URLs?

I think so. But i don't know how to do that yet.
@bvaughn do you have any ideia ?


Cookbook docs

Only two demos for now

dbmon
"kitchen sink" -- though this is a copy of the main demo for now, because this is waiting on this PR before adding more stuff

If anyone has other ideas for "how to do X", those would be a good candidate for these types of docs.
Later, we'll probably want a whole separate page / nav for most of these kinds of demos, as we may have a lot.
Funnest demo: https://8dbbebed.ember-headless-table.pages.dev/docs/demos/lots-of-data
After working with these demos a bit, I'm going to be spending some of my time working with Docfy to make the authoring experience a bit better:

actual js/ts/hbs/gjs/gts files
inline gjs demos (no demos folder)
probably other stuff

I am so shocked that https://8dbbebed.ember-headless-table.pages.dev/docs/demos/lots-of-data is not crashing my browser.
Some of the "edit links work", but some are broken:

not crashing my browser.

requestAnimationFrame is a powerful tool :D

the "edit links work", but some are broken

yeah, they don't work on PRs


Setting location for the cache directory

The cache directory is currently forced to exist in the home directory. This crashes when running in a environment which enforces a read-only filesystem.
https://github.com/prisma/prisma/blob/47265ed2e9366b8f6ee121cd53f95c5a232eceee/packages/fetch-engine/src/utils.ts#L32
It would be great if it was possible to provide a custom path through environment variables, as we are able to mount temporary directories at different paths.

Hi @androa, could you please describe the read-only filesystem you're currently using, so we can better understand this use case? Thanks.

Kubernetes cluster which enforces read-only filesystem in all app containers. It does mount /tmp as writable (and throwaway).

I would also like to be able to set the cache directory for Prisma. Our Prisma setup is within its own package in a monorepo. We use Nx, which uses the ~/.nx directory for caching (by default, but is changeable). Being able to set Prisma to cache within the same directory as Nx means that it will be cleared when running nx reset.

Related: On Windows we are already using find-cache-dir - maybe that is an option for other OSes as well - which already adheres to CACHE_DIR if present as an env variable.

I've made an attempt at his, which you can see here.
Let me know if it would be acceptable to put in a PR with these changes? Happy to make any changes.


Feat/v2 update bonding share

Fixed a TypeScript error that was happening in common.
Added loading indicator for the LP balance
Tried to add the migration button conditionally but I was getting an error saying it couldn't estimate gas limit so I disabled it;; see if you can figure out, I'm going to eat dinner and continue later.

@zgorizzo69 @Zequez you guys should add gpg signing in the future for this stuff.

The UI is broken


chore: Remove add-to-triage

Prerequisites checklist

[x] I have read the contributing guidelines.

What is the purpose of this pull request?

What changes did you make? (Give an overview)
Removed the add-to-triage workflow. This is no longer needed because we can set up auto-add directly from within the triage project itself (which works better because it doesn't require any secrets).
Related Issues
Is there anything you'd like reviewers to focus on?

Any reason for removing this workflow?


Running with hermes engine causes app to crash

Describe the bug
The crash can be fixed by removing toLocaleLowercase function.
To Reproduce
Steps to reproduce the behavior:
Integrate the package in an app, where react-native 0.66 and hermes 0.9.0 are used.
Expected behavior
Should not crash
Desktop (please complete the following information):

React Native Version: [0.66.0]
Device [any android device]
Version [7.3.3]

Ah, didn't know they are not supporting that :) I'm more than happy to review a Pr 👍

Ah, didn't know they are not supporting that :) I'm more than happy to review a Pr 👍

Here you go 🙂 https://github.com/react-native-sensors/react-native-sensors/pull/418
I just quickly removed lowercase-ing.


Data races and crashing when switching between windows

Describe the bug
Data races occur when switching between different windows, eventually crashing the dock.
Here are my logs: https://pastebin.com/tMLwMkAU
To Reproduce
Steps to reproduce the behavior:

Run the dock
Start switching between different windows (it takes a while)
The dock crashes

Expected behavior
Data races don't occur, and the dock doesn't crash.
Desktop:

Linux distribution: Fedora Workstation 40
Go version: go1.22.2 linux/amd64
gtk-layer-shell version: 0.8.2-3

Additional Context:
I commented out line 596 in tools.go for cleaner logs. Tried it with and without the comment, and it doesn't seem to affect the crash in any way.
Also, to see the data race warnings, you must build or run the dock with the go data race detector.

I'm getting similar behavior.


Fixed #32120 -- Added DatabaseFeatures.indexes_foreign_keys.

https://code.djangoproject.com/ticket/32120

No, that index is created by SchemaEditor:
https://github.com/django/django/blob/c897b1587cb8017b6c943bf6486286655b0d9e3d/django/db/backends/base/schema.py#L780-L781

No, that index is created by SchemaEditor:

Ahh yes, Thanks :+1:


Error 1000 (unknown) is returned when app is run in simulator or device

Xcode 11.3
macOS Catalina v10.15.2
Seen other Stack Overflow posts where the inclusion of:
let passwordRequest = ASAuthorizationPasswordProvider().createRequest()
...in the authorizedRequests parameter, causes this 1000 error.
In this example, in viewDidAppear, performExistingAccountSetupFlows is called, which includes the ASAuthorizationPasswordProvider request. This is failing.
Assuming that Apple may have changed something since the initial versions of iOS 13?

same problem


How to Consume "postal_code_format" from Country Data?

Hey,
Thanks for this awesome gem, it's been very helpful for the project I am working on.
I have a use-case where I need to validate zip_code/postal_code against the selected country in a form.
I see that the postal_code_format data is added (Commit Ref). But, I am unable to find any info on how to consume the same.
All I could get is the boolean flag postal_code. I need the postal_code_format regex to validate the user input in the form.
I seem to be missing something from the docs or I might be doing it wrong.
I am using v3.0.1.
Any help in this regard is highly appreciated, Thanks.
  > ISO3166::Country["IN"]
 => #<ISO3166::Country:0x00007fd12959d038 @country_data_or_code="IN", @data={"continent"=>"Asia",
"address_format"=>"{{recipient}}\n{{street}}\n{{region}}\n{{city}} {{postalcode}}\n{{country}}", "alpha2"=>"IN",
"alpha3"=>"IND", "country_code"=>"91", "international_prefix"=>"00", "ioc"=>"IND", "gec"=>"IN", "name"=>"India",
"national_destination_code_lengths"=>[2], "national_number_lengths"=>[10], "national_prefix"=>"0", "number"=>"356",
"region"=>"Asia", "subregion"=>"Southern Asia", "world_region"=>"APAC", "un_locode"=>"IN", "nationality"=>"Indian",
"postal_code"=>true, "unofficial_names"=>["India", "Indien", "Inde", "インド"], "languages_official"=>["hi", "en"],
"languages_spoken"=>["hi", "en"], "geo"=>{"latitude"=>20.593684, "latitude_dec"=>"23.4060115814209",
"longitude"=>78.96288, "longitude_dec"=>"79.45809173583984", "max_latitude"=>35.5087008,
"max_longitude"=>97.39535869999999, "min_latitude"=>6.4626999, "min_longitude"=>68.1097, "bounds"=>{"northeast"=>
{"lat"=>35.5087008, "lng"=>97.39535869999999}, "southwest"=>{"lat"=>6.4626999, "lng"=>68.1097}}},
"currency_code"=>"INR", "start_of_week"=>"monday", "translations"=>{"en"=>"India", "cs"=>"Indie", "tr"=>"Hindistan", "pt-
br"=>nil, "es"=>"India", "hu"=>"India", "da"=>"Indien", "id"=>"India", "ro"=>"India", "de"=>"Indien", "it"=>"India", "ja"=>"イン
ド", "ru"=>"Индия", "fr"=>"Inde", "zh-tw"=>nil, "zh-cn"=>nil, "nl"=>"India"}, "translated_names"=>["India", "Indie",
 "Hindistan", nil, "India", "India", "Indien", "India", "India", "Indien", "India", "インド", "Индия", "Inde", nil, nil, "India"]}>

> ISO3166::Country["IN"].postal_code
 => true

From CHANGELOG, I understand that postal_code_format  PR #618  was merged post the current version release.
Any info on when this will be available?
Thanks.

This is now shipped!


AttributeError: 'FieldInfo' object has no attribute 'allow_none'

blacksheep = "^1.2.17"
gccms-backend-app-1 | Traceback (most recent call last):
gccms-backend-app-1 | File "/usr/local/lib/python3.10/site-packages/blacksheep/server/application.py", line 753, in _handle_lifespan
gccms-backend-app-1 | await self.start()
gccms-backend-app-1 | File "/usr/local/lib/python3.10/site-packages/blacksheep/server/application.py", line 742, in start
gccms-backend-app-1 | await self.after_start.fire()
gccms-backend-app-1 | File "/usr/local/lib/python3.10/site-packages/blacksheep/server/application.py", line 111, in fire
gccms-backend-app-1 | await handler(self.context, *args, **kwargs)
gccms-backend-app-1 | File "/usr/local/lib/python3.10/site-packages/blacksheep/server/openapi/common.py", line 394, in build_docs
gccms-backend-app-1 | docs = self.generate_documentation(app)
gccms-backend-app-1 | File "/usr/local/lib/python3.10/site-packages/blacksheep/server/openapi/v3.py", line 308, in generate_documentation
gccms-backend-app-1 | info=self.info, paths=self.get_paths(app), components=self.components
gccms-backend-app-1 | File "/usr/local/lib/python3.10/site-packages/blacksheep/server/openapi/v3.py", line 312, in get_paths
gccms-backend-app-1 | own_paths = self.get_routes_docs(app.router, path_prefix)
gccms-backend-app-1 | File "/usr/local/lib/python3.10/site-packages/blacksheep/server/openapi/v3.py", line 957, in get_routes_docs
gccms-backend-app-1 | request_body=self.get_request_body(handler),
gccms-backend-app-1 | File "/usr/local/lib/python3.10/site-packages/blacksheep/server/openapi/v3.py", line 671, in get_request_body
gccms-backend-app-1 | content=self._get_body_binder_content_type(body_binder, body_examples),
gccms-backend-app-1 | File "/usr/local/lib/python3.10/site-packages/blacksheep/server/openapi/v3.py", line 645, in _get_body_binder_content_type
gccms-backend-app-1 | return {
gccms-backend-app-1 | File "/usr/local/lib/python3.10/site-packages/blacksheep/server/openapi/v3.py", line 647, in
gccms-backend-app-1 | schema=self.get_schema_by_type(body_binder.expected_type),
gccms-backend-app-1 | File "/usr/local/lib/python3.10/site-packages/blacksheep/server/openapi/v3.py", line 485, in get_schema_by_type
gccms-backend-app-1 | schema = self._get_schema_by_type(child_type, type_args)
gccms-backend-app-1 | File "/usr/local/lib/python3.10/site-packages/blacksheep/server/openapi/v3.py", line 501, in _get_schema_by_type
gccms-backend-app-1 | return self._get_schema_for_class(object_type)
gccms-backend-app-1 | File "/usr/local/lib/python3.10/site-packages/blacksheep/server/openapi/v3.py", line 416, in _get_schema_for_class
gccms-backend-app-1 | for field in self.get_fields(object_type):
gccms-backend-app-1 | File "/usr/local/lib/python3.10/site-packages/blacksheep/server/openapi/v3.py", line 577, in get_fields
gccms-backend-app-1 | return handler.get_type_fields(object_type)
gccms-backend-app-1 | File "/usr/local/lib/python3.10/site-packages/blacksheep/server/openapi/v3.py", line 254, in get_type_fields
gccms-backend-app-1 | return [
gccms-backend-app-1 | File "/usr/local/lib/python3.10/site-packages/blacksheep/server/openapi/v3.py", line 257, in
gccms-backend-app-1 | self._open_api_v2_field_schema_to_type(
gccms-backend-app-1 | File "/usr/local/lib/python3.10/site-packages/blacksheep/server/openapi/v3.py", line 195, in _open_api_v2_field_schema_to_type
gccms-backend-app-1 | nullable = field_info.allow_none if field_info is not None else False
gccms-backend-app-1 | AttributeError: 'FieldInfo' object has no attribute 'allow_none'
Hi all! When trying to add an OpenAPIHandler from blacksheep.server.openapi.v3 to Applications I get this error

i have difficult


Reactions

I'm trying to find a way to listen for reactions on threads without embracing the MVC side of SlackRubyBot. Is this possible without meta programming down to the slack-ruby-client api and binding to reaction_added ?

You mean something like this?


Merge Word.Documents updates to live

Docs Build status updates of commit 58fd322:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

api/Word.Documents.Add.md
:white_check_mark:Succeeded
View

api/Word.Documents.AddBlogDocument.md
:white_check_mark:Succeeded
View

api/Word.Documents.Application.md
:white_check_mark:Succeeded
View

api/Word.Documents.CanCheckOut.md
:white_check_mark:Succeeded
View

api/Word.Documents.Close.md
:white_check_mark:Succeeded
View

api/Word.Documents.Count.md
:white_check_mark:Succeeded
View

api/Word.Documents.Creator.md
:white_check_mark:Succeeded
View

api/Word.Documents.Item.md
:white_check_mark:Succeeded
View

api/Word.Documents.Open.md
:white_check_mark:Succeeded
View

api/Word.Documents.OpenNoRepairDialog.md
:white_check_mark:Succeeded
View

api/Word.Documents.Parent.md
:white_check_mark:Succeeded
View

api/Word.Documents.Save.md
:white_check_mark:Succeeded
View

api/Word.documents.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


successive renderError in StatusRenderer does not update error text

Category

[ ] Question
[ ] Typo
[X] Bug
[ ] Additional article idea

Expected or Desired Behavior
The error text that was sent with the latest renderError call should be overriding text of previous calls.
Observed Behavior
A successive renderError call reuses the error div element if it is already present in the DOM by showing it again. It, however, does not update the error div html. A formerly generated error message div is shown without updating the error message text sent along with the latest renderError call.
Taken from the renderError function (sp-webpart-base):
var divErr = domElement.querySelector("div[data-sp-id='" + this._errorId + "']"); if (divErr) {      divErr.style.display = 'block'; } else { <  error html div generated here >
Steps to Reproduce
The easiest way to reproduce this behavior is by having two successive renderError calls executed:
this.context.statusRenderer.renderError(this.domElement, "Msg 1.");
this.context.statusRenderer.renderError(this.domElement, "Msg 2.");
This shows a Msg 1 text instead of Msg 2

Thanks for your feedback @JohnMutters
We'll look into this issue shortly and will keep you updated.

@JohnMutters The fix has been made and it will be in the next release. Thanks for bringing this issue to light.


Changing the class list appended to an element name causes the element to be removed and recreated

I know the "correct" way to modify a class list is to use the class module, but I'm using snabbdom-jsx, and it provides a classNames property, which you can supply an array of class names to. The array is then translated to a period-delimited list of classes and appended to the element tag name, e.g. h('div.foo',...) becomes h('div.foo.bar', ...). As a result of this, snabbdom is removing the element entirely and relplacing it with a new element. This seems to me to be incorrect (not to mention inefficient) behaviour, seeing as only the class list has changed. I'll log an issue with snabbdom-jsx as well and suggest use of the class module.

When a virtual DOM library does children reordering it has to be able to somehow figure out which elements are identical. Snabbdom, React and most other virtual DOM libraries offer a key property to help guide this reordering.
I'm sure you know that.
With Snabbdom I decided that by default it would use an elements tag name, its id and its static classes to determine equality. This has the advantage that in many cases you can avoid adding key properties to elements and still do efficient reordering. Consider this example:
var vnode1 = patch(elm, h('div', [
  h('a.btn-primary', 'Click me'),
  h('a.btn-default', 'Click med')
]));
var vnode2 = patch(vnode1, h('div', [
  h('a.btn-default', 'Click med'),
  h('a.btn-primary', 'Click me')
]));

Here Snabbdom can only make a distinction between the two a elements by relying on the static classes. Thus it can efficiently do a reorder without needing users to supply a key property. This relies on a distinction between static classes and dynamic classes.
Thus I think this is neither incorrect nor inefficient behaviour.
We could do what @yelouafi suggests and add support for arrays in the class module. I would be open to do that. But I am not sure if it is a good idea. Determining added and removed elements between two lists take O(n^2) time and thus it would be less efficient than the current approach of using an object.

In retrospect, I agree, and your points make sense. I've shifted away from snabbdom-jsx in favour of hyperscript-helpers, so the issue is gone for me now anyway. Thanks for replying.

@paldepind how about setting directly the className property of the element. i.e. something like
function updateClass(oldVnode, vnode) {
   ...
   if(isArray(klass) && notEq(klass, oldKlass))
       elm.className = klass.join(' ');
  ...

@yelouafi You're suggesting that the class module should handle arrays? It's not a bad idea. But I dont know og it's more convenient than the current approach?
And are you doing reference equality in that examples? Or checking each element? I think neither approach would be as efficient as the current object based method.

Finally i think my proposition doesnt make much sens. It doesnt make sens to check all elms for an array to endup just applying the whole array to the elm. One could just use the className prop. So i think keeping the current approach as is betterm


Push refactor

@benartuso I am not seeing the background tasks kicked off locally 🤔 is there any other config I have to do for redis?

@gschoeni updated:

factored out common redis connection logic
added redis:// prefix in code and dockerfile
added more informative message to the connection error on server boot if can't connect to redis
added retries on failed poll_until_synced - I assumed here that the redis cache won't get cleared (aka only robust to a restart of oxen-server) but can pull the retries up a level to re-run the missing entries check if you think that's necessary!

@gschoeni Updated!

Made a generic TaskQueue enum w/ redis and in-memory variants. Makes the actual usage in the relevant parts of the codebase like a bajillion times cleaner so good call
Just used a VecDeque for the in-memory one but saw that you had been using an async deadqueue in some other places, so lmk if that's a better fit here
yay


File Cabinet file list bugs

Sometimes the wrong files are drawn when scrolling. Not much else to say.
The last redesign seems to have exposed issues in a more reliable way (maybe because I changed how many VRAM slots are used?) - scrolling up apparently makes the bottommost row show up data for the wrong entry (it's getting redrawn when it shouldn't?). I wonder if that's the cause behind the exposed issues before the redesign too.

Welp, should have used the old scroll value instead of the new one for determining which ones to redraw (ノ_<)


Finish make offer flows

Make an offer
Make an offer to different course
Make an offer to a different location
Make an offer to a different training provider

To check/to do:

all content
what details we play back on every page considering consistency

@adamsilver Have added in some 'Candidate preferences' to match 'Your existing offer' in the change offer flow.
When I get to this page I expect to see the updated course, location and conditions (maybe next door to the Candidate preferences0?

Working through make offer change location flow. I'm now wondering if the updated location should be displayed here before we get to the conditions (otherwise confusing?). Possibly with a banner saying 'You have successfully changed the location for this candidate's application'

Okay I've worked on this last night and this morning.

Made all content consist across all 5 journeys
Removed playback from most pages as there's not been a need demonstrated for it
Reinstated caption to provide minimal context which hasn't been shown to be a problem in live
Made existing flows match live in capability i.e. removed/hidden recommendations
as per @laurahermionetennant92 work from change offer, the first screen of every flow that is a ‘change’ says ‘Select alternative [the thing]
Playback of conditions is just ‘conditions’ and not ‘standard’ and ‘further’
Use a standard check answers pattern so now user can change their answers on each flow.


tracing: Add initial opentracing support

Add initial support for opentracing by using the jaeger package.
Since opentracing uses the context package, add a context.Context
as the first parameter to all the functions that we might want to
trace. Trace "spans" (trace points) are then added by extracting the
trace details from the specified context parameter.
Notes:

Although the tracer is created in main(), the "root span"
(aka the first trace point) is not added until beforeSubcommands().
This is by design and is a compromise: by delaying the creation of the
root span, the spans become much more readable since using the web-based
JaegerUI, you will see traces like this:
  kata-runtime: kata-runtime create
  ------------  -------------------
      ^                ^
      |                |
  Trace name        First span name
                   (which clearly shows the CLI command that was run)

Creating the span earlier means it is necessary to expand 'n' spans in
the UI before you get to see the name of the CLI command that was run.
In adding support, this became very tedious, hence my design decision to
defer the creation of the root span until after signal handling has been
setup and after CLI options have been parsed, but still very early in
the code path.

At this stage, the tracing stops at the virtcontainers call boundary.

Tracing is "always on" as there doesn't appear to be a way to toggle
it. However, its resolves to a "nop" unless the tracer can talk to a
jaeger agent.

Fixes #557.
Signed-off-by: James O. D. Hunt<EMAIL_ADDRESS>

To test this PR with Jaeger:

Configure docker to use the code in this PR.

Run the docker command shown on https://www.jaegertracing.io/docs/getting-started/ to start all the Jaeger bits.

Run something like:
$ docker run -ti --runtime kata-runtime busybox true

Browse to http://localhost:16686.

Click the "Service" pull down and select kata-runtime.

Click "Find Traces".

Click on a trace on the right hand pane!

Note: I'll add further tracing granularity (for virtcontainers) on #566.

cli/tracing.go:45:25:warning: cfg.New is deprecated: use NewTracer() function  (SA1019) (staticcheck)

I was aware of this, but the new API doesn't appear to work... Let's take a closer look...

Right, we're now using the new Jaeger API. Jaeger helpfully provides two API's called NewTracer() - one works, one doesn't (atleast for me). Guess which I picked first? :)

Branch updated - I've now found the magic knob to toggle tracing so now you need to set enable_tracing=true in configuration.toml if you want to trace the runtime.
BTW, I plan to raise a PR on the dev guide explaining how to enable and view traces. I'll then raise a runtime PR to add a Tracing section to the README, referencing the new dev guide URL for tracing info.

#574 just got merged, @jodh-intel you can rebase ;)

On it. Just found a bug-ette so will re-push and comment once that's resolved...

@sboeuf, @grahamwhaley, @egernst - branch updated ;)

Nope :( I'd rather no re-force-push to avoid restarting all the long-running CI's again.

Confirmed - it really doesn't like you does it! It also does not seem to have a 'refresh' button on their gui :-(.
I'd leave it over the weekend and see if it feels better on Monday :-)

I was hoping this might be merged by Monday so looking for reviewers... ;)

@jodh-intel I'll do another review, but let's ask @amshinde @egernst @bergwolf to review this too ;)

pullapprove has woken from its slumber it seems @jodh-intel ...

There is one issue that we need to resolve though - how to specify details of a remote Jaeger Collector (which reads all the traces + spans). Since this branch doesn't do anything special, the jaeger package will try to send the tracer+spans to the local system where the runtime is running.
I think this means we'll need to expand the config options for tracing to something like:
[runtime]

[runtime.tracing]
enabled = true
# Set to value of JAEGER_ENDPOINT if you trace collector is not local
# (See https://github.com/jaegertracing/jaeger-client-go#environment-variables)
endpoint = ""

However, as you can see from https://github.com/jaegertracing/jaeger-client-go#environment-variables, there are a lot of variables. I don't think we can rely on just variables as getting those set in the runtime's docker environment is not easy (unless we make the runtime read process.env from config.json and set them itself or something).
I think we can probably handle this on a separate issue+PR, although note that if we do this, the enable_tracing option might change real soon now (TM) :smile:

To be clear about https://github.com/kata-containers/runtime/pull/565#issuecomment-412446736, I think we want to minimise the tracing options in configuration.toml. However, atleast when running under docker, allowing the Jaeger client library to access environment variables isn't actually that easy.

Hi @bergwolf - agreed and agreed :)

This is all green. I don't have time to review or test for any noticeable impact right now, but... I'll merge on the acks of others (is that 'standing on the ACKS of giants' I wonder ;-) ).
I liked @bergwolf suggestion that maybe we can carry the context around in one of the other existing data structures :-)


[BUG] UnboundLocalError: local variable 'd' referenced before assignment

Instructions
System information

Linux Ubuntu
FiftyOne installed from pip
FiftyOne v0.11.2
Python v3.8.5

Commands to reproduce
python app.py

Describe the problem
I wrote app.py to load coco-2017 dataset and launch web app of fiftyone, but crash with Exception
Code to reproduce issue
import fiftyone as fo
import fiftyone.zoo as foz

dataset = foz.load_zoo_dataset(
    "coco-2017",
    split="validation",
    dataset_name="evaluate-detections-tutorial",
)
dataset.persistent = True

session = fo.launch_app(dataset)

session.wait()

Other info / logs
Log is:
Downloading split 'validation' to '/home/tommytao/fiftyone/coco-2017/validation' if necessary
Found annotations at '/home/tommytao/fiftyone/coco-2017/raw/instances_val2017.json'
Images already downloaded
Uncaught exception
Traceback (most recent call last):
File "51app.py", line 4, in
dataset = foz.load_zoo_dataset(
File "/home/tommytao/miniconda3/envs/ai/lib/python3.8/site-packages/fiftyone/zoo/datasets/init.py", line 195, in load_zoo_dataset
info, dataset_dir = download_zoo_dataset(
File "/home/tommytao/miniconda3/envs/ai/lib/python3.8/site-packages/fiftyone/zoo/datasets/init.py", line 116, in download_zoo_dataset
return zoo_dataset.download_and_prepare(
File "/home/tommytao/miniconda3/envs/ai/lib/python3.8/site-packages/fiftyone/zoo/datasets/init.py", line 1022, in download_and_prepare
) = self._download_and_prepare(split_dir, scratch_dir, split)
File "/home/tommytao/miniconda3/envs/ai/lib/python3.8/site-packages/fiftyone/zoo/datasets/base.py", line 770, in _download_and_prepare
num_samples, classes, downloaded = fouc.download_coco_dataset_split(
File "/home/tommytao/miniconda3/envs/ai/lib/python3.8/site-packages/fiftyone/utils/coco.py", line 1617, in download_coco_dataset_split
if d is None:
UnboundLocalError: local variable 'd' referenced before assignment
What areas of FiftyOne does this bug affect?

[x] App: FiftyOne application issue
[ ] Core: Core fiftyone Python library issue
[ ] Server: Fiftyone server issue

Willingness to contribute
The FiftyOne Community encourages bug fix contributions. Would you or another
member of your organization be willing to contribute a fix for this bug to the
FiftyOne codebase?

[ ] Yes. I can contribute a fix for this bug independently.
[x] Yes. I would be willing to contribute a fix for this bug with guidance
from the FiftyOne community.
[ ] No. I cannot contribute a bug fix at this time.

Hi @taomanwai 👋 thanks for reporting. This is fixed in fiftyone==<IP_ADDRESS> and you can upgrade like so:
pip install --upgrade fiftyone

Thanks, work now


simdjson: 0.9.1 -> 0.9.2

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/simdjson/simdjson/releases.
meta.description for simdjson is: "Parsing gigabytes of JSON per second"
meta.homepage for simdjson is: "https://simdjson.org/"
meta.changelog for simdjson is: ""
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 0.9.2 with grep in /nix/store/lym4s55v747lkp5lq0jsbqmqh6510cz6-simdjson-0.9.2

found 0.9.2 in filename of file in /nix/store/lym4s55v747lkp5lq0jsbqmqh6510cz6-simdjson-0.9.2

directory tree listing: https://gist.github.com/cc5e596f1ae90bb77699fab755453dcc

du listing: https://gist.github.com/cc318cfddbf9695462de3f86f6b3eafd

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
simdjson

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/lym4s55v747lkp5lq0jsbqmqh6510cz6-simdjson-0.9.2 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A simdjson https://github.com/r-ryantm/nixpkgs/archive/4633003ef5190b5f5f64be2b4e380264bc2f60de.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/lym4s55v747lkp5lq0jsbqmqh6510cz6-simdjson-0.9.2
ls -la /nix/store/lym4s55v747lkp5lq0jsbqmqh6510cz6-simdjson-0.9.2/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

simdjson

Maintainer pings
cc @chessai for testing.

@ofborg eval


Directory flattener should copy the files

Currently the directory flattener operates within the input directory only.
The script should be refactored in order to preserve the input and copy the files to a output location.

Done in #7


lfe_io:format issue with binary

This issue was noted on the mail list late last year:

https://groups.google.com/d/msg/lisp-flavoured-erlang/pF4retTadzw/M_8jsuM2vkMJ

Here's the set up:
> (set encoded (binary ("åäö ð" utf8)))
#"åäö ð"

Here's io:format working as expected:
> (io:format "~tp~n" `(,encoded))
<<"åäö ð"/utf8>>
ok

Here's lfe_io making the same call:
> (lfe_io:format "~tp~n" `(,encoded))
exception error: badarg
  in (: lfe_io fwrite1 "~tp~n" (#"åäö ð"))
  in lfe_io:format/3 (src/lfe_io.erl, line 179)

The error is because lfe_io:format doesn't support the t modifier. Now it works like this for io:
> (set encoded (binary ("åäö ð" utf8)))
#"åäö ð"
> (io:format "~w\n" `(,encoded))
<<195,165,195,164,195,182,32,195,176>>
ok
> (io:format "~p\n" `(,encoded))
<<"Ã¥Ã¤Ã¶ Ã°">>
ok
> (io:format "~tp\n" `(,encoded))
<<"åäö ð"/utf8>>
ok

The ~w just writes out the raw bytes in the binary. Without the t modifier ~p will print the binary as a sequence of latin1 characters and with the modifier as a utf-8 encoded binary.
My plan for LFE (and lfe_io:format) is that a ~w will write out the raw bytes and if the binary can be a utf-8 encoded string then ~p will be print it as a utf-8 binary string else the raw bytes:
> (lfe_io:format "~w\n" `(,encoded))
#B(195 165 195 164 195 182 32 195 176)
ok
> (lfe_io:format "~p\n" `(,encoded))
#"åäö ð"
ok

The rationale behind this is that if I have a syntax for inputting utf-8 encoded binary then this should be the default when printing them. The same as for list strings.

This was fixed in commit d9b4057a9bd0f0240c5bb150ed9a977a7cb14a95 so LFE now supports #"..." as syntax for utf-8 encode binaries and it will prettyprint utf-8 encoded binaries like this.


Serialization failure in Google Cloud IoT Core

Thanks for stopping by to let us know something could be better!
Environment details

OS: gLinux Rodete
PHP version: PHP 7.0.26-1 (cli) (built: Nov 29 2017 09:48:46) ( NTS )
Package name and version: "google/cloud-iot": "^0.5.1"

Steps to reproduce

Execute the snippet below, when it runs you'll see the output like:

Listing devices for gateway
PHP Warning:  rawurlencode() expects parameter 1 to be string, object given in /usr/local/google/home/class/code/samples/php-docs-samples/iot/vendor/guzzlehttp/psr7/src/functions.php on line 600

In ApiException.php line 139:

  {
      "message": "Invalid JSON payload received. Unknown name \"gateway_list_options.filter\": Cannot bind query parameter. Field 'filter' could not be found in request message.",
      "code": 3,
      "status": "INVALID_ARGUMENT",
      "details": [
          {
              "@type": 0,
              "data": "type.googleapis.com\/google.rpc.BadRequest"
          },
          {
              "@type": 0,
              "data": [
                  {
                      "description": "Invalid JSON payload received. Unknown name \"gateway_list_options.filter\": Cannot bind query parameter. Field 'filter' could not be found in request message."
                  }
              ]
          }
      ]
  }

After a little digging, it looks like the filter message is not correctly getting serialized from the object generated from the proto.

Code example
use Google\Cloud\Iot\V1\DeviceManagerClient;
use Google\Cloud\Iot\V1\GatewayListOptions;

/**
 * List all devices associated to the given gateway.
 *
 * @param string $projectId Google Cloud project ID
 * @param string $location (Optional) Google Cloud region
 * @param string $registryId IOT Device Registry ID
 * @param string $gatewayId The identifier for the gateway
 */
function list_devices_for_gateway(
    $projectId,
    $location = 'us-central1',
    $registryId,
    $gatewayId
) {
    print('Listing devices for gateway' . PHP_EOL);

    // Instantiate a client.
    $deviceManager = new DeviceManagerClient();

    // Format the full registry path
    $registryName = $deviceManager->registryName($projectId, $location, $registryId);

    // Configure the list options for the gateway
    $gatewayListOptions = (new GatewayListOptions())->setAssociationsGatewayId($gatewayId);

    // Call the API
    $devices = $deviceManager->listDevices($registryName,
      ['gatewayListOptions' => $gatewayListOptions]
    );

    // Print the result
    foreach ($devices->iterateAllElements() as $device) {
        printf('Device: %s : %s' . PHP_EOL,
            $device->getNumId(),
            $device->getId());
    }
}

If the query string param is a complex object (protobuf message), getQuerystringValue converts it to an associative array. In the highlighted code, it just copies the value as it is - in this case, it's a OneofField

Dear Good Thinkers,  programmer community has to rethinks on serialization method technics, i get similar error using simular serialization algorithm in GuzzleHttp!! object serialize can't just get it right!


Functionality to add subtitles while viewing

Also subtitles for chromecast. Plus the option to specify subtitle offset!

Perhaps the server could try to fetch subtitles automatically when a new video is uploaded. Configurable option on what languages to grab?

Thats a good idea. Will look into an api for that

tvsubtitles.net?

I was thinking more of something like thishttp://subsmax.com/subtitles-api/ but I'll have to look into different ones and see which one works best

Jeah this site look good too!

Check out OpenSubtitles API: Javascript
"Hash code is based on Media Player Classic. In natural language it calculates: size + 64bit chksum of the first and last 64k (even if they overlap because the file is smaller than 128k). On opensubtitles.org is movie file size limited to<PHONE_NUMBER> > $moviebytesize > 131072 bytes, if is there any reason to change these sizes, let us know. Licence of hashing source codes is GPL. Source codes was tested on Little Endian - DEC, Intel and compatible
Important: there might be cases, when your calculated hash is not 16 characters, so make sure you add zero-leading padding - some of source codes doesn't implement this ('101eae5380a4769' => '0101eae5380a4769')."
Should be more precise than using movie name. When and if you add this subtittle option, please take a look at having some buttons you can delay the subtittles of your liking to 200-250ms back or forward (Just in case there are some issues with the sub sync).

yep, makes sense. Thanks!

Thanks for the great work! One point - the interface should allow the use of different codepages, otherwise it'll be pretty useless for most non-English subtitles.
For the same reason, hopefully there will be an interface to 'assign' subtitles to each film/episode aside from autofetching. This way, users could curate the library properly.

You can actually upload subtitles already! They have to be in vtt format. ( there are online converters for srt to vtt). For autofetching I agree with you, gotta keep that in mind.

Ok, in the next release, auto srt to vtt conversion is in place! If you want to try it already today, you can switch to branch "next" at your own risk :) It will be added to the rc soon though :)


addresses #232 missing typegraphs.

Raku/doc-website is missing the generated svg typegraphs. They should be generated at build time by the plugin Website/plugins/typegraph. The original logic was disrupted because a file .placeholder was inserted to keep the directory. The logic has been changed. If there are no typegraphs they will be generated in the build environment.

@dontlaugh @coke please review. There is a build question here. The repository does not contain the typegraph svg files. There are several hundred files. It takes quite a long time to generate them.
The generation needs only to be done ONCE. There have not been any changes to the file from which they are generated (type-graph.txt) since 2022. So, if the build environment is regenerated from scratch each time, then it might be better for these files to be generated once in the repo, and for the directory (Website/plugins/typegraph/typegraphs/) to be added to .gitignore.

There are 3 Buildkite agents, and they don't run git clean or anything like that by default, so the files should be preserved as-is on disk if (and only if) a build has previously been run on that agent.
Log into the buildkite UI and click "rebuild", then select your branch. Do this several times to test your optimizations.
Other than that, write a comment on this sub to explain your algorithm that decides if/when to regenerate the file.

Here is another technique to debug any changes you make to the build scripts.
Within a single step, you can rely on the commands being run within the same environment.
Between step stanzas, there is no such guarantee. Buildkite steps are able to run in parallel unless an explicit depends_on is defined.
You can add commands to this step: https://github.com/Raku/doc-website/blob/main/.buildkite/pipeline.yaml#L4-L11
Use them to run stat and friends if it helps you figure out what's going on. We can remove those debugging commands before merge.
Log into BuildKite and click rebuild here

@dontlaugh Once this builds on buildkite, how do I see the resultant container?

Only merges to main have a container built right now. As a workaround: You can hack in a change in the build script to build right away. If you do this just make sure you do not push the container to "latest"

@dontlaugh you outlined a structure in #217 that would allow for this. It seemed a great way to go.
How was docs-dev.raku.org related to main?
If a build script for a branch creates a container with a prefix dev- rather than latest, would the container need to be imported and mounted by a docker instance locally to see the website?

The workflow described in #217 is not close to being implemented. It depends on a few other moving pieces in Raku's infra. It's a few weeks away, at least.

@dontlaugh Thank you for the explicit steps. I thought that's what might be happening, but I wasn't sure.
Just to rephrase to make sure I got this right. The current workflow means that docs-dev.raku.org sees any change to main, but docs.raku.org only ever changes after a manual intervention by @coke.
Consequently, any change to main that does not work as anticipated can be reverted without it reaching docs.raku.org.

@coke please approve this PR so it can be merged to main. It is adding typegraphs to each Raku/type/source, as requested. in #232. The result can be seen in eg new-raku Uuint
I have looked at the build-kite log for this branch. It is building without a problem.

Safe to merge.


disto CameraParameter contains only first five coefficients

Preliminary Checks

[X] This issue is not a duplicate. Before opening a new issue, please search existing issues.
[X] This issue is not a question, feature request, or anything other than a bug report directly related to this project.

Description
The distortion coefficients within the zed2-ros2-wrapper camera_info messages (as well as the disto CameraParameters returned by the ZED API for calibration_parameters_raw
https://www.stereolabs.com/docs/api/structsl_1_1CameraParameters.html#a5e66eff1633b3ba90dbbf12121163179 ) only contains the first five coefficients k1 k2 p1 p2 k3 even if the conf File contains k4 k5 k6 (or s1 s2 s3 s4).
I confirmed that the additional rational/thin prism coefficients are indeed applied to correctly undistort the images, however only the first five of the 8/12 parameters are returned by the API
Steps to Reproduce

Have a camera connected /svo with a .conf file where the [LEFT_DISTO]/[RIGHT_DISTO] contains values for k4,k5,k6
Launch ROS2 node zed2-ros2-wrapper; general/self_calib (==camera_disable_self_calib) set to false
check ../left_raw/camera_info distortion coefficients (parameter "D", "distortion_model")

Expected Result
D has 8 coefficients
distortion_model is "rational_polynomial"
Actual Result
D has 5 coefficients (the first 5 of the expected 8)
distortion_model is "plumb_bob"
ZED Camera model
ZED2i
Environment
ZED SDK 3.8.2

Anything else?
Same bug when checking via python ZED API (e.g. pyzed camera.get_camera_information().calibration_parameters_raw.left_cam.disto )
The ROS1/ROS2 wrappers have hard-coded plumb_bob/resize(5) behaviour:
https://github.com/stereolabs/zed-ros2-wrapper/blob/master/zed_components/src/zed_camera/src/zed_camera_component.cpp#L1941
Changing k4/k5/k6 in the conf file does change the rectified images -> Coeffs are used

Hi @ozendelait
can you please compile and run this simple test program and post the output?
test_camera_params.zip

Hi, yes; correct. I get this:

Left sensor rectified:

fx: 521.396
fy: 521.396
h_fov: 101.665
v_fov: 69.2487

Right sensor rectified:

fx: 521.396
fy: 521.396
h_fov: 101.665
v_fov: 69.2487

Left sensor raw:

fx: 534.12
fy: 534.125
h_fov: 105.628
v_fov: 73.1086
distortions: -0.92338 2.25279 0.000322705 3.9471e-05 0.0839577 -0.826327 2.11526 0.234659 0 0 0 0

Right sensor raw:

fx: 534.72
fy: 534.605
h_fov: 105.566
v_fov: 73.0594
distortions: -1.02549 2.26474 -0.000252286 -5.28801e-05 0.184219 -0.924819 2.10794 0.353717 0 0 0 0

OK, I noted the modification to be applied by the ZED Wrapper.
I will add it in the next few days if I find the right moment.
Regarding Python output, I reported the issue to the Python team.

Fixed https://github.com/stereolabs/zed-ros2-wrapper/commit/f3d9fa719cdda165d6ee0835faad98b6d7690f5a


Where are UAE spaces?

On the United Arab Emirates country page, there are no spaces listed: http://<IP_ADDRESS>:5000/uifunc/wikilist/country?name=United Arab Emirates
But there should be at least 5 spaces there:

What's going on? Is this something that's maybe a problem across other countries?

will work on this tomorrow apparently the script is not picking up spaces with a space in its name

marking as fixed


Surface mode RTMP data is being transfer, But unable to open .MP4 file.

Hello,
I am trying to stream data over network using wowza. just getting some input from android mobile camera and sending it to wowza server. although wowza server showing file transfer over the connection and storing it into a file(ie on wowza server) but media players are not showing any video streaming. Can you please help in this regard??

I use VLC to open same endpoint that you use to stream in wowza. I tested with my wowza and works with default configuration.


WhiteSource Scanning

What this PR does / why we need it?:

Integrates unified agent into pipeline
Removes workaround

Does this PR introduce a user-facing change?

[ ] User guide
[ ] CHANGELOG.md

Which issue(s) this PR fixes:

Fixes #
https://github.ibm.com/IBMCloudPak4Apps/wshe-OnePipeline/issues/110

pipeline run:
https://cloud.ibm.com/devops/pipelines/tekton/729b3aea-0a81-4b4d-bd42-7e5811980010/runs/92477974-e12d-4e58-8c46-f228828f80c8?env_id=ibm:yp:us-south


result from customdialog

I followed the example of the custom dialog from viewmodel
i get it working, the datacontext of the viewmodel is set correctly
how do i know get the information from the fields which are part of the viewmodel after the action dialogCoordinator.HideMetroDialogAsync has been called?

I'm not sure I get your question. After calling HideMetroDialogAsync your viewmodel should have all the information as required.


fix: replace unwrap with Valid

/claim #1739
#1739
Fixes #1739  fix: drop unwrap from from_proto
Build & Testing:

[ x] I ran cargo test successfully.
[ x] I have run ./lint.sh --mode=fix to fix all linting issues raised by ./lint.sh --mode=check.

Checklist:

[x] I have added relevant unit & integration tests.
[x] I have updated the documentation accordingly.
[ x] I have performed a self-review of my code.
[ x] PR follows the naming convention of <type>(<optional scope>): <title>

Summary by CodeRabbit

Refactor

Improved error handling in data processing with the introduction of a new validation method.

Moving to draft until the comments are fixed. Feel free to mark it as read for review whenever you are done fixing the comments.

@emekaokoli19 Appreciate your contributions but unfortunately, this PR isn't going in the right direction. Feel free to take help from the contributor's channel on discord and reopen it whenever you are ready.
Thanks once again!


Reverting to system qt5.

Since building qt5 from source on Linux lead to a lot of problems (mainly because of the tight integration with system libraries like fontconfig and glib), we decided to revert back to the old
behaviour and rely on a qt5 installation form the system's package manager.
This also means a lot of things will get simpler:

We won't need are own vcpkg triplet anymore.
We don't need to patch qt5's portfile anymore since we don't use it anymore.

To do a fresh vcpkg installation do the following:
cd external/vcpkg
rm -rf * && git checkout -f .
./bootstrap-vcpkg.sh
./vcpkg install abseil freetype freetype-gl breakpad capstone asio cereal imgui freeglut glew curl gtest
cd ../..

Since it does not build and all its dependencies anymore, this should be done in a few minutes.
You could also stick to the current vcpkg installation of qt5 is not causing any problems.
This only affects the Linux build. On Windows we will still rely on vcpkg.

Great, thanks Henning!


[rapids]remove unnecessary steps to config yarn

Signed-off-by: liyuan<EMAIL_ADDRESS>remove unnecessary steps to config yarn in spark-rapids init script

already verified.
@cjac could you please help review and build?

/gcbrun


[fix] run multi consumer group instance crash

[fix] run multi consumer group instance crash

Thanks! Could you please sign CLA?

Thanks! Could you please sign CLA?

Sure.
But oops,when i sign in CLA, I just filled the wrong email address.


[PDI-13940] Installing Plugin from Marketplace Causes Spoon to Crash with SWT IllegalArgumentException

@e-cuellar you merged this in master, we want this in 5.4 now


4 new sites (2 malicious + 2 suspicious/ adware)

https://psozyhotho.pro/ [Virustotal] which redirect to https://remove-ads.xyz/ [Virustotal]
https://400.route.to.adtracker.network/ which redirect to https://www.prioritisemyhealth.com
Got all 4 on a streaming site

Beer @beerisgood who is the advertiser here, and who is the redirector?  It's not clear from your descriptions.
Reason is, redirects are legitimate. It's the target I want to squash.
Unless the first link (of both description lines) is an annoying serial redirector.  But you don't say that.  I don't know what you're saying.  I avoid blindly following links posted here.

All sites are used on a streaming site which opens automatically.
The first one from both lines opens, which redirect to another one. So the targets are the latter ones.

Thanks Beer @beerisgood these are added in commit d06c30d.
Closing.


implement NonStickyEventExecutorGroup.inEventLoop

Motivation:
Current implementation of NonStickyEventExecutor.inEventLoop() always returns false, causing behavior changes when DefaultEventExecutor is replaced with NonStickyEventExecutor
Modification:
Thread , currently executing NonStickyEventExecutor.run() got saved as a key in CHM (because of Java 6 limitation I could not use ConcurrentHashMap.newKeySet()) at the beginning of execution and got removed at the end.
inEventLoop() checks if current thread is in the map
Result:
Calls to inEventLoop() inside runnable executed by NonStickyEventExecutor return true and return false otherwise

@danfaer thanks a lot for the PR... I did make some small changes as I think using a volatile is more correct for this. PTAL


closes: #204

I have refactored the code to use routing instead of doing it by prop drilling. If you'd like me to change it back I can do that as well.
Also, I don't code in Typescript so please let me know if I did any blunders.

@thesanjeevsharma Thanks! I am actually going to bed soon, but I will review tomorrow. Do you have an account number? If so please post it here since there is a 10,000 point reward for this issue :-)

Sure, thanks! I just made an account. Here's my account number:
644cdaf382c1f711fb05fb4328409a62713ecc7a3e83fa07427cc3539a8a23ac


[FLINK-3353] CSV-related tests may fail depending on locale

As the results are hard-coded, it makes sense to explicitly pass the US locale to render the results as strings. Should close FLINK-3353.

Thanks for the pull request. Your changes look sensible. Going to merge this later on.


Commercial use permissions: MKL-DNN and MKL-ML

Hi,
Excuse me.
Does MKL-DNN library have commercial use permissions? Does MKL-ML have permissions?
Thank you!
Yue

I am not a lawyer and this is not a legal advice.
DNNL (new name for MKL-DNN) is licensed under Apache 2 license which is OSI-approved. As per the OSI website, software licensed under OSI-approved licenses can be used commercially.
While mklml is under a proprietary license, the terms of the license do not prevent commercial use. The license poses the following requirements:
Use and Redistribution.  You may use and redistribute the software (the
"Software"), without modification, provided the following conditions are met:

* Redistributions must reproduce the above copyright notice and the following
  terms of use in the Software and in the documentation and/or other materials
  provided with the distribution.
* Neither the name of Intel nor the names of its suppliers may be used to
  endorse or promote products derived from this Software without specific prior
  written permission.
* No reverse engineering, decompilation, or disassembly of this Software is
  permitted.

@rsdubtso Thanks your reply.
MKL-ML is a subset of MKL, right ?
So, is MKL-ML a necessary part of DNNL? Or does the DNNL library depend on Intel MKL-ML？
Thanks again.
Yue

Hi @ly5234. Yes. MKLML is a subset of MKL. As of 1.1 DNNL is intended to be used standalone and does not require MKLML.

@rsdubtso
Ok, I got it.
Thank you.


[Feat] email-nuker

AIM
email-nuker is a Python-based email bomber
Features
it does not require your Gmail email ID to use.
Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I am willing to work on this issue (optional)
[X] I am a GSSoC'23 contributor

/assign


#64 developer tooling docs

Codebase ticket: https://projects.torchbox.com/projects/wordpress-to-wagtail-importer-package/tickets/64

This MR seems to contain changes that were already merged in #75. Can we rebase or merge the main branch into this one first?

Hi Nick, that looks better.


PROJ: React App Generator v1

Summary
Introducing our first React/Redux App Generator!  This generator is a version of Facebook's CRA (v1.1.4), which has been customized to our atomic principles and comes with Redux out of the box.
How it works
Run yo react-atomic:create-app and follow the prompts to name your name app. A new directory will be created where you run the command, based on the name of your app. Instructions are given in the CLI and readme for how to run the app. That's it!
Behind the scenes
We are basically rebuilding the files generated by facebook's create-react-app generator (v1.1.4) with some file structure modifications and additional features. These changes are also required in order for the components generated with our atomic generator to work seamlessly within the app.
Features we include in addition to basic CRA:

Redux and sample reducer to model usage
CSS Modules
autobind-decorator

Additional Notes
I specifically avoided requiring use of yeoman's config in the create-app generator because it creates a .yo-rc file which will then conflict with the .yo-rc required for the component generator. It would be in a directory level above the other one, and would override it. A good thing to keep in mind in case we are tempted to go back down that route. For now, it's a good idea to avoid advanced config and if we need different versions, we should create a new app generator.
Follow ups

This app comes with CSS Modules -- how do styled components fit it?
After including styled components, we can also create a boilerplate theming system
What about SASS? Do we support?
npm install works, yarn currently does not
Add in reselect for selectors
Update the Home page to be more useful than its current 2 page system with the counter. Perhaps it is branded and describes our system of atomic generators (i.e. replaces readme?)
Further documentation on usage and atomic principles

So following up here.
Verifying generator works with yarn/npm... using following:
NVM
nodejs 8.1.2
npm 6.0.1
yarn 1.6.0

Compile warnings from running server
Compiled with warnings.

./src/components/core/pages/About.jsx
/Users/morgancraft/Documents/projects/test-local-generators/brandnew-npm/src/components/core/pages/About.jsx
  2:10  warning  'push' is defined but never used  no-unused-vars

✖ 1 problem (0 errors, 1 warning)

./src/components/core/pages/Home.jsx
/Users/morgancraft/Documents/projects/test-local-generators/brandnew-npm/src/components/core/pages/Home.jsx
   1:1   warning  React.PropTypes is deprecated since React 15.5.0, use the npm module prop-types instead  react/no-deprecated
   1:27  warning  'PropTypes' is defined but never used                                                    no-unused-vars
   2:10  warning  'push' is defined but never used                                                         no-unused-vars
   5:8   warning  'autobind' is defined but never used                                                     no-unused-vars
  12:3   warning  Useless constructor                                                                      no-useless-constructor

✖ 5 problems (0 errors, 5 warnings)

./src/index.js
/Users/morgancraft/Documents/projects/test-local-generators/brandnew-npm/src/index.js
  7:8  warning  'registerServiceWorker' is defined but never used  no-unused-vars

✖ 1 problem (0 errors, 1 warning)

Search for the keywords to learn more about each warning.
To ignore, add // eslint-disable-next-line to the line before.


chore(deps): update module github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper to v1.0.9

This PR contains the following updates:

Package
Type
Update
Change

github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper
require
patch
v1.0.8 -> v1.0.9

Release Notes

terraform-ibm-modules/ibmcloud-terratest-wrapper
v1.0.9
Compare Source
Bug Fixes

deps: update module github.com/stretchr/testify to v1.8.0 (#42) (6d26da1)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by Renovate Bot.

:tada: This PR is included in version 1.0.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket: