ping query type broken in 1.0.0-beta.59 on Junos 19.4R1-S2.2

Hi, since I upgraded to 1.0.0-beta.59, I cannot run the ping query type anymore.
Bug Description
I start a ping query type to an ip that's reachable from a JunOS virtual MX. hyperglass now displays Something went wrong.
Expected behavior
I expect that a ping works
Steps to Reproduce

Setup latest hyperglass
Download junos VM image
configure junos with a default route
tell hyperglass to ping any ip on the VMX

Local Configurations
I didn't configure anything in the commands.yml. Section from the devices.yaml:
---
routers:
- name: ***
  address: ***
  network:
    name: primary
    display_name: ***
  credential:
    username: hyperglass
    password: foobar
  display_name: ***
  port: 22
  nos: juniper
  proxy:
  vrfs:
  - name: default
    display_name: whatsthis
    ipv4:
      source_address: ***
      force_cidr: false

Logs
[10/09/20 15:08:14] INFO     Starting query execution for query Que routes.py:87
ry(query_location=***,
query_type=ping, query_vrf=default,
query_target=***)
INFO     Opening connection to           async_driver.py:100
<IP_ADDRESS>
INFO     Attempting to acquire    base_network_driver.py:323
`exec` privilege level
INFO     Acquired requested       base_network_driver.py:360
privilege level `exec`
INFO     Connection to <IP_ADDRESS>      async_driver.py:104
opened successfully
[10/09/20 15:08:18] INFO     Closing connection to           async_driver.py:120
***
[2020-10-09 15:08:18 +0000] [19889] [ERROR] Exception in ASGI application
Traceback (most recent call last):
File "/opt/hyperglass/hyperglass-server/virtualenv/lib64/python3.6/site-packages/uvicorn/protocols/http/httptools_impl.py", line 390, in run_asgi
result = await app(self.scope, self.receive, self.send)
File "/opt/hyperglass/hyperglass-server/virtualenv/lib64/python3.6/site-packages/uvicorn/middleware/proxy_headers.py", line 45, in __call__
return await self.app(scope, receive, send)
File "/opt/hyperglass/hyperglass-server/virtualenv/lib64/python3.6/site-packages/fastapi/applications.py", line 183, in __call__
await super().__call__(scope, receive, send)  # pragma: no cover
File "/opt/hyperglass/hyperglass-server/virtualenv/lib64/python3.6/site-packages/starlette/applications.py", line 102, in __call__
await self.middleware_stack(scope, receive, send)
File "/opt/hyperglass/hyperglass-server/virtualenv/lib64/python3.6/site-packages/starlette/middleware/errors.py", line 181, in __call__
raise exc from None
File "/opt/hyperglass/hyperglass-server/virtualenv/lib64/python3.6/site-packages/starlette/middleware/errors.py", line 159, in __call__
await self.app(scope, receive, _send)
File "/opt/hyperglass/hyperglass-server/virtualenv/lib64/python3.6/site-packages/starlette/middleware/cors.py", line 86, in __call__
await self.simple_response(scope, receive, send, request_headers=headers)
File "/opt/hyperglass/hyperglass-server/virtualenv/lib64/python3.6/site-packages/starlette/middleware/cors.py", line 142, in simple_response
await self.app(scope, receive, send)
File "/opt/hyperglass/hyperglass-server/virtualenv/lib64/python3.6/site-packages/starlette/exceptions.py", line 82, in __call__
raise exc from None
File "/opt/hyperglass/hyperglass-server/virtualenv/lib64/python3.6/site-packages/starlette/exceptions.py", line 71, in __call__
await self.app(scope, receive, sender)
File "/opt/hyperglass/hyperglass-server/virtualenv/lib64/python3.6/site-packages/starlette/routing.py", line 550, in __call__
await route.handle(scope, receive, send)
File "/opt/hyperglass/hyperglass-server/virtualenv/lib64/python3.6/site-packages/starlette/routing.py", line 227, in handle
await self.app(scope, receive, send)
File "/opt/hyperglass/hyperglass-server/virtualenv/lib64/python3.6/site-packages/starlette/routing.py", line 41, in app
response = await func(request)
File "/opt/hyperglass/hyperglass-server/virtualenv/lib64/python3.6/site-packages/fastapi/routing.py", line 197, in app
dependant=dependant, values=values, is_coroutine=is_coroutine
File "/opt/hyperglass/hyperglass-server/virtualenv/lib64/python3.6/site-packages/fastapi/routing.py", line 147, in run_endpoint_function
return await dependant.call(**values)
File "/opt/hyperglass/hyperglass-server/virtualenv/lib64/python3.6/site-packages/hyperglass/api/routes.py", line 120, in query
cache_output = await execute(query_data)
File "/opt/hyperglass/hyperglass-server/virtualenv/lib64/python3.6/site-packages/hyperglass/execution/main.py", line 72, in execute
output = await driver.parsed_response(response)
File "/opt/hyperglass/hyperglass-server/virtualenv/lib64/python3.6/site-packages/hyperglass/execution/drivers/_common.py", line 65, in parsed_response
_output = await coro(commands=self.query, output=response)
TypeError: object str can't be used in 'await' expression
INFO     Attempting to acquire    base_network_driver.py:323
`exec` privilege level
INFO     Acquired requested       base_network_driver.py:360
privilege level `exec`
INFO     Connection to ***      async_driver.py:124
closed successfully

Possible Solution

Environment
Server

Metric
Value

hyperglass Version
1.0.0-beta.59

hyperglass Path
/opt/hyperglass/hyperglass-server/hyperglass

Python Version
3.6.8

Platform Info
Linux-5.8.9-1.el7.elrepo.x86_64-x86_64-with-centos-7.8.2003-Core

CPU Info
Intel Xeon Processor (Skylake, IBRS)

Logical Cores
4

Physical Cores
1

Processor Speed
2.095076GHz

Total Memory
4.13 GB

Memory Utilization
37.6%

Total Disk Space
51.65 GB

Disk Utilization
18.1%

for reasons I don't know, the debug output has a very strange format with multiple \n:
Oct 09 15:17:29 lg python3[27180]: DEBUG    Constructed query: ['ping inet    _construct.py:160
Oct 09 15:17:29 lg python3[27180]: *** count 5 source
Oct 09 15:17:29 lg python3[27180]: ***']

however, I'm able to execute the command manual:
[hyperglass@lg ~]$ ssh ***
Last login: Fri Oct  9 17:01:29 2020 from ***
--- JUNOS 19.4R1-S2.2 Kernel 64-bit  JNPR-11.0-20200527.8a79409_buil
warning: user "hyperglass" does not have access privileges.

error: Restricted user session.
hyperglass@***> ping inet *** count 5 source ***
PING *** (***): 56 data bytes
64 bytes from ***: icmp_seq=0 ttl=62 time=0.869 ms
64 bytes from ***: icmp_seq=1 ttl=62 time=0.821 ms
64 bytes from ***: icmp_seq=2 ttl=62 time=1.173 ms
64 bytes from ***: icmp_seq=3 ttl=62 time=0.743 ms
64 bytes from ***: icmp_seq=4 ttl=62 time=0.973 ms

--- *** ping statistics ---
5 packets transmitted, 5 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.743/0.916/1.173/0.149 ms

hyperglass@***>

and I get a very similar error if I try a traceroute:
[10/09/20 15:34:49] INFO     Starting query execution for query Que routes.py:87
ry(query_location=***,
query_type=traceroute,
query_vrf=default,
query_target=***)
INFO     Opening connection to           async_driver.py:100
<IP_ADDRESS>
INFO     Attempting to acquire    base_network_driver.py:323
`exec` privilege level
[10/09/20 15:34:50] INFO     Acquired requested       base_network_driver.py:360
privilege level `exec`
INFO     Connection to ***      async_driver.py:104
opened successfully
Exception in callback Loop._read_from_self
handle: <Handle Loop._read_from_self>
Traceback (most recent call last):
File "uvloop/cbhandles.pyx", line 73, in uvloop.loop.Handle._run
File "uvloop/loop.pyx", line 359, in uvloop.loop.Loop._read_from_self
File "uvloop/loop.pyx", line 364, in uvloop.loop.Loop._invoke_signals
File "uvloop/loop.pyx", line 339, in uvloop.loop.Loop._ceval_process_signals
File "/opt/hyperglass/hyperglass-server/virtualenv/lib64/python3.6/site-packages/hyperglass/execution/main.py", line 33, in handler
raise DeviceTimeout(**exc_args)
hyperglass.exceptions.DeviceTimeout: Error connecting to ***: Request timed out.
[10/09/20 15:35:16] CRITICAL [DANGER] Error connecting to       exceptions.py:30
***: Request timed
out.
[10/09/20 15:35:20] INFO     Closing connection to           async_driver.py:120
***
[2020-10-09 15:35:20 +0000] [828] [ERROR] Exception in ASGI application
Traceback (most recent call last):
File "/opt/hyperglass/hyperglass-server/virtualenv/lib64/python3.6/site-packages/uvicorn/protocols/http/httptools_impl.py", line 390, in run_asgi
result = await app(self.scope, self.receive, self.send)
File "/opt/hyperglass/hyperglass-server/virtualenv/lib64/python3.6/site-packages/uvicorn/middleware/proxy_headers.py", line 45, in __call__
return await self.app(scope, receive, send)
File "/opt/hyperglass/hyperglass-server/virtualenv/lib64/python3.6/site-packages/fastapi/applications.py", line 183, in __call__
await super().__call__(scope, receive, send)  # pragma: no cover
File "/opt/hyperglass/hyperglass-server/virtualenv/lib64/python3.6/site-packages/starlette/applications.py", line 102, in __call__
await self.middleware_stack(scope, receive, send)
File "/opt/hyperglass/hyperglass-server/virtualenv/lib64/python3.6/site-packages/starlette/middleware/errors.py", line 181, in __call__
raise exc from None
File "/opt/hyperglass/hyperglass-server/virtualenv/lib64/python3.6/site-packages/starlette/middleware/errors.py", line 159, in __call__
await self.app(scope, receive, _send)
File "/opt/hyperglass/hyperglass-server/virtualenv/lib64/python3.6/site-packages/starlette/middleware/cors.py", line 86, in __call__
await self.simple_response(scope, receive, send, request_headers=headers)
File "/opt/hyperglass/hyperglass-server/virtualenv/lib64/python3.6/site-packages/starlette/middleware/cors.py", line 142, in simple_response
await self.app(scope, receive, send)
File "/opt/hyperglass/hyperglass-server/virtualenv/lib64/python3.6/site-packages/starlette/exceptions.py", line 82, in __call__
raise exc from None
File "/opt/hyperglass/hyperglass-server/virtualenv/lib64/python3.6/site-packages/starlette/exceptions.py", line 71, in __call__
await self.app(scope, receive, sender)
File "/opt/hyperglass/hyperglass-server/virtualenv/lib64/python3.6/site-packages/starlette/routing.py", line 550, in __call__
await route.handle(scope, receive, send)
File "/opt/hyperglass/hyperglass-server/virtualenv/lib64/python3.6/site-packages/starlette/routing.py", line 227, in handle
await self.app(scope, receive, send)
File "/opt/hyperglass/hyperglass-server/virtualenv/lib64/python3.6/site-packages/starlette/routing.py", line 41, in app
response = await func(request)
File "/opt/hyperglass/hyperglass-server/virtualenv/lib64/python3.6/site-packages/fastapi/routing.py", line 197, in app
dependant=dependant, values=values, is_coroutine=is_coroutine
File "/opt/hyperglass/hyperglass-server/virtualenv/lib64/python3.6/site-packages/fastapi/routing.py", line 147, in run_endpoint_function
return await dependant.call(**values)
File "/opt/hyperglass/hyperglass-server/virtualenv/lib64/python3.6/site-packages/hyperglass/api/routes.py", line 120, in query
cache_output = await execute(query_data)
File "/opt/hyperglass/hyperglass-server/virtualenv/lib64/python3.6/site-packages/hyperglass/execution/main.py", line 70, in execute
response = await driver.collect()
File "/opt/hyperglass/hyperglass-server/virtualenv/lib64/python3.6/site-packages/hyperglass/execution/drivers/ssh_scrapli.py", line 98, in collect
log.debug(f'Raw response for command "{query}":\n{raw.result}')
File "/opt/hyperglass/hyperglass-server/virtualenv/lib64/python3.6/site-packages/scrapli/driver/async_driver.py", line 82, in __aexit__
await self.close()
File "/opt/hyperglass/hyperglass-server/virtualenv/lib64/python3.6/site-packages/scrapli/driver/async_driver.py", line 122, in close
await self.on_close(self)
File "/opt/hyperglass/hyperglass-server/virtualenv/lib64/python3.6/site-packages/scrapli/driver/core/juniper_junos/async_driver.py", line 44, in junos_on_close
await conn.acquire_priv(desired_priv=conn.default_desired_privilege_level)
File "/opt/hyperglass/hyperglass-server/virtualenv/lib64/python3.6/site-packages/scrapli/driver/async_network_driver.py", line 124, in acquire_priv
current_prompt = await self.channel.get_prompt()
File "/opt/hyperglass/hyperglass-server/virtualenv/lib64/python3.6/site-packages/scrapli/decorators.py", line 92, in decorate
wrapped_func=wrapped_func, args=args, kwargs=kwargs
File "/opt/hyperglass/hyperglass-server/virtualenv/lib64/python3.6/site-packages/scrapli/decorators.py", line 247, in asyncio_timeout
wrapped_func(*args, **kwargs), timeout=self.timeout_duration
File "/usr/lib64/python3.6/asyncio/tasks.py", line 358, in wait_for
return fut.result()
File "/opt/hyperglass/hyperglass-server/virtualenv/lib64/python3.6/site-packages/scrapli/channel/async_channel.py", line 204, in get_prompt
self._send_return()
File "/opt/hyperglass/hyperglass-server/virtualenv/lib64/python3.6/site-packages/scrapli/channel/base_channel.py", line 172, in _send_return
self.transport.write(channel_input=self.comms_return_char)
File "/opt/hyperglass/hyperglass-server/virtualenv/lib64/python3.6/site-packages/scrapli/decorators.py", line 328, in requires_open_session_wrapper
return wrapped_func(*args, **kwargs)
File "/opt/hyperglass/hyperglass-server/virtualenv/lib64/python3.6/site-packages/scrapli_asyncssh/transport/asyncssh_.py", line 439, in write
self.stdin.write(channel_input.encode())
File "/opt/hyperglass/hyperglass-server/virtualenv/lib64/python3.6/site-packages/asyncssh/stream.py", line 302, in write
return self._chan.write(data, self._datatype)
File "/opt/hyperglass/hyperglass-server/virtualenv/lib64/python3.6/site-packages/asyncssh/channel.py", line 836, in write
raise BrokenPipeError('Channel not open for sending')
BrokenPipeError: Channel not open for sending
INFO     Attempting to acquire    base_network_driver.py:323
`exec` privilege level

thanks! I can verify that pinging works again


Prime number between two numbers

You are given two integers m and n, and you need to find all the prime numbers between these m and n.

Swaroopa Dubal , SY ENTC
I would like to work on this issue, can you plz assign this issue to me??

@Anushri07 you can start working on the issue. You have 2 days to do that.

You can work on single issue at a time

Janhavi Punse
SY comp
I would like to work on this

@janhavipunse you can start working on the issue. You have 2 days for it


Automatic conversion of documents to open office or pdf

Is there a way automatically do document conversion to the accepted file types?

Nothing which is built into ViewerJS.
A solution can be to convert the documents on-the-fly on a server, using e.g. LibreOffice in headless-mode or the Calligra converter. So the url passed to ViewerJS would request the converted file from that server, which would then create it as needed.
See https://github.com/owncloud/format-filter-server for some sample implementation.


Time to LS not showing Bordeaux (14)

Hi, forgive me if this is the wrong place to post this....
I loaded my area, Bordeaux South, Block 14. Unfortunately, it doesn't show any times other than the stage. Am I missing something?
Thanks for making this!

Click on your area and then open the attributes.
There are also examples of cards in the documentation to display the information.

Click on your area and then open the attributes.
There are also examples of cards in the documentation to display the information.

Magic! Thanks so much!

Check out the example Cards and Automations in the readme


[ONNX] Add MatMulInteger importer

As title. Re-uses QLinearMatMul's implementation. The only difference is that MatMulInteger accumulates into int32, not int8 or uint8.
cc @cconvey @AndrewZhaoLuo

It looks like the onnx importer test is failing on test_matmulinteger for cuda, since the cuda schedule generation for dense_int8 relies on the inner dimension of the multiply being a multiple of 4. The default onnx test's inner dimension is 3, and there is no generic schedule for non-4-multiples to fall back to. Should I close this PR until this issue can be addressed?

I think there should be dense legalize or something that adds padding and slicing to handle such cases


Update Postico.app to v0.26

Thank you for the contribution. It was merged directly as c257a6c8e0a4b67c22c93f6753bc57b852dfb65d to keep commit history cleaner. Your contribution is still credited to you.


bigger vertical margin buffer?

upper and lower buffers should be increased I think?

between text and chapter break


Is there any support for sub-selectors currently?

Hello, I wonder if subselectors are supported at the moment, since either of following syntax seems to throw syntax errors,
// Either
const classes = ({
  'wrapper title': {
    margin: 1,
  }
})

// Or
const classes = ({
  'wrapper': {
    'title': {
      margin: 1,
    }
  }
})

Despite the second syntax being a SASS style and might not be the focus of this project, the first syntax actually belongs to CSS syntax and is quite useful, or actually irreplaceably necessary, in practice.

Hi @dkwingsmt,
your first syntax example should actually work.
Something like this:
var styles = cssInJS({
  foo: {
    marginTop: 10
  },
  'foo p': {
    color: 'red'
  }
});

will get transformed to this:
var styles = {
  foo: 'test-foo',
  foo p: 'test-foo p'
};

an that CSS:
.test-foo {
  margin-top: 10px;
}
.test-foo p {
  color: red;
}

Oh wait! That foo p' key in the transformed styles` object actually is invalid syntax and throws a "SyntaxError: Unexpected identifier". Is that also the exception you are getting?

I think so. I do remember seeing an "Unexpected identifier" error in some cases, not clear if it was this one. Will check tomorrow if needed.

Will check tomorrow if needed.

Yeah, please do.

Yes, that's what I got.

@dkwingsmt The syntax error got fixed in v1.4.1. So your first example above should now properly work. Please check.
I also plan to support for your second proposal (subselectors inside the class name spec) soon.

Wow that sounds like a great news. Thank you.
By the way, in your test case, p being not localized is a little unexpected to me. Well, it doesn't matter if you will implement my second proposal.

By the way, in your test case, p being not localized is a little unexpected to me.

What do you mean with "p being not localized"?

Never mind. I've tested it today and it really works well. Thank you, and looking forward to it. :)


Idea: OAuth proxy as a library

Hello!
Deployment of many small servers/services, each with its own OAuth proxy can be quite tedious (i'm thinking about
static self-contained websites served in container, but protected with OAuth).
A nice feature would be if oauth-proxy-rs could be embedded as a library inside some service. I could imagine a library call with (maybe already created socket?) parameters passed to it and also the backend address/url (maybe even listening on localhost address to not expose it to the public).
WDYT?

Primarily the proxy was intended to run as a sidecar in a kubernetes environment (i.e. as additional container inside a pod).
I am no sure if converting it to a library would make much sense. All the "heavy duty" is already handled by the "openid" crate.
Also: What languages/frameworks should be supported? The benefit of an extra process is that the webservice itself can be written in any language/framework

Ok, i see. For my use case (self-contained web server in Rust with embedded static pages, but protected with OAuth) it's probably better to instrument the "openid" crate directly, because i want to spare the separate container/process.
Closing the issue.


fix(Avatar, Image): fixing fluid prop in Image and applying it in the Avatar component

Image
Applying the fluid prop to the avatar variations for the image.
Avatar
Using the fluid prop for the image component.
TODO

[x] Conformance test
[x] Minimal doc site example
[ ] Stardust base theme
[x] Teams Light theme
[ ] Teams Dark theme
[ ] Teams Contrast theme
[ ] Confirm RTL usage
[ ] W3 accessibility check
[ ] Stardust accessibility check
[ ] Update glossary props table
[x] Update the CHANGELOG.md

currently variables are passed down the tree by Avatar component - we should prevent it to happen by introducing them to handledProps set. The same story applies to 'styles'.

On a long-term, we should ensure that this is not happening by means of conformance tests (something that we've already discussed) - let me, please, take care of tests for this.


feat: define interceptor and implement arg interceptor

Which issue does this PR close?
Part of #34
Rationale for this change
Define interceptor-related traits, and implement an ARG interceptor that is useful to parse query context to DB runner.
What changes are included in this PR?

interceptor traits

Interceptor
InterceptorFactory

interceptor implementation

ArgInterceptor
ArgInterceptorFactory

example

Are there any user-facing changes?

Yes, the Database trait adds a new parameter QueryContext which is a string-to-string key value map.
#[async_trait]
pub trait Database {
    async fn query(&self, context: QueryContext, query: String) -> Box<dyn Display>;
}

How does this change test

new example interceptor_arg and unit test

Will review this in this week. don't worry.

May I make a new release 0.4 for this patch?

Just go ahead.


Issue/5782 resource tab

Description
Create Tab Content for Service Instance Details V2
closes #5782

Self Check:
Strike through any lines that are not applicable (~~line~~) then check the box

[ ] Attached issue to pull request
[ ] Changelog entry
[ ] Code is clear and sufficiently documented
[ ] Sufficient test cases (reproduces the bug/tests the requested feature)
[ ] Correct, in line with design
[ ] End user documentation is included or an issue is created for end-user documentation (add ref to issue here: )

Processing this pull request


promise support

Thanks! Merged!
I'm not a Promise user, but I like the way you've namespaced it off, so I'm happy to merge.
I need to fix one of the https tests (expired cert) and then I'll publish this as a new minor version :+1:


test grpc delayed responses

#1472 adds functionality to astria-grpc-mock to delay responses by a certain amount of time after a matching request has been made. This should be tested in astria-grpc-mock-test together with changes from #902
┆Issue Number: ENG-845

This issue is stale because it has been open 45 days with no activity. Remove stale label or this issue
be closed in 7 days.


Implement bookmarks

Is your feature request related to a problem? Please describe.
When working in high availability setups such as clusters or cloud solutions, data consistency can become a problem.
It is possible to write a node to an instance, and read from a read replica while the updated node hasn't been propagated to that instance yet.
Describe the solution you'd like
The solution to this is to implement a bookmark system in the session, so Neo4J can delay the query execution if the result of the previous query depends on the new one.
Bookmarks should be turned on by default on the session and used internally, so the user does not need to care about it.
Users of the library will be advised to create new sessions for different sequences of queries that do not depend on each other to avoid unnecessary waiting. Another option for the end user is to override the bookmarks through the session configuration.
Describe alternatives you've considered
The alternative is to simply query the same read replica until the change has been detected, which is a horrible developer experience and puts unnecessary strain on the read replica.
Additional context
https://neo4j.com/developer/kb/when-to-use-bookmarks/

Closed by #137


When do we get more videos?

[Enter feedback here]
Guys this page is fantastic. WHY are you not doing videos with ALL of the articles and if you are, when can we expect them? I can then send clients the URL/link for their reference and it's simple, easy to follow.

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

ID: f773c52d-84a2-eac7-00a9-b8c24f5dffb7
Version Independent ID: 5afdc112-18e8-7984-e382-d9b1a3858fa8
Content: Link a Sales Order to a Purchase Order for Direct Shipment (contains video) - Business Central
Content Source: business-central/sales-how-drop-shipment.md
Service: dynamics365-business-central
GitHub Login: @SorenGP
Microsoft Alias: edupont

Hello,
We're very happy to hear that the videos are helpful. As for when to expect new videos, we typically produce them for selected new features when we deliver a new release. For existing features, we have a backlog that we whittle down as time allows.


Package request: python-qemu-qmp

Project description
An asyncio library for communicating with QEMU Monitor Protocol (“QMP”) servers
Metadata

homepage URL: https://gitlab.com/qemu-project/python-qemu-qmp
source URL: https://gitlab.com/qemu-project/python-qemu-qmp
license: gpl2
platforms: unix, linux, darwin, ...

Add a :+1: reaction to issues you find important.

Prior attempts at packaging this:

https://github.com/NixOS/nixpkgs/pull/257530

This would also enable a nice QMP client API for https://github.com/NixOS/nixpkgs/pull/257535
fyi @RaitoBezarius


Use of third party components

Hi community members
Is there a way to use ASP.NET third party component from Syncfusion, DevExpress or reporting tools like fast report or crystal report with serenity? any idea and example please.
Thanks for help

You should be able to add anything ASP.Net to serenity but you'll have to map it accordingly for your needs. I don't think there are samples in place for any of the ones you mentioned.

Thank you.
If there is any third party example would help me a lot. However, I will start working and will need your support.

We have some component integration sample in guide.


What's the difference between Op and Kernel in TFRT?

I found CpuOpRegistry and GpuOpRegistry in backends directory.
There is also a KernelRegistry in include directory.
It seems easy to launch kernel directly in common cases, for example:
https://github.com/tensorflow/runtime/blob/b46055f40b34532f5e531df72df4149cfba00208/integrationtest/mnist/mnist.mlir#L27-L30
But, there are also many kernels launched by kernel corert.executeop in eager mode, for example:
https://github.com/tensorflow/runtime/blob/b46055f40b34532f5e531df72df4149cfba00208/integrationtest/mnist/eager_mnist.mlir#L39-L43
I have two questions:

What's the Intuition behind Op and Kernel? What's the difference?
Why Op is used in eager mode only?

What's the Intuition behind Op and Kernel? What's the difference?

Op is higher level concept and visible from TensorFlow Python API.
TFRT Kernels are TFRT instruction set. In other words,  execution units in TFRT.
As an analogy, an Op is C function and a Kernel is an assembly mnemonic.. and mlir lowering acts as an assembler / compiler.
So, TFRT kernels are not visible from TensorFlow Python API.
Why Op is used in eager mode only?

I am not sure about the question.. I think Op is used in graph execution mode as well.


add-a-multi-value-parameter-to-a-report.md: remove duplicate section

Section To add a multi-value parameter is twice in this file

@michha,
Thanks for your contribution.
To ensure that the project team has proper rights to use your work, please complete the Contribution License Agreement at https://cla.microsoft.com.
It will cover your contributions to all Microsoft-managed open source projects.
Thanks,
Microsoft Pull Request Bot

I signed the cla

closing and re-opening to re-trigger validation.

@michha,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by Microsoft. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

Thank you @michha for the content contribution.


cannot allow the app to take pictures

hello
i cannot go with the touchpad to the deny or allow button ( camera permission )
is there a way to do it ?
Is there an android update for the google enterprise 2 ?
thanks

Hi @openmotion! Yes, the touchpad does work on these dialogs in recent versions. Check the developer site for updates and let us know if you run into trouble: https://developers.google.com/glass-enterprise/downloads/system-images


team-teaching: new page

New page to describe typical team teaching methods.  As usual, this
doesn't claim to know everything, but tries to give hints based on
what has worked and outline a framework to plan out teach teaching
Review:

General check
See if there are any obvious things missing, but this is a work in
progress.

Thank you for the write-up!


Unified Permission API

I am not sure whether you have updated the docs for swift 3 but I noticed that on the unified permissions API the .unknown, .unauthorized, .disabled, and .authorized should be lower case not upper case (in the switch statement).

Thanks @nevinjethmalani, I'll catch this during the swift3 changeover


fix: redirect to defined success URL

Ref: TASK-2020-00161

Problem:
Web Form redirects on the portal would only change the final component of the path without refreshing its query params, which would cause any form submit (example path: /issues?new=1) to keep redirecting to a new web form, even if the success URL was set to a specific path (example path: /issues).
Solution:
Set the full redirect path to the one defined in the "Success URL" for any given Web Form.

Made upstream to hotfix and develop.

Pull Request Test Coverage Report for Build 928

0 of 0   changed or added relevant lines in 0 files are covered.
3 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.002%) to 51.905%

Files with Coverage Reduction
New Missed Lines
%

frappe/utils/change_log.py
3
21.53%

Totals

Change from base Build 926:
-0.002%

Covered Lines:
21705

Relevant Lines:
41817

💛  - Coveralls


Update 1.0-Planning-and-Selecting-Azure-AD-Identity-Patterns.md

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

1.0-Planning-and-Selecting-Azure-AD-Identity-Patterns.md
:white_check_mark:Succeeded

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


Feature Request: Make Images in Comment Tooltips Clickable to Open in Editor

I'd like to have an easy way to open the linked image for editing (think drawio/diagrams.net-images within the vs code editor extension) or viewing in a full editor/view panel.
Use Case:

This feature would enable developers to more easily navigate to associated image files without having to dig through the directory structure.
Allows for quick back-and-forth comparison between code and referenced images.
Minimum amount of friction to update images when the corresponding code is changed.

Expected Behavior:

Hovering over a comment with an image link shows the tooltip with the image.
Clicking on the image (or an associated link) within the tooltip opens the image file within the VS Code editor.

Current Behavior:

Hovering over a comment with an image link shows the tooltip with the image.
No clickable functionality to open the image in the editor.

Sorry for the late reply. Is the updated version more like it?


Add support for AWS Batch?

Amazon has made AWS Batch available for all:
https://aws.amazon.com/documentation/batch/
We should see if it makes sense to add support for it to Xenon

Seems to use docker as a container you run on the nodes ?

From what I can tell (in the 30 seconds I browsed through the docs), you can define your own queues and submit jobs to them (based on docker). These are then run whenever amazon has resources available to adhere to your limitiations (e.g., cost).
It does sound like single node jobs only ... but for many applications that is more than enough

Implementation should be in xenon-adaptors-cloud repo, see https://github.com/xenon-middleware/xenon-adaptors-cloud/issues/10 issue continuation.


change search

Just a small PR so that in the search it's not possible anymore to request cancelled Drives.

@Eddie-42 can you add that to your tests now?


[Feature Request] - Text shadow style support for

It would be great to be able to add a text shadow style to ViroText components so that white text can be readable over light backgrounds.

Hi @robwebdev, thanks for the feature request. We'll update this issue when we ship this feature.

Outline and drop shadow for text has been added in the latest update, ViroReact 2.9
Release notes and upgrade instructions here -> https://docs.viromedia.com/docs/releases
Documentation here -> https://docs.viromedia.com/v2.9.0/docs/virotext2#section-outline-and-drop-shadow


State directory can not be configured and is set to default drive

When trying to install Daedalus wallet, I selected for it to be installed on the D drive. That worked fine, but the state directory was still pushed to the C drive.
I would recommend this to be configurable in the installer, as there were no options there for this and I can't seem to find a way to change the drive and right now it's just stuck on this screen:

Duplicate of https://github.com/input-output-hk/daedalus/issues/605
Please follow this: https://github.com/input-output-hk/daedalus/issues/605#issuecomment-771782614


feat: Resurrected the STATIC flag reason. Documented the caching strategy.

This PR
Resurrected the STATIC flag reason. Documented the caching strategy.
Related Issues

Fixes #223
Notes

Follow-up Tasks

How to test

This makes sense to me. I think this should enable a simple but effective caching strategy on the clients.


OutOfBoundsDatetime: Out of bounds nanosecond timestamp: 1677-09-21 00:00:00

Dear Zipline Maintainers,
Before I tell you about my issue, let me describe my environment:
Environment

Operating System: (Windows Version or $ uname --all)
Python Version: $ python --version
Python Bitness: $ python -c 'import math, sys;print(int(math.log(sys.maxsize + 1, 2) + 1))'
How did you install Zipline: (pip, conda, or other (please explain))
Python packages: $ pip freeze or $ conda list

Now that you know a little about me, let me tell you about the issue I am
having:
I ingest my chinese stock data and use it to backtesting with pipeline factor.But when i use run_algorithm there is the error:
OutOfBoundsDatetime                       Traceback (most recent call last)
~\AppData\Local\Temp\tmp24i55k5_\ipykernel_13180\3170537094.py in
7                         data_frequency='daily',
8                         bundle='cnstock',
----> 9                         custom_loader=signal_loader)# need to modify zipline
10
11 print('Duration: {:.2f}s'.format(time() - start))
c:\Users\zjlqaq\anaconda3\envs\zipline_env2\lib\site-packages\zipline\utils\run_algo.py in run_algorithm(start, end, initialize, capital_base, handle_data, before_trading_start, analyze, data_frequency, bundle, bundle_timestamp, trading_calendar, metrics_set, benchmark_returns, default_extension, extensions, strict_extensions, environ, custom_loader, blotter)
417         blotter=blotter,
418         custom_loader=custom_loader,
--> 419         benchmark_spec=benchmark_spec,
420     )
421
c:\Users\zjlqaq\anaconda3\envs\zipline_env2\lib\site-packages\zipline\utils\run_algo.py in _run(handle_data, initialize, before_trading_start, analyze, algofile, algotext, defines, data_frequency, capital_base, bundle, bundle_timestamp, start, end, output, trading_calendar, print_algo, metrics_set, local_namespace, environ, blotter, custom_loader, benchmark_spec)
223             else {
224                 "algo_filename": getattr(algofile, "name", ""),
--> 225                 "script": algotext,
226             },
227         ).run()
c:\Users\zjlqaq\anaconda3\envs\zipline_env2\lib\site-packages\zipline\algorithm.py in run(self, data_portal)
621         try:
...
c:\Users\zjlqaq\anaconda3\envs\zipline_env2\lib\site-packages\pandas_libs\tslibs\conversion.pyx in pandas._libs.tslibs.conversion.convert_datetime_to_tsobject()
c:\Users\zjlqaq\anaconda3\envs\zipline_env2\lib\site-packages\pandas_libs\tslibs\np_datetime.pyx in pandas._libs.tslibs.np_datetime.check_dts_bounds()
OutOfBoundsDatetime: Out of bounds nanosecond timestamp: 1677-09-21 00:00:00
I find my raw data have no timestamp: 1677-09-21 00:00:00 and error timestamp,and i can't find the error.If anyone can solve or there is any api to see my bundle data timestamp?
Here is how you can reproduce this issue on your machine:

It's hard to say what's going on without being able to replicate the issue, which in turn would likely require at least some of the source data.
However, data without time stamp is odd because how would a price series be organized otherwise?

Closing for now due to lack of activity.


Code Quality

Description
This feature will provide improvements to static code analysis to improve overall code quality and detect security issues, vulnerabilities and bugs.
Stories

[x] #51
[x] #41
[x] #46
[x] #79
[x] #89
[x] #98
[x] #68

Close as all corresponding stories are completed.
Additional topics will be covered in separate features.


Tests init

Current coverage is 37.03%

Branch #10 has no coverage reports uploaded yet.

No diff could be generated. No reports for master found.

Powered by Codecov. Updated on successful CI builds.


Git or GitHub logo?

The portfolio "Git" logo is actually GitHub's Octocat. Is that intended for cuteness, at the expense of accuracy?
If not, how about aligning it? Either that logo with "GitHub" or "Git" and its logo.

@katrinleinweber That's a good point. I do quite like the Git logo.

I can sort that out - will switch over to git logo.

Done


Claims - POST /claims/{claimant-id}/{claim-no}/{due-date}

POST should not be on a key - the POST should be on
/claims/

Change Claims - POST /claims/{claim-id} to POST /claims


document requirements.txt for project freeze

The current documentation for releasing a project for production doesn't mention requirements.txt. We should consider whether we want to include that in the release flow. I personally think it would be a good idea to run something like pip freeze > requirements.txt upon project release. We need to decide on a recommended approach and document it. Afterwards we should notify the solutions team.

Follow-up question: if we recommend all projects to use a lock file, do we still need to keep upper bounds on our dependency constraints in core and extensions? This seems to be widely considered a bad idea. I've always been a proponent of it myself but reading about it has got me wondering.


Event is not fired in MediaPlayer Class

Hello,
Since a few days I'm experimenting with this great library to play audio with the MediaPlayer class. It gives AHK very great possibilities.
The playback works perfectly, but there is a problem with the event triggering. I register it, but the function isn't called, there is no error.
My Code:
#Requires AutoHotkey v2.0-beta
#include winrt\winrt.ahk
Persistent()
;#Warn
pl := WinRT('Windows.Media.Playback.MediaPlayer')()
pl.Source := WinRt('Windows.Media.Core.MediaSource').CreateFromUri(WinRt('Windows.Foundation.Uri')('C:/test.flac'))
pl.PlaybackSession.Add_PlaybackStateChanged(test)
pl.AutoPlay := false
pl.play()
Sleep(1000)
pl.Pause()
test(obj, args) {
MsgBox('Event triggered')
}
Is this a bug in the WinRT library or in my code?

Sorry, it's a limitation in the MediaPlayer class, not from WinRT.ahk.


[Feature] Allow customize series name in the tooltip.

What problem does this feature solve?
Is there a way to custom series name cost, users, impressions, ctr in tooltip?

const options = {
  legend: {
    data: ['cost', 'users'],
    formatter(name) {
      return `custom ${name}`;
    },
  },
  series: [
    {
      name: 'cost', // keep the name, I don't want to change in here.
      data: [1, 2, 3],
    },
    {
      name: 'users',
      data: [1, 2, 3],
    },
  ],
};

What does the proposed API look like?
const options = {
  legend: {
    data: ['cost', 'users'],
    formatter(name) {
      return `custom ${name}`;
    },
  },
  series: [
    {
      name: 'cost', // keep the name, I don't want to change in here.
      data: [1, 2, 3],
      tooltip: {
        label: {
          formater(name) {
            return `custom ${name}`;
          },
        },
      },
    },
    {
      name: 'users',
      data: [1, 2, 3],
      tooltip: {
        label: {
          formater(name) {
            return `custom ${name}`;
          },
        },
      },
    },
  ],
};

Do you want tooltip formatter to act like legend formatter ? It can.
Demo Code - for tooltip trigger item or axis.

@helgasoft Thanks, It would be better if there was some way like legend formatter.


STORM-1682: Refactor DynamicBrokersReader to lookup leader informatio…

…n via Kafka metadata API. Put Zookeeper metadata lookup into new class.
See https://issues.apache.org/jira/browse/STORM-1682.
This solution splits DynamicBrokersReader into two. Instead of looking up leaders and brokers in Zookeeper, ZkBrokersReader will use the brokers in Zookeeper to construct one or more SimpleConsumers, which DynamicBrokersReader can then use to lookup partition leaders.
DynamicBrokersReader should now cause the spout to restart in the following scenarios:
If it can't find any brokers in Zookeeper
If it can't contact any of the brokers it found in Zookeeper
If wildcard topics are listed in Zookeeper, and no broker has metadata for all of them
In order to test behavior when brokers shut down, it was necessary to separate the Kafka test broker from Zookeeper so multiple brokers can run in a cluster, which is the reason for modifications in many tests.

This runs reliably for me locally, Travis seemed to run into a heap space limit.

Closing this temporarily. I need to check that this works on 0.8.x

The tests pass on <IP_ADDRESS>, which is the version targeted by https://github.com/apache/storm/pull/1386. Reopening.

Given that partitions information is refreshed every 30 seconds, and this particular exception is rare, is this change necessary?

It's not strictly necessary, no. It's just an alternate way of looking up leaders that avoids the concurrency issue when looking up the leader in Zookeeper. As a side effect, it may give more informative error logs when the metadata API returns errors, than being told that a node in Zookeeper is missing.
Yes, the RuntimeExceptions will crash the worker. I put them in before realizing that refresh was called periodically. I could replace them with error logs?

Closing this, we aren't using this spout anymore and it's a big change to fix some very minor pausing


Fix EGW icmp probes (#2493)

Description
Cherry-pick of https://github.com/tigera/operator/pull/2493
For PR author

[ ] Tests for change.
[ ] If changing pkg/apis/, run make gen-files
[ ] If changing versions, run make gen-versions

For PR reviewers
A note for code reviewers - all pull requests must have the following:

[ ] Milestone set according to targeted release.
[ ] Appropriate labels:

kind/bug if this is a bugfix.
kind/enhancement if this is a a new feature.
enterprise if this PR applies to Calico Enterprise only.

/merge-when-ready delete-branch

OK, I will merge the pull request when it's ready, leave the commits as is when I merge it, and delete the branch after I've merged it.

I'm sorry but I failed delete the branch after merging the pull request.


Make update_index command quiet when calling with "--verbosity=0".

The "self.verbosity > 0" is as used in Django's built-in management commands such as "migrate".

The background on this is that I run update_index from a cron.weekly shell script, so I get mail if there's any output from the command. I could potentially redirect stdout to /dev/null, since errors would go to stderr, but the change I've made is more in line with how Django's built-in management commands work.

For what it's worth, it looks like the test failure is a failure of the test pipeline itself, not related to this code change.

This looks like it would be very simple for someone to take on and make the changes suggested by Andy, so I have tagged as "good first issue" if someone wants to take over.

I was looking for some beginner issues to work on, @thibaudcolas I can complete this if it's still required (which I guess would be?).

Replaced by https://github.com/wagtail/wagtail/pull/9271


Type hinting with signals produces unintended behaviour.

Godot version:
3.1 stable
OS/device including version:
Windows 10 64bit
Issue description:
When type hinting is used with signals some weird behaviour occurs, the following code is valid and works perfectly fine.

However when type hinting is added it throws the following error when run.

But when I add a null check to the function body the code works again and also fires off properly when the player enters the spikes.

I have checked the built in help which confirms that body is indeed of type PhysicsBody2D

This suggests to me that possibly something that isn't a PhysicsBody2D is being passed to the function by mistake?
Minimal reproduction project:
Reproduction project (Metroidvania.zip)

Apparently typeof() produces the number 17 which is apparently type object and not PhysicsBody2D...
Also the problem is solved if I move the spikes scene up off the tilemap so that it's not colliding which tells me the collision with the Tilemap is passing an Object to body_entered and not a PhysicsBody2D as the documentation suggests... not sure if this is intentional or not?

Just to be clear, typeof returns an enum value from the TYPE_* global enum, which is not the class name of the object.

I was able to reproduce this issue. I don't think this is intended functionality either. While technically, it is true that a collision happened, it just seems odd that you wouldn't be able to use static typing if you're using a tilemap. Perhaps have a toggle to allow the user decide if a tilemap should generate body_entered events or not.

Duplicate of #27076.


Configure eslint

Configure eslint using https://github.com/antfu/eslint-config

Hey @harshmangalam  Hai
can i work on this?

Sure @programmerraja

@harshmangalam can i know which node version is this porject using because i setup eslint with node 18

We are not using node. Its a Bun project

Eslint added :)


Question for Algorithm 1

Hi, I have a question for the pseudo code in Supplementary A section.
For the Algorithm 1, the LDS is only used to compute the weights for loss inverse re-weighting scheme. Why not use the smoothed labels to train the models if LDS captures the real imbalance that affects regression problems?
In addition, could you provide code for computing the effective label density distribution?
Thank you.

Hi - thank you for your interests!
For LDS, we are estimating an effective label density distribution, so it is the label density (distribution) rather than label itself that is smoothed. As you noted, the effective density estimated by LDS is independent of which method you use -- a straightforward adaptation can be the re-weighting scheme; we also apply the estimated density to some classic methods and show improvements (see Sec. 4 baselines, "Synthetic samples" for example).
The code will be released very soon (in coming weeks). Please stay tuned!


hdf5 extension in Silx view when opening hdf5 files

In Silx View, in the 'open' window files, for choosing the hdf5 file to be opened, the filter is finding the files with extensions 'h5' and 'hdf', but not the files with extensions 'hdf5' files.
In order to open 'hdf5' files, now the 'all files (*)' filter has to be chosen in order to see the files with 'hdf5' extension in the 'open' window of Silx view.
It should be good if hdf5 files were visible from the beginning in this 'Open' window.

It have to be fixed. Thanks for the feedback.


Project Manager blank window on Windows

Godot version
v4.0.alpha.custom_build.690fefe43
System information
Windows 10, Radeon 5700XT latest drivers, Vulkan
Issue description
When I launch Godot built from latest sources (690fefe43), all I get is a project manager window completely blank, nothing showing up inside. I can only close the window, and I never reach the editor.
I launched the binary with -v but no errors in the log. Then I tried to delete all the Godot config files in my AppData: did not help, same issue.
Everything works fine on my workstation, I can play AAA Vulkan based games on Steam, UPlay...
godot-launch-logs.txt
s
Steps to reproduce
All I did was:

git clone
scons target=release_debug -j 12
Build completely successfully, then I launched .\bin\godot.windows.opt.tools.64.exe -v

Minimal reproduction project
No response

Does it work if you start the project manager with --rendering-driver opengl3 --single-window?

So I rebooted my machine, and then Windows told me I needed to reboot again, because of hardware changes (last hardware change was 2 years ago...), anyway I obliged and oh problem solved: the default Vulkan backend works and I can see the project manager! OpenGL is crashing but I don't mind as long as Vulkan works.
Anyway, sorry for the noise, Windows can be frustrating and unpredictable.

OpenGL is crashing but I don't mind as long as Vulkan works.

I forgot OpenGL was currently broken in master, so there's no way it could have worked anyway.


WPF sample crash on french windows version (with fix)

How to reproduce?
Use a French windows version and launch the WPF sample.
Exception
Exception in Examples\WPF\CartesianChart\Linq\Database.cs
System.FormatException
Caused by the separator used in the csv file.
Fix
Use InvariantCulture :
read.Add(new City
{
Name = values[0],
Population = double.Parse(values[1], System.Globalization.CultureInfo.InvariantCulture),
Area = double.Parse(values[2], System.Globalization.CultureInfo.InvariantCulture),
Country = values[3]
});
Thanks
I am using

Live-Charts version
0.8

.Net Version
*4.5.2

Windows
10

Thank you very much for this report, previous commit applies your fix


Key repeatition in xorg applications

Hey, I've been having issue for quite a while now - that every time I launch rofi (Meta+Space) sometimes it'd repeat the "Space" key in the search bar
Same in Webcord, If I'm in a text box and I move between workspaces (eg.Meta+1) it'd repeat the "1" key inside the text box
On Wofi (and other Wayland-native apps) the problem doesn't seem to occur.
Config:

OS: Arch Linux x86 (LTS kernel)
Hyprland: hyprland-nvidia-git
Drivers: nvidia-open-dkms
Env variables: (same as in guide for wiki.hyprland.org.nvidia)
Keyboard repeat delay: 500 (Even 1000 doesn't help, it's probably not the cause)

dupe of #2010

Yeah I've moved hyprland-git now, seems to work perfectly
A giant thank you for responding so quickly!


Add Joint Names parameter for customizing joint names in guide settings.

This adds a new parameter called "joint_names" to the Main guide class, making it available in all component guides. The parameter allows any skinning joint name to be set in advance in the guide settings. When present, the custom names override default names Shifter would use when creating joints.
Example:

We needed this at Remedy where we have content tools and in-game systems relying on specific names for some joints. We think this may be useful for others as well.

Hi @Ruuttu  This is great!  Thanks for the PR. I will test it and merge ASAP!
Funny thing. I was about to implement something similar in this ticket: https://github.com/mgear-dev/shifter/issues/83
....wait !!! What!!!  are you using mGear at Remedy Entertainment!! ?? :D :D

Lucky timing I guess!
We've used mGear successfully for a while at Remedy, but on a small scale. We hope to do much more with it over time :)
There's a problem I discovered with this PR. The new parameter causes old guides to fail import, as in the issue #69. I'll take a look, hopefully it can be fixed.

Hello @Ruuttu
Thanks for checking the number #69 !! :D
do you know when can you check this one?
If you are not sure, I will do it. Since I want to merge your PR before continue with the naming template in #83
thanks!

Hey, I committed a fix for #69 right here for convenience. It's a suspiciously simple fix tho - hopefully I didn't miss anything.

thanks @Ruuttu  I will check and merge tomorrow. :)


refactor: delete coredns by yaml

What type of PR is this?

/kind feature
What does this PR do?

Which issue(s) does this PR fix?

Fixes #
Special notes for your reviewer:

Does this PR introduce a user-facing change?

NONE

/lgtm

/lgtm
/approve

/hold

fix the lint

fix the lint

ok

/unhold

/lgtm


[Poweron]  Set Auto boot to disable for CI/CT

We would need to set CI/CT poweron with Auto boot to disable for CI/CT that help catch the Host goinge to Quiesce state and can have system for debugging..

Probably come up with logic if we see it in quiesce state.. disable it.. probably some smart check we may need to introduce..

Code in Review
https://gerrit.openbmc-project.xyz/#/c/7689/


ERROR: manifest for sameersbn/mysql:5.2.26 not found

after docker-compose up
Creating network "invoice_default" with the default driver
Pulling mysql (sameersbn/mysql:5.2.26)...
ERROR: manifest for sameersbn/mysql:5.2.26 not found

It seems that the docker-compose.yml is outdated. Go here and get the latest version of mysql or add latest next to the version (sameersbn/mysql:latest). Hope this help


multer is writing to ctx.req instead of ctx.request

I think multer should write to ctx.request because that is the  koa request object currently it is writing to the ctx.req which is the original node request object.
In my opinion this change would align the behaviour of this module with the koa ecosystem.

I agree 100%
What I did right now is use koa-compose to combined the multer middlware and a simple middleware that copies ctx.req.files, ctx.req.body, & ctx.req.file to ctx.request. I know this is not the best way to do it but I can live with it until this is fixed.

Upload pictures are binary data, how can I convert the picture file?

@QianSu Did you try to change the file extension?

@dominhhai Brother, thank you for your advice, I have solved this problem

on my side, those below are always undefined:

ctx.request.files
ctx.request.file
ctx.req.file
ctx.req.files

the configuration like this:
import multer from 'koa-multer'
import bodyparser from 'koa-bodyparser'
const upload = multer({ dest: '/path/to/tmp' })

//use it globally
app.use(multer.any())
app.use(bodyparser())

I tried postman and html form with enctype="multipart/form-data", both had saved file with hashed name but can't I access to file infomation via ctx
the version is<EMAIL_ADDRESS>and<EMAIL_ADDRESS>Weired

Since pass ctx.req, ctx.next to an express middleware is kind of Hack. Why not delegate
ctx.req.body / ctx.req.file / ctx.req.files to ctx.request but not the reverse 😂

I have made a pull request that simply exposes the respective objects to Koa's Request wrapper. #15
Side note: I have tried changing this middleware to pass the ctx.request object to multer, but that failed due to the fact that multer uses the streaming properties (eg: req.pipe(busboy)) of the native Request object, whereas the Koa wrapper doesn't seem to have that exposed.

@fundon can be merge that pr?

Please see my comment at https://github.com/koa-modules/multer/issues/30#issuecomment-506837638 and close this issue.  The official Koa organization has forked this repository and released it (with PR's merged) under @koajs/multer.  Thank you.


Update to emmo 1.0.0 alpha2

A fix for the failing tests (for all domain ontologies) has been pushed to emmo-python. That needs to be published as a new pypi package for the tests to pass. It is also possible to temporarily fix this by skipping the test_quantity_dimension test, but I prefer the first solution.

I have a problem when getting the submodule, it calls the 1.0.0-beta version
git submodule update
gives me a version of emmo.owl with this header:

<rdf:RDF xmlns="http://emmo.info/emmo#"
xml:base="http://emmo.info/emmo"
xmlns:isq="http://emmo.info/emmo/middle/isq#"
xmlns:owl="http://www.w3.org/2002/07/owl#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:xml="http://www.w3.org/XML/1998/namespace"
xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:skos="http://www.w3.org/2004/02/skos/core#"
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:annotations="http://emmo.info/emmo/top/annotations#">
<owl:Ontology rdf:about="http://emmo.info/emmo">
<owl:versionIRI rdf:resource="http://emmo.info/emmo/1.0.0-beta"/>
<owl:imports rdf:resource="http://emmo.info/emmo/1.0.0-beta/top"/>
<owl:imports rdf:resource="http://emmo.info/emmo/1.0.0-beta/middle/holistic"/>
<owl:imports rdf:resource="http://emmo.info/emmo/1.0.0-beta/middle/isq"/>
<owl:imports rdf:resource="http://emmo.info/emmo/1.0.0-beta/middle/manufacturing"/>
<owl:imports rdf:resource="http://emmo.info/emmo/1.0.0-beta/middle/materials"/>
<owl:imports rdf:resource="http://emmo.info/emmo/1.0.0-beta/middle/models"/>
<owl:imports rdf:resource="http://emmo.info/emmo/1.0.0-beta/middle/perceptual"/>
<owl:imports rdf:resource="http://emmo.info/emmo/1.0.0-beta/middle/physicalistic"/>
<owl:imports rdf:resource="http://emmo.info/emmo/1.0.0-beta/middle/properties"/>
<owl:imports rdf:resource="http://emmo.info/emmo/1.0.0-beta/middle/reductionistic"/>
<owl:imports rdf:resource="http://emmo.info/emmo/1.0.0-beta/middle/semiotics"/>
<owl:imports rdf:resource="http://emmo.info/emmo/1.0.0-beta/middle/siunits"/>
<owl:imports rdf:resource="http://emmo.info/emmo/1.0.0-beta/middle/units-extension"/>
<dcterms:abstract xml:lang="en">European Materials & Modelling Ontology (EMMO)

A fix for the failing tests (for all domain ontologies) has been pushed to emmo-python. That needs to be published as a new pypi package for the tests to pass. It is also possible to temporarily fix this by skipping the test_quantity_dimension test, but I prefer the first solution.

Is that fix ready for a pull request?

Yes, it is included in EMMO-python PR #53.

Yes, it is included in EMMO-python PR #53.

There was still some things to fix. Added now and merged.


Fail to navigate to the storage account which has not been loaded yet in Storage Explorer

Platform: Mac/Windows
Repro Steps:
1.Select one storage account in VS Code which has not been loaded yet in Storage Explorer.
2.Right click this account and select 'Open Storage Account in Storage Explorer'.
Expect:
Succeed to navigate to the storage account.
Actual:
Fail to navigate to the storage account with prompting 'The subscription for this resource is currently filtered out. You need to select the subscription in the account settings panel to see the resource.'

Please get the details from the video "\trinlab2\BAQAFiles\CloudToolsTest\v-dantch\Video\fail-to-navigate.mp4"

Closing as stale


Reduce hauler size when two are built, reduce distance multiplier

This should help alleviate some of the spawn congestion.

This Pull Request has been merged by GitConsensus.
Vote Totals

Yes
No
Abstain
Voters

3
0
0
3

Vote Breakdown

User
Yes
No
Abstain

tedivm
✔

ViezeVingertjes
✔

dragoonreas
✔

Vote Results

Criteria
Result

Has Quorum
True

Has Votes
True


[TEST] Deprecate triton operators and add end to end pipeline tests

Thanks Keren. Do we have coverage for all the types?

You meant all the pipelining types? Or data types? I didn't focus on the later as we discussed.

Regarding all pipelining types, I'm probably missing a tma test case. Will add that tomorrow

Regarding all pipelining types, I'm probably missing a tma test case. Will add that tomorrow

I meant for tl.dot

@ThomasRaoux ready for re-review

Hello, just for some curiosity. Why we remove blocksparse operators and related tests?

Hey @Jokeren, in our project we were defining a matmul-like operator and we were importing the perf model from triton.ops in order to prune the autotuning. Since it has been removed in this PR, what do you recommend as an alternative? Do we have to reimplement it ourselves? Thanks!

They have been moved to https://github.com/triton-lang/kernels


Add leisure=sports_hall

A sports hall is a sufficiently large single room, typically enclosed with walls and ceiling, that is suitable to exercise one or more sports indoor. It might contain subordinated locker/changing rooms, showers, and a depot room for devices. It can be a standalone building, or part of a larger building.
A sports hall can often be found on a campus of a school, as part of a school building, or in a sports centre.
In some parts of the world, such sports facilities are called gym or gymnasium, however these values are discouraged in OSM since they have a multitude of different meanings.
Tag with leisure=sports_hall. If connected to a building, use building=sports_hall.

Might call this a Gymnasium in iD since the default language is North American English. We can change it for other English locales.
https://wiki.openstreetmap.org/wiki/Tag:leisure%3Dsports_hall

I think leisure=sports_hall is the best description. It refers to a room and not the contents. Typical use is by teams.
Gymnasium has too much hint of somewhere with tread mills and weights and use by individuals.
In Germany, a gymnasium is a type of school.

@VictorIE-OSM Yes, the tag would be leisure=sports_hall, but a "sports hall" is British English and isn't a term in the US. They're usually called "gymnasiums". https://www.merriam-webster.com/dictionary/gymnasium

More discussion as to the two meanings of "gym" is here: https://wiki.openstreetmap.org/wiki/Gym_/_Fitness_centre
iD uses "Gym / Fitness Center" for leisure=fitness_centre, so it would be reasonable to see "Gymnasium" for leisure=sports_hall and understand which of the two presets is correct.

can you assign this issue to me?

@mohit2872 Will you create a PR for this?

@manfredbrandl yes I will

@mohit2872 Are you still planning on doing this?

@quincylvania yeah

@mohit2872 Thanks for your interest, but it's been over a month so I just handled this. You can look for more issues to attempt here.