feature : Add max background jobs to configuration

This closes #1292

@bruceqiwang Shouldn't we set the deprecated options here: https://github.com/bruceqiwang/incubator-kvrocks/blob/max_background_jobs_new/src/storage/storage.cc#L130 ? And the following 131 line as well?

i want to rewrite code and checker failed. @PragmaTwice

@torwig when the config is deprecated, all the invalid code need to delete? I will check and delete no used code

@bruceqiwang Yes, you are right, there is no reason to delete that code for now.

Thanks for your contribution. Merging...


Remove extra padding at the end of gif

gif.js was always allocating a full page at the end of the Uint8Array, which results in extra (empty) space at the end of the resulting gif. It seems to work fine for browsers and most things that display gifs, but causes ffmpeg to error when trying to use a gif as the input.
This change allocates only the space needed for all frames, and slice()s out the final page to the cursor.

@jnordberg is there any interest in this change?


Fix thumbnails zoom

Make zoom +1 / +2 on actual ones.

I'd use the zoom//center instead of the bbox for small thumbnails in order to avoid lower zoom levels

maybe adding a config to cdb.Image in order to not use bbox from the vizjson file? like
cartodb.Image(v.url, { override_bbox: true }).size(250, 250)

what do you think @javierarce

Yeah, that was the approach I was thinking of.
BTW, @saleiva, this ticket is a duplicate of https://github.com/CartoDB/cartodb/issues/2348.

Before:

After (zoom +2):

I've just created a ticket to apply the same solution in the new public dashboard.

Can we deploy so we try first in the private one?

Sure, let's do it tomorrow morning. We could use the actual zoom for the visualizations of the public dashboard and the tweaked one (zoom +2) for those in the private dashboard.


Fixes #291

Summary: I have updated nc_to_mmd.py so that a specific error is returned if there is no license attribute in the input NetCDF file.
Related issue: #291
Suggested reviewer(s): @mortenwh
Reviewer checklist:

[ ] The headers of all files contain a reference to the repository license (i.e., "License: This file is part of py-mmd-tools, licensed under the Apache License 2.0 (https://www.apache.org/licenses/LICENSE-2.0)")
[ ] 100% test coverage of new code - meaning:

[ ] The overall test coverage increased or remained the same as before
[ ] Every function is accompanied with a test suite
[ ] Tests are both positive (testing that the function work as intended with valid data) and negative (testing that the function behaves as expected with invalid data, e.g., that correct exceptions are thrown)
[ ] Functions with optional arguments have separate tests for all options

[ ] Examples are supported by doctests
[ ] All tests are passing
[ ] All names (e.g., files, classes, functions, variables) are explicit
[ ] Documentation (as docstrings) is complete and understandable

The checklist is based on the S-ENDA conventions and definition of done (see https://s-enda-documentation.readthedocs.io/en/latest/general_conventions.html). The above points are not necessarily relevant to all contributions. In that case, please add a short explanation to help the reviewer.

Can you fix the flake errors and get the coverage back at 100% as well?

I'll make a new branch for this


Sidecar tests are flaky

The sidecar tests using the new test framework are flaky. This seems to be due to the use of fsnotify in Galley. I am disabling the test and opening this bug to track re-enablement, so that I can land the new refactorings in master.
Once they land, I'll re-enable the tests.

Fixed in https://github.com/istio/istio/pull/11617

Test is still disabled, I am working on getting it back up now

The fsnotify stuff is removed so it should be much more stable now

https://testgrid.k8s.io/istio-postsubmits#integration-local-tests&width=10&sort-by-flakiness=
Tests have been re-enabled and have no flakes, closing this


feat(inline-edit): added inline-edit component

closes #2315 #2321 #2319
This approach provides a flexible, reusable pattern for inline edit rather than baking inline edit into each context.
Note: <dl> is styled by workspace .css. This should be supported by .pf-c-list. Issue is open here: https://github.com/patternfly/patternfly-next/issues/1919

PatternFly-Next preview: https://patternfly-next-pr-2446.surge.sh

@mattnolting @mcarrano the only other thing that I'm seeing is that it's strange to me that the edit link button for  doesn't VISUALLY look left aligned with the content. Is there a modifier of sorts that can be added to remove that 16px of padding attached to the far left of the button in the definition list use case?

(make the pencil+edit flush left to the text)

@maryshak1996 @mcarrano .pf-m-link doesn't have padding, but does have an underline on hover. pf-m-inline modifier removes the padding, but adds the underline on hover. I suggest we avoid creating specific modifiers for such a generic component. Rather that should be handled by a button modifier or utility class (not recommended) as this is a common issue noted in other PRs. Since the padding is invisible, the .pf-m-link button appears to be misaligned.

In the inline edit dl/bulk example, the edit toggle is still visible and it isn't in the designs.

@mattnolting Thanks for updating the example "Bulk edit description list" to move the Save and Cancel buttons inside the toggle group. Can you just add some vertical spacing between the last form field and the buttons so they don't but up against each other?

:gina-evil:

@mcoker @christiemolloy ready for another review

@mattnolting overall this looks great! Left some comments, mainly around CSS scope, but otherwise looking really good 👍


Cache gitreceived based on app ID.

Closes #211
Closes #212

LGTM, make sure you rebase on master before merging.


[ERROR] default_exception_handler: Task exception was never retrieved

Hi All,
I got txtchat running by pip installing from source! However, more often than not I get below error. 1/10 times it works, 9/10 times below error is thrown.
My query is: "give me a quick summary on mars"
Persona: python -m txtchat.agent wikitalk.yml
just installed using:
pip install -U git+https://github.com/neuml/txtai
pip install -U git+https://github.com/neuml/txtchat
Any idea?
2023-03-03 09:42:53,976 [ERROR] default_exception_handler: Task exception was never retrieved
future: <Task finished name='Task-9' coro=<Dispatcher.call_method() done, defined at /Users/XXX/.pyenv/versions/3.8.13/lib/python3.8/site-packages/rocketchat_async/dispatcher.py:22> exception=ConnectionClosedOK(Close(code=1000, reason='Normal closure'), Close(code=1000, reason='Normal closure'), True)>
Traceback (most recent call last):
  File "/Users/XXX/.pyenv/versions/3.8.13/lib/python3.8/site-packages/rocketchat_async/dispatcher.py", line 28, in call_method
    await self._websocket.send(json.dumps(msg))
  File "/Users/XXX/.pyenv/versions/3.8.13/lib/python3.8/site-packages/websockets/legacy/protocol.py", line 635, in send
    await self.ensure_open()
  File "/Users/XXX/.pyenv/versions/3.8.13/lib/python3.8/site-packages/websockets/legacy/protocol.py", line 953, in ensure_open
    raise self.connection_closed_exc()
websockets.exceptions.ConnectionClosedOK: received 1000 (OK) Normal closure; then sent 1000 (OK) Normal closure
2023-03-03 09:42:53,978 [ERROR] default_exception_handler: Task exception was never retrieved
future: <Task finished name='Task-8' coro=<RocketChat.send_message() done, defined at /Users/XXX/.pyenv/versions/3.8.13/lib/python3.8/site-packages/rocketchat_async/core.py:54> exception=ConnectionClosedOK(Close(code=1000, reason='Normal closure'), Close(code=1000, reason='Normal closure'), True)>
Traceback (most recent call last):
  File "/Users/XXX/.pyenv/versions/3.8.13/lib/python3.8/site-packages/rocketchat_async/core.py", line 56, in send_message
    await SendMessage.call(self._dispatcher, text, channel_id, thread_id)
  File "/Users/XXX/.pyenv/versions/3.8.13/lib/python3.8/site-packages/rocketchat_async/methods.py", line 113, in call
    await dispatcher.call_method(msg, msg_id)
  File "/Users/XXX/.pyenv/versions/3.8.13/lib/python3.8/site-packages/rocketchat_async/dispatcher.py", line 30, in call_method
    return await fut
  File "/Users/XXX/.pyenv/versions/3.8.13/lib/python3.8/site-packages/rocketchat_async/dispatcher.py", line 46, in _process_incoming
    raise err
  File "/Users/XXX/.pyenv/versions/3.8.13/lib/python3.8/site-packages/rocketchat_async/dispatcher.py", line 41, in _process_incoming
    await self._process_incoming_event()
  File "/Users/XXX/.pyenv/versions/3.8.13/lib/python3.8/site-packages/rocketchat_async/dispatcher.py", line 49, in _process_incoming_event
    msg = await self._websocket.recv()
  File "/Users/XXX/.pyenv/versions/3.8.13/lib/python3.8/site-packages/websockets/legacy/protocol.py", line 568, in recv
    await self.ensure_open()
  File "/Users/XXX/.pyenv/versions/3.8.13/lib/python3.8/site-packages/websockets/legacy/protocol.py", line 953, in ensure_open
    raise self.connection_closed_exc()
websockets.exceptions.ConnectionClosedOK: received 1000 (OK) Normal closure; then sent 1000 (OK) Normal closure
2023-03-03 09:42:53,980 [ERROR] default_exception_handler: unhandled exception during asyncio.run() shutdown
task: <Task finished name='Task-2' coro=<RocketChat._start() done, defined at /Users/XXX/.pyenv/versions/3.8.13/lib/python3.8/site-packages/rocketchat_async/core.py:31> exception=InvalidStateError('invalid state')>
Traceback (most recent call last):
  File "/Users/XXX/.pyenv/versions/3.8.13/lib/python3.8/site-packages/rocketchat_async/core.py", line 38, in _start
    await self.dispatch_task
  File "/Users/XXX/.pyenv/versions/3.8.13/lib/python3.8/site-packages/rocketchat_async/core.py", line 56, in send_message
    await SendMessage.call(self._dispatcher, text, channel_id, thread_id)
  File "/Users/XXX/.pyenv/versions/3.8.13/lib/python3.8/site-packages/rocketchat_async/methods.py", line 113, in call
    await dispatcher.call_method(msg, msg_id)
  File "/Users/XXX/.pyenv/versions/3.8.13/lib/python3.8/site-packages/rocketchat_async/dispatcher.py", line 30, in call_method
    return await fut
  File "/Users/XXX/.pyenv/versions/3.8.13/lib/python3.8/site-packages/rocketchat_async/dispatcher.py", line 46, in _process_incoming
    raise err
  File "/Users/XXX/.pyenv/versions/3.8.13/lib/python3.8/site-packages/rocketchat_async/dispatcher.py", line 41, in _process_incoming
    await self._process_incoming_event()
  File "/Users/XXX/.pyenv/versions/3.8.13/lib/python3.8/site-packages/rocketchat_async/dispatcher.py", line 49, in _process_incoming_event
    msg = await self._websocket.recv()
  File "/Users/XXX/.pyenv/versions/3.8.13/lib/python3.8/site-packages/websockets/legacy/protocol.py", line 568, in recv
    await self.ensure_open()
  File "/Users/XXX/.pyenv/versions/3.8.13/lib/python3.8/site-packages/websockets/legacy/protocol.py", line 953, in ensure_open
    raise self.connection_closed_exc()
websockets.exceptions.ConnectionClosedOK: received 1000 (OK) Normal closure; then sent 1000 (OK) Normal closure

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/XXX/.pyenv/versions/3.8.13/lib/python3.8/site-packages/rocketchat_async/core.py", line 40, in _start
    connected_fut.set_exception(e)
asyncio.exceptions.InvalidStateError: invalid state
Traceback (most recent call last):
  File "/Users/XXX/.pyenv/versions/3.8.13/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/Users/XXX/.pyenv/versions/3.8.13/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/Users/XXX/.pyenv/versions/3.8.13/lib/python3.8/site-packages/txtchat/agent/__main__.py", line 24, in <module>
    agent()
  File "/Users/XXX/.pyenv/versions/3.8.13/lib/python3.8/site-packages/txtchat/agent/base.py", line 42, in __call__
    self.start()
  File "/Users/XXX/.pyenv/versions/3.8.13/lib/python3.8/site-packages/txtchat/agent/rocketchat.py", line 47, in start
    asyncio.run(self.run())
  File "/Users/XXX/.pyenv/versions/3.8.13/lib/python3.8/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "/Users/XXX/.pyenv/versions/3.8.13/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
    return future.result()
  File "/Users/XXX/.pyenv/versions/3.8.13/lib/python3.8/site-packages/txtchat/agent/rocketchat.py", line 69, in run
    await self.chat.run_forever()
  File "/Users/XXX/.pyenv/versions/3.8.13/lib/python3.8/site-packages/rocketchat_async/core.py", line 29, in run_forever
    await self.dispatch_task
  File "/Users/XXX/.pyenv/versions/3.8.13/lib/python3.8/site-packages/rocketchat_async/core.py", line 38, in _start
    await self.dispatch_task
  File "/Users/XXX/.pyenv/versions/3.8.13/lib/python3.8/site-packages/rocketchat_async/core.py", line 56, in send_message
    await SendMessage.call(self._dispatcher, text, channel_id, thread_id)
  File "/Users/XXX/.pyenv/versions/3.8.13/lib/python3.8/site-packages/rocketchat_async/methods.py", line 113, in call
    await dispatcher.call_method(msg, msg_id)
  File "/Users/XXX/.pyenv/versions/3.8.13/lib/python3.8/site-packages/rocketchat_async/dispatcher.py", line 30, in call_method
    return await fut
  File "/Users/XXX/.pyenv/versions/3.8.13/lib/python3.8/site-packages/rocketchat_async/dispatcher.py", line 46, in _process_incoming
    raise err
  File "/Users/XXX/.pyenv/versions/3.8.13/lib/python3.8/site-packages/rocketchat_async/dispatcher.py", line 41, in _process_incoming
    await self._process_incoming_event()
  File "/Users/XXX/.pyenv/versions/3.8.13/lib/python3.8/site-packages/rocketchat_async/dispatcher.py", line 49, in _process_incoming_event
    msg = await self._websocket.recv()
  File "/Users/XXX/.pyenv/versions/3.8.13/lib/python3.8/site-packages/websockets/legacy/protocol.py", line 568, in recv
    await self.ensure_open()
  File "/Users/XXX/.pyenv/versions/3.8.13/lib/python3.8/site-packages/websockets/legacy/protocol.py", line 953, in ensure_open
    raise self.connection_closed_exc()
websockets.exceptions.ConnectionClosedOK: received 1000 (OK) Normal closure; then sent 1000 (OK) Normal closure

I should add that the python agent crashes. In RocketChat there is no answer from the agent.

just retried after fetching the latest source version. unfortunately still getting the same error

Ok, I will keep a look out. I have yet to see any connection closed errors like this. It's almost like it's hitting a socket timeout of some sort and the rc server is closing the connection.
With the custom process you're running, do responses take a while or are they quick to run?

yes, I was also thinking about some sort of time out. it usually takes some seconds until it crashes. However, I wasnt able to find a parameter that I can update to increase timeout limits. Maybe you have an idea? Would be happy to try it out.

Is this a Windows or macOS host? I've looked around a bit and it definitely looks like the connection is closed for some reason.

Its a macOS host. Thanks for checking! Do you have an idea which component does close the connection and what might be the reason?

Thanks for confirming. I don't really have any insight into why that message would occur. I'll link the rocketchat_async library author to see if he can provide any insights.

Reported this upstream with the rocketchat-async library.


Knuth–Morris–Pratt [C++]

This issue is about Knuth–Morris–Pratt.

[x] Issue Title is in form Algo/DS Name [Language].
[x] I searched or browsed the repo’s other issues to ensure this is not a duplicate.
[x] This Algo/DS is worth adding to this repository.
[x] Assign this issue to me (I want to work on this).

[x] I ensure that I am not already assigned to 2 or more issues.

[x] I will send my PR only after I'm assigned to this issue by any maintainer.
[x] I understand that I will be unassigned from this issue if I fail to send a PR for this within a week.

@HarshKhatore add info about Algo/DS and link to resource for Algo/DS

unassigned @HarshKhatore due to inactivity, please get it reassigned if you wish to send a PR.

I would like to contribute in this. Assign it to me :)

@manish1997: Please proceed with the issue. Thanks.


level=fatal msg="Envoy: Binary "cilium-envoy" cannot be executed" error="exit status 127" subsys=envoy-manager

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
cilium pod got level=fatal msg="Envoy: Binary "cilium-envoy" cannot be executed" error="exit status 127" subsys=envoy-manager
Cilium Version
1.13
Kernel Version
root@cluster1-144:~# uname -a
Linux cluster1-144 5.19.0-35-generic #36-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 3 18:36:56 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Kubernetes Version
1.26.1
Sysdump
No response
Relevant log output
No response
Anything else?
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

@farcaller can you take a look

Needs more context. How are you deploying cilium?

using helm

Thanks for logging this @13567436138, could you please grab a sysdump for us, that will have a bunch of information that may help us figure out what's happening. (See https://docs.cilium.io/en/stable/operations/troubleshooting/#automatic-log-state-collection for instructions). You can upload to this issue, or make the sysdump available in some other way if it's too large.
Thanks again.

cilium-sysdump-20230320-144719.zip

@youngnick

Thanks for that @13567436138.
The error is because the Cilium agent expects the cilium-envoy binary to be available in the cilium container. I notice from the sysdump that the cilium daemonset is using a non-standard registry, is that a custom build of the container? If so, it may need to ensure that the cilium-envoy (https://github.com/cilium/proxy) binary is inside the container image.
The released cilium versions include this file at /usr/bin/cilium-envoy, and if it's not present, then the layer 7 proxy won't be able to be loaded, as you see here.

image has no problem，other pod，using the same image，it is running well

Thanks for that @13567436138, I'd recommend execing into that pod and seeing if you can run /usr/bin/cilium-envoy from a terminal - there must be some reason why that binary is not running, but I can't see anything from the logs.

I can not run command kubectl exec -it  container is not exist

To be honest, I'd try deleting that pod and seeing if the recreated pod has the same issue; it seems very weird.

I deleted the pod ，and the same error

fatal msg="Envoy: Binary "cilium-envoy" cannot be executed" error="exit status 127" subsys=envoy-manager

I think maybe，the binary execute has some error，but the msg is not sufficient

I decided to reinstall cilium to see if the problem exist

even reinstall the problem still exist.and the same node,is this because of the enviroment of the node

@youngnick

can not debug

I will add a new node

I seem to have a similar issue, when i execute cilium-envoy from with in the container it throws the following error:
external/com_github_google_tcmalloc/tcmalloc/system-alloc.cc:661] MmapAligned() failed - unable to allocate with tag (hint, size, alignment) - is something limiting address placement? 0x341380000000<PHONE_NUMBER><PHONE_NUMBER> @ 0x55762b1448 0x55762ad8bc 0x55762ad010 0x557628b850 0x55762aaca4 external/com_github_google_tcmalloc/tcmalloc/arena.cc:58] FATAL ERROR: Out of memory trying to allocate internal tcmalloc data (bytes, object-size); is something preventing mmap from succeeding (sandbox, VSS limitations)? 131072 640 @ 0x55762b17bc 0x557628b8e0 0x55762aaca4
This issue seems related: https://github.com/envoyproxy/envoy/issues/23339#issuecomment-1290509732


Float with "in" operator

With:
code := "metric in 1..3"
env := map[string]any{"metric": float64(1)}

Compile raises an error:
_, err := expr.Compile(code, expr.Env(env))
fmt.Println("compile:", err)

compile: cannot use float64 as type int in array (1:8)
 | metric in 1..3
 | .......^

But Eval works fine:
_, err := expr.Eval(code, env)
fmt.Println("eval:", err)

eval: <nil>

The code is here.

This is the purpose of compile.
In compile expr knows what float64 can't be in 1..3. But in Eval mode, metric has any type, so it is successfully executed.

Actually, this is strange behavior in Eval. Why nil?

Actually, this is strange behavior in Eval. Why nil?

nil is the value of err

I think I got it, This is because of an optimization:
metric in 1..3 changed to 1 <= metric && metric  <= 3

package main

import (
	"fmt"

	"github.com/antonmedv/expr"
)

func main() {

	code := "metric in 1..3"
	env := map[string]any{"metric": float64(1.2)}

	program, err := expr.Compile(code, expr.Optimize(true))
	fmt.Println("compile:", err)

	out, err := expr.Run(program, env)
	fmt.Println("out:", out)
	fmt.Println("err:", err)
}

So this optimization should only be applied if metric has int type. Will add this check.

Fixed in e81f517f81a6fc91fc01134b7f76f731f1f3eb52


Pluck Utility Type or Expanded Documentation

Search Terms
lookup types
Pluck
indexed access types
2.1
Suggestion
Documentation for Lookup types using to pluck directly from another type seems to only exist in extensive form in the 2.1 release notes. It would be good to have this at a minimum noted within the main documentation as element access in this fashion is lacking in the docs. It also seems syntactically out of place in type creation. A utility type such as type Pluck<T, K extends keyof T> = T[K]; seems more appropriate in common use.
Use Cases
Types coming from packages that you want to match a portion of. E.g. in the example below I want to grab a selection of images from the package that returns PhotoIdentifier and map them down to just images. Separately I want to create some additional images to concat to that same array, but then I need to recreate a portion of the type or use element access that looks out of place in types. i.e. type Image = CameraRoll.PhotoIdentifier['node']['image']; I believe it would be preferred syntactically to use type Image = Pluck<Pluck<CameraRoll.PhotoIdentifier, 'node'>, 'image'>;.
Examples
  interface PhotoIdentifier {
    node: {
      type: string,
      group_name: string,
      image: {
        filename: string,
        uri: string,
        height: number,
        width: number,
        fileSize: number,
        isStored?: boolean,
        playableDuration: number,
      },
      timestamp: number,
      location?: {
        latitude?: number,
        longitude?: number,
        altitude?: number,
        heading?: number,
        speed?: number,
      },
    };
  }

type Image = Pluck<Pluck<CameraRoll.PhotoIdentifier, 'node'>, 'image'>;

Checklist
My suggestion meets these guidelines:

[x] This wouldn't be a breaking change in existing TypeScript/JavaScript code
[x] This wouldn't change the runtime behavior of existing JavaScript code
[x] This could be implemented without emitting different JS based on the types of the expressions
[x] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, etc.)
[x] This feature would agree with the rest of TypeScript's Design Goals.

There is a section in the handbook on index types, although it is focused on their usage in a generic context (ie T[K]) it does mention their usage in Person['name'] for a specific type and property. Hopefully the new handbook will expand on this.
With regard to Pluck, I don't think adding a new predefined type for this is necessarily more discoverable or adds anything to the plain syntax. And I personally find Pluck<Pluck<CameraRoll.PhotoIdentifier, 'node'>, 'image'> a lot less readable than CameraRoll.PhotoIdentifier['node']['image'], not to mention it's shorter.

Ah yes I see the reference to Person['name']. I think expanded usage in the docs would be sufficient, as it sits now with the majority of the documentation in the 2.1 release notes I actually became worried that the usage/syntax was deprecated. I don't disagree on the readability, the type Pluck<T, K extends keyof T> = T[K]; syntax just seemed more inline with other utility types was my thought. And it is shorter when creating a union from a single type; but that's a rarer use case. Overall I think documentation clarity would suffice.

I'm struggling to see what concrete docs improvements would look like for this issue - does anyone have ideas?

Index type and relative typing
You can use index types without generics as well. You can

@orta I think the main issue with that section is that it dives into the generic without explaining the concrete. I don't think may users realize that T[K] is not some magic generic/ mapped typed magic syntax but is in fact a general construct that works for any type T and any type K that is a key of T.
My humble proposal:
Index types
With index types you can get the compiler to give you the type of a property in another type. For example:
interface Car {
    id: string;
    name: string
}
let foo: Car['id'] // same as id: number

The type Car['id'] is in fact number and there is no difference with regard to the type of foo if you use one or the other. The advantage of using Car['id'] would be that if the type of id later changes that changes is immediately propagated to the type of foo as well. You could also use an index type if the type of id is complex and you do not want to have to write it out multiple times (aliasing the index type might also be a good idea type CarId = Car['id']). You can use an index type anywhere a type would be expected.
Where index types really shine is in allowing the compiler to check code that uses dynamic property names. For example, a common JavaScript pattern is to pick a subset of properties from an object:
[...]


Jio Tv Channels not working

Hello,
Jio Tv Channels not working in my Kodi app
I tried all versions like latest 19.5 to old 19.1
Please Help.

same problem bro how will it get solve i have removed cable also

same problem bro how will it get solve i have removed cable also

Do you know any other alternatives to watch Jio Tv on Android Tv

Let's hope @iMro0t fixes the issue in his spare time. In the meanwhile, you can use Samsung TV Plus addon from slyguy repository and AjayKRepo (for zee5 (has live channels), sonyliv (has live channels), voot (has live channels), hotstar and mxplayer)

Hello everyone,
I have a solution for channels not working in jio tv which worked for me.
Once the channels are loaded, continuously click on the channel you want to view.
The channel will start working.
Ps: turnoff extra hd channels

Let's hope @iMro0t fixes the issue in his spare time. In the meanwhile, you can use Samsung TV Plus addon from slyguy repository and AjayKRepo (for zee5 (has live channels), sonyliv (has live channels), voot (has live channels), hotstar and mxplayer)

But I don't have a subscription of this Ott platforms will it work ?

Let's hope @iMro0t fixes the issue in his spare time. In the meanwhile, you can use Samsung TV Plus addon from slyguy repository and AjayKRepo (for zee5 (has live channels), sonyliv (has live channels), voot (has live channels), hotstar and mxplayer)

But I don't have a subscription of this Ott platforms will it work ?

Sony live channels works fine without login (for now), for zee5, news channels works without login and voot requires subscription

Same problem i am facing few channels are working but other channels won't load

Hello everyone, I have a solution for channels not working in jio tv which worked for me. Once the channels are loaded, continuously click on the channel you want to view. The channel will start working. Ps: turnoff extra hd channels

this is working for me lol.

Hello everyone, I have a solution for channels not working in jio tv which worked for me. Once the channels are loaded, continuously click on the channel you want to view. The channel will start working. Ps: turnoff extra hd channels

WTF bro it worked at least for while lol, how you found it out, but channels freez sometimes

Same problem
Some channels are working.
But after a while frozen.
So many channels are failing to play.
Plz solve.

PROBLEM SOLVED!
CONFIGURE VIDEO INPUTSTREAM.ADAPTIVE ADDON - select MANUAL instead of AUTOMATIC!!!

few channels already working bro

inputstream.adaptive -=> unsupported stream few channels were playing after i turned inputstream.adaptive configuration to manual instead of automatic

can you guide where is inputstream.adaptive

inputstream.adaptive -=> unsupported stream few channels were playing after i turned inputstream.adaptive configuration to manual instead of automatic

few channels were already working bro

inputstream.adaptive -=> unsupported stream few channels were playing after i turned inputstream.adaptive configuration to manual instead of automatic

working for now

OK PROBLEM SOLVED!!
install NEXUS KODI and reinstall BOTALLEN JIOTV PLUGIN!

He won't do that, bcs imroot deleted the repository containing in a zip file from his botallen website, so no one can use it, if anybody who had taken a copy if that zip file can use that repository, and or anybody had a backup of that zip file..

He won't do that, bcs imroot deleted the repository containing in a zip file from his botallen website, so no one can use it, if anybody who had taken a copy if that zip file can use that repository, and or anybody had a backup of that zip file..

Which repository your taking about all sources code is here in this repo

m3u8 and ts file links doesn't have the token needed, anyone knows how to manually modify the url in inputstream to add token in every link

m3u8 and ts file links doesn't have the token needed, anyone knows how to manually modify the url in inputstream to add token in every link

We can try

I don't know how to make kodi plugin, only thing I found out is inputstream doesn't have the function to modify links, so you have to make a proxy plugin that adds the token in the link

can't find much documentation regarding link modifications in inputstream

Will work out can you share your findings in log


[backplane-2.7] MGMT-19203: Update the reason in case of timeout while bmh is powered off

cherry-pick 145

/hold
Original pr looks fine, keeping this open until it's merged just in case.


Can No Longer Be Triggered By Tasker/Annoying Beep With Every Message Backed Up

For some reason I am no longer able to trigger an automated backup with Tasker after the latest update and can only backup manually.
Furthermore, it now beeps for every single message backed up and never did this before.
Anyone else experience this? What can I do to fix it?  Should I remove myself from beta?
Thanks for any insight. I need my automated backups.  I've done this for years.

Android version
Android 8.0
Phone model / brand
Xperia XZ1 Compact
SMS Backup+ version installed
1.6.0 Beta 2
Messaging app
Textra

You can hold the notification in Android and make it silent so that there's no notification.
Also, automatic backups don't seem to work, even with the latest backup.  I always have to manually trigger a backup. I turned on advanced logging, but there's nothing in the logs.  Let me know if you need more information

Also, automatic backups don't seem to work
+1


[SPARK-32625][SQL] Log error message when falling back to interpreter mode

What changes were proposed in this pull request?
This pr log the error message when falling back to interpreter mode.
Why are the changes needed?
Not all error messages are in CodeGenerator, such as:
21:48:44.612 WARN org.apache.spark.sql.catalyst.expressions.Predicate: Expr codegen error and falling back to interpreter mode
java.lang.IllegalArgumentException: Can not interpolate org.apache.spark.sql.types.Decimal into code block.
	at org.apache.spark.sql.catalyst.expressions.codegen.Block$BlockHelper$.$anonfun$code$1(javaCode.scala:240)
	at org.apache.spark.sql.catalyst.expressions.codegen.Block$BlockHelper$.$anonfun$code$1$adapted(javaCode.scala:236)
	at scala.collection.IndexedSeqOptimized.foreach(IndexedSeqOptimized.scala:36)
	at scala.collection.IndexedSeqOptimized.foreach$(IndexedSeqOptimized.scala:33)

Does this PR introduce any user-facing change?
No.
How was this patch tested?
Manual test.

Test build #127475 has started for PR 29440 at commit cf3bf3d.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/32096/
Test PASSed.

Test build #127475 has finished for PR 29440 at commit cf3bf3d.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/127475/
Test PASSed.


Suggestion

Your app is great. Working very good. Well I do suggest you to change the text colour. The purple colour is not looking much good. Use some other colour that pops on black background. Changing the colour will make it look great.

Ok I have set the default text color to white and added option to change the text and background colors


Compound final item

Hello,
Is it possible to have a compound item, as final item?
Example:
finalItem={'span > strong'}

Thanks

Yes, if I understand correctly, you can create a special component and provide it to finalItem or create anonimous component inplace like this:
    finalItem={
      ({children}) => (
       {children}
      )
    }

Such questions better for stackoverflow, users frequently search answers there, and also it have feature: inviting to question. However this is good place too and any feedback and stars is very significant to know that my creations is on demand. Thereto followers can receive notifications about new features.
Now I close the issue. Feel free to write or reopen or create new if any.

Thank you for the reply.
I don't agree with stackoverflow but sure.


[BUG] When runtime delete, the fuse label is not clean.

What is your environment(Kubernetes version, Fluid version, etc.)
fluid version: 0.7.0-7d2651f
kubernetes version v1.20.6
Describe the bug
When runtime delete, the fuse label fluid.io/f-{namespace}-{name} is not delete.
If recreate an new runtime, the fuse will be scheduler to prev scheduled node.
What you expect to happen:
Delete fuse label when delete runtime.
assign @xieydd

releated issue:
#1367
#1329


Update index.html

i am also learning html and    i have done few changes hope u will like it .

I don't want changes made to my example repo. If you want to experiment, the best thing to do is fork the repo, thereby creating your own copy, and then do PRs to your own copy of the repo.


Create one virtual zone span over two (or more) monitors

Description of the new feature / enhancement
Fanzy zones creates virtual fancy zone for just one monitor
my wish is to have a new fancy zone that span across two (or more) physical monitors.
Scenario when this would be used?
I wish to use it to maximize apps (like visualcode) inside the fancy zone that is actually spanning multiple monitors.
Currently maximizing apps Seems limited to one physical monitor.
Supporting information
No response

To understand the issue better, we would like some more information please. What are the resolutions and scaling settings for each monitor? What are the (related) settings in PowerToys? Do you want to use a grid or a canvas layout?

Duplicate of https://github.com/microsoft/PowerToys/issues/12186. @Jay-o-Way 's questions are still relevant, so please comment on issue #12186 so we can keep the conversation centralized to that thread. Thank you for reporting this!

To understand the issue better, we would like some more information please. What are the resolutions and scaling settings for each monitor? What are the (related) settings in PowerToys? Do you want to use a grid or a canvas layout?

resolution:
The setup a dual 4K (@home) dual 1920x1200 (@work).
scaling settings - none.
related settings :
unknown since the feature do not exist.
Goal:
i wish to have one zone across multiple monitors so I can stretch MS vscode in the one big zone.

unknown since the feature do not exist.

Did you try the check box "allow zones to span across monitors" ?

@Jay-o-Way
O wow it already exists - I have not seen&touch the PowerToys settings since a long time.
I also admit to have skipped reading the release of PowerToys upgrades.
Thank you very much for the tip - I shall start playing the new feature ASAP.


New Feature: M.isHoax()

Do the checklist before submitting the PR:

[X] Have you read the guidelines mentioned in CONTRIBUTING.md?
[ ] Have you squashed your commits?

Q: What version of Node.js you've used in the project? (e.g. Node v10.11.0)
A: v11.10.0
Q: Mention the Issue Number! (e.g. Fixed #8)
A: Closes #29

Give additional information regarding the PR below:

Codecov Report

Merging #91 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master    #91   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          51     52    +1
  Lines         598    625   +27
=====================================
+ Hits          598    625   +27

Impacted Files
Coverage Δ

src/index.js
100% <100%> (ø)
:arrow_up:

src/isHoax/index.js
100% <100%> (ø)

Continue to review full report at Codecov.

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

@pbiswas101, Done.


TURF: Add explode operation

Follow these instructions for adding a new turf function.
Turf docs: http://turfjs.org/static/docs/module-turf_explode.html

Added in #161


nmslib as a AWS Lambda Layer

Hi. Maybe it's wrong place to ask, but how do I upload nmslib as a aws lambda layer? I've tried to zip virtualenv's site-packages with nmslib installed - no luck. I've tried to use lambci/lambda - got error: command 'gcc' failed with exit status 1. I have no problem with other python packages,for example I've uploaded numpy, pandas without any problem. What should I do?

Finally I was able to wheel it inside lambci/lambda and upload it to aws lambda layes. It works.

Good to know thanks!


Does tfmodisco-lite work with sequences that contain N?

Hi,
I've been trying to run tfmosico-lite, but got this error IndexError: cannot do a non-empty take from an empty axes. This error seems to originate from in _laplacian_null (np.percentile(a=pos_values, q=percentiles_to_use)-mu)). Neither of my two input Numpy arrays contains any NaN. The axes seem correct: (batch, 4, sequence length).
I realize that my sequences are not of the same lengths so they have been padded with Ns on the 5' ends. The N nucleotide is encoded as (0,0,0,0). Do you know if this could be the reason that I got this error?
Thank you!

Yes, this might be an issue but I'm not positive. If the corresponding attribution score is near zero (because you're just padding) then it doesn't really matter what nucleotide you put in. Would you mind just assigning a random nucleotide to those padding positions and seeing if it runs?

Thanks for the suggestion. The program does indeed require at least one channel to be non-zero. I think the issue stems from this modiscolite/util.py:76: RuntimeWarning: invalid value encountered in divide   ppm = ppm/np.sum(ppm, axis=1)[:,None]. I took your advice and randomly assigned nucleotides to N and I could run the program.


Artifactory Generic Download - Script error on TFS 2018u3

Hi,
I just tried to use the Artifactory Generic Download task in our build, but I get some javascript errors when the task is run. I used both version 1.* and version 2.* of the task.
Error for version 1.*:
2019-05-13T09:09:52.6424980Z ==============================================================================
2019-05-13T09:09:52.6447830Z Task         : Artifactory Generic Download
2019-05-13T09:09:52.6480710Z Description  : Download artifacts from Artifactory using FileSpecs, while allowing to collect build-info. The collected build-info can be later published to Artifactory by the "Artifactory Publish Build Info" task.
2019-05-13T09:09:52.6513730Z Version      : 1.5.0
2019-05-13T09:09:52.6538660Z Author       : JFrog
2019-05-13T09:09:52.6563150Z Help         :
2019-05-13T09:09:52.6596700Z ==============================================================================
2019-05-13T09:09:53.1299200Z /vsts/agent/_work/_tasks/ArtifactoryGenericDownload_07fc5c20-6772-11e5-abde-6901d3c00755/1.5.0/downloadArtifacts.js:10
2019-05-13T09:09:53.1333700Z     let buildDefinition = tl.getVariable('Build.DefinitionName');
2019-05-13T09:09:53.1360380Z     ^^^
2019-05-13T09:09:53.1369820Z
2019-05-13T09:09:53.1393740Z SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
2019-05-13T09:09:53.1420480Z     at exports.runInThisContext (vm.js:53:16)
2019-05-13T09:09:53.1442510Z     at Module._compile (module.js:387:25)
2019-05-13T09:09:53.1461970Z     at Object.Module._extensions..js (module.js:422:10)
2019-05-13T09:09:53.1482440Z     at Module.load (module.js:357:32)
2019-05-13T09:09:53.1503090Z     at Function.Module._load (module.js:314:12)
2019-05-13T09:09:53.1526550Z     at Function.Module.runMain (module.js:447:10)
2019-05-13T09:09:53.1545690Z     at startup (node.js:146:18)
2019-05-13T09:09:53.1566350Z     at node.js:404:3

Version 2.*:
2019-05-13T09:08:40.8778690Z ==============================================================================
2019-05-13T09:08:40.8800730Z Task         : Artifactory Generic Download
2019-05-13T09:08:40.8825560Z Description  : Download artifacts from Artifactory using FileSpecs, while allowing to collect build-info. The collected build-info can be later published to Artifactory by the "Artifactory Publish Build Info" task.
2019-05-13T09:08:40.8853230Z Version      : 2.5.0
2019-05-13T09:08:40.8874320Z Author       : JFrog
2019-05-13T09:08:40.8896700Z Help         :
2019-05-13T09:08:40.8915820Z ==============================================================================
2019-05-13T09:08:41.3244970Z /vsts/agent/_work/_tasks/ArtifactoryGenericDownload_07fc5c20-6772-11e5-abde-6901d3c00755/2.5.0/downloadArtifacts.js:10
2019-05-13T09:08:41.3276200Z     let workDir = tl.getVariable('System.DefaultWorkingDirectory');
2019-05-13T09:08:41.3298620Z     ^^^
2019-05-13T09:08:41.3308060Z
2019-05-13T09:08:41.3337300Z SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
2019-05-13T09:08:41.3362320Z     at exports.runInThisContext (vm.js:53:16)
2019-05-13T09:08:41.3381180Z     at Module._compile (module.js:387:25)
2019-05-13T09:08:41.3402900Z     at Object.Module._extensions..js (module.js:422:10)
2019-05-13T09:08:41.3424780Z     at Module.load (module.js:357:32)
2019-05-13T09:08:41.3445570Z     at Function.Module._load (module.js:314:12)
2019-05-13T09:08:41.3464840Z     at Function.Module.runMain (module.js:447:10)
2019-05-13T09:08:41.3486760Z     at startup (node.js:146:18)
2019-05-13T09:08:41.3505530Z     at node.js:404:3

Possible relevant information about the environment I am using:

TFS 2018 update 3: Version 16.131.28106.2
Agent version: 2.116.1
Agent os: Linux
Node.JS version: v8.11.2

Any idea what could have caused this issue and how it can be solved?

Actually, I get the same error when trying to use the upload task... Any update on this issue?

@dnperfors - sorry for the late response!
This error message -
SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
indicates that the NodeJS version installed on the build agent is too old. You mentioned that you're using  v8.11.2, which  should be okay...
Are you sure that the specific build agent which fails with this error doesn't have an older NodeJS version?
You can check this by running node -v from the build agent's terminal.

Hi @eyalbe4,
Yes v8.11.2 is the actual node version...

@dnperfors,
A college of mine encountered the same issue, and suggested replacing the node executable on the build agent, exactly as described here
Please let me know if this resolves the issue.

@dnperfors,
P|lease let us know if you'd like to discuss this further. Closing this issue for now.


Singularity branch

Implement a branch with nf-ncov-voc using singularity instead of conda

Removing high priority status because we got nf-ncov-voc working with docker, which provides a significant runtime improvement over conda


Simplify Client init for Local or Rest

Currently users need to remember specific syntax to use chroma in local mode with persistence or API mode.
# init persistance
from chromadb.config import Settings
client = chromadb.Client(Settings(
    chroma_db_impl="duckdb+parquet",
    persist_directory="/path/to/persist/directory"
))

# init rest client
import chromadb
from chromadb.config import Settings
chroma_client = chromadb.Client(Settings(chroma_api_impl="rest",
                                        chroma_server_host="localhost",
                                        chroma_server_http_port="8000"
                                    ))

What do we think about simplifying the API (in a backwards compatible way)? Something like this
# init persistance
client = chromadb.LocalClient(persist_directory="/path/to/persist/directory")

# init rest client
chroma_client = chromadb.RestClient(url="localhost:8000")

The javascript client doesn't have this "problem" because we currently do not support in-memory for JS, but it may be a good idea to mirror the APIs none-the-less for future-proofing.

awesome! apologies if i missed this.

closed in favor of https://github.com/chroma-core/chroma/issues/714


[thermotools] release 0.1.9

The lines numpy >=1.7 should be changed to numpy x.x.

Done.

@cwehmeyer it doesn't compile properly:
gcc -pthread -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/anaconda/envs/_build/lib/python3.5/site-packages/numpy/core/include -I/anaconda/envs/_build/include/python3.5m -c ext/bar/_bar.c -o build/temp.linux-x86_64-3.5/ext/bar/_bar.o -O3
gcc -pthread -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/anaconda/envs/_build/lib/python3.5/site-packages/numpy/core/include -I/anaconda/envs/_build/include/python3.5m -c ext/util/_util.c -o build/temp.linux-x86_64-3.5/ext/util/_util.o -O3
ext/util/_util.c: In function '_logsumexp':
ext/util/_util.c:104:27: error: 'INFINITY' undeclared (first use in this function)
     if(0 == size) return -INFINITY;
                           ^
ext/util/_util.c:104:27: note: each undeclared identifier is reported only once for each function it appears in
ext/util/_util.c: In function '_logsumexp_kahan_inplace':
ext/util/_util.c:115:27: error: 'INFINITY' undeclared (first use in this function)
     if(0 == size) return -INFINITY;
                           ^
ext/util/_util.c: In function '_logsumexp_sort_inplace':
ext/util/_util.c:125:27: error: 'INFINITY' undeclared (first use in this function)
     if(0 == size) return -INFINITY;
                           ^
ext/util/_util.c: In function '_logsumexp_sort_kahan_inplace':
ext/util/_util.c:132:27: error: 'INFINITY' undeclared (first use in this function)
     if(0 == size) return -INFINITY;
                           ^
ext/util/_util.c: In function '_logsumexp_pair':
ext/util/_util.c:139:10: error: 'INFINITY' undeclared (first use in this function)
     if((-INFINITY == a) && (-INFINITY == b))
          ^
error: command 'gcc' failed with exit status 1
Command failed: /bin/bash -x -e /io/thermotools/build.sh

@rmcgibbo It looks like this build process does not support c99. Did that change recently?

The linux build machine is http://phusion.github.io/holy-build-box/. It has gcc 4.8, so c99 support is available. You might need to pass the proper command line flags to gcc though -- I'm not sure.
If you have a linux box with root available (needed to install docker), you can reproduce the build environment using the exact same docker image that's running on Travis with this command.

And this is the Dockerfile that the image is generated from, building of the holy-build-box image. https://github.com/rmcgibbo/centos5-build-box/blob/master/Dockerfile


off data augment without plane infos

Anyone did offline data augment without planes infos? It is not clear to me if it is essential for offline data augment training of RCNN.

I am having the same problem. It seems from the code that plane infos are necessary.


Assuming this has been abandoned?

Assuming this has been abandoned? I'm debating writing my own connector, so just wanted to verify.

Hi! It’s not abandonned, feel free to update it to the latest version of Refinery and Solidus and create a pull request, it should be easy to do.


Move development settings out of project

There is a lot of stuff in the CMake project that doesn't affect users and makes for a confusing interface. This change set moves those settings into a presets filed that contains all the settings used for development without trying to propagate them to users.

Coverage remained the same at 99.64% when pulling 36cd5ec4317e2d08b60c9ebcc2e1eff8e6881ba1 on thetic:presets into 8cc621c113c7275b524ebdc8330a2b214fd4de6a on cpputest:master.

How are the GccNoStdC and Iar platforms tested?

I think GccNoStdC was broken when the string cache was added.
I get the following backtrace when trying to run:
#0  0x0000000000000000 in ?? ()
#1  0x0000555555704bad in checkedMalloc (size=<optimized out>) at src/CppUTest/TestMemoryAllocator.cpp:35
#2  TestMemoryAllocator::alloc_memory (this=<optimized out>, size=<optimized out>) at src/CppUTest/TestMemoryAllocator.cpp:164
#3  0x0000555555703c5e in SimpleStringInternalCache::createInternalCacheNodes (this=this@entry=0x7fffffffbe08) at src/CppUTest/SimpleStringInternalCache.cpp:63
#4  0x00005555557042d6 in SimpleStringInternalCache::SimpleStringInternalCache (this=0x7fffffffbe08) at src/CppUTest/SimpleStringInternalCache.cpp:47
#5  GlobalSimpleStringCache::GlobalSimpleStringCache (this=this@entry=0x7fffffffbe00) at src/CppUTest/SimpleStringInternalCache.cpp:249
#6  0x000055555566b302 in main (ac=5, av=0x5) at tests/CppUTest/AllTests.cpp:37

See #1656

Is this ready to be merged ?

I think so unless you or @offa had any feedback.
On Mon, Oct 31, 2022, at 08:27, Bas Vodde wrote:

Is this ready to be merged ?
—
Reply to this email directly, view it on GitHub https://github.com/cpputest/cpputest/pull/1654#issuecomment-1297261178, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAKS4FHY54XXPWZFQCR4M3TWF7QNTANCNFSM6AAAAAARR7FG2A.
You are receiving this because you authored the thread.Message ID: @.***>

Ok, just one minor feedback, the rest looks fine @offa  you want to check this still ?

I assume @offa has no more comment and merging this now.

Sorry, I was unavailable the last days. But your assumptions are right – good PR! :+1:


Update README.md with more support options

As they highlighted here, we never promoted our ideas platform. https://github.com/opengisch/QField/discussions/5393#discussioncomment-9878195

@suricactus LGTM


No implementation for touch command in HashClient

pymemcache.client.hash.HashClient doesn't implement the touch command while pymemcache.client.base.Client does.
Is there a reason for this? If not, would you accept a pull request for adding the method?

I think that's just an oversight. We'd be happy to review a pull request that adds it.

Implemented by #264.


Conversion error in drawing the Julia set

I'm trying to use the following code to draw the Julia set (using Julia 0.3.5):
julia.jl
using CUDArt
using PyPlot

w = 2048 * 2
h = 2048 * 2
q = [complex64(r, i) for i = 1 : -(2.0 / w) : -1, r = -1.5 : (3.0 / h) : 1.5]

julia(q :: Array{Complex64}, maxiter :: Integer) = begin
    res = CUDArt.devices(dev -> CUDArt.capability(dev)[1] >= 2, nmax = 1) do devlist
        CUDArt.device(devlist[1])

        prg = CUDArt.CuModule("julia.ptx") do md
            juliafn = CUDArt.CuFunction(md, "julia")
            out = CUDArt.CudaArray(Uint16, size(q))
            CUDArt.launch(juliafn, length(q), 1, (q, out, uint16(maxiter)))
            CUDArt.to_host(out)
        end
    end

    res
end

j = julia(q, 200)
imshow(j, extent = [-1.5, 1.5, -1.0, 1.0])

julia.cu (compiled to julia.ptx via nvcc -ptx julia.cu)
extern "C"
{
    __global__ void julia(float2* q, unsigned short* out, const unsigned short maxiter)
    {
        int idx = blockIdx.x * blockDim.x + threadIdx.x;

        float nreal = 0.0f;
        float real = q[idx].x;
        float imag = q[idx].y;

        out[idx] = 0;

        for (int i = 0; i < maxiter; i++)
        {
            if (real * real + imag * imag > 4.0f)
            {
                out[idx] = i;
            }

            nreal = real * real - imag * imag + (-0.5f);
            imag = 2 * real * imag + 0.75f;
            real = nreal;
        }
    }
}

When trying to run the code, it exits with the error 'rawpointer' has no method matching rawpointer(::Array{Complex{Float32},2}). Is this a lacking convert for the type, or is there something wrong with my code? Sorry for not posting this on StackOverflow or /r/julia but I expect people here might be better informed about the peculiarities of CUDArt itself.

I didn't test the code yet, but you have to copy Array to CudaArray to use in GPU.
Use CudaArray like this before calling the kernel:
        d_q = CudaArray(q)
        CUDArt.launch(juliafn, length(d_q), 1, (d_q, out, uint16(maxiter)))

That fails with:
 in checkdrv at /home/***/.julia/v0.3/CUDArt/src/module.jl:6
 in launch at /home/***/.julia/v0.3/CUDArt/src/execute.jl:16
 in anonymous at /home/***/julia.jl:16
 in CuModule at /home/***/.julia/v0.3/CUDArt/src/module.jl:39
 in anonymous at /home/***/julia.jl:12
 in devices at /home/***/.julia/v0.3/CUDArt/src/device.jl:57
 in devices at /home/***/.julia/v0.3/CUDArt/src/device.jl:49
 in julia at /home/***/_/julia.jl:9
 in include at /usr/bin/../lib/julia/sys.so
 in include_from_node1 at loading.jl:128
 in process_options at /usr/bin/../lib/julia/sys.so
 in _start at /usr/bin/../lib/julia/sys.so
while loading /home/***/julia.jl, in expression starting on line 24

@moon6pence is right that you needed to move the memory to the GPU first. His suggestion seemed to have overcome the first problem, but now there seems to be something else going on. As a first thing to check, does Pkg.test("CUDArt") pass for you?

Yes, the tests do pass.

In launching cuda kernel,
CUDArt.launch(juliafn, length(d_q), 1, (d_q, out, uint16(maxiter)))

You have to specify proper block size rather than 1. ex) 256, 512, 1024, ...
It may be work with block size 1 but definitely run slow.
CUDArt.launch(juliafn, div(length(d_q), 512), 512, (d_q, out, uint16(maxiter)))

However, I couldn't get the julia image.
Keep checking julia.cu generates proper julia set.


Fixed null pointer during convert amazon purchase

After launch of app with OPFIab library, I've noticed app crashes sometimes, because amazon purchase returns null purchaseTime. For more details, see http://crashes.to/s/2a04173b0d9
This PR adds simple null check to address this issue.

Thanks for report, this is super weird and might brake subscriptions. But apparently it can only be fixed on Amazon side so I'm merging this.


Invalid class name is generated if migration name contains "dummy_table"

Laravel Version: 5.4.12
PHP Version: 7.0.15
Database Driver & Version: MySQL 5.6.32

Description:
When using make:migration with either the --create or --table flags, if "dummy_table" is in the migration name the generated class has the wrong class name.
I recently started playing around with Laravel and tried to create my first test migration. I used this command taken from the documentation as a guide:
php artisan make:migration create_users_table --create=users
At this point I had gone through the Authentication section of the docs and so already had a users table in my db. I instead decided to name the new table dummy. So I ran:
php artisan make:migration create_dummy_table --create=dummy
When I ran the auto-generated migration I got a fatal "class not found" error:
php artisan migrate
[Symfony\Component\Debug\Exception\FatalThrowableError]
Class 'CreateDummyTable' not found
In this case, the placeholders in the migration stub are not being properly substituted in this method:
https://github.com/laravel/framework/blob/5.4/src/Illuminate/Database/Migrations/MigrationCreator.php#L115-L127
As a result, the class name in the migration is incorrectly declared as:
class Createdummy extends Migration
Instead of:
class CreateDummyTable extends Migration
This is a rare edge case that will affect very few people but it could be better handled.
Steps To Reproduce:
Run:
php artisan make:migration create_dummy_table --create=dummy
Try to run the migration; a fatal error will occur:
php artisan migrate
[Symfony\Component\Debug\Exception\FatalThrowableError]
Class 'CreateDummyTable' not found
In the migration file the class name is "Createdummy" instead of "CreateDummyTable".
This will occur any time the migration name contains the string "dummy_table" and the --create or --table flag is used. For example:
php artisan make:migration update_some_dummy_table --table=some_dummy
php artisan make:migration update_some_dummy_table --table=foobar

Closing for now, will look into updating the stubs in the core today. thanks :)


Correcting two measures

These two measures are incorrectly stating they are stream measures, when in fact they are call based measures.  I've adjusted the definition language to reflect this difference.

@CarolynRowe
PR has been copyedited and is ready for final review, could you please check and merge? Thanks!


[26.x][WFLY-17494] Upgrade jaxb-ri to 2.3.3-b02-jbossorg-2

Issue: https://issues.redhat.com/browse/WFLY-17494
Upstream: Not required

Thanks @scottmarlow and @jamezp

Hi @Philipp-Borchert-ISH -- I see it in the jboss.org repo where we publish these kind of fork releases:
https://repository.jboss.org/nexus/content/groups/public/org/glassfish/jaxb/jaxb-runtime/

🤦 sorry about that - I just saw we've removed this specific repo from our poms because it wasn't necessary with the previous releases - and I only double checked the ones indexed on mvnrepository.com.
Thanks for the quick reply 👍


[brotli] "brotli_x86-windows-static/debug/share/unofficial-brotli'   does not exist

Host Environment

OS: Windows
Compiler: Visual Studio 16.11.13

To Reproduce
Steps to reproduce the behavior:
git clone https://github.com/Microsoft/vcpkg
    cd vcpkg
    .\bootstrap-vcpkg.bat
    .\vcpkg integrate install
    .\vcpkg install cpprestsdk:$(Platform)-windows-static

It also fails with the same error if I try to build with .\vcpkg install cpprestsdk:x86-windows which I believe is a supported triplet.
Failure logs
D:\dev\vcpkg master>    .\vcpkg install cpprestsdk:x86-windows-static
Computing installation plan...
The following packages will be built and installed:
  * brotli[core]:x86-windows-static -> 1.0.9#2
    cpprestsdk[brotli,compression,core,default-features]:x86-windows-static -> 2.10.18#1
  * vcpkg-cmake[core]:x64-windows -> 2022-05-10
  * vcpkg-cmake-config[core]:x64-windows -> 2022-02-06
  * zlib[core]:x86-windows-static -> 1.2.12#1
Additional packages (*) will be modified to complete this operation.
Detecting compiler hash for triplet x86-windows-static...
Detecting compiler hash for triplet x64-windows...
Restored 0 packages from C:\Users\scott.langham\AppData\Local\vcpkg\archives in 617.3 us. Use --debug to see more details.
Installing 1/5 brotli:x86-windows-static...
Building brotli[core]:x86-windows-static...
-- Using community triplet x86-windows-static. This triplet configuration is not guaranteed to succeed.
-- [COMMUNITY] Loading triplet configuration from: D:\dev\vcpkg\triplets\community\x86-windows-static.cmake
-- Using cached google-brotli-e61745a6b7add50d380cfd7d3883dd6c62fc2c71.tar.gz.
-- Cleaning sources at D:/dev/vcpkg/buildtrees/brotli/src/6c62fc2c71-7c6c2710e9.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source D:/dev/vcpkg/downloads/google-brotli-e61745a6b7add50d380cfd7d3883dd6c62fc2c71.tar.gz
-- Applying patch install.patch
-- Applying patch fix-arm-uwp.patch
-- Applying patch pkgconfig.patch
-- Applying patch fix-ios.patch
-- Using source at D:/dev/vcpkg/buildtrees/brotli/src/6c62fc2c71-7c6c2710e9.clean
-- Found external ninja('1.10.2').
-- Configuring x86-windows-static
-- Building x86-windows-static-dbg
-- Building x86-windows-static-rel
CMake Error at scripts/cmake/vcpkg_fixup_cmake_targets.cmake:140 (message):

  'D:/dev/vcpkg/packages/brotli_x86-windows-static/debug/share/unofficial-brotli'
  does not exist.
Call Stack (most recent call first):
  ports/brotli/portfile.cmake:25 (vcpkg_fixup_cmake_targets)
  scripts/ports.cmake:146 (include)

error: building brotli:x86-windows-static failed with: BUILD_FAILED
Please ensure you're using the latest port files with `git pull` and `vcpkg update`.
Then check for known issues at:
    https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+brotli
You can submit a new issue at:
    https://github.com/microsoft/vcpkg/issues/new?template=report-package-build-failure.md&title=[brotli]+Build+error
Include '[brotli] Build error' in your bug report title, the following version information in your bug description, and attach any relevant failure logs from above.
    vcpkg-tool version: 2022-05-05-67e17c1782801cf481be9ac0b3765dff3e4bdeb8
    vcpkg-scripts version: bae8f8c7d 2022-05-11 (17 hours ago)

Additional context
It works on my colleagues machine. I haven't been able to work out what the difference is.
I've tried:

blowing the vcpkg repo folder and %LOCALAPPDATA%\vcpkg\archives away and starting fresh
creating the missing folder manually (it disappears when I run install again).
trying older commits of vcpkg

Thanks for posting this issue. Could you please remove the following files and directory and rebuild brotli again?
D:\dev\vcpkg\downloads\google-brotli-e61745a6b7add50d380cfd7d3883dd6c62fc2c71.tar.gz
D:\dev\vcpkg\buildtrees\brotli\src

And please make sure the directory D:/dev/vcpkg/packages/brotli_x86-windows-static/debug/share/unofficial-brotli is not occupied by any process.

I can try.

The tar.gz file already does not exist
I have deleted the src folder
The unofficial-brotli  folder does not exist, so I presume it cannot be occupied by any process.

I tried to ProcMon it. The only process that touches the folder D:\dev\vcpkg\packages\brotli_x86-windows-static\debug\share\unofficial-brotli is cmake. I presume that's immediately before the build fails because it doesn't exist. cmake runs with this command line:
"D:\dev\vcpkg\downloads\tools\cmake-3.22.2-windows\cmake-3.22.2-windows-i386\bin\cmake.exe" -DALL_FEATURES= -DCURRENT_PORT_DIR=D:/dev/vcpkg/ports/brotli -D_HOST_TRIPLET=x64-windows -DFEATURES=core -DPORT=brotli -DVCPKG_USE_HEAD_VERSION=0 -D_VCPKG_DOWNLOAD_TOOL=BUILT_IN -D_VCPKG_EDITABLE=0 -D_VCPKG_NO_DOWNLOADS=0 -DZ_VCPKG_CHAINLOAD_TOOLCHAIN_FILE=D:/dev/vcpkg/scripts/toolchains/windows.cmake -DCMD=BUILD -DDOWNLOADS=D:/dev/vcpkg/downloads -DTARGET_TRIPLET=x86-windows-static -DTARGET_TRIPLET_FILE=D:/dev/vcpkg/triplets/community/x86-windows-static.cmake -DVCPKG_BASE_VERSION=2022-05-05 -DVCPKG_CONCURRENCY=13 -DVCPKG_PLATFORM_TOOLSET=v142 -DGIT=C:/Users/scott.langham/OneDrive/Scripts/git.bat -DVCPKG_ROOT_DIR=D:/dev/vcpkg -DPACKAGES_DIR=D:/dev/vcpkg/packages -DBUILDTREES_DIR=D:/dev/vcpkg/buildtrees -D_VCPKG_INSTALLED_DIR=D:/dev/vcpkg/installed -DDOWNLOADS=D:/dev/vcpkg/downloads -DVCPKG_MANIFEST_INSTALL=OFF -P "D:\dev\vcpkg\scripts\ports.cmake"
Also, I notice the script that raises the error: "D:\dev\vcpkg\scripts\cmake\vcpkg_fixup_cmake_targets.cmake" says at the top that it is deprecated.

brotli.zip
Could you use the portfile.cmake and vcpkg.json in this zip instead you locally files, and install brotli again? I changed the depracted function vcpkg_fixup_cmake_targets.

Hi, thanks, I've tried those new files. The output was a little bit different, but still ended in the same error with the same folder missing.
D:\dev\vcpkg> .\vcpkg install brotli
Computing installation plan...
The following packages will be built and installed:
    brotli[core]:x86-windows -> 1.0.9#2
  * vcpkg-cmake[core]:x64-windows -> 2022-05-10
  * vcpkg-cmake-config[core]:x64-windows -> 2022-02-06
Additional packages (*) will be modified to complete this operation.
Detecting compiler hash for triplet x64-windows...
Detecting compiler hash for triplet x86-windows...
Restored 0 packages from C:\Users\scott.langham\AppData\Local\vcpkg\archives in 1.304 ms. Use --debug to see more details.
Installing 1/3 vcpkg-cmake:x64-windows...
Building vcpkg-cmake[core]:x64-windows...
-- Installing: D:/dev/vcpkg/packages/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_cmake_configure.cmake
-- Installing: D:/dev/vcpkg/packages/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_cmake_build.cmake
-- Installing: D:/dev/vcpkg/packages/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_cmake_install.cmake
-- Installing: D:/dev/vcpkg/packages/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg-port-config.cmake
-- Installing: D:/dev/vcpkg/packages/vcpkg-cmake_x64-windows/share/vcpkg-cmake/copyright
-- Performing post-build validation
-- Performing post-build validation done
A suitable version of 7zip was not found (required v21.7.0). Downloading portable 7zip v21.7.0...
Downloading 7zip...
  https://www.7-zip.org/a/7z2107-extra.7z -> D:\dev\vcpkg\downloads\7z2107-extra.7z
Extracting 7zip...
Stored binary cache: C:\Users\scott.langham\AppData\Local\vcpkg\archives\da\dae09e4b66969d74c0895988f4f32c31c47c815f062bb052557e08ced51dbf27.zip
Elapsed time to handle vcpkg-cmake:x64-windows: 1.409 s
Installing 2/3 vcpkg-cmake-config:x64-windows...
Building vcpkg-cmake-config[core]:x64-windows...
-- Installing: D:/dev/vcpkg/packages/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg_cmake_config_fixup.cmake
-- Installing: D:/dev/vcpkg/packages/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg-port-config.cmake
-- Installing: D:/dev/vcpkg/packages/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/copyright
-- Performing post-build validation
-- Performing post-build validation done
Stored binary cache: C:\Users\scott.langham\AppData\Local\vcpkg\archives\56\56198a16b30a6d2f0f2f90c65ab146a75a0ce59a7606795ccf04b6b8f22dc7f7.zip
Elapsed time to handle vcpkg-cmake-config:x64-windows: 300.7 ms
Installing 3/3 brotli:x86-windows...
Building brotli[core]:x86-windows...
-- Using cached google-brotli-e61745a6b7add50d380cfd7d3883dd6c62fc2c71.tar.gz.
-- Cleaning sources at D:/dev/vcpkg/buildtrees/brotli/src/6c62fc2c71-7c6c2710e9.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source D:/dev/vcpkg/downloads/google-brotli-e61745a6b7add50d380cfd7d3883dd6c62fc2c71.tar.gz
-- Applying patch install.patch
-- Applying patch fix-arm-uwp.patch
-- Applying patch pkgconfig.patch
-- Applying patch fix-ios.patch
-- Using source at D:/dev/vcpkg/buildtrees/brotli/src/6c62fc2c71-7c6c2710e9.clean
-- Found external ninja('1.10.2').
-- Configuring x86-windows
-- Building x86-windows-dbg
-- Building x86-windows-rel
CMake Error at installed/x64-windows/share/vcpkg-cmake-config/vcpkg_cmake_config_fixup.cmake:135 (message):
  'D:/dev/vcpkg/packages/brotli_x86-windows/debug/share/unofficial-brotli'
  does not exist.
Call Stack (most recent call first):
  ports/brotli/portfile.cmake:25 (vcpkg_cmake_config_fixup)
  scripts/ports.cmake:146 (include)

error: building brotli:x86-windows failed with: BUILD_FAILED

I've been trying to compare my system with my colleagues (that works). We both deleted the vcpkg repo and got rid of the %LOCALAPPDATA%\vcpkg, cloned again and tried to run .\vcpkg install brotli.
I've attached our build out.log files. At the end where it says -- Installing:, the broken one installs brotli.exe from debug\bin\brotli.exe. On the working system its different and is from debug\tools\brotli\brotli.exe
And where the working system says -- Installing: D:/Source/Temp/brot2/vcpkg/packages/brotli_x86-windows/debug/share/unofficial-brotli/unofficial-brotli-config.cmake  the broken one says -- Installing: D:/dev/vcpkg/packages/brotli_x86-windows/debug/lib/brotlienc-static.lib.  The broken log.out doesn't mention unofficial-brotli at all.
working install-x86-windows-dbg-out.log
broken install-x86-windows-dbg-out.log

It looks like the broken build lacks ports\brotli\install.patch.

It looks like the broken build lacks ports\brotli\install.patch.

... and this would be very strange, because the source dirname (6c62fc2c71-7c6c2710e9.clean) identifies the same configuration.

@ScottLangham Could you also please provide the release log file install-x86-windows-rel-out.log on broken machine? I found the broken debug log doesn't have these message in the end of log.
-- Installing: D:/Source/Temp/brot2/vcpkg/packages/brotli_x86-windows/debug/share/unofficial-brotli/unofficial-brotli-config.cmake
-- Installing: D:/Source/Temp/brot2/vcpkg/packages/brotli_x86-windows/debug/share/unofficial-brotli/unofficial-brotli-config-debug.cmake

This show the broken vcpkg doesn't do the following codes in ${SOURCE_PATH}/CMakeLists.txt.
install(EXPORT brotli FILE unofficial-brotli-config.cmake NAMESPACE unofficial::brotli:: DESTINATION share/unofficial-brotli)

And did you install other ports have the same error, does this error only exist when instlling brotli?

cpprest is the first vcpkg I have ever tried, and it fails with this brotli error.
I have randomly picked some other packages to install and they appear to build successfully.

Yeah, the patches apply failed on your vcpkg, did you install git on your machine? Could you use command on vcpkg window?

Yeah, these patches applied failed on your vcpkg, did you install git on your machine?

I've extracted the environment variables from the running cmake. The PATH variable has a different value to what's in my system environment variables. I'm new to cmake. I don't know where its getting its PATH env variable from.

In any case, this should trigger a vcpkg error immediately in the patching step, not in the build step. This is a vcpkg bug.

Can you please add an extra option --debug to the install command then provide the output?

brotli stdout.txt
config-x86-windows-out.log
install-x86-windows-dbg-out.log
install-x86-windows-rel-out.log
patch-x86-windows-0-err.log
stdout-x86-windows.log
x86-windows.vcpkg_abi_info.txt
From D:\dev\vcpkg\buildtrees\brotli\x86-windows-dbg\CMakeFiles
CMakeError.log
CMakeOutput.log
TargetDirectories.txt

The reason is
include(CheckCSourceCompiles)
check_c_source_compiles(
  "#if defined(__EMSCRIPTEN__)
   int main() {return 0;}
   #endif"
  BROTLI_EMSCRIPTEN
)
if (BROTLI_EMSCRIPTEN)
  message("-- Compiler is EMSCRIPTEN")
else()
  message("-- Compiler is not EMSCRIPTEN")
endif()

BROTLI_EMSCRIPTEN is false.

The reason is
...
BROTLI_EMSCRIPTEN is false.

That's not the reason. BROTLI_EMSCRIPTEN must be false for x86-windows.
Remember, we are looking for the reason for:

'git.exe' is not recognized as an internal or external command,
operable program or batch file.

And this is from the debug trace:
[DEBUG] Found path: C:\Users\scott.langham\OneDrive\Scripts\git.bat
[DEBUG] Found path: C:\Program Files\Git\cmd\git.exe
[DEBUG] CreateProcessW("C:\Users\scott.langham\OneDrive\Scripts\git.bat" --version)
[DEBUG] ReadFile() finished with GetLastError(): 109
...
[DEBUG] CreateProcessW("D:\dev\vcpkg\downloads\tools\cmake-3.22.2-windows\cmake-3.22.2-windows-i386\bin\cmake.exe" -DCURRENT_PORT_DIR=D:/dev/vcpkg/scripts/detect_compiler -DCURRENT_BUILDTREES_DIR=D:/dev/vcpkg/buildtrees/detect_compiler -DCURRENT_PACKAGES_DIR=D:/dev/vcpkg/packages/detect_compiler_x86-windows -D_HOST_TRIPLET=x86-windows -DCMD=BUILD -DDOWNLOADS=D:/dev/vcpkg/downloads -DTARGET_TRIPLET=x86-windows -DTARGET_TRIPLET_FILE=D:/dev/vcpkg/triplets/x86-windows.cmake -DVCPKG_BASE_VERSION=2022-05-05 -DVCPKG_CONCURRENCY=13 -DVCPKG_PLATFORM_TOOLSET=v142 -DGIT=C:/Users/scott.langham/OneDrive/Scripts/git.bat -DVCPKG_ROOT_DIR=D:/dev/vcpkg -DPACKAGES_DIR=D:/dev/vcpkg/packages -DBUILDTREES_DIR=D:/dev/vcpkg/buildtrees -D_VCPKG_INSTALLED_DIR=D:/dev/vcpkg/installed -DDOWNLOADS=D:/dev/vcpkg/downloads -DVCPKG_MANIFEST_INSTALL=OFF -P "D:\dev\vcpkg\scripts\ports.cmake")
...
[DEBUG] CreateProcessW("C:\Users\scott.langham\OneDrive\Scripts\git.bat" "--git-dir=D:\dev\vcpkg\.git" "--work-tree=D:\dev\vcpkg\.git" -c core.autocrlf=false show "--pretty=format:%h %cd (%cr)" -s --date=short HEAD)
[DEBUG] ReadFile() finished with GetLastError(): 109

So vcpkg doesn't pick the git.exe but the git.bat.
And for Windows, vcpkg.exe cleans the environment before building the port. I guess that C:\Program Files\Git\cmd is no longer in PATH (and not in CMAKE_PROGRAM_PATH) when CMake looks for git.exe.

Did you use VCPKG_FORCE_SYSTEM_BINARIES ?

@JackBoosY I haven't done anything with VCPKG_FORCE_SYSTEM_BINARIES

@dg0yt I renamed git.bat and the build has worked.
Yes, when I looked at cmake.exe's environment block using Process Explorer, it did not have C:\Program Files\Git\cmd in the PATH environment variable.
I found the git.bat online somewhere, it forwards to git.exe and then updates my cmd prompt to include the name of the current branch. With git.bat present, other ports built without issue. I use Windows Terminal all the time now instead of cmd prompt and no longer need git.bat, so removing/renaming that is a sufficient solution for me.
It would be nice if the brotli build was resistant to git.bat existing.
Thanks for your help.

@dg0yt I renamed git.bat and the build has worked.
Yes, when I looked at cmake.exe's environment block using Process Explorer, it did not have C:\Program Files\Git\cmd in the PATH environment variable.
I found the git.bat online somewhere, it forwards to git.exe and then updates my cmd prompt to include the name of the current branch. With git.bat present, other ports built without issue. I use Windows Terminal all the time now instead of cmd prompt and no longer need git.bat, so removing/renaming that is a sufficient solution for me.
It would be nice if the brotli build was resistant to git.bat existing.
Thanks for your help.

Trying to understand why git.bat was choosen.

It's because:
https://github.com/microsoft/vcpkg-tool/blob/fb99b59387aa41e50abe0ecaafaa8ec050b59661/src/vcpkg/base/files.cpp#L3286-L3288
...
        virtual std::vector<Path> find_from_PATH(StringView name) const override
        {
#if defined(_WIN32)
            static constexpr StringLiteral EXTS[] = {".cmd", ".exe", ".bat"};
#else  // ^^^ _WIN32 // !_WIN32 vvv
...

If git.bat exists in a path in the environment variable PATH, it will be added to the pre-selection list, and the git command will be executed to confirm whether it can be called normally.
But it is inconsistent in the subsequent cmake process:
https://github.com/microsoft/vcpkg/blob/7e3dcf74e37034eea358934a90a11d618520e139/scripts/cmake/z_vcpkg_apply_patches.cmake#L38-L43
cmake will look for git according to the suffix corresponding to the system. If not found, the patch application will fail.
@BillyONeal I think we need to pass GIT_EXECUTABLE to cmake to avoid inconsistent behavior of c++ part with cmake part?

it did not have C:\Program Files\Git\cmd in the PATH environment variable.

[DEBUG] Found path: C:\Users\scott.langham\OneDrive\Scripts\git.bat
[DEBUG] Found path: C:\Program Files\Git\cmd\git.exe

No idea why git.exe was found even if this path isn't included in PATH.

I think the bug is really inside git.bat:
I guess that it prints the error message but doesn't return an error result when it can't run git.exe.

vcpkg.exe finds and runs git.bat when it looks for git alternatives.

git.bat finds git.exe via PATH and runs it.
vcpkg.exe is happy.

vcpkg.exe cleans the environment (incl. PATH) and runs CMake, passing the path to git.bat via the GIT CMake input variable.
With GIT set, the CMake scripts use git.bat instead acquiring any other version.
However, when it is actually used in vcpkg_apply_patches, it no longer finds git.exe via the PATH.
But it just doesn't signal this error.
So the build continues with unpatched sources.

Note that most ports don't need to git to fetch sources, so the error is really hidden.
One would need to clean PATH also when testing the found git program in the first step.

Yes, here is the contents of git.bat
@echo off
git.exe %*
set GITBRANCH=
for /f %%I in ('git.exe rev-parse --abbrev-ref HEAD 2^> NUL') do set GITBRANCH=%%I

if "%GITBRANCH%" == "" (
  prompt $P$G
) else (
    prompt $P $E[32;7;32;47m%GITBRANCH%$E[0m$G
)

That's it. The git error code is blured by extra commands. Ever line after git.exe would need to be inside if not errorlevel 1 ( ... ).

vcpkg.exe finds and runs git.bat when it looks for git alternatives.

This seems like the actual bug

I don't think we should find git.bat, the only git instance we need is the executable.


gpkg-dev/glibc: real fix

close #49
close #51
Description: this problem is not caused by mprotect, but rather by the memory address that glibc creates. Maybe this will fix it -<EMAIL_ADDRESS>

It hasn't been released yet？ installing the gpkg-dev update through pacman, recompiling and testing has no effect

It hasn't been released yet？ installing the gpkg-dev update through pacman, recompiling and testing has no effect

Yes, because this patch does not fix this problem. Please note that this pull is a draft, which means that all sorts of experiments, tests and checks are carried out in it.


[FEATURE REQUEST] Add plugins support

I'd like to listen and download music from youtube, but it will be against youtube policy so I'd like to create a plugin. Which will let me do it.
Maybe we can integrate YouTube to Museeks as https://github.com/headsetapp/headset-electron
Pros:

It allows to browse music by channels and find something new

Cons:

Headsetap doesn't allow to play local music and I don't like the way it looks.
No plugins supported
To follow YouTube policy  it opens extra window with video. "Due to a restriction in YouTube's policy, we can't separate the audio from the video and the player must be visible at all times."

Harmony looks better and closer to Museeks (https://github.com/vincelwt/harmony)
Pros:

Plugins supported
Allows to play local music and music from external services (Reddit collections, YouTube and etc)
Doesn't opens an extra window to play YouTube video. Video is nicely integrated into interface
Plugins supported

Cons:

It's not opensource
It doesn't support music collections as Headsetapp do

So basically I'd like to have plugin extensions support to add external services.

Museeks shall have playlist bar at the left which can be hidden
HTML5 video area could be created at playlist bar
Playlists button toggles playlist bar
Plugins API shall let extensions to show/hide areas and bars, create own areas and toolbars, upload/download URLs, directly access files and file info (artist, name of the song, album, etc), create and update playlists, update application library, run console commands, play/pause/next/prev

Which plugins can be done

tag editor
external services play
download/upload to external services
converting tags to UTF8
website parsing

you might be interested in this discussion https://github.com/KeitIG/museeks/issues/260, closing this and maybe you can add your thoughts there.


UI improvements in 0.10.1 release

This epic captures improvements OpenMetadata UI and UX to functionality  functionality related to User profile. The User profile improvements are tracked in the epic #4599.
The task breakdown is as follows:

#4558
#4559
#4560
#4561
#4583
#4595
#4556
#4555
#4542
#4455
#4359
#4155
#3793
#3508

@harshach @sureshms We have agreed on moving Manual Lineage Editor related changes/improvements to 0.11.0 Release.
We'll track it here in case we have the bandwidth to cover in 0.10.1 but just a heads up.


Fix problem with repeat struct ptr with one on root

What does this PR do?
Fix a bug when there is struct pointer repeated with one on root
Motivation
Fix a bug in traefik where --metrics is filled when we fill --web.metrics.prometheus
More

[x] Added/updated tests

Coverage remained the same at 89.593% when pulling bab67a4289c4e34c8e650a0fc4fc8ee167510e66 on Juliens:repeated-struct into 4b6f66624dce34a226f080b414c4705ea8731bc5 on containous:master.

Coverage remained the same at 89.593% when pulling bab67a4289c4e34c8e650a0fc4fc8ee167510e66 on Juliens:repeated-struct into 4b6f66624dce34a226f080b414c4705ea8731bc5 on containous:master.


Custom Header is parsed to lowercase.

Because why i put a custom header it is send as  lowecase. As fixed this issue?
React Native version: 0.59.8
Run react-native info in your terminal and copy the results here.
React Native Environment Info:
System:
OS: macOS 10.14.5
CPU: (4) x64 Intel(R) Core(TM) i5-7360U CPU @ 2.30GHz
Memory: 36.98 MB / 8.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 10.15.3 - /usr/local/bin/node
Yarn: 1.16.0 - /usr/local/bin/yarn
npm: 6.4.1 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 12.2, macOS 10.14, tvOS 12.2, watchOS 5.2
Android SDK:
API Levels: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28
Build Tools: 19.1.0, 26.0.0, 27.0.1, 27.0.2, 27.0.3, 28.0.1, 28.0.3
System Images: android-27 | Google APIs Intel x86 Atom, android-28 | Google APIs Intel x86 Atom, android-28 | Google Play Intel x86 Atom
IDEs:
Android Studio: 3.4 AI-183.54<IP_ADDRESS>52501
Xcode: 10.2.1/10E1001 - /usr/bin/xcodebuild
npmPackages:
react: 16.8.3 => 16.8.3
react-native: 0.59.8 => 0.59.8
npmGlobalPackages:
react-native-cli: 2.0.1
-- my code
export const api = axios.create({
baseURL: enviroments.BASE_URL
,headers: {
"Authorization": enviroments.TOKEN
,"SellerId": enviroments.ID
,"SellerPass": enviroments.PASS
,"Content-Type": "application/json"
}
,validateStatus: status => status <= 500
});
--- my header in server after the print
["sellerid"]=> "xxxxxxxxxxx" // -> custom header
["Authorization"]=> "xxxxxxxxxxxxxxxx"  // -> header the http
["sellerpass"]=> "xxxxxxxxx" // -> custom header

Is not this related to axios?

@a-c-sreedhar-reddy I use the axios, but in fetch the same problem occurs. I did a search and this occurs in the XMLHttpRequestBase.js which is part of the react. I also saw that it has an http specification, stating that headers are case-insensitive. But can not you get around that? Only on the same server?

yeah headers are case insensitive.

Yes. I agree with you, but for the headers that are part of http, there is a conversion (I do not know how), that arrives on the server equal to what was sent by the client. That is my main question ... I respect RFCs a lot. Probably, if I do not get a plausible answer, I will deal with it on the server.


Overmind 2.4.0 is only running the first entry in the Procfile?

I have a Procfile.dev that looks like this:
rails: bundle exec rails server -b <IP_ADDRESS> -p 3000
sidekiq: bundle exec sidekiq -C config/sidekiq.yml
clock: bundle exec rails runner bin/clock

I am running Overmind 2.4.0 inside a Docker container. It seems to only start the first entry of the Procfile correctly, and the other entries are marked as running but do not have a PID, and cannot be connected to.
overmind ps looks like this:
> overmind ps
PROCESS   PID       STATUS
rails     25        running
sidekiq   0        running
clock     0        running

If you try to connect you get the following error:
can't find window

I've tried moving lines around in the Procfile, and it always starts the first line entry only.
 This does not happen with 2.3.0. The version of tmux installed is tmux 3.3a

@alexrudall Thanks!
This fixed the issue for me. However I must have added tty: true at some point for a reason. So this might break Docker setups for others.


[Blockchain] Introduction on how to Create ERC20 Tokens and Transact using Brownie (Python)

Formatting and structure checks

[x] Have you used the correct folder and file structure? - see Contribution Guidelines

[x] Is your article properly formatted in Markdown? - see Github Markdown guide

[x] Have you used our preferred heading structure? - H3 (###) and up

[x] Does your article follow any of the suggested structure formats? - see example formats

[x] Is your article over 750 words? - Tool: Wordcounter.net

[x] Is the article you are submitting an in-depth and unique article? Does it go beyond what is in the official docs and what is covered in other blog sites. See these articles as examples.

[x] Does your article provide enough value and detail about your topic? - Articles should be clear, accurate, and fully explained.

[x] Can your article be understood by beginners? - Assume the audience is smart but has no prior exposure to the common terminology in your article.

[x] Have you included a hero image that is 600x400 pixels, under 300KB in size, and have the copyright to use it? - Tools: Pixlr Image Editor for resizing and Unsplash for Creative Commons images

Grammar & plagiarism checks

[x] Have you spellchecked and grammar checked your article? - Tools: Write&Improve - ProWritingAid - Grammarly
[x] Please place your article through a 3rd party plagiarism checker. We suggest using Quetext, this tool is free and has a daily limit. We typically accept articles with 10% or less.
[x] Have you checked your article for readability? - Tool: Hemmingway
[x] Have you added sources for quotes and images that aren't yours?

Technical checks

[x] Are your code snippets properly formatted for syntax highlighting - see Syntax guide
[x] Have you checked your code runs correctly and you've highlighted all necessary dependencies for installation?
[x] Are the software programs and packages you're highlighting in your article up to date, using current versions and not deprecated?

This closes #6941

plagiarism check done ✔

Fantastic 👍
Please be sure to proofread the entire article as Peer Reviewers do not provide revisions services (and may not point out all pending issues).
If any other major edits are required @mohamedgh16 we can close the PR to allow the student the proper time to make the edits.

Great tutorial! @RaphaelNdonga , note the corrections to minimize revision next time.

jumping on this one


Add @sveltestack/svelte-query

It's already listed: https://github.com/svelte-society/sveltesociety-2021/blob/9b13ed6fd57b7154f2cef9165ed97bfc180e6415/src/routes/components/components.json#L2858

@benmccann I searched on the website for query and it's not present, see:

I see it

Are you looking at the staging site? https://sveltesociety-2021-dqq.pages.dev/components

Are you looking at the staging site?

Nope. Sorry. How many changes!
Can we publish it?

Here's the todo list: https://github.com/svelte-society/sveltesociety-2021/issues/5
I have a PR out to get a good chunk of the way there: https://github.com/svelte-society/sveltesociety-2021/pull/32

Closing this as it's already there.


Nodemon?

Should nodemon be a part of this?

Yeah, it already has yarn and webpack which are optional.
Still not sure of the difference in cmds of nodemon vs node atm, but if you can get a working copy of both that would be good.

Since it's decided that we're adding nodemon. I'll close this 'issue'? query?


Remove fsgroup from alluxio runtime

Ⅰ. Describe what this PR does
Ⅱ. Does this pull request fix one issue?

fixes #XXXX
Ⅲ. List the added test cases (unit test/integration test) if any, please explain if no tests are needed.
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

/test fluid-e2e


React-virtualized compatible with the new React versions 18^

Is there a way we can enjoy a new version compatible with the new React versions 17 18... React-virtualized  is awesome and one of the most performance wise library I have ever used, but it is not touched for quite some time : /
My question is, is there a plan for a new release any time soon?
I don't feel good about using "--legacy peer deps" or downgrading @types/react to make it work in my new projects.
Thanks in advance for the replies

you could always ask your boss to sponsor a fix

@AChristoff check this thread - https://github.com/bvaughn/react-virtualized/pull/1625
the change for React 17 has been merged but guess what? we need to get a new version now ;)

Any idea how long it usually takes to get this updated?

Any update on this?

Since  this issues open without a resolution I propose a solution.
Sponsor me instead
$scott8176 cashapp

haven't seen other repos where devs beg for sponsorship for fixes or improvements.

I opened an issue about this topic:

https://github.com/bvaughn/react-virtualized/issues/1775


Add a new @event tag

Checking how to document events with ESDoc the only way I found is with the @emits and the @listens tags. The problem I see is that they are designed to document methods or functions but there is no way of declaring events triggered by a class.
IMHO something like the JSDoc @event tag is needed (http://usejsdoc.org/tags-event.html) but of course adapted to ESDoc philosophy. My approach is adding it as a tag only for classes and modifying emits and listens tags to reference previously declared events. This way a new fancy events section can be included in the class documentation describing all its events.
I can see two reason why this is needed:

Sometimes the same event can be triggered from more than one method. This way event specification only needs to be written once and @emits tags will simply refer to it.
Sometimes an object can trigger events in an asynchronous way. Thus is, the event is not directly triggered by some method the API user needs to know or call at all but by some external action (e.g.: a message from other user is received). Of course the event will be triggered by some method but this method can be a private method used only internally and it has no sense relating it with the the event.

By the way, thank you for this great project :)

@kai670 Hi! Thanks for this issue.
Sorry, for now,  I do not have plan to support @event, because we can use class instead of it.
But I think it is good that @emits and @listens are support classes. I will consider the changing.
Thanks.

But @event is a virtual entity, as it's described in JSDoc spec it does not have code content at all, it's more like @typedef. Why should we use classes when event is not a class but a type bound (or not) to a class?

I do not support @event tag. Because class or @typedef can represent event.
class base:
class FooEvent {
  get eventName() { return 'my_event_name'; }
}

or typedef base:
/**
 * @typedef {Object} FooEvent
 * @property {string} eventName
 */
```
using the event:

```javascript
class FooEmitter {
  /**
   * @emits {FooEvent}
   */
  static emit() {
    const event = new FooEvent(); // or {eventName: 'my_event_name'};
    // call listener with event.
  }

  /**
   * @param {function(event: FooEvent)} callback
   */
  static attach(callback) {
  }
}

/**
 * @param {FooEvent} event
 * @listens {FooEvent}
 */
function onEvent(event){ }

FooEmitter.attach(onEvent);
```

Sorry about writing a bit more about this but I still think something is missing. I'll try to explain my point based on your last message.
IMHO a typedef (or a class) is something different from an event because:

A typedef or class defines a global type (i.e.: it is shown in the left navigation column) but an event instead is something local to the class and it is not expected to be shown outside that class.
An event is identified only by its name and it is triggered with any number of arguments. I don't see how this can be specified in a typedef or in a class. They allow to be used to specify any of the arguments triggered with the event but not the event itself.
Using typedef or class a section with the events than can be triggered by the class is not generated and as I said in my first message in some situations events are triggered by private methods that must not be documented in the public API but events must.

My idea of events is something like the next lines added at class documentation:
/**
 * @event fancyEventWithoutArgs - description of this event...
 *
 * @event fancyEventWithTwoArgs - description of this event...
 * @param {string} arg1 - The first argument is a string.
 * @param {Object} arg2 - The second argument is an object.
 * @param {number} arg2.foo - this is a arg2 property.
 * @param {string} arg2.bar - this is a arg2 property.
 */

And with this information a new section with events can be included for each class defining events. In this idea, in the type definition of each param of the event is where classes or virtual typedef could be used.
Thanks for your time.

According to spec incapsulation can be achieved using ~ namespacing.
Whether @event support is to be discussed or not, I think at least such namespacing sould be supported by ESDoc.
@kai670 I believe you are wrong with your second point. A typical event is represented by an object with a defined set of properties.
An event handler is a function that accepts this event as an argument, it @listens to an event
I took usejsdoc.org example for @listens tag I rewrote it to es6 classes:
/**
 * Snowball-hurler
 * I don't think that @emits is suitable here, as long as a class itself can't emit anything. Its methods can.
 * But documentation for a class can contain all events that are fired by class methods.
 */
export class Hurler {
	/**
	 * Attack an innocent (or guilty) person with a snowball.
	 *
	 * This cannot @fire a @typedef - it requires an @event. Also, jsdoc prepends `event:` namespace to `snowball`
	 * @param {Number} velocity
	 * @fires Hurler~snowball
	 */
	attack(velocity) {
		this.emit('snowball', {
			velocity
		});
	}
}

/**
 * Event reporting that a snowball has been hurled.
 * This could possibly be a @typedef but then it would break IDE support, as @fires needs a namespace
 * @event Hurler~snowball
 * @property {Number} velocity - The snowball's velocity, in meters per second.
 */

/**
 * Keeps an eye out for snowball-throwers.
 */
export class Monitor {
	/**
	 * Report the throwing of a snowball.
	 * It's a callback and can be a plain function
	 *
	 * `event:` namespace it required as jsdoc prepends it in @fires tag
	 * @param {Hurler~event:snowball} e - A snowball event.
	 * @listens Hurler~event:snowball
	 */
	reportThrowage(e) {
		console.log('snowball thrown: velocity ' + e.velocity);
	}
}

let monitor = new Monitor();
let hurler = new Hurler();

hurler.on('snowball', monitor.reportThrowage);
hurler.attack(10); //snowball thrown: velocity 10

An event surely can be described as a class with a set of getters for its fields (as it is done it object-oriented languages like C#) and emitter can fire event instance instead of object with virtual @event definition. But then we loose namespacing as es6 does not support nested classes and it's unnecessary complication.
@h13i32maru Do you think that namespace support should be another issue?

Events as defined by node can be thrown with any number of arguments: See emit method. @raveclassic AFAIK your last piece of code doesn't follow that specification: you call emit without a string with the name of the event as first parameter.
Maybe the problem here is that events are not a part of the language but only some functionality implemented over it... In the end you have the on method and listening to events only means making a call to it... But it is such a common use case that it seems useful to treat it as if it were a native language functionality.

@kai670 Sorry, I am mistaken with emit. Sure, emit has to be called with event name as a first argument. Moreover, I assumed that in hurler.on call. I only mean that instead of passing random arguments to emit you can wrap them into a class. This suits both jsdoc spec and current esdoc implementation. That's why this issue is closed.

OK, I rethink @event, @emit, @listen. But I do not want to perfectly compatible with JSDoc.
Thanks

Is this moving anywhere? I am dealing with the same exact scenario as the OP. I am documenting a highly event driven system that utilizes the pub/sub interface of EventEmitter which permits
function onMessage(...args) {
   ...
}

emitter.on('message', onMessage);
emitter.emit('message', ...args);

Is there any progress or any workaround this problem ?

I also wanted this feature!

Me too

Just to add another use case: I am documenting a Web Component. It extends the HTMLElement which already has event handling, so I don't need to have a custom Event Emitter. I just need to document that my web component dispatches an event.

Here's another one having lots of code with events. Is there a way of adding js/esdoc for events without rewriting all the code itself?