Update kafka-parsing.h

What does this PR do?
Removes commented code in the kafka-parsing.h file.

Motivation

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

/merge


📝 Update includes for docs/es/docs/tutorial/first-steps.md

Part of #12554
This PR updates the code inclusion syntax in docs/es/docs/tutorial/first-steps.md as per issue #12554.

Replaced old inclusion syntax {!...!} with new syntax {*...*}.
Updated line highlights from hl_lines="..." to hl[...].
Ensured all code examples are correctly included and formatted.
Corrected any remaining instances of the old syntax.

Let me know if any changes are needed. Thank you!

Thanks for the effort! :cake:
This was handled in another PR, so I'll close this one now. :coffee:


robot camera schema

Schema generated from https://www.jsonschema.net/home

Good feedback @miguelgarcia. Updated to only include 'spec'


dgemm crash on macOS 12.0 beta arm64

With macOS 12.0 (21A5506j) arm64 and OpenBLAS 0.3.17 (earlier versions as well) there is a crash in the utest target
* thread #3, stop reason = EXC_BAD_ACCESS (code=2, address=0x10031c000)
    frame #0: 0x000000010005d394 openblas_utest`.Ldgemm_tcopy_L8_M8_20 + 116
openblas_utest`.Ldgemm_tcopy_L8_M8_20:
->  0x10005d394 <+116>: ldp    q30, q31, [x13], #0x20
    0x10005d398 <+120>: st1.2d { v28, v29, v30, v31 }, [x20]
    0x10005d39c <+124>: add    x20, x20, #0x40           ; =0x40
    0x10005d3a0 <+128>: add    x14, x14, x5
Target 0: (openblas_utest) stopped.

See also https://github.com/JuliaLang/julia/issues/42176.
There is no problem on maOS 11.6 (but the library built on macOS 11 also crashes when run on macOS 12).

Unfortunately I do not have M1 hardware (beyond what is available in the gcc compile farm). The OpenBLAS dgemm_tcopy kernel is shared among all supported ARMV8 cpus however, so unlikely to be the culprit.

Thanks, it seems a bit mysterious how the same assembly can run differently on the same CPU.
Does the dgemm_tcopy kernel make any use of the x18 register by any chance?
This is generally available on ARMv8 CPUs, but is reserved on the Apple M1 according to
https://developer.apple.com/documentation/xcode/writing-arm64-code-for-apple-platforms.

Yes it does. Looks like it may be an easy fix as it is #defined to a variable I and there is an unused #define TEMP2 x21 in dgemm_tcopy_8.S as well. Of course there may be additional instances in other kernels (and all have been there for years)

Tentative fix in #3384 - have not checked yet if I broke anything with the naive reshuffle...

Tentative fix in #3384 - have not checked yet if I broke anything with the naive reshuffle...

if you want I can try building it on m1, although simple make results into undefined symbols for arm64 architecture

Strange. I got a clean build (for TARGET=ARMV8 on CortexA57 hardware, which should touch all the modified kernels), I just need to run the lapack testsuite on that system to make sure it still does the calculations right. What undefined symbols are you getting ?

I can confirm pull/3384 fixes the crashes on my M1 system (the rest of the test suite also passes).

Strange. I got a clean build (for TARGET=ARMV8 on CortexA57 hardware, which should touch all the modified kernels), I just need to run the lapack testsuite on that system to make sure it still does the calculations right. What undefined symbols are you getting ?

I've pulled #3384 and it ends up with this:
Undefined symbols for architecture arm64:
  "_dgesvd_", referenced from:
      _LAPACKE_dgesvd_work in libopenblas_armv8p-r0.3.17.dev.a(lapacke_dgesvd_work.o)
     (maybe you meant: _LAPACKE_dgesvd_work)
  "_zpotrs_", referenced from:
      ___ctest_potrf_bug_695_run in test_potrs.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [openblas_utest] Error 1
make: *** [tests] Error 2

everything before passes, I think

@mryodo Googling "__chkstk_darwin" suggests this happens when the base SDK setting or the deployment target is somehow not correct.


After Effects: Fix workfiles on launch env var usage

Changelog Description
Fix after effects launch logic variable for AVALON_PHOTOSHOP_WORKFILES_ON_LAUNCH -> AVALON_AFTEREFFECTS_WORKFILES_ON_LAUNCH
Additional info
See also default settings for After Effects application.
Reported on discord.
Testing notes:

Toggling that variable in settings should adjust the behavior whether workfile tool starts on launch of After Effects or not.

So many questions...

Why we use env variable to change the behavior and not settings?
Why we don't change the env to AYON prefix instead of AVALON?

Haha, don't shoot the messenger. But yes, could be a better way for this I think - but in this case consider this just a 'hotfix'.
Whether there's feasibility in how this works to refactor to use settings instead I'll leave to @kalisp to answer who's deeper in this stuff. There could be two options:

Just get the project settings in the launch logic and based on that decide whether or not to show. (simplest, might be just subtly slower since it requires querying the project settings an extra time)
Or if there's a very good reason for that to not access the project settings then instead set the environment variable from a prelaunch hook so that at least in settings it's a project toggle instead of an application env setting.

Approving and merging as hotfix, but it would nice to change it @kalisp ...

Just want to remark what came up on Discord:
Alain Xerri (Atomic):

I have found a setting, which name seems to imply it can be used instead of the env var (AVALON_PHOTOSHOP_WORKFILES_ON_LAUNCH), but it's just a guess :
Web App-->Studio Settings-->Core-->Tools-->Workfiles-->Open workfile tool on launch-->Hosts

Jakub Trllo:

Looks like that should be used instead...


Use process.env.electron_config_cache to get the released zip file from the local directory during installation of Electron.

Sometimes there is no access to GitHub on the build machines.
But Electron during the installation downloads released zip file from https://github.com/electron/electron/releases.
Prepared zip files could be stored by the maintainer of the build machine to some local directory.
This fix allows to use the local cache with released zip files during installation of Electron.

@kevinsawicki this tiny change would be really useful

Thanks for this @vbez, apologies for the delay merging 👍


cmd/compile: escape analysis report mismatch with allocations

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

$ go version
go version devel +3a3093d5c7 Mon Dec 9 21:50:59 2019 +0000 linux/amd64

Does this issue reproduce with the latest release?
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE="on"
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/elias/.cache/go-build"
GOENV="/home/elias/.config/go/env"
GOEXE=""
GOFLAGS="-mod=readonly"
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/elias/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/home/elias/dev/go-tip"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/home/elias/dev/go-tip/pkg/tool/linux_amd64"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/var/home/elias/proj/gio/example/go.mod"
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-build792075942=/tmp/go-build -gno-record-gcc-switches"
GOROOT/bin/go version: go version devel +3a3093d5c7 Mon Dec 9 21:50:59 2019 +0000 linux/amd64
GOROOT/bin/go tool compile -V: compile version devel +3a3093d5c7 Mon Dec 9 21:50:59 2019 +0000
uname -sr: Linux 5.3.15-300.fc31.x86_64
/lib64/libc.so.6: GNU C Library (GNU libc) stable release version 2.30.
gdb --version: GNU gdb (GDB) Fedora <IP_ADDRESS>90824-25.fc31

What did you do?
This is an abbreviated version of a layout API from Gio.
package layout

import "testing"

type MacroWidget struct {
	Widget func()
	Ops    *Ops
}

type Ops struct {
	refs []*Ops
}

func (w MacroWidget) Add(ops *Ops) {
	ops.refs = append(ops.refs, w.Ops)
}

func Layout2(ops *Ops, widgets ...MacroWidget) {
	for _, w := range widgets {
		w.Widget()
		w.Add(ops)
	}
}

func BenchmarkLayout2(b *testing.B) {
	ops := new(Ops)
	for i := 0; i < b.N; i++ {
		ops.refs = ops.refs[:0]
		Layout2(ops,
			MacroWidget{Widget: func() {
			}},
		)
	}
}

Running
$ go test -gcflags="-l -m" -bench=. -test.benchmem layout_test.go
# command-line-arguments [command-line-arguments.test]
./flex_test.go:14:7: leaking param: w
./flex_test.go:14:26: leaking param content: ops
./flex_test.go:18:14: leaking param content: ops
./flex_test.go:18:24: leaking param content: widgets
./flex_test.go:28:12: BenchmarkLayout2 ignoring self-assignment in ops.refs = ops.refs[:0]
./flex_test.go:25:23: b does not escape
./flex_test.go:26:12: new(Ops) does not escape
./flex_test.go:29:10: ... argument does not escape
./flex_test.go:30:24: func literal escapes to heap
<autogenerated>:1: leaking param content: .this
./flex_test.go:14:26: leaking param content: ops
# command-line-arguments.test
/tmp/go-build768440995/b001/_testmain.go:42:42: testdeps.TestDeps literal escapes to heap
goos: linux
goarch: amd64
BenchmarkLayout2-8   	178893040	         6.37 ns/op	       0 B/op	       0 allocs/op
PASS
ok  	command-line-arguments	1.446s

Note that the func literal on line 30 is reported as leaking, but the Benchmark reports no allocations.
What did you expect to see?
Allocations matching the reported leak.
What did you see instead?
No allocations, despite the leak.
What I'd like to achieve in Gio is that the w param at line 20 wouldn't leak. And perhaps it doesn't, as indicated by the allocation report.
@mdempsky

I think it means that if creating the closure needs allocation, it will allocate. But in this case it is a static function literal so there is no allocation.

I see, thank you. I reproduced the allocation with
  package layout

  import "testing"

  type MacroWidget struct {
      Widget func()
      Ops    *Ops
  }

  type Ops struct {
      refs []*Ops
  }

  func (w MacroWidget) Add(ops *Ops) {
      ops.refs = append(ops.refs, w.Ops)
  }

  func Layout2(ops *Ops, widgets ...MacroWidget) {
      for _, w := range widgets {
          w.Widget()
          w.Add(ops)
      }
  }

  func BenchmarkLayout2(b *testing.B) {
      var counter int
      ops := new(Ops)
      for i := 0; i < b.N; i++ {
          ops.refs = ops.refs[:0]
          Layout2(ops,
              MacroWidget{Widget: func() {
                  counter++
              }},
          )
      }
  }


Download amplify binary

Before opening, please confirm:

[X] I have checked to see if my question is addressed in the FAQ.
[X] I have searched for duplicate or closed issues.
[X] I have read the guide for submitting bug reports.
[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.

App Id
https://besremi.revhealthstaging.com/
Region
No response
Amplify Hosting feature
Manual deploys
Describe the bug
Hi, i would like to download the binary which is already running in my staging.  because production is hosted with our partners.
We are using amplify to create the website and we don't want to build it local for sending the binary to production.
Expected behavior
need a option to download the existing app binary
Reproduction steps
NA
Build Settings
NA

Additional information
NA

Hi @mwarkentin there aren't any binaries. With manual deploys, we just unzip and deploy the given files as is. In any case, if there are files that you need to access, it's best to open a case with AWS Support so you can verify your identity and they can help you access the information you're seeking.


Homepage down

http://mxunit.org/ is down with a "site disabled" message.

Hrm, not sure what's going on there.  I'll ping somebody.  Thanks!

Thanks for the heads-up. Working on it.

all fixed now.
Needed a) DNS change, B) change the ant-common submodule to use https instead of ssh


[open62541] Add full namespace zero option

Is your feature request related to a problem? Please describe.
Some models require types from full namespace zero (ns0). It would be nice to choose what form of namespace to build with.
Proposed solution
Add -DUA_NAMESPACE_ZERO:STRING=FULL to options.
Describe alternatives you've considered
Additional context
Wasn't able to fix by adding "-DUA_NAMESPACE_ZERO:STRING=FULL" to OPTIONS of vcpkg_cmake_configure because build failed due to "CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:128 (message): Command failed: ninja -v"

@kuprinik Thanks for posting this issue, I see that the upstream supports the Full option, can you explain in detail why you have to manually set it? :)
set(UA_NAMESPACE_ZERO "REDUCED" CACHE STRING "Completeness of the generated namespace zero (minimal/reduced/full)")
SET_PROPERTY(CACHE UA_NAMESPACE_ZERO PROPERTY STRINGS "MINIMAL" "REDUCED" "FULL")

https://github.com/open62541/open62541/blob/2b226746898ef8751b00de11e7387a917644f889/CMakeLists.txt#L261

@FrankXie05  Thanks for the reply.
The issue with using default upstream options is that some types are then missing in types_generated.h. For example, the problem for me was that UA_TYPES_IDTYPE was missing. Please, try to manually set UA_NAMESPACE_ZERO to FULL and compare  types_generated.h files.

@kuprinik
It might be an upstream bug, can you provide steps to reproduce it?
Of course, I can provide you with a file for setting UA_NAMESPACE_ZERO to FULL, can you please try it? :)
file.zip

@FrankXie05  Actually, it works correctly. The namespace is set to REDUCED by default using this function:
set(UA_NAMESPACE_ZERO "REDUCED" CACHE STRING "Completeness of the generated namespace zero (minimal/reduced/full)")This function just sets available options for dropdown menu in cmake-gui:SET_PROPERTY(CACHE UA_NAMESPACE_ZERO PROPERTY STRINGS "MINIMAL" "REDUCED" "FULL")`
Regarding your file, it doesn't work, because it is necessary to update ua-nodeset submodule.  Unfortunately, vcpkg_from_github seems to ignore submodules. However, there is a workaround described here: vcpkg's git strategy appears to neglect submodules. The working version of the profile.cmake is here: open62541.zip

@JackBoosY What do you think?

Unfortunately, vcpkg_from_github seems to ignore submodules.

That's by design.
According to our policy, we shouldn't add a feature that has conflicts with other features, so unfortunately, we won't add this.
But you can download this file
, unzip it and copy to VCPKG_ROOT/ports/open62541 then try to install this port again.
Thanks.


Correctly use Gatsby Head API

Switching from react-helmet to Gatsby Head API will require more work than changing the <SEO /> component. As explained in the reference guide you'll need to add a Head export to any page that should have that data (https://www.gatsbyjs.com/docs/reference/built-in-components/gatsby-head/).
We have a guide on a SEO component here: https://www.gatsbyjs.com/docs/how-to/adding-common-features/adding-seo-component
Right now you have your metadata inside the body:

Thanks for your issue @LekoArts, I started doing this for our main website here https://github.com/adoptium/website-v2/pull/944 but at the time couldn't get it to work with my template files. I'll revisit this week.

It was to do with using the data from the GraphQL query but I've just realised I can use that in the same way with:
export const Head = ({ data }) => {
  // do stuff with data here
  return (
    <Seo
      title={post.frontmatter.title}
      description={post.frontmatter.description || post.excerpt}
      twitterCard={twitterCard}
    />
  );
};

Thanks for your help @LekoArts, I appreciate you raising the issue here. We are moving all development into our main website going forwards (also written in Gatsby) and would love to talk to the Gatsby team at some point to make sure we're using all the usual best practices etc.


E (167) flash HPM: Flash high performance mode hasn't been executed successfully (IDFGH-7486)

Environment

Development Kit:      none
Module or chip used:  ESP32-S3FN8
IDF version (run git describe --tags to find it):
// v5.0-dev-3115-g73be74fd7
Build System:         idf.py
Compiler version (run xtensa-esp32-elf-gcc --version to find it):
// xtensa-esp32-elf-gcc.exe (crosstool-NG esp-2021r2-patch3) 8.4.0
Operating System:    Windows
(Windows only) environment type: PowerShell.
Using an IDE?: Yes,VSCode
Power Supply:        USB

Problem Description
E (167) flash HPM: Flash high performance mode hasn't been executed successfully

Expected Behavior
The FLASH inside S3FN8 is detected as gd25, which should be able to open successfully
Actual Behavior
failed.
Steps to reproduce

set Flash SPI speed to 120Mhz
Build, Run

Debug Logs
I (167) flash HPM: Enabling high speed mode for chip GD
E (167) flash HPM: Flash high performance mode hasn't been executed successfully
W (170) FLASH: DO NOT USE FOR MASS PRODUCTION! Timing parameters will be updated in future IDF version.

Hi @FanhuaCloud ,
High performance mode is optional feature. See: https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/storage/spi_flash_optional_feature.html#high-performance-mode
Not all official module support that. As for GD25, due to its support, there are some technical difficulities to fix. We are not sure if it can be finally supported at this moment. If you do want to use 120MHz, please contact Espressif Business team to get stable supply for the types that supports high performance mode.

Hi @FanhuaCloud ,
High performance mode is optional feature. See: https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/storage/spi_flash_optional_feature.html#high-performance-mode
Not all official module support that. As for GD25, due to its support, there are some technical difficulities to fix. We are not sure if it can be finally supported at this moment. If you do want to use 120MHz, please contact Espressif Business team (https://www.espressif.com.cn/en/contact-us/sales-questions) to get stable supply for the types that supports high performance mode.

Hi @FanhuaCloud , High performance mode is optional feature. See: https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/storage/spi_flash_optional_feature.html#high-performance-mode
Not all official module support that. As for GD25, due to its support, there are some technical difficulities to fix. We are not sure if it can be finally supported at this moment. If you do want to use 120MHz, please contact Espressif Business team (https://www.espressif.com.cn/en/contact-us/sales-questions) to get stable supply for the types that supports high performance mode.

Thank you for your reply.


Remove cpuInterval param from GetOneTimeResourceUsageOnNode()

It's not used anywhere other than to check that it's within some limits.
Also update the method doc, as it doesn't make sense comparing to what the method actually does and how cadvisor works.
From the tests I've run, the cadvisor endpoint gets updated every ~15s and scraping it takes on average ~110ms. It seems to be exactly the same data that we scrape via prometheus.
Given that, we should be able to scrape it more often (in prometheus we scrape master every 5s) which should allow us to fix https://github.com/kubernetes/perf-tests/issues/694.
This is a prework to that.

/lgtm


@fs/eslint-config-frontier-react to peerDep

This makes it so that apps do not need to add @fs/eslint-config-frontier-react@^11 as an override when an app uses that version for their app. Then the linting is the same for the app and when starting the app with @fs/react-scripts.
I'm not sure how to test this because I don't know how to reference this branch to test this out in different apps. But I believe this would be good.

@joeycozza does this cause any heartburn? It just puts the app in charge of the version, we aren't doing anything version-specific in here so it should be fine I would think.


Must provide either both org_id and project_id, both org_name and project_name, or neither.

🐛 Describe the bug
Failed to search memories: APIError: API request failed: ["Must provide either both org_id and project_id, both org_name and project_name, or neither."]
My input:
{
  query: "aa",
  options: {
    "user_id": "065db805-e3bb-4287-ab9d-d8e9f16415f1",
    "agent_id": "cm36sulxa006qgg7vbhq5921o"
  }
}

Hey @backslash112 This issue has been fixed. Please install the latest version of mem0ai.
Let us know if you still face any issues.


feat(functions): add ts function utility types

This add some of Functions utility types :

IdentityFn : to allow functional composition in the future
Parameters: extract parameters from a function definition
Parameter: extract one parameter from a function definition
Return : rextract return type from a function definition

Awesome, thanks for contributing !
Could you rebase your branch? I created a Functions namespace in a previous commit and this is conflicting with it

done!

rebased.
if we can merge this would be awesome, rebasing is not fun


Inserted Relationship to Bing Maps Details

Request to add relationship with Bing Maps language and table to intro page. #sign-off @dsk-2015 (FYI)

@cmpendleton : Thanks for your contribution to the Azure documentation! The author, @dsk-2015, has been notified to review your proposed change.


Deflake TestDescribe

https://storage.googleapis.com/istio-prow/logs/integ-k8s-118_istio_postsubmit/1384370290624040960/build-log.txt
5s is too small
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Pull Request Attributes
Please check any characteristics that apply to this pull request.
[ ] Does not have any changes that may affect Istio users.

In response to a cherrypick label: new pull request created: #32356

In response to a cherrypick label: new pull request created: #32357


Refactor thrift type

This major refactoring fixes #66 and #69.
As discussed in the latter, Named goes away, and is merged in with ThriftType.  ThriftType is a branchy hierarchy, and many of its elements share common structure that isn't easily expressed via direct inheritance.  To that end, the new UserElement interface captures that commonality, and UserElementMixin encapsulates the logic; various types and components can implement the former by containing the latter.
Builders also get a proper refactoring with the introduction of inheritance and lots of generics garbage to make a nice API.
This is a pretty big change, though (hopefully) transparent to consumers; I'd appreciate eyeballs or, even better, testing from @hzsweers, @naturalwarren , @seanabraham, and any other folks who see this and are interested.

I'm running this branch in one of our apps now; so far, so good.  I've uploaded this as 0.3.0-SNAPSHOT, so it will be easy to play with while I make sure this is baked.
I intend to leave this PR open for the week.  If no problems surface, and I don't hear of any major issues from folks here, I'll land this and prepare a release next week.

@benjamin-bader I've set aside some time to test this tomorrow. High level changes look good.

@benjamin-bader, @hzsweers and I are going to bump our Thrift code generator onto this change. Will update you with the results. This code generator creates hundreds of models and services.

@benjamin-bader just verified that the generator output for our thrift projects is identical to the previous release, and correct. 👍

Ben I'm not able to pull these changes. This may be because I'm a bone head but even doing a fresh clone of this repository, fetching all, and checking out refactor-thrift-type I can't find the branch.
git clone https://github.com/Microsoft/thrifty.git git fetch --all git checkout refactor-thrift-type

@naturalwarren that's because the branch is in my own fork - replace microsoft with benjamin-bader.

In fact, @naturalwarren, here are the commands you can use:
git checkout -b benjamin-bader-refactor-thrift-type master
git pull https://github.com/benjamin-bader/thrifty.git refactor-thrift-type

OK, this has been baking for a little while and seems stable - landing now and releasing shortly.
Thanks to everyone who test-drove these changes!


integer gets cast into Decimal when asserting

Issue
When I assert the returned category of a product schema in a test, it gets converted into a Decimal
Current behavior
I have a product schema
schema "products" do
    field :name, :string
    field :uuid, :string
    field :slug, :string
    field :description, :string
    field :price, :decimal
    field :category, :integer
    belongs_to :group, Group

    timestamps()
  end

The test
test "create_product/1 with valid data creates a product" do
  valid_params = params_with_assocs(:product)
  IO.inspect valid_params
  assert {:ok, %Product{} = product} = Products.create_product(valid_params)
  IO.inspect product
  IO.inspect product.category
  assert product.category == valid_params.category
  assert product.description == valid_params.description
  assert product.name == valid_params.name
  assert product.price == valid_params.price
end

Debug outputs
The output of IO.inspect valid_params:
%{category: 0, description: "Some product related description",
  group_id: 376, name: "product-3", price: 0,
  slug: "product-3", uuid: "ac5eeaa8-e43c-348f-9684-b4b9b72e9a1d"}

The output of IO.inspect product:
%FarmmixHomepage.Products.Product{__meta__: #Ecto.Schema.Metadata<:loaded, "products">,
 category: 0, description: "Some product related description",
 group: #Ecto.Association.NotLoaded<association :group is not loaded>,
 group_id: 376, id: 670,
 inserted_at: ~N[2017-09-21 09:51:43.500994], name: "product-3",
 price: #Decimal<0>, slug: "product-3",
 updated_at: ~N[2017-09-21 09:51:43.501005],
 uuid: "ac5eeaa8-e43c-348f-9684-b4b9b72e9a1d"}

The output of IO.inspect product.category:
0

Test output
  1) test creating products create_product/1 with valid data creates a product (FarmmixHomepage.ProductsTest)
     test/farmmix_homepage/products/products_test.exs:48
     Assertion with == failed
     code:  assert product.price() == valid_params.price()
     left:  #Decimal<0>
     right: 0
     stacktrace:
       test/farmmix_homepage/products/products_test.exs:57: (test)

It also fails for assert product.price == valid_params.price
Expected behavior
Not surprisingly I want the following part to be true:
assert product.category == valid_params.category
assert product.description == valid_params.description
assert product.name == valid_params.name
assert product.price == valid_params.price

I assume the issue comes from these sources:

assert
Ecto field resolution
equals operator

But still, is this expected behavior?
Environment

Elixir version (elixir -v): 1.5.1
Database and version (PostgreSQL 9.4, MongoDB 3.2, etc.): postgres 9.5
Ecto version (mix deps): 2.1.6
Database adapter and version (mix deps): postgrex 0.13.3
Operating system: Linux Mint

@SLOBYYYY you are comparing data.price with params.price and the goal of casting is exactly to convert an external type to your domain type. When you are casting data, it by definition should convert between types.
The price field was declared as:
field :price, :decimal

So this is expected:
 code:  assert product.price() == valid_params.price()
 left:  #Decimal<0>
 right: 0

For example, you can also pass the price params as a string and it will be cast to a decimal too.

I feel bad. I did some modification on test generating data for category and it's fine now.
Sorry for the mistake @josevalim and thank you for the quick answer!


Implement a Genetic algorithm optimizer to find Weights and Biases faster for large complex neural networks

If you open a GitHub issue, here is our policy:
It must be a bug, a feature request, or a significant problem with the documentation (for small docs fixes please send a PR instead).
The form below must be filled out.
Here's why we have that policy:.
Keras developers respond to issues. We want to focus on work that benefits the whole community, e.g., fixing bugs and adding features. Support only helps individuals. GitHub also notifies thousands of people when issues are filed. We want them to see you communicating an interesting problem, rather than being redirected to Stack Overflow.
System information.
TensorFlow version (you are using): Latest
Are you willing to contribute it (Yes/No) : Yes
Describe the feature and the current behavior/state.
Describe the feature clearly here. Be sure to convey here why the requested feature is needed. Any brief description about the use-case would help.
I have been working with both Neural networks and Genetic algorithms for a long time, and I thought why not mix both. So the idea is an optimizer that uses GA to find the best weights and parameters through initializing multiple neural nets with random weights and biases, then the ones with the best accuracy will survive, and repredouce (crossover) to give the second generation of neural nets in which (a child neural net has 50% of the each parent weights and biases) and it keeps going on. Here is an article that I found online from someone else that also shares the same idea : https://towardsdatascience.com/using-genetic-algorithms-to-train-neural-networks-b5ffe0d51321#:~:text=What are genetic algorithms%3F,in a better neural network.
I also asked GPT-4 about this idea and here is what it responded :
Me Jasem :
iam currently thinking of implementing an optimizer called genetic algorithms to keras tensorflow library in which a population of random weights and biases will initialized, (say 1000 diferent neural networks with different random weights and biases), then the ones with the best accuracy will be added to a mating pool to crossover and give the second generation of 1000 neural networks. do you think is would be of great value for keras if done right ? i found articles online speaking about it
GPT4 :
Genetic Algorithms (GAs) are a powerful class of optimization methods based on the principles of evolution and natural selection. They can be quite effective in solving optimization problems where the search space is large, complex, or poorly understood. In the context of neural networks, GAs can be used to optimize the weights and biases, the structure of the network itself, or both. The approach you're describing, where a population of random weights and biases are initialized and then evolved over time, is known as neuroevolution.
There's a lot of potential value in integrating a genetic algorithm-based optimizer into a popular machine learning library like Keras/TensorFlow:
Flexibility: GAs are quite versatile and can be applied to a variety of optimization problems, including those where gradient information is not available, which is a limitation of traditional backpropagation-based training methods.
Novelty: While other evolution-inspired optimization methods like evolutionary strategies and particle swarm optimization are already in use in machine learning, full-fledged GAs are less common, so this could be an interesting and novel contribution.
Potential for improved performance: GAs can potentially find better solutions than traditional optimization methods, especially for complex tasks or tasks where the optimal network architecture is not known in advance.
Parallelizability: GAs are inherently parallelizable, as each individual in the population can be evaluated independently. This could make your approach well-suited to modern hardware architectures.
However, there are also some challenges and potential downsides to consider:
Computational cost: GAs can be computationally intensive, especially if the population size is large. This could make them impractical for large-scale problems or for use on limited hardware.
Convergence: While GAs can potentially find very good solutions, they may not always converge to the global optimum, especially for complex optimization problems.
Parameter tuning: GAs have a number of parameters (population size, mutation rate, crossover rate, selection method, etc.) that need to be tuned, and getting these settings right can be tricky.
Complexity: Implementing a GA-based optimizer in a way that's easy to use and integrate with existing code could be challenging.
In conclusion, integrating a GA-based optimizer into Keras/TensorFlow could certainly be valuable and would likely be of interest to the machine learning community. However, it would also be a significant undertaking and would require careful design and implementation to ensure that the benefits outweigh the potential downsides.

The very difficult part here is making a great crossover function that ensures accuracy is increasing from a generation to another.
Will this change the current api? How?
No, It would be called the same way softmax, or any other optimzier is being called.
Who will benefit from this feature?
Keras users who are implementing very large neural networks with relatively low computing power.
Contributing

Do you want to contribute a PR? (yes/no): Yes, All I need is a confirmation from someone who is not GPT4
If yes, please read this page for instructions
Briefly describe your candidate solution(if contributing): My candidate solution would be an optimizer that users can call to find weights and parameters potentially much faster when dealing with a large number of neurons and data. Based on my experience with Genetic algorithms, a simple crossover function will not be of great use here, so I consider it as the only challenge for this feature. I wish i spoke about this in the Keras community meeting yesterday directly with the attendees to discuss it in details, but if you have any questions or considerations please let me know.

@jaykay9999,
Could you please elaborate about your Feature. Also, please specify the Use Cases for this feature. Thank you!

@tilakrayal sure, I will add the genetic algorithm optimizer in my local fork and test it compared to 3 other optimizers. is there a specific test or something that i should know (template or format) or just pass travis CI tests ?

I designed a diagram that shows how the genetic algorithm works as an optimizer in a very small neural network with very small size of population individuals.
(it is the same logic used when breeding dogs assuming the end goal is having a very very tiny dog breed over generations)
Assume an initial population of 3 lists of random weights & biases. they will be used by the neural network one by one to calculate the error using each.

Then, the ones with the lowest error will join a matin pool to crossover and produce childs that will have some weights & biases from parent 1 and parent 2 for each child. this is called natural selection.

Finally, Generation 2 is produced, which is a population that is a descendant of the fittest individuals of generation 1. there is also a slight chance for a child to have a random mutation (same as learning rate) to keep space for finding other patterns.

then repeat over and over and over.
In reality, you would start with a population of 20000 dna's, each dna is a list of weights and biases that is equal to the number of neurons in the network. the end goal is to optimzie the error generation by generation.
This is useful when either the data is complex or large (requires too much computing power). Genetic algorithms are search optimization algorithms often used to find shortest paths very quickly.
Note that there are multiple ways to implement the crossover function which is very crucial here since it decides if the next generation average error will be less than the previous one.
I can give it a shot and show you results. If you have further questions or suggestions please let me know :)

I can explain the idea verbally through google meets or any method if you would like to, in case the details i provided are not that clear in terms of possibilities and complexity.

Hi @jaykay9999, thank you for the idea but is there a research paper that discusses about concrete implementation of this idea because keras team thinks there should be a significant interest in user community before they can invest resources into this. Hope this helps. Thanks!!

here are some interesting research i found about this idea on google scholar
https://link.springer.com/article/10.1007/s10462-011-9208-z
An optimizing BP neural network algorithm based on genetic algorithm
Shifei Ding, Chunyang Su, Junzhao Yu
Artificial intelligence review 36, 153-162, 2011
https://www.sciencedirect.com/science/article/pii/016781919090086O
Genetic algorithms and neural networks: Optimizing connections and connectivity
Darrell Whitley, Timothy Starkweather, Christopher Bogart
Parallel computing 14 (3), 347-361, 1990
https://citeseerx.ist.psu.edu/document?repid=rep1&type=pdf&doi=2d02fb2a733efde95e008a0ecbe1aed09d851152
Optimizing weights of artificial neural networks using genetic algorithms
Kinjal Jadav, Mahesh Panchal
Int J Adv Res Comput Sci Electron Eng 1 (10), 47-51, 2012
if you want more you can search the term on google scholar (there are different approaches) : optimizing neural network weights with genetic algorithms

Thanks for the suggestion. Interesting idea, but it doesn't make sense to add this to Keras. If you'd like to experiment with neuroevolution (which can be done with a Keras model as a starting point), you can take a look at existing experimental libraries, such as this nevopy. https://github.com/Talendar/nevopy


fix transcoded non English characters

Hi, thanks for this great theme. I'm using Chinese and found that the tags and categories are now working properly.

thanks @janezhango


The error occur when file name contain (+) character

The error occur when file name contain (+) character after the selection of file
The original file name is Capture+_2016-03.png
Unable to decode stream: java.io.FileNotFoundException: /
storage/emulated/0/TestApp/TestApp-Pictures/Capture _2016-03.png: open failed: ENOENT (No such file or directory)

Which version you have? Can't seem to reproduce this problem. Also, if you can share Device info and version, that would be helpful.

My device is lg g4 (android 6.0) and library version is 0.9.8
Log File
log.txt
Code
ImagePicker imagePicker = new ImagePicker((Activity) context);

 public void open() {

        imagePicker.setImagePickerCallback(

                new ImagePickerCallback() {

                    @Override
                    public void onImagesChosen(List<ChosenImage> images) {

                        for (int i = 0; i < images.size(); i++) {
                             // original filename is Capture+_2016-04-01-10-25-47.png
                             // getOriginalPath() value is not contain (+) character
                             // Capture _2016-04-01-10-25-47.png'
                            String file = images.get(i).getOriginalPath();
                            Toast.makeText(context, file + " ", Toast.LENGTH_SHORT).show();
                        }

                    }
                    @Override
                    public void onError(String message) {

                    }
                }
        );
        imagePicker.shouldGenerateMetadata(false);
        imagePicker.shouldGenerateThumbnails(false);
        imagePicker.pickImage();
    }

@Override
   protected void onActivityResult(int requestCode, int resultCode, Intent data) {
       if(resultCode == RESULT_OK) {
           if(requestCode == Picker.PICK_IMAGE_DEVICE) {
               imagePicker.submit(data);
           }
       }
   }

Ok. Will look at it. Ca you try the sample app and see if that is also failing? Just to be sure. Just choose the same image.

Can you try this version? 0.9.9-beta

The problem has been solved, thank you

The problem has been solved in the 0.99-beta version, thank you


FIX: module.exports to export default

Coverage remained the same at 100.0% when pulling 552c555700ca142b9299ffd01da83d97403b77ec on gkal19:master into 74321f142b0e52d8220ae92b42be10fd24ee2a66 on willianjusten:master.


JWT is coupled with json 9.0.0 and not higher

Hello Guys ,
I have installed JWT 4.0.0 version and json version 12.0.1 , but while validating tokens i am getting error saying it needs json version 9.0.0 even though i have higher version (12.0.1)
Please let me know for the solutions

@IAm-Naveen are you referring to the jsonwebtoken module?
https://github.com/dwyl/learn-json-web-tokens/blob/8cd60a592bf1b2ce2415e6b800db895db8dd9b63/package.json#L31-L34
https://www.npmjs.com/package/jsonwebtoken 8.4.0 is the latest version.

Please stick to the dependencies listed in the package.json file when following this tutorial.
The json module https://www.npmjs.com/package/json is not relevant
as JavaScript has built-in support for JSON encoding/decoding.

I am using JWT in c#


Use case 1 - Infrastructure Configuration API queries

Goal
has part of the packaging installer. SaaSi engine will query the source environment infra statistics and sizing
Deliverables

list of sizing properties (number of workers, CPU, memory, storage type etc)
map of API to extract the data
doc of what data can be extracted on which data his missing

The basic requirement is to be able to fetch from a live cluster the values of the properties used to install it
@r2dedios please include reference to the specifications of the installer and its configuration properties

Which kind of output format do we want? Human-readable like Markdown or to be processed by other tool? I could generate the results on JSON for example to make it easier to process. WDYT?

needs to be processed by other tools of course
On Thu, Dec 15, 2022 at 2:21 PM Alejandro Villegas @.***>
wrote:

Which kind of output format do we want? Human-readable like Markdown or to
be processed by other tool? I could generate the results on JSON for
example to make it easier to process. WDYT?
—
Reply to this email directly, view it on GitHub
https://github.com/RHEcosystemAppEng/SaaSi/issues/2#issuecomment-1353056875,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUU3D4RGJSCCU2JCGTX3GPDWNMLLDANCNFSM6AAAAAASTLAFRQ
.
You are receiving this because you commented.Message ID:
@.***>

Should we take into consideration that users might want to edit the data ?
On Sun, Dec 18, 2022 at 6:36 PM Daniele Martinoli @.***>
wrote:

needs to be processed by other tools of course
On Thu, Dec 15, 2022 at 2:21 PM Alejandro Villegas @.***>
wrote:

Which kind of output format do we want? Human-readable like Markdown or
to
be processed by other tool? I could generate the results on JSON for
example to make it easier to process. WDYT?
—
Reply to this email directly, view it on GitHub
<
https://github.com/RHEcosystemAppEng/SaaSi/issues/2#issuecomment-1353056875
,
or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/AUU3D4RGJSCCU2JCGTX3GPDWNMLLDANCNFSM6AAAAAASTLAFRQ
.
You are receiving this because you commented.Message ID:
@.***>

—
Reply to this email directly, view it on GitHub
https://github.com/RHEcosystemAppEng/SaaSi/issues/2#issuecomment-1356833233,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANWIKNIMHL5EUDLGGOZAWMDWN44RLANCNFSM6AAAAAASTLAFRQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Ilan Pinto
Manager, Ecosystem Application Engineering
Red Hat https://www.redhat.com/
https://www.redhat.com/

They can either edit the generated yaml or provide their own input from our configuration tool which in turns convert these settings into the required format.
But we need to design the expected flow before taking any decision, IMO

Which output format do you prefer? JSON, YAML, CSV...

First approach available at: https://github.com/RHEcosystemAppEng/SaaSi/tree/cluster-infra-size-report


Backport to 23w43a

This mod currently only supports 23w43b, while the tick command was added in snapshot 23w43a. Backporting to that snapshot should not be too difficult, since nothing related to the tick command changed between the two versions.

Added in 7420e5edf87d92bacc3f7521b3acc27130a447bf.


Update template object in package.json for PG-Desktop Template support

The PhoneGap Desktop needs a few small changes to the template object in package.json.

add an index to template so that we can set a display / sort order of the templates in the Desktop App.
update the template descriptions to match the copy seen in the following up mockup (right image).
add a name property so that the Desktop app can display a user friendly name for each template

Example of changes to template object in package.json
    "hello-world": {
      "index":"0",
      "name":"Hello World",
      "description": "A very simple app, built on top of the blank template.",
      "npm": "phonegap-template-hello-world"
    }

Another solution which would require less manual updating of template index would be to store the templates in an array in package.json.
template: [
  {
    name: "Hello World",
    description: "A very simple app, built on top of the blank template.",
    npm: "phonegap-template-hello-world"
  },
 {
    name: "Snotify",
    description: "A full example app with words to add to the description.",
    npm: "phonegap-template-snotify"
 }
]

+1 to an array, but call it 'templates'
name and description are duplicate info from the package.json of the actual template, so I would worry about out of sync info.
In prep for search I would default the ui for an empty description and make name be the id (npm) if name is empty.
Versioning is also important, maybe it should be
npm<EMAIL_ADDRESS>so you always get a known to work template for ones that we recommend.

Yeah, currently we don't use any version pinning for templates. This has caused issues for us in the past when a template has changed and the newest version of that template wasn't compatible with the Desktop App.

getTemplateInfo method will need to be changed to accommodate the new JSON structure for templates.
addTemplates method also needs to be modified to parse the new JSON structure for templates.


fix: Wrong event URL is being shared

Fixes #1832

Build is failing

Build is failing
Build successful.


autocomplete tags on a sketch group/member expressions in the lsp

or any member expression should work w autocomplete

This is quite a bit more complex than #4752 because it needs info from execution rather than just parsing (and given that during completion the program is unlikely to compile, this is tricky!). This would be easier with some static analysis, but either way I think it is a post-1.0 thing.

ah okay yeah i tried too but wanted to make sure i wasn't missing something


Angular CLI 1.6.1 Requires NPM Install after ng generate universal

feel free to close as I'm not providing the boilerplate info, but here's the issue and solution:
Issue:

install angular-cli 1.6.1 (and all peer deps)
ng new <name>
cd <name>
As instructed: ng generate universal <name>
ng serve
Get err that http isn't there
Install http
ng serve
issue persists

Solution:
within the generated project folder ./<name>, run npm install
now ng serve works

Thanks for reporting this issue. This issue is now obsolete due to changes in the recent releases. Please update to the most recent Angular CLI version.
If the problem persists after upgrading, please open a new issue, provide a simple repository reproducing the problem, and describe the difference between the expected and current behavior.


Support  element in RNC schemas used to validate EPUB 3 HTML content

http://www.w3.org/html/wg/drafts/html/master/grouping-content.html#the-main-element
As the EPUB 3.0 specs is based on the HTML 5 specs:
http://www.idpf.org/epub/30/spec/epub30-contentdocs.html#sec-overview-relations-html
it would make sense to support <main> as an element in the RNC schemas used to validate the HTML content from the EPUB 3 containers.

Thanks for the fix @rdeltour :+1:


Input delay when editing large/complicated documents with preview active

Describe the bug
Documents that are large and or have lots of moving parts slow down the editor when the previewer is active. There is a noticeable delay between pressing a key and seeing the resulting character on screen. Note that this is the editor window that has higher input latency.
Expected Behavior
I'd expect the preview window to slow down as the document becomes more complex (more processing is done), but input latency should still be the same for the editor window.
Package/Software version:
VSCode version(Help -> About):
Version: 1.94.2 (user setup)
Commit: 384ff7382de624fb94dbaf6da11977bba1ecd427
Date: 2024-10-09T16:08:44.566Z
Electron: 30.5.1
ElectronBuildId: 10262041
Chromium: 124.0.6367.243
Node.js: 20.16.0
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.22631

Tinymist extension version: v0.11.32. I'm using the bundled tinymist.
Additional context
I managed to reproduce the bug with the following example:
#import "@preview/wordometer:0.1.2": word-count, total-words
#show: word-count
#let total = [
  #set align(center)
  #box(stroke: black, inset: 5pt, radius: 5pt, [Word Count = #total-words])]

#lorem(500)

// type something here to see delay
The quick brown fox jumpst over the lazy dog
#total

Make sure the preview is active and you should see input delay. If not, try increasing the argument to the #lorem() function.
Note that it isn't the wordometer package causing this exactly, but the processing required to count the words seems to slow down the editor. I've also noticed this occurring without the wordometer package.
I imagine updating the preview is a "blocking" operation for some reason, preventing the vscode window from updating until the preview does.

previous issue: https://github.com/Enter-tainer/typst-preview/issues/245


PSP 1000 doesn't show selection square in challenge mode

It was running out of memory, because the chunk size for SDL mixer was set too large.


rabbitmnq: Can't declare binding with routing key

I'm using org.testcontainers:rabbitmq 1.17.1 with Spring Boot 2.6.7.
I'm trying to create a test container with a binding with a routing key:
  private static final String RABBITMQ_VHOST = "mo_messaging";
  private static final String RABBITMQ_USER = "hermesmo";
  private static final String RABBITMQ_EXCHANGE = "inboundExchange";
  private static final String RABBITMQ_QUEUE = "ss7InboundQueue";
  @Container
  private static final RabbitMQContainer RABBIT_MQ_CONTAINER =
      new RabbitMQContainer(DockerImageName.parse("rabbitmq:3.7.25-management-alpine"))
          .withVhost(RABBITMQ_VHOST, true)
          .withUser(RABBITMQ_USER, "password")
          .withPermission(RABBITMQ_VHOST, RABBITMQ_USER, ".*", ".*", ".*")
          .withExchange(RABBITMQ_VHOST, RABBITMQ_EXCHANGE, ExchangeTypes.TOPIC, false, false, true,
              Collections.emptyMap())
          .withQueue(RABBITMQ_QUEUE)
          .withBinding(RABBITMQ_EXCHANGE, RABBITMQ_QUEUE, Collections.emptyMap(), "ss7", DestinationType.QUEUE.name());

This fails. The (extensive) log shows an error:
15:20:43.585 [main] ERROR 🐳 [rabbitmq:3.7.25-management-alpine] - Could not execute command [rabbitmqadmin, declare, binding, source=inboundExchange, destination=ss7InboundQueue, routing_key=ss7, destination_type=QUEUE, arguments={}]: Traceback (most recent call last):
  File "/usr/local/bin/rabbitmqadmin", line 1150, in <module>
    main()
  File "/usr/local/bin/rabbitmqadmin", line 494, in main
    method()
  File "/usr/local/bin/rabbitmqadmin", line 733, in invoke_declare
    self.post(uri, json.dumps(upload))
  File "/usr/local/bin/rabbitmqadmin", line 529, in post
    return self.http("POST", "%s/api%s" % (self.options.path_prefix, path), body)
  File "/usr/local/bin/rabbitmqadmin", line 609, in http
    raise Exception("Received response %d %s for path %s\n%s"
Exception: Received response 500 Internal Server Error for path /api/bindings/%2F/e/inboundExchange/Q/ss7InboundQueue
b''

When I use
.withBinding(RABBITMQ_EXCHANGE, RABBITMQ_QUEUE);

this fails with
15:31:19.997 [main] ERROR 🐳 [rabbitmq:3.7.25-management-alpine] - Could not execute command [rabbitmqadmin, declare, binding, source=inboundExchange, destination=ss7InboundQueue]: *** Not found: /api/bindings/%2F/e/inboundExchange/q/ss7InboundQueue

Am I doing something wrong or is this a bug?

Hi @oneiros-de
I would assume ExchangeTypes.TOPIC value is topic and DestinationType.QUEUE.name() is queue? I tried with QUEUE and got the same error, using it with lowercase the stacktrace is not displayed anymore.
I can see that you the queue and binding will not work for you because the exchange already belongs to a vhost. So, to make it work everything should be in the vhost.
As a workaround you can run rabbitmqadmin commands just like thiscontainer.execInContainer("rabbitmqadmin", "list", "queues").getStdout() in order to create a queue and binding in the same vhost where the exchange is.

I've changed the code to lowercase the constants:
.withExchange(RABBITMQ_VHOST, RABBITMQ_EXCHANGE, ExchangeTypes.TOPIC.toLowerCase(Locale.ROOT), false, false, true,
              Collections.emptyMap())
          .withQueue(RABBITMQ_QUEUE)
          .withBinding(RABBITMQ_EXCHANGE, RABBITMQ_QUEUE);

but it still fails:
10:36:28.358 [main] ERROR 🐳 [rabbitmq:3.7.7-management-alpine] - Could not execute command [rabbitmqadmin, declare, binding, source=inboundExchange, destination=ss7InboundQueue]: *** Not found: /api/bindings/%2F/e/inboundExchange/q/ss7InboundQueue

I'm following the pattern from RabbitMQContainerTest.shouldStartTheWholeEnchilada

Not sure if you read my previous comment or it was not clear enough

I can see that you the queue and binding will not work for you because the exchange already belongs to a vhost. So, to make it work everything should be in the vhost.
This is the reason why the second attempt using .withBinding(RABBITMQ_EXCHANGE, RABBITMQ_QUEUE); didn't work

RabbitMQContainerTest.shouldStartTheWholeEnchilada doesn't add vhost to the exchange as your code suggest.
.withExchange(RABBITMQ_VHOST, RABBITMQ_EXCHANGE, ExchangeTypes.TOPIC.toLowerCase(Locale.ROOT), false, false, true,
              Collections.emptyMap())

If the RABBITMQ_VHOST is removed there then it should work with the queue and the binding.
I've submitted #5348 in order to add useful methods to deal with this in the future.

the new methods to create exchange and binding were released with 1.17.2


Update audit.md

Fix format.

This change is

@jaredbhatti 👋 Do we want to keep this PR open with do-not-merge or close it? Can you say a little more about the do-not-merge?

Should be fine to merge. Sorry, I had flagged this as a file that was going to be worked on during the Melborne docs sprint and then didn't update it. :(


Ability to change units/measurements

I love the Tronity eco system and this integration looks like a fantastic start, however, being from the UK I need to be able to change KMs to Miles in the displayed information, is this something that can be done in the background as a workaround?

You can change the display units in the HA dashboard.
Click on the card item you want to change, click on the Cog icon, and then change the "Unit of Measurement" ("km" to "mi" in the case you mentioned)

Excellent thanks, obviously didn't spot that. Definitely better that the Node-Red route, I have been using that too


[0.12.0-alpha.4] Zoom out shortcut is broken.

I am using the alpha version because of the synctex issue. (PyCharm crashed occasionally)
On this version, 0.12.0-alpha.4, the zoom-out("Decrease the document scale") shortcut is broken.
I mapped zoom-in and out with "Ctrl-scroll up" / "Ctrl-scroll down"
While zoom-in("Increase ...") works, the zoom-out shortcut only works when the mouse is on the editor pane.

Hi. I can reproduce this on version 0.11.1 - scroll-down will magnify unless the cursor is in the search bar :)

Works for me now, so I think this will be fixed in the next version


Remove technical friction between multiple teams

Parent objective:  #4
Progress: 0%

[ ] [P0] Introduce monthly empathy sessions or other mechanism where different teams get to try other teams' tools

Q2 status: Not done at all, we improved definition and moved this over to Q3.


React Native / RN Web support

Great package. Wondering if there are plans to support React Native (or Web) similar to how actions, knobs and notes addons support it.

Unfortunately, from what I see from SB docs and addon-ondevice-knobs' source code, we cannot reuse existing components (= react-dom components). Since there is an option to run non-onDevice-addons, I have no plan to implement it by myself, currently 😔 Managing same purpose multi codebase is hard...
For RN Web, it should work until you use a Storybook for React (or Vue, React... every framework other than RN).


Removed the line

Where it says "it is marked 'beta' in the console
Summarize the change in the pull request title
Describe your change, specifically why you think it's needed.
Fixes #Issue_Number (if necessary)

@kerimhanif : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off
Once merged, this should be live with the next daily publishing process. Right now that should be tomorrow (Friday, 27 September) around 11:00 Pacific time. No further action needed from you.

fixes #1877


cookie example app crashes

cookie example app crashes
{[{reason,{badmatch,false}},{mfa,{toppage_handler,init,2}},{stacktrace,[{cowboy_req,filter,2,[{file,"src/cowboy_req.erl"},{line,1265}]},

upd: markdown_middleware doesn't work too
Error in process <0.161.0> on node<EMAIL_ADDRESS>with exit value: {{badmatch,[]},[{markdown_converter,execute,2,[{file,"src/markdown_converter.erl"},{line,9}]},{cowboy_protocol,execute,4,[{file,"src/cowboy_protocol.erl"},{line,428}]}

Right, there's a bug in the new match code.

Rather the example is the one that has a bug. :-)

OK the cookie example is fixed, and the markdown_middleware example is not broken (see its README). Closing, thanks!


process shell special chars in json for container command and exec

this is caught by a test case of hyper, and will push the test case to hyper once this pr is merged.

please check if https://github.com/hyperhq/hyperstart/pull/37 resolve your problem.

as hyperhq/hyperstart#37 solved the problem, this pr could be closed

\n \r \t ... are still handled wrong.


Swiper downloading both WEBP and PNG when picture tag is used as swiper-slide.

This is a (multiple allowed): bug possibly or maybe lack of picture tag support

Swiper Version: 4.5.0
Platform/Target and Browser Versions: macOS, Chrome
Live Link or JSFiddle/Codepen or website with issue: https://motolog.app

What you did
I have a slide like this:

    <picture>
        <source
                type="image/webp"
                srcset="assets/img-webp/web_6_360w.webp 360w,
             assets/img-webp/web_6_720w.webp 720w,
             assets/img-webp/web_6_1080w.webp 1080w,
             assets/img-webp/web_6.webp 1440w"
                sizes="(min-width: 1200px) 25vw, (min-width: 768px) 33vw, 100vw"/>
        <source
                type="image/png"
                srcset="assets/img/web_6_360w.png 360w,
             assets/img/web_6_720w.png 720w,
             assets/img/web_6_1080w.png 1080w,
             assets/img/web_6.png 1440w"
                sizes="(min-width: 1200px) 25vw, (min-width: 768px) 33vw, 100vw"/>

    </picture>

The WebP is downloaded first, but then later on PNG is also requested.
It does not happen every time, but "Empty Cache and Hard Reload" can force it.
It seems that the initial slide is not affected by this.
Here is the stack trace:

Expected Behavior
I would expect only the WEBP version of the image to be used.
Actual Behavior
The WEBP is used, but later on swiper.js is pulling also PNG.
I am no JS expert, please excuse me if there is something obvious that I am missing here.
Thanks for your great work.

Same problem on 4.5.0 :/

Same problem for me, it's really adding to the page weight, is there a fix in sight?


Provide a migration path to using Events for Trace data

Is your feature request related to a problem? Please describe.
Data Prepper's existing Trace Analytics source and processors operate on ExportTraceServiceRequest records. Each of these ExportTraceServiceRequest objects contains multiple spans. With the new Event model, the Trace Analytics source and processors should operate on spans instead.
The current work to migrate to spans changes the way that the buffer behaves. With this change, the buffer will need to have many more records in it. Each record is smaller and thus the overall buffer size in MB should be the same. But, the buffer count does need to change.
If Data Prepper releases with the new Event model, then existing pipelines will experience a performance degradation which we have measured to be about half the throughput. Pipeline authors must reconfigure their pipeline to get back the original throughput.
Because this is somewhat of a breaking change, Data Prepper should have a migration path toward using the new model.
Describe the solution you'd like
Provide a migration path for existing Data Prepper pipelines to move to the new model.

Add a new otel_trace_raw processor which operates on the new Event model.
Keep otel_trace_raw_prepper on the old model.
Add a record_type field to otel_trace_source to allow it to send out Events instead of the old model.

Here is a conceptual pipeline (shortened for brevity):
otel-trace-pipeline:
  source:
    otel_trace_source:
      record_type: event
  buffer:
    bounded_blocking:
       # Original recommendation of 512, multiplied by 20
       buffer_size: 10240
  sink:
    - pipeline:
        name: "raw-pipeline"
    - pipeline:
        name: "service-map-pipeline"
raw-pipeline:
  source:
    pipeline:
      name: "otel-trace-pipeline"
  buffer:
      bounded_blocking:
         # Configure the same value as in otel-trace-pipeline
         buffer_size: 10_240
  processor:
      # This used to be the otel_trace_raw_prepper.
    - otel_trace_raw:
  sink:
    ...

Describe alternatives you've considered (Optional)

Require pipeline authors update their pipeline. This would not be a good experience and I don't think we should take this approach.
Force the migration in Data Prepper 2.0. Pipeline authors would need to make changes to support Data Prepper 2.0. I think having a migration path is more ideal.

Additional context
Related issue: #546
Existing work: https://github.com/opensearch-project/data-prepper/tree/maint/546-migrate-trace-analytics-to-event-model

Modules to be migrated from migration branch to main branch step by step:

[ ] event model
[ ] otel-trace-raw-processor and otel-trace-group-processor
[ ] otel-proto-common (codec): can be done in parallel with the above step
[ ] service-map-stateful: accept both Event and ExportTraceServiceRequest
[ ] otel-trace-source: buffer accept both Event and ExportTraceServiceRequest
[ ] peer-forwarder: accept both Event and ExportTraceServiceRequest
[ ] add e2e test to cover Event model trace pipeline compatibility with current main branch pipeline

@chenqi0805 , Thank you for putting these tasks together. Please add them in the Issue Description. If you do, GitHub will pick them up and report on them within boards.
Also, you said that we could migrate from the migration branch to main branch in different steps. Why not just merge in that branch and then start making the other enhancements as PRs directly into main?

@dlvenable Thanks for the comment.

Why not just merge in that branch and then start making the other enhancements as PRs directly into main?

Essentially it is merging in that branch. But I am just doing it module by module to make sure the current trace ingestion flow does not break. Meanwhile, I can modify certain modules to meet the requirements of this issue. (e.g. otel-trace-source, service-map, peer-forwarder) If we forcefully merge that branch into main, there will be a lot of clean-ups to resolve conflicts and there will also be a lot of rework afterwards. (e.g. otel-trace-raw-prepper from migration branch still has to be renamed/refactored to coexist with the counterpart in main branch)


Working with hidden DIVs

This is not an issue, is more like a question
How can some one work with the map when its loaded to a hidden DIV then made apear via JQUERY?

Hey, here is an update: in version 0.1.12 I added new method which allows to update gmap widget.
Let's say you would like to use locationpicker in modal dialog:
$('#us6-dialog').on('shown.bs.modal', function() {
    $('#us3').locationpicker('autosize');
});

Checkout examples folder for details.


Refactor sources and extras handling on packages and dependencies

Resolves: https://github.com/python-poetry/poetry/issues/2545
Resolves: https://github.com/python-poetry/poetry/issues/2494
Resolves: https://github.com/python-poetry/poetry/issues/2300
Resolves: https://github.com/python-poetry/poetry/issues/2080
Resolves: https://github.com/python-poetry/poetry/issues/1609
This is a preliminary work to solve the referenced issues on Poetry's end.
This PR refactors and improves the way packages and dependencies are compared to each other, by taking into account their source and their features/extras.
This the first step of a complete refactor of packages and sources that will be done in the 1.2 release of Poetry.

[x] Added tests for changed code.
[ ] Updated documentation for changed code.

@sdispater LGTM one comment for offline discussion maybe is https://github.com/python-poetry/poetry-core/pull/78/files#r489371619


crash in the forge server

crash
xnet-1.4.0
forge server version 2422
mc 1.10.2

I need more info. To what blocks are you connecting? When does this happen?

before this happen ,I have another crash by Integrated Dynamics, then I Restore the region ,then it cause this crash.
blocks are come from this mods
enderio
rftools
ActuallyAdditions
Calculator
extrautils2
appliedenergistics2


Any invocation of Silicon causes the filetype to pull in random characters

The Bug
Currently invoking Silicon causes weird strings to fill filetype as shown in the video below:
https://user-images.githubusercontent.com/58627896/221454604-52793df8-1cea-4b1f-ad54-eb9e0df1a536.mp4
In the top right, on the winbar, it displays the filetype which seems to be wholly random after invocation. Attempting to use Neovim after a Silicon invocation leads to very weird behavior. This occurs both with writing to a file and using the copy functionality.
Now, manually setting the filetype back to the original filetype fixes the issue. I'm unsure where this bug is coming from, but I'm assuming there's an open write somewhere that wasn't properly dropped/closed.
System Information
Nvim Version Info:
NVIM v0.9.0-dev-1051+g1d8b77da6
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3
Compilation: /usr/bin/gcc-10 -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wdouble-promotion -Wmissing-noreturn -Wmissing-format-attribute -Wmissing-prototypes -Wno-unused-result -Wimplicit-fallthrough -Wvla -fno-common -fdiagnostics-color=always -fstack-protector-strong -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_TS_HAS_SET_MATCH_LIMIT -DNVIM_TS_HAS_SET_ALLOCATOR -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DMIN_LOG_LEVEL=3 -DNVIM_UNIBI_HAS_VAR_FROM -I/home/runner/work/neovim/neovim/.deps/usr/include/luajit-2.1 -I/usr/include -I/home/runner/work/neovim/neovim/.deps/usr/include -I/home/runner/work/neovim/neovim/.deps/usr/include -I/home/runner/work/neovim/neovim/.deps/usr/include -I/home/runner/work/neovim/neovim/.deps/usr/include -I/home/runner/work/neovim/neovim/build/src/nvim/auto -I/home/runner/work/neovim/neovim/build/include -I/home/runner/work/neovim/neovim/build/cmake.config -I/home/runner/work/neovim/neovim/src -I/home/runner/work/neovim/neovim/.deps/usr/include -I/home/runner/work/neovim/neovim/.deps/usr/include -I/home/runner/work/neovim/neovim/.deps/usr/include

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/share/nvim"

Run :checkhealth for more info

Output of uname -a:
Linux orion 6.1.12-arch1-1 #1 SMP PREEMPT_DYNAMIC Tue, 14 Feb 2023 22:08:08 +0000 x86_64 GNU/Linux

Hash version of silicon.nvim that was used (should be the latest):
da4c153806a61aa231a153ac42524ffe723908c5
-> Short: da4c153 (HEAD, origin/main, origin/HEAD) refactor: fix clippy warnings

I also ensured I rebuilt silicon.nvim manually via bash ~/.local/share/nvim/lazy/silicon.nvim/install.sh
silicon.nvim config w/ Lazy:
{
    "krivahtoo/silicon.nvim",
    build = "./install.sh build",
    config = function()
        require("silicon").setup({
            font = "Hack=20",
            theme = "Monokai Extended",
            background = "#87F",
            pad_vert = 60,
            pad_horiz = 40,
            line_number = true,
            window_title = function()
                return vim.fn.fnamemodify(vim.fn.bufname(vim.fn.bufnr()), ":~:.")
            end,
        })
    end,
}

Link to my latest relevant configuration:
See my neovim configuration here.
PR
I am more than happy and willing to get a PR out to fix this issue, but I'm unsure as to where this problem is even appearing from. It may be purely stemming from me being on Linux for all I know. Any pointers to the source of the problem are welcome, I'm willing to fix this if I can get an idea of where the filetype might be getting nuked from.

Update, I have determined this is likely a bug in nvim_oxi. Commenting everything within the save_image function up to the oxi invocation to get the filetype option:
let ft: oxi::String = Buffer::current().get_option("filetype")?;

still leads to this odd behavior. Upon commenting the get_option line (L39) the filetype weirdness no longer occurs. Seems oxi is screwing up buffer mem or something like that.


Remove v1-only fields from v2 accession payload

The initialQuantity and processingMethod fields are meaningless in v2 and
shouldn't be included in the v2 accession payload.

Current dependencies on/for this PR:

main

PR #605

PR #606

PR #607   👈

This comment was auto-generated by Graphite.

Graphite Merge Job
Current status: ⏳ Queued to merge
This pull request is currently queued to be merged as part of a stack.
This comment was auto-generated by Graphite.

Job Reference: p2ethxCwfJskv5PPoFvH


By default 12 should be selected in the item per page dropdown on the products listing page.

Terms

[X] Before you openning this issue, i have checked if the issue has already been reported.

Bagisto Version(s) affected
master
Issue Description
By default 12 should be selected in the item per page dropdown on the products listing page, if the customer is trying to shop by category by default 9 is selected.
Preconditions
1. Some categories should be created.
2. At least 12 products should be added to the category.
Steps to reproduce

Go to 'Shop'
Click on 'category in the top left corner.

Expected Result
12 Products should be visible on 1 page. in the listing page.
Actual Result
Only 9 products are listed on the products listing page.
Screenshots

Additional context
No response

I am working on it.


i18n(ko-KR): update vercel.mdx

Description (required)

update vercel.mdx
#10330

Related issues & labels (optional)

Closes #
Suggested label:

Lunaria Status Overview
🌕 This pull request will trigger status changes.

Learn more
By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.
You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

File
Note

ko/guides/deploy/vercel.mdx
Localization changed, will be marked as complete.

Warnings reference

Icon
Description

🔄
The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.


INTEGRATED-868 Added z-index to .integrated-website-block-options.

Can one of the admins verify this patch?


zfs: fix build with Linux >=5.18

Description of changes

Fixes #179551
To make it possible to build ZFS 2.1.5 against Linux 5.18 we have to disable
this specific error condition.  Judging from this comment [1] on the ZFS issue
tracker, upstream doesn't compile with -Werror at all, so it is safe to disable
turning this warning into an error.
[1] https://github.com/openzfs/zfs/issues/13622#issuecomment-1175311028
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

So maybe the fix I propose is not even necessary anymore. Has the staging iteration containing that fix already landed? Then we should also backport #175433 to staging-22.05 otherwise this will remain broken on stable NixOS.

So maybe the fix I propose is not even necessary anymore. Has the staging iteration containing that fix already landed? Then we should also backport #175433 to staging-22.05 otherwise this will remain broken on stable NixOS.

Looks like you figured it out, we have it in staging, while it's missing in 22.05.

Superseded by https://github.com/NixOS/nixpkgs/pull/180275


Spell checking using browser spell checker

If the DIVs and SPANs is explicitly set to contenteditable="true" (instead of inherited) you get a red squiggly under badly spelled words in the monaco editor. The context menu hides the suggestions - but if that is removed/disabled - the word can be replaced; but even without the replace - the spell lint would be very nice.
Such a "feature" would be VERY nice for .TXT, .MD etc... especially with Chromes "new" enhanced (opt. in) spell checker that also "checks the language".

Hi @AndersMad - do you have a patch for this or know what the implications are for editing, cursor movement, and text replacement? I'm very interested in having native spell-checking enabled while still using Monaco…

Hi @dmsnell, no - I quickly concluded that this would take some inner workings for vscode and I "only" needed it for some MD editing.. But please do upvote it here - I'd think/guess that it would be fairly easy to achieve for a core developer.

Thanks for the quick response. I was curious because I assumed the opposite - that it might involve some major overhauls 😄
It was surprising to me to find that it's not possible. I hope there is something we're all missing.

My strategy is to do the spell checking via a language server. I have to admit that it is a bit clumsy. I also have to implement the add to dictionary function. It would be great if monaco could leverage built-in spell checkers in browsers.

@elliott-wen I am facing the same issue of trying to implement spell checking to a monaco in a browser. Mind sharing how you ended up solving that?

@elliott-wen I am facing the same issue of trying to implement spell checking to a monaco in a browser. Mind sharing how you ended up solving that?

Really wishing spell checking was available. 👍🏻 hope this feature lands soon.

I suport this suggestion, Not having access to a spellcheck when writing the readme.md is a bad experience.

+1 on adding spell checking using built-in browser spell checking. Being able to use LanguageTool or Grammarly when editing markdown or plain text would really make Monaco a lot more useful.

Does it have a plan to implement spell-checking in Monaco? I see codemirror supports the Grammarly web extension

I second the spelling check feature as it would be really helpful for those who use monaco for writing natural languages like documents and comments.
And I agree with @AndersMad  that making Monaco compatible with Grammarly is not that hard for core developer. Editors like codemirror naturally support grammarly.

I created a simple library to address this need.
Demo: https://purocean.github.io/monaco-spellchecker/
Code: https://github.com/purocean/monaco-spellchecker/

I created a simple library to address this need.
Demo: https://purocean.github.io/monaco-spellchecker/ Code: https://github.com/purocean/monaco-spellchecker/

Great work and I'll definitely give it a shot.
Can you explain a little bit (either here or in the project readme) how the new library works?

I created a simple library to address this need.
Demo: https://purocean.github.io/monaco-spellchecker/ Code: https://github.com/purocean/monaco-spellchecker/

Great work and I'll definitely give it a shot.
Can you explain a little bit (either here or in the project readme) how the new library works?

I wanted to introduce spell-checking functionality into my application, yn. After researching available solutions, I couldn't find a suitable one, so I decided to implement my own. I spent an afternoon working on this, and the result is a simple version of spell-checking. To achieve this, I used Typo.js for the spell-checking logic and integrated it with Monaco Editor using the monaco.editor.setModelMarkers API for visual decorations and monaco.languages.registerCodeActionProvider for providing spelling corrections.
This is just a basic implementation, and there may be other issues yet to be discovered and addressed.

Thanks for the clarification. Is it possible to allow 3rd-party for spelling checking and correction?
There are a lot spelling checking plugins, e.g. grammarly, and chrome itself has its own spelling checking and correction.
It would be easier and more focused to just exposed the monaco text to 3rd-party and let them do the checking and correction.
The current situation is that monaco seems do not expose its text and 3rd-party tools cannot detect/correct the spelling errors.


Adding floyd warshall allpairs algorithm

Adding floyd warshall algorithm addressing issue #17

The problem is with bubble sort algorithm test. AllPairs tests are working


Bump Kubernetes python version

This fixes the dependency issues we are hitting with the recent image builds: https://quay.io/repository/openshift-scale/kraken.


[CT-401] Minor Changie Quality of Life Updates

Add an example command to the README so it's more clear what's expected to be input (specifically <version>)
Add explicit note to commit all deleted and modified files from changie
Modify GHA to run when label is added, not just when files are pushed

These could also be knocked out
#4906
#4864
This should be done after the 1.1 release
#4789

Convert all the 1.1 release changelog files into YAML files to make the release process much easier.


Backport "Add sources of synthetic classes to sources jar" to LTS

Backports #20904 to the LTS branch.
PR submitted by the release tooling.
[skip ci]

No regressions detected in the community build up to backport-lts-3.3-21186.
Reference


Thumbnail is not working

file upload is working but I am unable to show the thumbnail. Can some one please paste the working thumbnail code?

I am using angular 1.6

It is working. I made a mistake in my code. Hence closing this. Thank you


WIP - Convert to ES6 and JSX

Converted code base from CoffeeScript to ES6 and JSX, and upgraded to React 16. Fix #484, #278 and #180.
This is still work in progress; however, given that it is a very intrusive change, I hope to solicit comments as soon as possible. Also, it seems rather stable and mostly functional to me, but the conversion process has been lengthly and I certainly introduced a few small bugs during the way; testing in multiple environment is therefore desirable.
At present, I consider that I have the following items to complete before this can be considered for merging to master:

[x] Fix the option panel in React GUI (it currently doesn't show)
[x] Remove superfluous return statements added almost everywhere by the decaffeination process
[x] Fix remaining IIFE blocks (that is, for loops in synthetic functions) introduced by the decaffeination process
[x] Fix export statements to avoid duplication
[x] Fix usages of Array.includes (several were added by the decaffeination process, also see #503)
[ ] Make the code generally look more like native JavaScript code
[ ] Introduce Webpack and make it generates an all-in-one distribution file, to be used for demo pages
[ ] Update Read Me file appropriately

Great idea. Latest is fine!
On Thu, Jun 28, 2018, at 3:22 PM, James Watkins-Harvey wrote:

@mjameswh commented on this pull request.

In demo/core_demo.html[1]:

@@ -124,8 +124,8 @@ style="display: inline-block; border: 1px solid
yellow">   -     -

 +
Fair enough... Then I will modify the gulp file to automatically
generate generate those library files, based on the versions specified
in the package file. Or we could even generate an all-in-one
distribution file, including React and others... Do you need to be
able to test be demo with multiple versions or having the latest
version only is enough?> — You are receiving this because you commented. Reply to this email
directly, view it on GitHub[2], or mute the thread[3].

Links:

https://github.com/literallycanvas/literallycanvas/pull/511#discussion_r199004508
https://github.com/literallycanvas/literallycanvas/pull/511#discussion_r199004508
https://github.com/notifications/unsubscribe-auth/AACclU7rC_FjkQicBxYiurBzfw4CIl4Nks5uBVcegaJpZM4U8Hbn

Coll This fixing localisation bug also.

Just a note, I wont be able to work on this for the next few days, due to a medical issue.
@irskep If you prefer, feel free to apply this PR to a distinct branch (say... 0.6.x), or even, create a branch 0.5.x from master, and apply the PR directly to master. This will certainly encourage other people to use this code base for further contributions, and hopefully, some might even give help on getting release 0.6.0 ready ;)

Just a note, I wont be able to work on this for the next few days, due to a medical issue.
@irskep If you prefer, feel free to apply this PR to a distinct branch (say... 0.6.x), or even, create a branch 0.5.x from master, and apply the PR directly to master. This will certainly encourage other people to use this code base for further contributions, and hopefully, some might even give help on getting release 0.6.0 ready ;)

👍 This would be cool

Unfortunately, due to personal reasons, I have missed my opportunity window for working on this project. I have no idea now when I will be able to put more concrete efforts on this. Yet, both decaffeination and the build process review should be pretty complete.
I don't remember exactly, but I think the main outstanding issue is the fact that the old build process used a precompiler to determine either to build the core or the gui variant. I have not found how to adapt this process to the webpack build system, and I personally think that it would be preferable not to do so. It should be easy and much more desirable to adapt the project's structure so that core and gui are put in distinct subdirectories and gui is built atop the core library (as intended in #377).
Anyway, if @ggomez91 is willing to continue the effort, then please don't refrain. Also, if you have questions, I might still be able to assist.

I'd love to see this merged. What's the biggest outstanding issues stopping that. Maybe I can help out.
If we leave webpack as is, is this the only thing to do?

It should be easy and much more desirable to adapt the project's structure so that core and gui are put in distinct subdirectories and gui is built atop the core library (as intended in #377).

I haven't checked the branch out, but I think it's correct; someone needs to tease apart the code into a "core" library, and a "gui" library, which have the right set of dependencies and APIs.
There are real-world users of the core build, but another option would be to bump the version number and temporarily remove support for it.

Would you be against the core library being in a separate repo? That way we wouldn't have to figure out how to mix old and new and it could just pull it in as a dependency. You could still make that dependency available in the same path so you don't break backward compatibility.

Actually I should play around with what's here first before making any suggestions.

I would expect the core build to be moved to a new package in a separate repo.

Ah perfect. I'll see if I can get familiar with the code and see how the dependencies map out.

@irskep how about you create an empty repo in this org called literallycanvas-core so I have something to make a PR to.

Good idea. I pushed a clone of the whole repo here, so history can be maintained: https://github.com/literallycanvas/literallycanvas-core

I shouldn't need any css in the core, should I? And all the demo stuff, are you ok with that just being in the main repo?

Yeah, core should be more of a "drawing view construction kit" than "already-usable drawing view GUI." No CSS, no images, no demos.


When accessing minio buckets, it is a good idea to provide the ability to skip SSL checks. Just add tls-insecure-skip-verify=true to the end of the https request

What would you like to share?
When accessing minio buckets, it is a good idea to provide the ability to skip SSL checks. Just add tls-insecure-skip-verify=true to the end of the https request
Additional information
No response

LinK https://github.com/openimsdk/helm-charts/issues/9


Peek/Vorschau

Microsoft PowerToys version
0.70.1
Utility with translation issue
General
🌐 Language affected
German
❌ Actual phrase(s)
... und drücken Sie die Verknüpfung ...
✔ Expected phrase(s)
... und drücken Sie die Tastenkombination ...
ℹ Why is the current translation wrong
It's simply the wrong word.

https://microsoft.visualstudio.com/OS/_workitems/edit/44976382 /loc

this should be fixed in 0.71.  Could you please verify?  /needinfo


Windows 11 support

Does this library support Windows 11

In my brief tests it worked flawless (even without the proper PDB from the Microsoft symbol store). Once Windows 11 is released we will also officially support it.


Need help with add to collection

I'm trying to add a single media item to collection
{
    "collected_at":"2020-04-17T18:30:00.000",
    "media_type":"bluray",
    "movie":{
        "ids":{
            "tmdb":454626
        }
    },
    "resolution":"uhd_4k",
    "3d":"true"
}

and I'm getting a reponse
{
   "added":{
      "movies":0,
      "episodes":0
   },
   "updated":{
      "movies":0,
      "episodes":0
   },
   "existing":{
      "movies":0,
      "episodes":0
   },
   "not_found":{
      "movies":[

      ],
      "shows":[

      ],
      "seasons":[

      ],
      "episodes":[

      ],
      "people":[

      ]
   }
}

Thanks!

The data format is incorrect. Check out https://trakt.docs.apiary.io/#reference/sync/add-to-collection/add-items-to-collection which has example code.

{
  "movies": [
    {
      "collected_at":"2020-04-17T18:30:00.000",
      "media_type":"bluray",
      "title": "Batman Begins",
      "resolution":"uhd_4k",
      "3d":"true",
      "year": 2005,
      "ids": {
        "trakt": 1,
        "slug": "batman-begins-2005",
        "imdb": "tt0372784",
        "tmdb": 272
      }
    }
  ]
}

is adding a movie named ARIEL (1988) instead of Batman Begins. Tried removing the TRAKT ID = 1 from request body and Batman Begins gets added.

Yes, that is correct since trakt ID 1 is for the movie Ariel. It is going to use that first to find a match, then fall back to the other IDs.


Error with object 'ScanDetails' and 'id' attribute

Hello,
It seems that following the latest updates several problems have appeared.

There is a print in the tenable_io>api>scan.py file line 71.

When you use the scan_helper.id(1234) function the program will call scan_api.details(1234) who will return a ScanDetails object. On line 57 of the file tenable_io>helpers>scan.py it looks as if the 'id' attribute of the ScanDetails object is requested. When we look in the models.py file it seems that this object does not have this attribute.

Is it an error or a misunderstanding?
I'm using Python 2.7.
Thank you ! =)

Good catch on both points, I'll have a fix up shortly.

Thanks @tenableAndrew 👍

I am also seeing this and it's blocking some work. Great Find @valoulou !!

Thanks @cberg2048 👍

@valoulou let me know if the latest release (v1.10.1) works out better for you.

@tenableAndrew Yes it works for me ! 👍 🎉
Thanks again


no valid “aps-environment” entitlement string found for application

🐛 Bug Report
Firebase iOS installation is not working

I have setup all the things as per mention in documentation, this is working fine in android but not working in iOS, here is POC https://github.com/jitendrajadav/PushNotificationPoC.git
what error I am getting is here:
no valid “aps-environment” entitlement string found for application
Expected behavior
it should not give error it has to get token.
Reproduction steps

Create sample Xamarin application.
Configure firebase plugin as per documentation
Run application.
try to get token here you will get error.

Configuration
Version: 1.x
Platform:

[x] :iphone: iOS
[ ] :robot: Android
[ ] :checkered_flag: WPF
[ ] :earth_americas: UWP
[ ] :apple: MacOS
[ ] :tv: tvOS
[ ] :monkey: Xamarin.Forms

Entitlements are different for release and debug.
production is set.
development may be what is needed.


fix: resolve symbol conflicts in wakelock_plus by updating Pigeon prefix

Updated the Pigeon configuration for wakelock_plus to use a unique ObjCOptions.prefix ("WKP") to prevent symbol conflicts with other plugins such as image_picker_ios.
Changes include:

Modified the Pigeon prefix from "FLT" to "WAKELOCKPLUS" in messages.dart.
Regenerated the Pigeon files to reflect the new prefix.
Cleaned and rebuilt the project to ensure compatibility.

@weitsai Thanks for your contribution. Once the automation goes green, then I'll release a new build.

@weitsai Thanks for your contribution. Once the automation goes green, then I'll release a new build.

Thanks for the update! I'll wait for the automation to complete. Let me know if there's anything else I can assist with.

@weitsai I'm taking over your PR to the finish line, mainly to regenerate the Pigeons.

Ok, thanks!

@weitsai deployed as wakelock_plus and wakelock_plus_platform_interface, versions 1.2.10 and 1.2.2 respectively.