Add only_routes and exclude_routes macros for middlewares

I wasn't seeing a way to tell middleware to run (or not to run) conditionally based on the path.
I propose to add only_routes and exclude_routes that can run anywhere in the middleware (but preferably at the top) to conditionally exit the middleware or to continue.
Examples:
# only_routes macro
class MyCustomHandler < HTTP::Handler
  def call(context)
    only_routes context, ["/admin/**", "/user"]
    # if the request path DOES NOT match one of given paths in the previous line then none
    # of the rest of the middleware will be ran

    puts "Doing some custom stuff here"
    call_next context
  end
end

# exclude_routes macro
class MyCustomHandler < HTTP::Handler
  def call(context)
    exclude_routes context, ["/", "/about"]
    # if the request path DOES match one of given paths in the previous line then none
    # of the rest of the middleware will be ran

    puts "Doing some custom stuff here"
    call_next context
  end
end

//cc @askn @f WDYT?

@samueleaton can we have specs for this?

Since it's affecting middlewares I think it has to have specs.
Besides, this seems very edge use case to me. May be a external plugin but not in the core system IMHO.

Additionally, it uses regex to check routes which we switched to radix search b/c of performance issues.
If the user use these macros the performance will be significantly bad since every route will be checked if the middleware should run or not.
The only concerns I have is these :)
But it's a good idea to cover some cases. Nice work, btw @samueleaton 👍

I agree with @f. This is a good but a bit edge case. It should be a Kemal plugin of its' own.

I ran some benchmarks and its not what I expected.
I just wanted to hit a very barebones route to see if adding only_routes affected speed.
The route:
get "/" do |env|
  env.response.content_type = "text/plain"
  "hello world"
end

My test handler:
class TestHandler < HTTP::Handler
  def call(ctx)
    # only_routes ctx, ["/", "/admins", "/users"]
    call_next ctx
  end
end

I tested twice with and without the only_routes ... line commented out.
I just used the example numbers on the wrk page, wrk -t12 -c400 -d30s http://<IP_ADDRESS>:4444.
Results
Twice WITH only_routes:
Running 30s test @ http://<IP_ADDRESS>:4444
  12 threads and 400 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency   110.53ms  289.61ms   2.00s    89.47%
    Req/Sec     1.52k   743.63     7.70k    73.85%
  537890 requests in 30.05s, 62.07MB read
  Socket errors: connect 0, read 247, write 0, timeout 1097
Requests/sec:  17897.39
Transfer/sec:      2.07MB
--------------------------------------------------------
Running 30s test @ http://<IP_ADDRESS>:4444
  12 threads and 400 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency    85.94ms  257.59ms   2.00s    91.52%
    Req/Sec     1.52k   658.61     7.30k    74.54%
  529711 requests in 30.06s, 61.13MB read
  Socket errors: connect 0, read 208, write 0, timeout 1199
Requests/sec:  17623.61
Transfer/sec:      2.03MB

Twice WITHOUT only_routes (commented out):
Running 30s test @ http://<IP_ADDRESS>:4444
  12 threads and 400 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency    94.55ms  263.25ms   2.00s    90.69%
    Req/Sec     1.47k   726.64     6.73k    76.49%
  504617 requests in 30.08s, 58.23MB read
  Socket errors: connect 0, read 227, write 0, timeout 1247
Requests/sec:  16774.17
Transfer/sec:      1.94MB
--------------------------------------------------------
Running 30s test @ http://<IP_ADDRESS>:4444
  12 threads and 400 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency   125.90ms  300.24ms   2.00s    88.41%
    Req/Sec     1.44k   775.17     6.45k    73.77%
  505088 requests in 30.06s, 58.28MB read
  Socket errors: connect 0, read 233, write 0, timeout 1223
Requests/sec:  16801.60
Transfer/sec:      1.94MB

How could this be?
tested on 2015 MacBook Pro 2.7GHZ i5, 16GB ram

@samueleaton t12 means use 12 threads which is not suitable for a Macbook. Also *please turn off logging via
logging false

And rerun with
wrk -c100 -d30s http://<IP_ADDRESS>:4444

😝 Duh. Sorry, I had just gotten out of bed and didn't take time to use my brain yet.
The app I was testing against had lots of routes and a pooling connection to a DB going on, so I just started a blank app from scratch to run these new benchmarks.
Twice WITH only_routes:
Running 30s test @ http://<IP_ADDRESS>:4444
  2 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     2.09ms  337.65us   9.19ms   73.16%
    Req/Sec    23.87k     1.82k   64.35k    96.17%
  1427168 requests in 30.10s, 164.69MB read
Requests/sec:  47412.69
Transfer/sec:      5.47MB
--------------------------------------------------------
Running 30s test @ http://<IP_ADDRESS>:4444
  2 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     2.08ms  288.17us   8.48ms   72.64%
    Req/Sec    24.09k   708.51    25.89k    69.60%
  1442916 requests in 30.10s, 166.50MB read
Requests/sec:  47934.44
Transfer/sec:      5.53MB

Twice WITH only_routes (commented out):
Running 30s test @ http://<IP_ADDRESS>:4444
  2 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     2.10ms    0.86ms  41.44ms   99.03%
    Req/Sec    24.03k     0.93k   28.49k    87.33%
  1434304 requests in 30.00s, 165.51MB read
Requests/sec:  47806.50
Transfer/sec:      5.52MB
--------------------------------------------------------
Running 30s test @ http://<IP_ADDRESS>:4444
  2 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     2.09ms  281.00us  10.05ms   71.91%
    Req/Sec    23.90k   519.73    26.35k    79.57%
  1431184 requests in 30.10s, 165.15MB read
Requests/sec:  47545.27
Transfer/sec:      5.49MB

Seems pretty negligible to me.

😝 Duh. Sorry, I had just gotten out of bed and didn't take time to use my brain yet.
The app I was testing against had lots of routes and a pooling connection to a DB going on, so I just started a blank app from scratch to run these new benchmarks.
Twice WITH only_routes:
Running 30s test @ http://<IP_ADDRESS>:4444
  2 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     2.17ms  295.49us   8.72ms   73.10%
    Req/Sec    23.04k   840.73    27.19k    78.41%
  1380096 requests in 30.10s, 159.26MB read
Requests/sec:  45847.98
Transfer/sec:      5.29MB
--------------------------------------------------------
Running 30s test @ http://<IP_ADDRESS>:4444
  2 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     2.18ms  357.49us  15.15ms   76.71%
    Req/Sec    22.97k     1.32k   29.23k    83.50%
  1371542 requests in 30.00s, 158.27MB read
Requests/sec:  45714.21
Transfer/sec:      5.28MB

Twice WITHOUT only_routes (commented out):
Running 30s test @ http://<IP_ADDRESS>:4444
  2 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     2.10ms    0.86ms  41.44ms   99.03%
    Req/Sec    24.03k     0.93k   28.49k    87.33%
  1434304 requests in 30.00s, 165.51MB read
Requests/sec:  47806.50
Transfer/sec:      5.52MB
--------------------------------------------------------
Running 30s test @ http://<IP_ADDRESS>:4444
  2 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     2.09ms  281.00us  10.05ms   71.91%
    Req/Sec    23.90k   519.73    26.35k    79.57%
  1431184 requests in 30.10s, 165.15MB read
Requests/sec:  47545.27
Transfer/sec:      5.49MB

@f I've been doing mostly Node.js for the last couple of years and got accustomed to being able to define which routes use specific middlewares. This didn't seem like an edge case where I'm coming from.
If there is a different paradigm then I might need to just adjust my style.

If I were to add the ability to pass an array of routes to filters, that would also fill this need.
example:
before_get ["/foo/*", "/bar"]  do |env|
  # do something
end

@samueleaton can you please reopen this (i can't). I think this really makes sense with a middleware oriented architecture.

@sdogruyol Sorry I was on vacation for 4 days. Is everything good?

Reopened as https://github.com/sdogruyol/kemal/pull/244


fix fluentd kubernetes plugin to version 2.0.0

Bugfix for Rancher issue #15880
The config tags merge_json_log and preserve_json_log are no longer supported.
This leads to unparsed JSON logs.
Downgrading from version 2.1.0 to 2.0.0 will fix this issue.

Bad idea. Use filter parsers instead. See https://github.com/rancher/rancher/issues/15880#issuecomment-491725467

Associated issue is closed. I'm going to close this. Feel free to open a new pr if there is still a relevant change to be made.


PauliFeatureMap circuit should use jupyter-execute

What is the expected enhancement?
https://qiskit.org/documentation/stubs/qiskit.circuit.library.PauliFeatureMap.html#qiskit.circuit.library.PauliFeatureMap

Update for Santa:elf:- QGoGP
:white_check_mark: PR #4614 Seems to be stalled which has also stalled this issue. I am not sure if this was ever implemented in any of the other PRs.
Will update comment/add more comments if cause is found/fixed!

Python version 3.9.7
qiskit-terra version: 0.19.1

Closing for the same reason as #4417 - this is somewhat stale now, and we don't even use jupyter-execute any more.  We've softly been moving in favour of hardcoding output and not having the doctest validation (though that is under consideration in #7661), because of the on-going problems with jupyter-execute that eventually caused us to abandon it.
That's not to say we don't want to improve our docs, just that in the current set-up, this particular page doesn't need updating in the manner suggested.


Control Cards on the Bridge UI

feat: add Deposit control card
chore: add bridging token to deposit control card
feat: add Withdraw control card
feat: add AmountMenu component
add AmountMenu to fixed amount and custom amount inputs
fix: button style and remove unused file
add Popover component
pass props to withdraw card
add button prop for withdraw card
feat: add transfer control card

Summary of changes

Add Withdraw Control Card
Add Deposit Control Card
Add Deposit Control Card
Add Popover component

Reference issue to close (if applicable)

Closes

https://github.com/webb-tools/webb-dapp/issues/593
https://github.com/webb-tools/webb-dapp/issues/598

Code Checklist

[x] Tested
[x] Documented

Additional info
You can review created cards here.

@AtelyPham does this also close #598 ?

Yes, I have linked related issues.


Support more parameters setting for Nacos

Which Component
Nacos Discovery, Nacos Config
Is your feature request related to a problem? Please describe.
No
Describe the solution you'd like
Nacos has defined many parameters for users to customize their Nacos service. Spring Cloud Alibaba should support them as much as possible.
Moreover, I think Spring Cloud Alibaba should consider a more flexible way to support Nacos parameters. Like a pattern reflection such as any spring cloud parameters started with nacos.discovery.property1=value1 will be translated to property1=value1 to inject in Nacos naming service. So whenever Nacos adds a parameter, no code change is required in Spring Cloud Alibaba.
Describe alternatives you've considered
None
Additional context
None

i will fix it.


Fix Original Rows + Dropdown on Row Filtering

There is a bug in OriginalRows function where if this.rows ===null, then there will be a parsing error from JSON.parse()
I fixed it easily by creating a backup array to store rows when they are not null and if they get null OriginalRows would return the backed up Array.
Also there is a bug on Column filtering where the placeholder is shown as an option. This is especially critical cause if the user selects the placeholder option a null value will be passed to onColumnFIlter function which may result to error.

This PR contains a ton of changes that break the existing linter rules. ex -> changing single quotes to double quotes, removing line breaks to break the character per line limit, etc. It's tough to see/review the actual change.
Also when the placeholder is selected from filter dropdown, the value passed should be an empty string, not null.
I'll make the change to deal with null value for rows.

So, I didn't see any rules for PR's so I didn't know what eslint rules you follow. Anyways thanks for the fix.

No worries! I'll release the fix shortly. Thank you for bringing that up. And i'll double check to make sure the linter config is added.


⚠ Bofrost.de has degraded performance

In ac3f128, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1534 ms

Resolved: Bofrost.de performance has improved in 3c62318 after 9 minutes.


add deploy and test tools for multi chain deployments

add deploy and test tools for multi chain deployments

Rerunning tests. 6 fork tests were failing. 5 of them ran perfectly fine for me locally. The Frx failing one will be resolved when we remove frx strategies from the Vault. The vault has no more frxETH

I will merge this in and apply any changes in later PRs if so requested


Build infrastructure to allow changing implementation of native calls to use FFI calls instead of runtime calls

Native methods in Dart are currently using our runtime call mechanism to call from Dart into C code. There is a significant performance overhead due to this: The native dart function cannot be inlined, we go indirectly through stubs, we box all arguments and make an array on the stack (in order to provide the C function a pointer to an array of arguments) ...
To avoid some of this overhead, we would like to enable calling natives using the existing FFI calling mechanism. That would allow us to pass unboxed primitives (e.g. integers/doubles) directly using C calling convention as well as dart objects via auto-wrapping in handles.
We want to prototype this on natives in Dart's core libraries and later make Flutter use it in dart:ui for faster calls into C (e.g. skia calls).
This will require adding a symbol-lookup mechanism (either declaratively as we do with natives right now, or imperatively) to avoid depending on VM/Embedder symbols to be available at runtime.
/cc @mraleph

To clarify this a bit more, I think we want a solution where:
* There is a single symbol lookup mechanism
* The embedder can control how symbols are resolved
* The dart code for ffi natives should preferably simple, possibly declarative

These are the properties our current natives have and we probably want to have the same properties for ffi natives as well.

Some notes from offline discussions:

We would like to strive to a solution where we can eventually replace our old runtime calls to avoid the need to maintain two mechanisms that achieve the same goal (calling from Dart to C) where one is most likely superior to the other.

It might be nice to have a declarative way of defining such ffi natives. One option would be for example using a @FfiNative annotation plus a kernel transformer:
// Old native in Dart
int foo(FooBar arg, double arg2) native "Native_foo";

// Old native in Kernel
@ExternalName("Native_foo")
external int foo(FooBar arg, double arg2);

// Ffi native in Dart
@FfiNative("Native_foo", Int8 Function(Dart_Handle, double))
external int foo(FooBar arg, double arg2);

We would like to have one mechanism to lookup symbols - where resolution can be controlled (to some extend) by the embedder.

@mkustermann, @mraleph
Do we have any proposals for acquiring the corresponding native function pointer (i.e. without native runtime entry)?
Presumably this would involve the 'one mechanism to lookup symbols'.
One approach (which I'm stealing from Daco) is to add something like LoadNativePtrInstr which would do a lookup akin to NativeEntry::ResolveNative in NativeCallInstr.
This would then be responsible for loading the native function pointer, to enable the call to the FFI Trampoline.
One question I have though is whether we have the native function pointers at compile (IL -> asm.) time, or whether we need to do the lookup at runtime?

Do we have any proposals for acquiring the corresponding native function pointer (i.e. without native runtime entry)?

I have not been deeply involved in the discussions - so I am not sure if there are any strong reasons to avoid native runtime entries to begin with, e.g. why not simply have:
Pointer<Void> _resolve(String name) native "Ffi_resolve";

Do we have any proposals for acquiring the corresponding native function pointer (i.e. without native runtime entry)?

I have not been deeply involved in the discussions - so I am not sure if there are any strong reasons to avoid native
runtime entries to begin with, e.g. why not simply have:

+1 To Slava's answer. It would be one mechanism to resolve any native function (1 <-> N relationship).
We could later on, go one step further and make symbol resolution faster as well as avoid relying on natives (which we may want to replace entirely in the future) by "injecting" a C function pointer into a global dart field - the dart code could then call this C function directly via FFI (avoiding usage of natives):
// Pointer to a `void* Lookup(Dart_Handle symbol_to_lookup)` function, which
// Dart code can call to resolve a native name.
@pragma('vm:entry-point')
Pointer<NativeFunction<Pointer<Void> Function(Dart_Handle)>> _resolver;

One question I have though is whether we have the native function pointers at compile (IL -> asm.) time, or
whether we need to do the lookup at runtime?

In JIT we could resolve the native function at compile time, though in AOT mode we cannot rely on this.

Thank you for clarifying. My previous understanding was that natives (even for the resolve function) was off the table, so this was very helpful.
I've put together a PoC in 170092, for a naive kernel transform into calls to a single native resolve function.
The numbers from some quick benchmarking are however not very encouraging with a runtime of ~460% of the baseline.
Though a performance hit is entirely expected since the CL only adds overhead to do the native resolve and then the ffi call.
Since the bottleneck is the native call to 'resolve' on every ffi native function call, we could amortise that away by caching the resulting function pointer, but I think doing so would likely require a static for every ffi native function.
I'd like to double check that (as I believe has previously been mentioned) is also not an option we're willing to accept?
In the meantime I'll have a look at the ffi-based resolver.

Since the bottleneck is the native call to 'resolve' on every ffi native function call, we could amortise that away by caching the resulting function pointer, but I think doing so would likely require a static for every ffi native function.
I'd like to double check that (as I believe has previously been mentioned) is also not an option we're willing to accept?

From off-thread follow-up:
We're ok with caching the function pointer in fields for every ffi native function as a first step. Though the long-term goal naturally is to get rid of this overhead through other mechanisms.

Implementing a cached _resolver as mentioned above appears to roughly halve the overhead, though that it still more than 2x the baseline.
I'll start work on modifying the transform to cache the individual function pointers.


Fix popup when a CL doesn't have revisions

When a CL doesn't have revisions, the current revision can't be found and thus we can't retrieve the current revision's description.
This CL fixes this by returning null in getDescription() when this happens, and falling back to the change's subject in the CL widget.
Fixes #52

@sdefresne Friendly ping in case you didn't see it (in another PR you mention you didn't receive an email notification for the PR, maybe tagging you sends it :)
Thanks in advance! :))


Ignore untracked files in submodules, ignore X11rdp

The submodule related changes are discussed at http://www.nils-haldenwang.de/frameworks-and-tools/git/how-to-ignore-changes-in-git-submodules
"untracked" is the most conservative option after the default "none".

+1
I also used "ignore" locally but "untracked" feels better
בתאריך יום ג׳, 3 בינו׳ 2017 ב-19:20 מאת Pavel Roskin <
<EMAIL_ADDRESS>
The submodule related changes are discussed at
http://www.nils-haldenwang.de/frameworks-and-tools/git/how-to-ignore-changes-in-git-submodules
"untracked" is the most conservative option after the default "none".
You can view, comment on, or merge this pull request online at:
https://github.com/neutrinolabs/xrdp/pull/610
Commit Summary

Ignore X11rdp executable
Don't consider submodules dirty if they contain untracked files

File Changes

M .gitmodules
https://github.com/neutrinolabs/xrdp/pull/610/files#diff-0 (2)
A xorg/X11R7.6/rdp/.gitignore
https://github.com/neutrinolabs/xrdp/pull/610/files#diff-1 (1)

Patch Links:

https://github.com/neutrinolabs/xrdp/pull/610.patch
https://github.com/neutrinolabs/xrdp/pull/610.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/neutrinolabs/xrdp/pull/610, or mute the thread
https://github.com/notifications/unsubscribe-auth/ADTH1PtI3hw2cHYiBriZq6IdMyF9RdpHks5rOoNzgaJpZM4LZ1LX
.

--
Idan Freiberg
PGP FP: 8108 7EC9 806E 4980 75F2  72B3 8AD3 2D04 337B 1F18

I meant "dirty"
בתאריך יום ג׳, 3 בינו׳ 2017 ב-19:36 מאת Idan Freiberg<EMAIL_ADDRESS>
+1
I also used "ignore" locally but "untracked" feels better
בתאריך יום ג׳, 3 בינו׳ 2017 ב-19:20 מאת Pavel Roskin <
<EMAIL_ADDRESS>The submodule related changes are discussed at
http://www.nils-haldenwang.de/frameworks-and-tools/git/how-to-ignore-changes-in-git-submodules
"untracked" is the most conservative option after the default "none".
You can view, comment on, or merge this pull request online at:
https://github.com/neutrinolabs/xrdp/pull/610
Commit Summary

Ignore X11rdp executable
Don't consider submodules dirty if they contain untracked files

File Changes

M .gitmodules
https://github.com/neutrinolabs/xrdp/pull/610/files#diff-0 (2)
A xorg/X11R7.6/rdp/.gitignore
https://github.com/neutrinolabs/xrdp/pull/610/files#diff-1 (1)

Patch Links:

https://github.com/neutrinolabs/xrdp/pull/610.patch
https://github.com/neutrinolabs/xrdp/pull/610.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/neutrinolabs/xrdp/pull/610, or mute the thread
https://github.com/notifications/unsubscribe-auth/ADTH1PtI3hw2cHYiBriZq6IdMyF9RdpHks5rOoNzgaJpZM4LZ1LX
.
--
Idan Freiberg
PGP FP: 8108 7EC9 806E 4980 75F2  72B3 8AD3 2D04 337B 1F18

--
Idan Freiberg
PGP FP: 8108 7EC9 806E 4980 75F2  72B3 8AD3 2D04 337B 1F18

+1

@Natureshadow  Let's not start the submodules vs subtrees discussion again, we had #593 for that. If you think switching subtrees is important, please present your arguments in another PR or issue.

@Natureshadow It sounds like you are volunteering to address the issues that come up with subtrees :)
Also, you seen my post, I want to eventually remove the submodules or subtrees.  Just make them required packages that need to be installed.

Well, it's less about what I prefer, but that there is a new submodule-related issue almost every day :D. Someone has a necessary tweak or complaint about the brokenness of submodules every day.

@Natureshadow It sounds like you are volunteering to address the issues
that come up with subtrees :)

Which are?

Also, you seen my post, I want to eventually remove the submodules or
subtrees.  Just make them required packages that need to be installed.

Then do. It's even better.
-nik


How to use config.gpu_options.per_process_gpu_memory_fraction in tf.estimator.Estimator(config=config)

I want to limit the total memory of each GPU in mnist,
https://www.tensorflow.org/tutorials/using_gpu
config = tf.ConfigProto()
config.gpu_options.per_process_gpu_memory_fraction = 0.4
session = tf.Session(config=config, ...)
and I added the above code to the mnis.py
https://github.com/tensorflow/models/tree/master/official/mnist
here is the modified code in mnis.py :
def main(unused_argv):
config = tf.ConfigProto()
config.gpu_options.per_process_gpu_memory_fraction = 0.4
mnist_classifier = tf.estimator.Estimator(
model_fn=mnist_model_fn, model_dir=FLAGS.model_dir,config=config)
but I get the below error:
Traceback (most recent call last):
File "mnist.py", line 231, in
tf.app.run()
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/platform/app.py", line 48, in run
_sys.exit(main(_sys.argv[:1] + flags_passthrough))
File "mnist.py", line 206, in main
model_fn=mnist_model_fn, model_dir=FLAGS.model_dir,config=config)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/estimator/estimator.py", line 142, in init
config)
ValueError: config must be an instance of RunConfig, but provided gpu_options {
per_process_gpu_memory_fraction: 0.4
}
.
My question is :
How to use config.gpu_options.per_process_gpu_memory_fraction in tf.estimator.Estimator(config=config)

tf.estimator.Estimator expects a RunConfig object as its argument. RunConfig in-turn contains the ConfigProto as session_config. So you could do something like the following:
mnist_classifier = tf.estimator.Estimator(
  model_fn=mnist_model_fn,
  model_dir=FLAGS.model_dir,
  config=tf.contrib.learn.RunConfig(session_config=config))

See docs for tf.contrib.learn.RunConfig for details.
Though, I believe this complexity is in the process of being reduced.
@ispirmustafa : Does one have to use tf.contrib.learn.RunConfig to create an estimator with a specific ConfigProto as mentioned above? Or is there an alternative?
Hope that helps.

it works.
thanks for your great help.

Yes, RunConfig is the way to add change arguments such as session_config, saving intervals, ...

@asimshankar what is the difference between the contrib and the Estimator version of RunConfig ? You link to one, but give an example that is using the other. Should they be considered equivalent ?

@cipri-tom please use tf.estimator.* version. We'll deprecate contrib version of runconfig in coming releases.

it works.
thank you very much.


SessionAffinity follow up issues

[x] Fix sleep in the CI tests (PR: https://github.com/cilium/cilium/pull/11216, however it takes too long, new issue: https://github.com/cilium/cilium/issues/11296)
[x] https://github.com/cilium/cilium/pull/11085#discussion_r417156337 (comment)
[x] Extend cilium status
[x] Documentation (kube-proxy free gsg, the BPF map sizes, the upgrade guide)
[ ] Add tests for when running w/ kube-proxy
[x] IPv6 CI tests

Tests seem to be quite slow, each STEP taking about 4 minutes:
22:34:00    Tests NodePort with sessionAffinity
22:34:00    /home/jenkins/workspace/Cilium-PR-Ginkgo-Tests-Validated/k8s-1.11-gopath/src/github.com/cilium/cilium/test/ginkgo-ext/scopes.go:431
22:34:00  STEP: Making 10 HTTP requests from testclient-8hfhc to "http://<IP_ADDRESS>:32753" (sessionAffinity)
22:38:14  STEP: Making 10 HTTP requests from k8s3 to "http://<IP_ADDRESS>:32753" (sessionAffinity)
22:42:13  === Test Finished at 2020-05-01T05:42:07Z====
...
22:45:20    Tests NodePort with sessionAffinity
22:45:20    /home/jenkins/workspace/Cilium-PR-Ginkgo-Tests-Validated/k8s-1.11-gopath/src/github.com/cilium/cilium/test/ginkgo-ext/scopes.go:431
22:45:20  STEP: Making 10 HTTP requests from testclient-8hfhc to "http://<IP_ADDRESS>:32753" (sessionAffinity)
22:49:34  STEP: Making 10 HTTP requests from k8s3 to "http://<IP_ADDRESS>:32753" (sessionAffinity)
22:53:32  === Test Finished at 2020-05-01T05:53:27Z====

@jrajahalme Thanks for letting me know. @joestringer has created an issue: https://github.com/cilium/cilium/issues/11296.

The 1.8 release blocker is Extend cilium status.

We don't care about the kube-proxy case, so the issue is resolved.


Race in mapped drive availability

After creating, starting, and waiting for a container to finish, we commit the container using the remote API endpoint which results in an error mounting the devicemapper filesystem:
2014/07/16 13:58:41 POST /v1.10/containers/create
[88da1bf9] +job create()
[88da1bf9] -job create() = OK (0)
2014/07/16 13:58:41 POST /v1.10/containers/c44de1f2dc475f6a812cd2d6ec69b22d28cb3c2423a4be5cca8f4d4ce1ad02f4/start
[88da1bf9] +job start(c44de1f2dc475f6a812cd2d6ec69b22d28cb3c2423a4be5cca8f4d4ce1ad02f4)
[88da1bf9] +job allocate_interface(c44de1f2dc475f6a812cd2d6ec69b22d28cb3c2423a4be5cca8f4d4ce1ad02f4)
[88da1bf9] -job allocate_interface(c44de1f2dc475f6a812cd2d6ec69b22d28cb3c2423a4be5cca8f4d4ce1ad02f4) = OK (0)
[88da1bf9] -job start(c44de1f2dc475f6a812cd2d6ec69b22d28cb3c2423a4be5cca8f4d4ce1ad02f4) = OK (0)
2014/07/16 13:58:41 POST /v1.10/containers/c44de1f2dc475f6a812cd2d6ec69b22d28cb3c2423a4be5cca8f4d4ce1ad02f4/wait
[88da1bf9] +job wait(c44de1f2dc475f6a812cd2d6ec69b22d28cb3c2423a4be5cca8f4d4ce1ad02f4)
[88da1bf9] +job release_interface(c44de1f2dc475f6a812cd2d6ec69b22d28cb3c2423a4be5cca8f4d4ce1ad02f4)
[88da1bf9] -job release_interface(c44de1f2dc475f6a812cd2d6ec69b22d28cb3c2423a4be5cca8f4d4ce1ad02f4) = OK (0)
[88da1bf9] -job wait(c44de1f2dc475f6a812cd2d6ec69b22d28cb3c2423a4be5cca8f4d4ce1ad02f4) = OK (0)
2014/07/16 13:58:41 POST /v1.10/commit?container=c44de1f2
[88da1bf9] +job commit(c44de1f2)
Error getting container c44de1f2dc475f6a812cd2d6ec69b22d28cb3c2423a4be5cca8f4d4ce1ad02f4 from driver devicemapper: Error mounting '/dev/mapper/docker-202:80-3145730-c44de1f2dc475f6a812cd2d6ec69b22d28cb3c2423a4be5cca8f4d4ce1ad02f4' on '/mntebs/docker/devicemapper/mnt/c44de1f2dc475f6a812cd2d6ec69b22d28cb3c2423a4be5cca8f4d4ce1ad02f4': no such file or directory
[88da1bf9] -job commit(c44de1f2) = ERR (1)
[error] server.go:1048 Error making handler: Error getting container c44de1f2dc475f6a812cd2d6ec69b22d28cb3c2423a4be5cca8f4d4ce1ad02f4 from driver devicemapper: Error mounting '/dev/mapper/docker-202:80-3145730-c44de1f2dc475f6a812cd2d6ec69b22d28cb3c2423a4be5cca8f4d4ce1ad02f4' on '/mntebs/docker/devicemapper/mnt/c44de1f2dc475f6a812cd2d6ec69b22d28cb3c2423a4be5cca8f4d4ce1ad02f4': no such file or directory
[error] server.go:90 HTTP Error: statusCode=500 Error getting container c44de1f2dc475f6a812cd2d6ec69b22d28cb3c2423a4be5cca8f4d4ce1ad02f4 from driver devicemapper: Error mounting '/dev/mapper/docker-202:80-3145730-c44de1f2dc475f6a812cd2d6ec69b22d28cb3c2423a4be5cca8f4d4ce1ad02f4' on '/mntebs/docker/devicemapper/mnt/c44de1f2dc475f6a812cd2d6ec69b22d28cb3c2423a4be5cca8f4d4ce1ad02f4': no such file or directory

uname -a:
Linux ip-10-120-106-113 3.11.0-19-generic #33-Ubuntu SMP Tue Mar 11 18:48:34 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

docker version:
Client version: 1.1.1
Client API version: 1.13
Go version (client): go1.2.1
Git commit (client): bd609d2
Server version: 1.1.1
Server API version: 1.13
Go version (server): go1.2.1
Git commit (server): bd609d2

Although we're using the v1.10 endpoints here.
docker -D info:
Containers: 87
Images: 47
Storage Driver: devicemapper
 Pool Name: docker-202:80-3145730-pool
 Data file: /mntebs/docker/devicemapper/devicemapper/data
 Metadata file: /mntebs/docker/devicemapper/devicemapper/metadata
 Data Space Used: 27579.3 Mb
 Data Space Total: 102400.0 Mb
 Metadata Space Used: 23.6 Mb
 Metadata Space Total: 2048.0 Mb
Execution Driver: native-0.2
Kernel Version: 3.11.0-19-generic
Debug mode (server): false
Debug mode (client): true
Fds: 11
Goroutines: 10
EventsListeners: 0
Init Path: /usr/bin/docker
Sockets: [unix:///var/run/docker.sock]
WARNING: No swap limit support

@tlunter can you close or give exact steps to reproduce

Haven't had an issue since switching to the btrfs storage driver.
Looks like we were doing along the lines of:
docker create
docker start
docker wait
docker commit

The command for create would've been a script like bundle install or npm install.  This was all orchestrated through the Remote API, and not through the CLI, so response would be immediate when shifting from wait finishing to commit.
I am not sure if this is still an issue with device mapper, but the issue was transient.

ok I am going to close but if anyone lands here and sees the issue on devmapper lmk and i am happy to reopen


Pip-installability

Hi David,
I've challenged myself to move ANARCI from conda to pip, I've seen you previously have been working on same task in your fork.
you can find result here, currently mimics 2021.02.04, still requires hmmer binary installed
https://github.com/arogozhnikov/microANARCI
It fails AbNumber tests (just as conda version).
Question: why do you think that older version is more correct? Everyone seems to use the latest from conda.

Hi @arogozhnikov,
I also made some effort to migrate to pyhmmer which enables pure pip install without hmmer dependency, I even created a PR to ANARCI repo but there was no response: https://github.com/oxpig/ANARCI/pull/38
Based on my tests it works, but it would definitely require more testing from their side.
About using version 2020.04.23 - at the time it was due to this bug, not sure if it has been fixed yet: https://github.com/oxpig/ANARCI/issues/17

thanks, that's looks like a gross issue for a numbering tool


Accordion/Chart have multiple 'components' listed on their page

When I scroll down past the initial set of prop/theme definitions for Chart, I see a second section also labelled "Chart" but with a different description and no additional props.
When I do the same of Accordion, I see a section another section titled Accordion but this refers to an accordion panel. I didn't even know if was there because I wouldn't expect 2 'components' on one page. Would it make sense for Accordion Panel to have its own page? Or if not, how can we indicate that there is more info about accordion panel because I came across this purely on accident when I did a big scroll.

Yea, good catch.
The Heading below the Chart should be Calc. and below Accordion it's Accordion Panel, its a recent regression, mind taking a look?


Please release 0.4.1

I encountered the crash fixed in #18. Instead of reporting an unknown command, Commander crashes.

Made the CI run on Linux to prevent these kind of problems coming up in the future. I've also made the 0.4.1 release.


[Peek]Fix foreground window setting

Summary of the Pull Request
After #26364, the way to bring the Peek window to the foreground doesn't seem to be working correctly. It sometimes seems to bring keyboard input in but not mouse input, making the way that we try to detect loss of focus not work when the option to "Automatically close the Peek window after it loses focus" not work.
Changed the way we bring the Peek Window to the foreground mimic what we do on other PowerToys, which is to first send some mouse simulated mouse input and then bring the window to the foreground. This seems to be more stable.

PR Checklist

[x] Closes: #26366
[ ] Communication: I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected
[ ] Tests: Added/updated and all pass
[ ] Localization: All end user facing strings can be localized
[ ] Dev docs: Added/updated
[ ] New binaries: Added on the required places

[ ] JSON for signing for new binaries
[ ] WXS for installer for new binaries and localization folder
[ ] YML for CI pipeline for new test projects
[ ] YML for signed pipeline

[ ] Documentation updated: If checked, please file a pull request on our docs repo and link it here: #xxx

Validation Steps Performed
Tested switching files multiple times with both the "Automatically close the Peek window after it loses focus" on and off, both on the Desktop and on an Explorer window.

I was wondering if we can use single instance instead of this hack https://learn.microsoft.com/en-us/windows/apps/windows-app-sdk/applifecycle/applifecycle-instancing

I was wondering if we can use single instance instead of this hack https://learn.microsoft.com/en-us/windows/apps/windows-app-sdk/applifecycle/applifecycle-instancing

What do you mean? Wouldn't that mean cold booting every time?

The idea was to make it single-instance using WinAppSDK lifecycle APIs. When a second process is launched redirect the activation to the running instance. I have done a quick test with Hosts File Editor (we are already using this to make it single-instance) but I am not able to bring up the running window when a second process is launched. Never mind, the PR looks great!


Bump 1.8.0-dev to 1.8.0-pre1

****************************************************************

libgrpc.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

****************************************************************

libgrpc++.so

     VM SIZE                                    FILE SIZE
 ++++++++++++++ GROWING                      ++++++++++++++
  +5.7%      +5 src/cpp/common/version_cc.cc      +5  +5.7%
       +12%      +5 grpc::Version[abi:cxx11]          +5   +12%

 -+-+-+-+-+-+-+ MIXED                        +-+-+-+-+-+-+-
  -0.0%      -5 [None]                            +3  +0.0%

  [ = ]       0 TOTAL                             +8  +0.0%

[trickle] No significant performance differences

[microbenchmarks] No significant performance differences


Bump nginx-ingress-controller image to v1.9.6

How to categorize this PR?

/area control-plane open-source
/kind enhancement
What this PR does / why we need it:

Bump nginx-ingress-controller image to v1.9.6.

https://github.com/kubernetes/ingress-nginx/releases/tag/controller-v1.9.6
Which issue(s) this PR fixes:
Special notes for your reviewer:
Release note:

`nginx-ingress-controller` image is updated to `v1.9.6`.

Thanks 😄
/lgtm
/approve


feat(executioncontext): support bigints transferring

Refs: https://chromedevtools.github.io/devtools-protocol/tot/Runtime#type-UnserializableValue

Looks cool! Can we add a test?

Can we add a test?

I was not able to find any tests for unserializableValues to add a new case, so it seems a new test should be added. However, I am not aware of test tools and infrastructure in puppeteer, so this will take some learning time. If anybody can quickly push a test to the branch, please do. Otherwise, I will try to add one later.

Tests hopefully added. TS checks still are to be fixed.

I've ventured to up "target" in tsconfig.json to "ESNext". Let me know if this is overkill.

Is there anything else I should improve?

@aslushnikov @JoelEinbinder Should I improve something else?

38qopLNuY5QZ9PRf2HA6Ubso4zFiqFS6hv


Scenario for Azure Arc enabled servers based out of Azure Stack HCI

Adding new scenario for Azure Arc enabled servers based out of Azure Stack HCI.
Francisco

Thanks @likamrat for the comments.
Already committed some changes you suggested. Will change the following in the next few days:

Consistency in blank lines/spaces
Adding vSwitch creation (optional) as part of the PS automation flow
Adding extra automation for prompts
Changing VM creation from 2GB to 8GB of memory
Clarifying explanation for DHCP parameters
Updating screenshots and adding a WAC screenshot
Changing VM hostname
Adding VHDX file to Jumpstart storage account - will contact you offline

All the above implemented, except VHDX upload. Sent you an email @likamrat

@likamrat all changes implemented!


When /v1/bequeath-your-data-and-die is executed , series of call backs that ends subscription of old release should not be executed if new-application is of same release and same application name

Problem Description:
When we trigger /v1/bequeath-your-data-and-die in oldRelease as new application of same release and same application name got deployed in new-application-address and new-application-port .
Then during series of call backs following callbacks should not be sent

PromptForBequeathingDataCausesRObeingRequestedToStopNotificationsToOldRelease
PromptForBequeathingDataCausesALTbeingRequestedToStopNotificationsToOldRelease
promptForBequeathingDataCausesRequestForDeregisteringOfOldRelease

As, it will lead to end of subscriptions .
Solution:
Below mentioned Call backs should not be executed if new-application is of same release and same application name :

PromptForBequeathingDataCausesRObeingRequestedToStopNotificationsToOldRelease
PromptForBequeathingDataCausesALTbeingRequestedToStopNotificationsToOldRelease
promptForBequeathingDataCausesRequestForDeregisteringOfOldRelease

Closing the issue , based on the decision made in the issue https://github.com/openBackhaul/ExecutionAndTraceLog/issues/260


Comparing applications.TeamMember with guilds.Member and users.User

Summary
This PR modifies __hash__ and __eq__ methods of applications.TeamMember and guilds.Member so that they are always compared according to their user field (other fields don't matter anymore).
Custom __hash__ and __eq__ had to be written, resigning from the ones generated by the @attr decorator(or maybe I'm wrong, I don't have experience with attrs pakage).
I'm not sure if this is the best solution as now other fields of TeamMember and Member are always ignored for every comparison, is this desired?
Another way to make the in operator work (see linked issue) would be to define methods like __contains__, __getitem__ and so on... on the applications.Team class or on some new class like applications.TeamMembers.
These methods could then support different object types passed as arguments.
@nekokatt What do you think?
Checklist

[x] I have run nox and all the pipelines have passed.
[x] I have made unittests according to the code I have added/modified/deleted.

Related issues

This PR fixes #194

Custom hash and eq had to be written, resigning from the ones generated by the attr decorator(or maybe I'm wrong, I don't have experience with attrs pakage).

Sounds good to me. I don't believe there is any other way to do it 👍
I will take a look, bare with me as I am on mobile

Apart from the type hint that should ideally be typing.Any, all looks great.
Thanks for taking the time to put this together! Drop me a comment when ready and I'll approve it when I get home!


Fix yank-pop and add test for cursor positioning

Based on suggestion in PR #551 that notes a problem with yank-pop cursor positioning.
Fixed by moving yank to:
ZSH_AUTOSUGGEST_ZLE_YANKBEFORE_WIDGETS
instead of:
ZSH_AUTOSUGGEST_ZLE_YANK_WIDGETS
Also confirmed that this works to close #363 once merged in.

Oops, this was supposed to be for develop, rather than master :(


UI breaks while scroll two lists

I have two lists (leftside and rightside) which are within a div.That div contains property of overflow auto and height 500px.
The two lists contains 100 items.When I was trying to sort leftside list the ui was continously breaking untill drop event.This seems potential.. Could u please give me workaround. @RubaXa

@vimalchandhru Please give JSBin


Fix: SQL template rendered with Double Quote Issue

Describe your changes
Issue ticket number and link
Closes #x
Checklist before requesting a review

[ ] I have performed a self-review of my code
[ ] I have added thorough tests (when necessary).
[ ] I have added the right documentation in the docstring and changelog (when needed)

:books: Documentation preview :books:: https://jupysql--162.org.readthedocs.build/en/162/

Close this since we should handle this in https://github.com/ploomber/jupysql/issues/158


Switch to codecov v2 GH action

What type of PR is this?
/kind cleanup
What this PR does / why we need it:
Switching to the latest GitHub action version.
Which issue(s) this PR fixes:

None
Does this PR have test?
None

Special notes for your reviewer:
None
Does this PR introduce a user-facing change?

None

Codecov Report

Merging #720 (ec524a6) into main (ff172b9) will increase coverage by 0.13%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #720      +/-   ##
==========================================
+ Coverage   46.16%   46.30%   +0.13%
==========================================
  Files          41       41
  Lines        3065     4110    +1045
==========================================
+ Hits         1415     1903     +488
- Misses       1586     2138     +552
- Partials       64       69       +5

/override pull-security-profiles-operator-verify

/test pull-security-profiles-operator-test-e2e


Metadata does not appear while connected to simulator

Metadata doesn't appear while connected to the simulator. I haven't tested if this is the case while streaming logs from an actual robot.
Opening the saved .rlog file includes the metadata.

This feature has been missing from AdvantageKit for a while; originally, metadata was only included as part of the first cycle. This meant that any clients which connected wouldn't receive the data. AdvantageKit v1.7.1 changes this behavior so that metadata is included in all cycles. This will not increase the size of the log files, since only changes in fields are recorded (and the metadata isn't allowed to change). The only difference is that the metadata will be included when data is sent to a new client.
This change is also compatible with older versions of Advantage Scope (v1.16.2 is not required).


[BUG] Document Store (Vector) node doesn't allow selection from existing document store.

Describe the bug
The document store (vector) doesn't allow for selection from an existing document store even though the document store exists. You can see this in the screenshots.
To Reproduce
Add the document store vector node to your canvas and try to connect it to an existing document store.
Expected behavior
Should allow for the selection any existing document store.
Screenshots
Attached.
Flow
If applicable, add exported flow in order to help replicating the problem.

Flowise Documents WIP Chatflow.json

I should also mention that I'm using the flowwise cloud version

To use it, first you have to perform an upsert first:


Reset password email might not work.

[x] Make sure password reset emails work.

[x] Send out a Welcome to MyApnea email.

Moved a portion of this to #525, and closed the remaining issue as this has been addressed in Release 4.1.


Class not found sharing message

i have issue on sharing message.
i use telerik platform to build an apps. i try both automatic and manual installation but not working.
the error message show "class not found".
i use SocialShare version 5.1.1
i just try this sample code
``
what did i missed?
socialshare.try1.zip

No takers, closing.

Any solution @josefbernadi ?

Sorry... I can't help you @pookdeveloper

@josefbernadi did you try the plugin of capacitor?
https://capacitor.ionicframework.com/docs/apis/share/


Refactor GraphQL documentation

Description of the change

Checklist
Please make sure that the proposed change checks all the boxes below before requesting a review:

[x] I have reviewed the guidelines for contributing to this repository.
[x] The preview looks fine.
[x] The tests pass.
[x] The commit history is clean and meaningful.
[x] The pull request is opened against the main branch.
[x] The pull request is no longer marked as a draft.
[x] You agree to license your contribution under the MIT license to Spacelift.

If the proposed change is ready to be merged, please request a review from @spacelift-io/solutions-engineering. Someone will review and merge the pull request.
Thank you for your contribution! 🙇

@jmfontaine I'll refactor this to use Postman, apprently it supports graphql now. Insomnia is trash so I'm happy

@jmfontaine good point. actually, I won't add Postman now because I've spent already too much on this :D I'll just create new screenshots and call it a day

@jmfontaine I specifically looked at that screenshot and was like "oh this one doesn't have arrows, cool".
I didn't notice it because it was black 😂 fixed

I didn't notice it because it was black

@peterdeme That was exactly my point. 🤣

@peterdeme I tried in two different browsers and docs/assets/screenshots/api-key-ulid.png still shows a black arrow. Am I missing something?

@jmfontaine ahh, no I missed it. pushed a new.


memory analysis detector - Incorrect markdown syntax for wiki.md

Markdown syntax for wiki.md for Memory Analysis detector is incorrect

Updated to reflect new graph


No articles synced, RM2 rebooting

I did what appeared to be a successful install of pocket2rm.  I received the expected success message from the installer, ~/.pocket2rm exists, and my RM2 has a "pocket" folder with the file that says "Remove to Sync"... however, if I remove that file, nothing syncs, and my RM2 reboots.
Thoughts on how to debug this?
Possibly useful notes:
Remarkable firmware version <IP_ADDRESS>
Built on my NixOS laptop with Go version 1.16.3
SSH to the RM2 confirmed working with key-based auth.

I have a similar issue where the RM2 reboots after deleting the sync file. However after reboot the new articles start syncing.


how to set g:formatterpath

I installed remark locally with the command npm install -g remark-cli in folder, ~/.vim_runtime/vimrcs/auto-format.
Then, I added let g:formatterpath = ['~/.vim_runtime/vimrcs/auto-format'] to the .vimrc. However, It did not work with markdown file.
I tried to add let g:formatterpath = ['~/.vim_runtime/vimrcs/auto-format/node_modules'] in my .vimrc. It also did not work. So, what should I set with g:formatterpath.

What is the location in which the executable resides?
If there is no single executable called remark, then you have to specify a custom formatter command yourself.
You can look here for the default definition
https://github.com/vim-autoformat/vim-autoformat/blob/master/plugin/defaults.vim#L573


Missing public headers with bazel build

These headers should be exported as public header:
"include/grpc++/impl/codegen/config_protobuf.h",
"include/grpc++/impl/codegen/proto_utils.h",
I guess the right way to fix it is to change build.yaml:
diff --git a/build.yaml b/build.yaml
index 37c95cc..a7b5699 100644
--- a/build.yaml
+++ b/build.yaml
@@ -648,6 +648,8 @@ filegroups:
   - include/grpc++/impl/call.h
   - include/grpc++/impl/client_unary_call.h
   - include/grpc++/impl/codegen/core_codegen.h
+  - include/grpc++/impl/codegen/config_protobuf.h
+  - include/grpc++/impl/codegen/proto_utils.h
   - include/grpc++/impl/grpc_library.h
   - include/grpc++/impl/method_handler_impl.h
   - include/grpc++/impl/rpc_method.h

But I don't know what's the next, could anyone take it over? Thanks!

I think I fixed this one.


Upgrading to 0.3.0 from pip doesn't work

Hi, I am getting this error:
C:\Users\Mattan>pip install torchvision==0.3.0
Collecting torchvision==0.3.0
  ERROR: Could not find a version that satisfies the requirement torchvision==0.3.0 (from versions: 0.1.6, 0.1.7, 0.1.8, 0.1.9, 0.2.0, 0.2.1, 0.2.2, 0.2.2.post2, 0.2.2.post3)
ERROR: No matching distribution found for torchvision==0.3.0

pip is up to date:
C:\Users\Mattan>pip install pip --upgrade
Requirement already up-to-date: pip in c:\users\mattan\appdata\roaming\python\python37\site-packages (19.1.1)

But according to the pip website the package is online.

I installed with the wheel file hosted on pyotrch.org, which resolved the problem for me:
pip install https://download.pytorch.org/whl/cu100/torchvision-0.3.0-cp37-cp37m-win_amd64.whlhttps://download.pytorch.org/whl/cu100/torchvision-0.3.0-cp37-cp37m-win_amd64.whl

fixed now (i.e. directly calling pip install torchvision==0.3.0 should work on windows -- however you have to have pytorch already installed on windows as pytorch is not shipped on pip on windows


Fix 'knife cookbook show' to work on root files

rebase and md files for #3450
closes #3450

Hi. I am an automated pull request bot named Curry. There are commits in this pull request whose authors are not yet authorized to contribute to Chef Software, Inc. projects or are using a non-GitHub verified email address. To become authorized to contribute, you will need to sign the Contributor License Agreement (CLA) as an individual or on behalf of your company. You can read more on Chef's blog.
Non-GitHub Verified Committers
There are 1 commit author(s) whose commits are authored by a non-GitHub verified email address. Chef will have to manually verify that they are authorized to contribute.
Please sign the CLA here.


TypeError: Cannot read property '_' of undefined

I'm trying to run fuse-box on the first example in the documentation but run into the following exception -
TypeError: Cannot read property '_' of undefined
    at extractParams (/tmp/box/node_modules/fuse-box/cli/entry.js:8:30)
    at initCLI (/tmp/box/node_modules/fuse-box/cli/entry.js:17:18)
    at Object.<anonymous> (/tmp/box/node_modules/fuse-box/cli/entry.js:22:1)
    at Module._compile (internal/modules/cjs/loader.js:654:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:665:10)
    at Module.load (internal/modules/cjs/loader.js:566:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:506:12)
    at Function.Module._load (internal/modules/cjs/loader.js:498:3)
    at Function.Module.runMain (internal/modules/cjs/loader.js:695:10)
    at startup (internal/bootstrap/node.js:201:19)

Here's what the fuse.js looks like -
const { FuseBox, WebIndexPlugin } = require("fuse-box");
const fuse = FuseBox.init({
    homeDir : "src",
    target : 'browser@es6',
    output : "dist/$name.js",
    plugins : [
        WebIndexPlugin()
    ]
})
fuse.dev(); // launch http server
fuse.bundle("app").instructions(" > app.js").hmr().watch()
fuse.run();

The "source code" only has a single src folder with an app.js file containing a console.log("hello world") and nothing else.
Here's what package.json looks like
{
  "name": "box",
  "version": "1.0.0",
  "main": "index.js",
  "license": "MIT",
  "devDependencies": {
    "fuse-box": "^3.2.2",
    "typescript": "^2.8.3",
    "uglify-es": "^3.3.9",
    "uglify-js": "^3.3.23"
  }
}

It's pretty much a copy paste from the documentation, so I'm wondering if there's anything extra I need to do to get it running? Fusebox looks like a very promising alternative to webpack so it would be cool if this could be resolved. Thanks!

It looks like you are using fusebox as a CLI command. Please don't do it.
https://github.com/fuse-box/react-example
node fuse

That was an easy fix. Thanks!


levenshteinLimit1 is broken

curr0 = std::min(curr0, i + (int)(s[i] != t[0]));
...
curr1 = std::min(curr1, last0 + (int)(s[i] != t[1]));

the hardcoded indices 0 and 1 for t are crap, they should be i-1 and i (I think), but I'm currently too lazy to figure out if that's correct and I didn't comment the code when I wrote it.

simplest way to reproduce is to just feed it with single-letter strings. levenshteinLimit1('a', 'a') == 1 (paraphrasing, input needs to be vector<uint32_t>)

furthermore, it doesn't handle strings of differing length correctly if the first string is shorter than the second one


Update Imprint

Add new Management Board for S2AG and S2 Deutschland

Add new Management Board for S2AG and S2 Deutschland


Discuss Fmod vs Mod

Should we just use the glsl style Mod which is propably what people expect any advantage on using fmod?

I'd suggest to just provide both?  I don't know if it's advantage so much as just slightly different behavior?
I've already got it in the FuseCommonSDF header, but could move it to FuseCoreMath
	// glsl style mod 	#ifndef mod 	#define mod(x, y) (x - y * floor((x) / y)) 	#endif

Ah they are both there already (mod is patched)

Yes I am aware already used mod question is should we keep fmod or just remove it or add a help patch explaining both and add proper documention to both nodes to make sure which one to use


[feat] Tauri on Embedded Linux + WPE WebKit?

Describe the problem
I'm trying to build a full-screen display app for a kiosk machine in our factory for internal production testing. I'm thinking is it possible to get Tauri working with WPE WebKit and render stuff to Linux DRM directly? This is quite useful as I can re-use some native Rust bindings I've implemented earlier, while I also don't need to rely on GTK and window managers so that the overhead on RAM and storage.
Describe the solution you'd like
Not sure... Maybe I need to implement the IPC stuff specifically for WPE: https://github.com/tauri-apps/tao/tree/dev/src/platform_impl/linux
Also, I would like to know is there any alternative way to modify the current code and get it working without GTK and X11/Wayland?
Alternatives considered
Another similar thing is MiniGBM for Chromium, but I'd prefer not to use Chromium for low-RAM platforms.
Additional context
No response

Unfortunately this is not something we plan on implementing, it would require a massive overhaul for a feature that most of the community won't use.
You could try implementing it directly in the wry repo or if you want to use Tauri, you'd need to implement a custom tauri Runtime.

If Tauri can incorporate Servo in the future, you may be able to target embedded Linux.
This month in Servo: CSS filters, testing changes, Tauri, and more!

If Tauri can incorporate Servo in the future, you may be able to target embedded Linux. This month in Servo: CSS filters, testing changes, Tauri, and more!

Unfortunately Servo still requires X11 so I don't think it'd be good for this use case.

Unfortunately Servo still requires X11 so I don't think it'd work just yet.

Indeed, I think WPE may be a good option. But then in that case there's probably no much benefit to port a Tauri runtime on WPE because there's no window/system tray/clipboard. I'd rather just run my frontend app on WPE and connect a local backend server for low-level stuff.


The Pigeonhole Principle

Description
C_CPP
Domain
C/CPP
Type of Contribution
Documentation
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of this project.

/assign


feat(regexp-assemble): Update data file comment

The header comment in the regexp-assemble data files was no longer in
sync with the implementation after the merge of the improvements to the
preprocessing engine of regexp-assemble.
Replaces https://github.com/coreruleset/coreruleset/pull/2545#issuecomment-1126973298 for v4.1/dev

We have been discussing about dropping the header from the regexp-assemble data files. The header explains some basics but obviously leaves out a lot. The issue is that the header changes from time to time and every time it does we need to update 20+ files.
For anyone interested in the matter, please with 🗑 (trash) for "trashing" the header or with 📜 (scroll) for keeping it.

🗑

🗑 (the emoji is called "wastebasket" in my case) 🤷

I just copy & pasted his 🗑.

The beauty of the header is that it is clear and easy to read in plain text.
Is the alternative to rely on README.MD? The problem with that is the file is difficult to read at the CLI.

I was just thinking of plain text, as it is now, and call it README.data.

Why is it difficult to read? Most editors have highlighting for markdown.

🗑 (the emoji is called "wastebasket" in my case) 🤷

I just copy & pasted his 🗑.

You can type :trash and it will show you the wastebasket emoji.

🗑

@RedXanadu
brew install ronn && ronn -m util/regexp-assemble/README.md

Or I can generate the man page, put it beside the markdown file and you could do
man util/regexp-assemble/README.1

Would that help?

Yeah, we can make it look pretty, but was just making the point that the existing headers are good because they are easy to read in plain text already.
We can make the README file look nice in a PDF or as HTML, of course, but we're sacrificing the plain text readability of the existing headers by removing them.
I still think we should centralise/remove the headers, I just wanted to make the point :)

Fair enough :)
Thanks everyone for voting. I will close this PR and open a new one to remove the headers.


No Sorting, Accept any value for email

cannot sort comments by calling /comments/content-type:id?_sort=id:desc
the plugin has no validation for email for unauthenticated users

@Mo9a7i under investigation.

@Mo9a7i under investigation.

@Mo9a7i change introduced in v1.0.1-beta.4. After testing please close the ticket.

@Mo9a7i change introduced in v1.0.1-beta.4. After testing please close the ticket.

Closing as already tested in #25

Closing as already tested in #25


⚠ ClamAV has degraded performance

In 9058bf9, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 68 ms

Resolved: ClamAV performance has improved in 4cd4cb3.


Fix examples env and links

Fixes #
Changes made in this Pull Request:

PR Checklist

[ ] Tests?
[ ] Docs?
[ ] CHANGELOG updated?
[ ] Issue raised/referenced?

Codecov Report

Merging #52 (8434f96) into main (d4874f0) will decrease coverage by 2.20%.
Report is 1 commits behind head on main.
The diff coverage is n/a.

Additional details and impacted files


Update IPEX pin and add cl extension feature query

Verified on X1 server, got
{
  'support_cl_bf16_conversion': True,
  'support_cl_sg_matmul_acc': True
  'support_cl_sg_matmul_acc_tf32': False,
  'support_cl_sg_2d_block_io': True,
}

PR to IPEX is here https://github.com/intel/intel-extension-for-pytorch/pull/667


error passing plugin with task, it fails if I have only 1 plugin with task

Traceback (most recent call last):
File "/home/ozapatam/.local/bin/kahi_run", line 37, in
kahi.run()
File "/home/ozapatam/.local/lib/python3.11/site-packages/kahi/Kahi.py", line 133, in run
plugin_config[module_name] = self.workflow[module_name]
~~~~~~~~~~~~~^^^^^^^^^^^^^
KeyError: 'ranking_udea_works'

fixed via 98b365df2c08518e192abff25f9bf6016376620d


Add Rails support to Notebook, via notebook_attachment macro

cc @tute

Looking good!

Pushed and updated. Will merge on green Travis CI build.

before_upload and after_upload Rails helpers will be up in next PR, stay tuned!


Fix broken API doc link

@indecisivemal : Thanks for your contribution! The author, @mdgattuso, has been notified to review your proposed change.

#sign-off

It looks like the linked page has been moved back to its original URL. If that's going to be permanent, this should be reverted.

It looks like the linked page has been moved back to its original URL. If that's going to be permanent, this should be reverted.

It looks like the linked page has been moved back to its original URL. If that's going to be permanent, this should be reverted.

It looks like the linked page has been moved back to its original URL. If that's going to be permanent, this should be reverted.

It looks like the linked page has been moved back to its original URL. If that's going to be permanent, this should be reverted.

It looks like the linked page has been moved back to its original URL. If that's going to be permanent, this should be reverted.

It looks like the linked page has been moved back to its original URL. If that's going to be permanent, this should be reverted.


Why are people tilted when plotting the GT with 'draw_skeleton' function

We use the GT provided by you, the plotting 3d keypoint of the woman is tilted.
Why this happens?
Thanks in advance for your reply.

You can try the plot parameter pointsize=1

Thanks for your quick reply @Zhuyue0324 .
But after i modify with your suggestion, the result is also tilted.
"    draw_skeleton(keypoints_3d_float, pointsize=1, plt_show=True, save_path=plot_gt_3d_path)
"

If you mean the human is not vertically straight, it is due to that I record 3D data as X_global * R_cam, which on one hand allowing a same facing orientation of human between 3D skeleton and the image, but on the other hand, the rotation of camera is included and they seems not filming horizontally by dataset default but about 10-15 degree looking down, leading to non-vertical pose in that view.

Thanks for your explanation.


Upgrade Play! version from 2.4.1 to 2.4.4

No changes other than version numbers from Maven plugin or test projects point of view.

New 1.0.0-beta4-SNAPSHOT deployed, documentation site updated.


Project Feature Checkpoint: 10/15/23

This week, Daniel and I worked on two separate ways to design our Del Norte themed Geo guesser type game. While Daniel was working on a way to make clickable buttons in different locations on the Del Norte map, I thought of a different idea to design the game, which was to make a point system based on how close your guess aka click was to the target location (via pixels). So for example, if you were very close to the target location, you would score 10 points. If you weren't close at all, you would get one. For now, I have the "target" location in the center of the image. Next week I plan to figure out how to integrate all of our planned locations (on del norte campus) into this code so that the "target" location changes every click, and will sync to the new target location.

I think the mouse tracker will flow better than the buttons. It makes it closer to the actual geo guesser game. I think we should have it be more than one pixel that you can click on. I can help make boundaries or "Hitboxes."


URL of this document is wrong

The title of this document is 'Advanced Data Security for Azure SQL Database', however the URL is https://docs.microsoft.com/en-us/azure/sql-database/sql-advanced-threat-protection

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

ID: dcc04833-193c-4ab6-678e-de078b7275ce
Version Independent ID: 289a64b5-4031-3876-6566-dbb45a8e98d5
Content: Advanced Data Security - Azure SQL Database
Content Source: articles/sql-database/sql-advanced-threat-protection.md
Service: sql-database
GitHub Login: @ronitr
Microsoft Alias: ronitr

Fixed - please close @Mike-Ubezzi-MSFT

@BartVanBerkel We will now proceed to close this thread. If there are further questions regarding this matter, please comment and we will gladly continue the discussion.


xpadneo: 0.8.1 -> 0.8.2

Also fixes kernel module version: @DO_NOT_CHANGE@ -> 0.8.2

Motivation for this change
Upgrade to the latest release: https://github.com/atar-axis/xpadneo/releases/tag/v0.8.2
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)

Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"

[x] Tested execution of all binary files (usually in ./result/bin/)
No binary files. Enabled with hardware.xpadneo.enable = true & tested through use of Xbox One controller.
Tested:

Bluetooth connectivity
All buttons
Rumble support

> modinfo hid_xpadneo
filename:       /run/current-system/kernel-modules/lib/modules/5.7.9/extra/hid-xpadneo.ko.xz
version:        0.8.2
description:    Linux kernel driver for Xbox ONE S+ gamepads (BT), incl. FF
author:         Florian Dollinger<EMAIL_ADDRESS>license:        GPL
srcversion:     3D77A9FCE33246E56A7AE59
alias:          hid:b0005g*v0000045Ep00000B05
alias:          hid:b0005g*v0000045Ep000002E0
alias:          hid:b0005g*v0000045Ep000002FD
depends:        hid,ff-memless
retpoline:      Y
name:           hid_xpadneo
vermagic:       5.7.9 SMP mod_unload
parm:           debug_level:(u8) Debug information level: 0 (none) to 3+ (most verbose). (byte)
parm:           combined_z_axis:(bool) Combine the triggers to form a single axis. 1: combine, 0: do not combine. (bool)
parm:           trigger_rumble_mode:(u8) Trigger rumble mode. 0: pressure, 1: directional, 2: disable. (byte)
parm:           rumble_attenuation:(u8) Attenuate the rumble strength: all[,triggers] 0 (none, full rumble) to 100 (max, no rumble). (array of byte)
parm:           ff_connect_notify:(bool) Connection notification using force feedback. 1: enable, 0: disable. (bool)
parm:           gamepad_compliance:(bool) Adhere to Linux Gamepad Specification by using signed axis values. 1: enable, 0: disable. (bool)
parm:           quirks:array of charp
parm:           quriks:(string) Override device quirks, specify as: "MAC1:quirks1[,...16]", MAC format = 11:22:33:44:55:66, no pulse parameters = 1, no trigger rumble = 2, no motor masking = 4

[ ] Determined the impact on package closure size (by running nix path-info -S before and after)

[ ] Ensured that relevant documentation is up to date

[x] Fits CONTRIBUTING.md.

@ofborg build xpadneo

@ofborg build linuxPackages.xpadneo linuxPackages_latest.xpadneo

@worldofpeace Thanks again! :smile:
Would it be ok if I continued adding you to future updates? It seemed like the PR was going stale without a reviewer.


Tag edit modal should close only when cancel button is clicked

Motivation and Context

tag edit modal should close when the cancel button is clicked, not when any part of the modal is clicked

Your Changes

Description:

update jquery selector

Type of change (select all that apply):

[x] Bug fix (non-breaking change which fixes an issue)

Testing

Questions and Comments (if applicable)

Checklist

[x] I have performed a self-review of my own code.
[x] I have fixed any Hound bot comments.
[x] I have updated the Changelog.md file.

Required documentation changes (if applicable)

Yeah you're probably right. I'll change it up


Operation request: Unicode strikethrough

Summary
Can be useful for sites or forums that don't have strikethrough formatting. Not urgent or important, just wanted to note it down as a tool I have used before. Eg. https://adamvarga.com/strike/
Example Input
strike it like its hot
Example Output
s̶t̶r̶i̶k̶e̶ ̶i̶t̶ ̶l̶i̶k̶̶e̶ ̶i̶t̶s̶ ̶h̶o̶t

Uh, I just realized this project is made by the actual GCHQ intelligence agency for data analyst work, while this operation is for shitposting. Feel free to close.

@themacguffinman I see your shitposting and raise you a PR :)

Thank you, it's more than I could ask for!

M̶̲e̶̲r̶̲g̶̲e̶̲d̶̲


Omnibus Embedding

Write a function for omnibus embedding with following features:

Can take any number of matrices
Checks for same matrix dimensions

DoD:

Code + tests demonstrating that it works.

i'd recommend starting with 2 matrices, rather than any number.
@j1c who is assigned this?

This is assigned to me. It is part of the overall sprint 1 sprint now.

Yes. I meant test on 2 to start
On Thu, Sep 13, 2018, 1:25 PM Eric Bridgeford<EMAIL_ADDRESS>wrote:

@jovo https://github.com/jovo isn't it equivalently easy to just write
it for arbitrarily many matrices? just take the submatrix M_{i, j} to be
the n vertex average adjacency matrix of A_i and A_j. We just said
arbitrarily many because it's equally easy if not easier to write for m
matrices rather than hardcode for 2 like youngser does, and then we can
test on 2 to start with.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/neurodata/pygraphstats/issues/10#issuecomment-421086300,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AACjcgWnW0xkw7KILegtTA4ajsNrcndaks5uapTEgaJpZM4WfaRM
.

See #39.


Introduce a separate Hash struct.

This is intended to make the API clearer in separating the hash, which is part of the GitOid but not sufficient for representing the GitOid, from the overall GitOid structure. The GitOid can be represented as a URI, or you can extract the parts (hash algorithm, object type, hash) individually. If you have the Hash, now represented as a struct, you can either access the individual bytes through the Deref impl or as_bytes method, or you can get the hexadecimal encoding through the Display impl or the implied to_string method or explicit hex method.
Signed-off-by: Andrew Lilley Brinker<EMAIL_ADDRESS>

One thing I am definitely open for feedback on is the name of the new struct. The standard library has std::hash::Hash, which is a trait for hash-able types. The struct here might instead be named HashRef or something similar to differentiate it.

I agree with the need to differentiate the new struct from std::hash::Hash and I think HashRef is a reasonable name for it.

Other than my comment ^, this looks good!

Great! I've done the rename and changed the import of use std::hash::Hash as StdHash in gitoid.rs to a more normal use std::hash::Hash.


operator contrail-operator (21.3.0)

This helps setup Juniper contrail SDN for Openshift and its LCM

closing to open new one retry


Voronoi nodes Fill output does not output correct size data, so neither Fill to UV or Fill to Size work with it

Material Maker version:
0.94 and Latest dev build
OS/device including version:
NA
Issue description:
Voronoi nodes Fill output does not output correct size data, so neither Fill to UV or Fill to Size work with it.

If this cannot be corrected I think it would be better to deprecate the node and made a version of it without the Fill output.
Steps to reproduce:
Connect a Voronoi's Fill outpu to a Fill to UV node.

Fill to UV works after 2b4fce4493fe6bc18f30ad7de15fd2f5895ed7b3
Though fill to size does not. I'm guessing it's not actually possible to get precise bb data from the voronoi function to allow for this?

Closing. Fixed in 0.95.


No bytecode

I'm just as much of a fan of trivial makefiles as the next guy, but nilrt-snac -h takes just shy of a second to run, and I suspect the lack of .pyc files has something to do with it.

The delay when running commands is more likely because the nilrt_snac python module is performing an opkg update on module load. I have a commit here to defer that operation only until you call "configure".

Should be fixed by #22.


Implemented Glue Schema Registry CreateRegistry API

Implemented Glue Schema Registry CreateRegistry API.
Implemented Validations for input parameters for CreateRegistry API.
Wrote unit tests for CreateRegistry API.

This is for #5146

Codecov Report

Merging #5234 (8a0099a) into master (788e14e) will decrease coverage by 0.01%.
The diff coverage is 96.77%.

@@            Coverage Diff             @@
##           master    #5234      +/-   ##
==========================================
- Coverage   95.94%   95.93%   -0.02%
==========================================
  Files         688      688
  Lines       68648    68710      +62
==========================================
+ Hits        65865    65917      +52
- Misses       2783     2793      +10

Flag
Coverage Δ

servertests
36.26% <25.80%> (-0.01%)
:arrow_down:

unittests
95.88% <96.77%> (-0.01%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

moto/glue/models.py
96.11% <95.12%> (-0.14%)
:arrow_down:

moto/glue/exceptions.py
100.00% <100.00%> (ø)

moto/glue/responses.py
98.91% <100.00%> (+0.02%)
:arrow_up:

moto/resourcegroupstaggingapi/models.py
82.93% <0.00%> (-0.60%)
:arrow_down:

moto/sns/models.py
96.81% <0.00%> (-0.40%)
:arrow_down:

moto/route53/responses.py
96.05% <0.00%> (-0.33%)
:arrow_down:

moto/sqs/models.py
96.73% <0.00%> (-0.18%)
:arrow_down:

moto/config/models.py
99.21% <0.00%> (-0.14%)
:arrow_down:

moto/ssm/models.py
94.50% <0.00%> (-0.11%)
:arrow_down:

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 788e14e...8a0099a. Read the comment docs.


Config should inform which minions are "Managed by cephadm"

As an administrator, I would like to see which minions are already managed by cephadm, example:
master:~/ceph-salt # ceph-salt config /ceph_cluster/minions ls
o- minions ................................................................................................................................. [Minions: 4]
  o- master.ses7.com .................................................................................................... [no roles (Managed by cephadm)]
  o- node1.ses7.com ............................................................................................. [bootstrap, admin (Managed by cephadm)]
  o- node2.ses7.com ..................................................................................................... [no roles (Managed by cephadm)]
  o- node3.ses7.com ..................................................................................................... [no roles (Managed by cephadm)]

Also, we should use "Managed by cephadm" term instead of "deployed" in some features:
master:~/ceph-salt # ceph-salt status
hosts:  4/4 deployed
config: OK

master:~/ceph-salt # ceph-salt deploy
Checking if ceph-salt formula is available...
Syncing minions with the master...
Checking if there is an existing deployment...
Cluster is already deployed, please apply the deployment to a single minion at a time: "ceph-salt deploy <minion_id>"

To implement this we would need to read hostname grain from all cephadm minions, which is an expensive operation, see PR https://github.com/ceph/ceph-salt/pull/293 for information about how expensive it is.
Since the benefit does not justify the performance impact here, I'm closing this issue for now.


orthonormalize_basis_orbitals is not there

AttributeError: 'QuantumChemistryPsi4' object has no attribute 'orthonormalize_basis_orbitals'
or
AttributeError: 'QuantumChemistryPySCF' object has no attribute 'orthonormalize_basis_orbitals'
or
AttributeError: 'QuantumChemistryBase' object has no attribute 'orthonormalize_basis_orbitals'

The function is only present in version > 1.7.0
At this point this is not yet on PyPi, you can upgrade by installing tequila from devel branch
either:
pip install --upgrade git+https://github.com/aspuru-guzik-group/tequila.git@devel

or in dev mode
git clone https://github.com/tequilahub/tequila.git
cd tequila
git checkout devel
git pull origin devel
pip install -e .


Connection dropping on Windows after 5-7 seconds

Hello! I was trying to set up the OEM API on Windows (using the older version 8.6.0), and I'm having a lot of trouble establishing a reliable connection. a) It is generally really hard to connect to the probe, I get an error message saying "permission denied" when I try to turn on/off the probe after connecting in the BLE tab, and b) once I do connect and manage to get the TCP connection going and stream the US images, the connection lasts for 5-7 seconds max, and then just drops. I've compiled the package on Linux (Ubuntu 20, eventually I just installed the QT creator suite and got Qt3DExtras from there to be able to compile the code in a terminal), and it works like a charm. Has this ever been reported before, or do you have any suggestions? I tried running the OEM app from 3 different windows machines and I observed the same exact problem.
Thanks for any feedback!
P.S. - I know that the new binaries are released but I currently need V8.6.0.

what is the serial # of your device?

It's C3HD042007A0574.

thanks, I do not see that the license has been purchased/enabled - I do see however the Cast API. For OEM API, we just support companies creating products with Clarius devices, individuals with single probes are not currently supported and are requested to use the Cast or the Mobile APIs


add https://github.com/ytdl-org/youtube-dl

fix: #73

As you can see from the following error output:
filename: "{{.Name}}_{{.VersionNum}}_{{.OS}}_{{.Arch}}.tar.gz"
binary: youtube-dl         # please provide a binary file name if the release filename is not the final one
targetBinary: youtube-dl   # a desired target binary file name
tar: true         # if this is a tar file
replacements:      # the replacement of os, arch
  amd64: 64bit
  darwin: macos
  linux: Linux
start to download from https://github.com/ytdl-org/youtube-dl/releases/download/2021.06.06/youtube-dl_2021.06.06_Linux_64bit.tar.gz
Error: cannot download from https://github.com/ytdl-org/youtube-dl/releases/download/2021.06.06/youtube-dl_2021.06.06_Linux_64bit.tar.gz, response error: failed to download from 'https://github.com/ytdl-org/youtube-dl/releases/download/2021.06.06/youtube-dl_2021.06.06_Linux_64bit.tar.gz': status code: 404, content length error: <nil>

The real download URL is https://github.com/ytdl-org/youtube-dl/releases/download/2021.06.06/youtube-dl
Please try to make these changes:
filename: "{{.Name}}"
tar: false


InspectCode: Add ability to perform XSL Transform of output file

Cake should provide the ability to provide a default XSL transform of the resulting inspectcode report xml file, into a human readable html file.
In addition, Cake users should be able to provide their own custom XSL file for performing the transformation.

As discussed with @patriksvensson and @devlead this is not something that will be included in Cake.


receive: implement without replica labels capability

Add without replica labels capability to Thanos Receive. Internally, we are already advertising that local TSDB client supports without replica labels. This wires the last pieces.

Should we flip the flag for the ruler too? I think it uses the same TSDB store.

Should we flip the flag for the ruler too? I think it uses the same TSDB store.

I think let's do it in a separate PR, perhaps it will need some extra changes :smile:


Cant close dialog

Hello there,
I'm having trouble when I want to close a dialog which contains a search bar and result list. After choosing one item or clicking at ESC I want the dialog to be closed but nothing works. Even when I try with Application.StopRequest() nothing works. Here is the code:
And one more observation: When I click ESC like 15 times it closing.
`var d = new Dialog() { Title = "Bitte auswählen", Width = Dim.Percent(50), Height = Dim.Percent(50) };
var dialogContent = new View() { Width = Dim.Fill(), Height = Dim.Fill() };
            var searchField = new TextField(0, 0, 100, "");
            dialogContent.Add(searchField);

            var resultList = new ListView(new string[] { })
            {
                X = 0,
                Y = 2,
                Width = Dim.Fill() - 1,
                Height = Dim.Fill() - 1
            };

            void ListItemChosen(ListViewItemEventArgs e)
            {
                Application.RequestStop();
            }
            resultList.OpenSelectedItem = (e) => ListItemChosen(e);

            dialogContent.Add(searchField);
            dialogContent.Add(resultList);
            d.Add(dialogContent);
            Application.Run(d);

`
Am I missing anything?

I've found out there was a loop within my application. Every time I've typed enter in the search list it triggered the enter of the main window so it re-opened.


Keras nightly pip

Adds Keras Nightly GitHub Action to upload to keras-nightly
Adds options --nightly and --rc to pip_build.py
Adds a dummy readme file to kokoro folder so GitHub shows the top level folder only in its view.

Codecov Report
All modified lines are covered by tests :white_check_mark:

Comparison is base (0595668) 78.13% compared to head (d515c05) 57.80%.

Additional details and impacted files
@@             Coverage Diff             @@
##           master   #18609       +/-   ##
===========================================
- Coverage   78.13%   57.80%   -20.34%
===========================================
  Files         334      334
  Lines       32474    32474
  Branches     6339     6339
===========================================
- Hits        25374    18771     -6603
- Misses       5533    12282     +6749
+ Partials     1567     1421      -146

Flag
Coverage Δ

keras
57.80% <ø> (-20.24%)
:arrow_down:

keras-jax
?

keras-numpy
57.80% <ø> (ø)

keras-tensorflow
?

keras-torch
?

Flags with carried forward coverage won't be shown. Click here to find out more.
see 180 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Generated shim has an ugly icon

Make a shim pointing to any app with icon, say Notepad:

shmake.exe -i notepad.exe -o sample.exe

Open Explorer and check the mirrored icon of the generated shim. It looks much worse compared to the original one.

I suspect this happens because shmake doesn't copy icon groups from the input executable. According to docs, Windows chooses the most appropriate icon to display based on icon groups but not plain icon resources.
Let's inspect the resources of Notepad app:

As we see, Notepad has an icon group with ID 2 containing thirteen icons of various resolutions, including high quality ones.
Now the generated shim:

There is an icon group with ID 101 containing only three low-res icons. That's why the generated shim appears ugly in Explorer.
Where did the icon group 101 come from? It is actually a leftover from the win-shim's default "umbrella" icon. Initially it contained three umbrella icons of resolutions 32x32, 64x64 and 256x256. During the shim creation umbrella icons were overwritten by Notepad icons. Now the icon group 101 points to the first three Notepad icons of much lower resolution.
In summary, I believe shmake should copy icon groups from the input executable (numbered 2, 300, 301 and 302 in our particular case) and also remove umbrella icon group 101 to avoid unwanted leftovers and glitches.

I’ve experienced the same issue. But since our need of shim.exe is on executables we compile ourself, for now we have just aligned the icons Embedded in our exe to match the icon groups from shim.exe.
I’ll be happy to see the fix to that issue officially integrated.


Add pod name to lookout UI

Hi,
Could you please add actual pod name to the lookout UI? I can stich it from a job ID by appending armada-
{jobId}
-containerNumber, but it would be nicer if it was just available from the UI.
Thanks,

Carlo Camurri
I think this should be done as part of improving the UI for multi-node jobs in the job details.
Adam Czauderna
Overall, I was using lookout first time today and it's super confusing how to get the logs with k8s kubectl command, which is:
kubectl logs --context Context --namespace Namespace PodName.
In practice, it is totally not obvious that
Cluster is Context
Queue is Namespace
PodName is not present at all in UI. But by doing kubectl get pods I figured out it's armada-Id-PodNumber
Please, make it obvious in UI. For the new user I was very confused, I know kubectl, while it took trial and error to know what is what. Getting logs is probably one of the most common thing one may be doing. I would even suggest having full command to copy would be awesome to speed things up.
Kubernetes is the standard here. So this should be all more clear.


Problem with template

The template doesn't seem to work, it creates a page with incorrect links and without any CSS, see https://kajwiik.github.io/MRO/
Maybe there is something that the user should modify?

After editing
prepath = "MRO"

i.e. to my page folder in config.md it looks better...


feat(tutorial): complete step 2

Closes #
{{short description}}
Changelog
New

{{new thing}}

Changed

{{change thing}}

Removed

{{removed thing}}

Already removed duplicate classes which are causing extra padding in my header row.

Hi,
Already removed duplicate classes which are causing extra padding in my
header row.
Please check again and approve.
Best regards,
Mr. Ariel Magno
Application Developer - Web Technologies
*Phone: *63-917-1324201
*E-mail<EMAIL_ADDRESS>

https://www.youracclaim.com/badges/6b1c2f76-9859-4568-81dc-66800467932a*

On Sun, Oct 13, 2019 at 8:26 PM Kelly Churchill<EMAIL_ADDRESS>wrote:

@kellychurchill requested changes on this pull request.
You're close! Please see the comment, review your updates locally and then
commit your updates to this PR.
In src/content/LandingPage/LandingPage.js
https://github.com/carbon-design-system/carbon-tutorial/pull/2823#discussion_r334276042
:

Duplicate classes are causing extra padding in your header row.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/carbon-design-system/carbon-tutorial/pull/2823?email_source=notifications&email_token=ADKRW5DAKLASRONKADKV5QDQOMHVVA5CNFSM4I5HZWRKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCHYZWAY#pullrequestreview-301046531,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADKRW5CQBMD3C4KZTZ5ZGO3QOMHVVANCNFSM4I5HZWRA
.


The electron (electron: 32.2.2, module version 128) in current version of obsidian is newer

Installed Obsidian 1.7.5 and get the error in the uploaded image

any update？

same issue

Similar issue, but with Obsidian v1.7.6 (installer v1.4.16)

same here.

same here.

This is tied to the Electron version. ZotLit  v1.1.8 functions properly with Obsidian v1.7.7 (installer version: v1.7.4). However, Obsidian's update to version v1.7.5, which includes an upgrade to Electron version 32, has rendered the plugin incompatible.

fixed in v1.1.9. for those whose zotlit is asking for obsidian reinstallation, it should work after the plugin upgrade and obsidian reinstallation.


kubelet v1.10-beta.0 -> rktlet: http2Server.HandleStreams failed to read frame: read unix /var/run/rktlet.sock->@: read: connection reset by peer

Kubelet v1.10-beta.0
rktlet: built from head (2018/02/22 @ 8am EST)
I tried running a yet-to-be-finalized k8s release as noted above to see if I could figure out why the kubelet was previously crashing (issue #182 ). Instead of crashing, I get these read errors.

Feb 22 12:28:56 corea-worker0.obfuscated.domain.net kubelet[15768]: E0222 12:28:56.538250   15768 remote_runtime.go:69] Version from runtime service failed: rpc error: code = Unimplemented desc = unknown service runtime.v1alpha2.RuntimeService
Feb 22 12:28:56 corea-worker0.obfuscated.domain.net kubelet[15768]: E0222 12:28:56.538436   15768 kuberuntime_manager.go:172] Get runtime version failed: rpc error: code = Unimplemented desc = unknown service runtime.v1alpha2.RuntimeService
Feb 22 12:28:56 corea-worker0.obfuscated.domain.net kubelet[15768]: F0222 12:28:56.538530   15768 server.go:232] failed to run Kubelet: failed to create kubelet: rpc error: code = Unimplemented desc = unknown service runtime.v1alpha2.RuntimeService
Feb 22 12:28:56 corea-worker0.obfuscated.domain.net rktlet[15461]: 2018/02/22 12:28:56 transport: http2Server.HandleStreams failed to read frame: read unix /var/run/rktlet.sock->@: read: connection reset by peer
Feb 22 12:28:56 corea-worker0.obfuscated.domain.net systemd[1]: kubelet.service: Main process exited, code=exited, status=255/n/a
Feb 22 12:28:56 corea-worker0.obfuscated.domain.net systemd[1]: kubelet.service: Failed with result 'exit-code'.

2018/02/22 12:37:59 transport: http2Server.HandleStreams failed to read frame: read unix /var/run/rktlet.sock->@: read: connection reset by peer

It appears rktlet does not support the newest CRI version of v1alpha2.
https://kubernetes.io/docs/imported/release/notes/#major-themes


Xiaomi Door Sensor

Similar issue to - https://github.com/ebaauw/homebridge-hue/issues/290
Unable to get the name of the Xiaomi door sensor - it shows up as 0x0000

First time using the system, I'd opened the gateway using the deCONZ GUI instead of WebApp - after reading issue #290 I tried deleting the sensor, resetting it (long press on reset hole), and re-pairing after opening gateway on WebApp - still no luck :(. Interesting thing is, it detects the door open/close state on the Cluster Info - but not showing up on Homebridge. And name is still 0x0000.
Thanks in advance for your help :)

Hi, and how can we add switches Or water sensors etc? Thank you


test result

Can the box coordinates of the detection  object be output to txt text? just like this:
149
179
177
200

After line 62 in demo.py, just add
        if len(boxes) > 0:
            txt_file = open('boxes.txt', 'a')
            np.savetxt(txt_file, boxes.flatten(), fmt='%f', newline = ", ")
            txt_file.write('\n')
            txt_file.close()

I get the following output txt file after running the demo.py. In each line, groups of four numbers represent a bounding box for that image

If you want the output you state, use this instead
        if len(boxes) > 0:
            txt_file = open('boxes.txt', 'a')
            np.savetxt(txt_file, boxes.flatten(), delimiter='\n', fmt='%f')
            txt_file.close()

Might be better to have the file open and close calls outside the main loop to increase efficiency.


Recommendations for dynamic classes

I'm trying out hyperscript but can't seem to find any documentation on what the preferred way to handle dynamic classes. I tried using Jade/Pug's syntax (i.e. div.class1(class={class2: true})) but hyperscript doesn't seem to respect that:
// Load in our dependencies
var h = require('hyperscript');

// Generate our element with both class attributes and `className` property
console.log(h('div.class1', {className: 'class2'}));
// Expected:

// Actual:

I know there are options like classnames but it seems tedious like it will be an annoying maintenance tax to transition all classes from . syntax to classnames whenever a dynamic class is added. Something like the example above would be ideal:
console.log(h('div.class1', {
  className: classnames({'class2': true})
}));
//

hmm, can you describe what you are using this for, and how you want to use it?
is it one class that is passed in at the time you create the object, or is it a class that changes dynamically?
if the first, i would probably just do h('div.'+classNames) ugly, but simple, i guess if you did this lots, you'd want a pattern.
It might be simpler if attributes allowed arrays, but just called .join(' ') on them.,

I'm using this as a templating language for a browser based application. Currently, the goal is to do class based OOP for components (i.e. render content once, update components via imperative JS) with the possibility of switching to declarative render (i.e. render/update content declaratively via virtual DOM).
In both scenarios, the result is create an element once -- the dynamic part is mostly during the template itself. To elaborate, the class for the element changes based on the parameters the component received. A simple example would be a collapse/expand component which initializes either collapsed or expanded:
// If collapsed
h('div.collapse');

// If expanded
h('div.collapse.collapse--expanded');

To do this in the same line of code, it would be (which you suggested above):
h('div.collapse' + (isCollapsed ? '' : '.collapse-expanded'));

However, that gets quite large quite fast if there are multiple dynamic classes (haven't reached that point yet).
Would it be possible to do the following:

Create element first
Set attributes
Set id/add classes

classList seems to support .add() instead of directly overwriting so it should work. The current implementation seems to do:

Create element first
Set id/add classes
Set attributes

which causes attributes to overwrite classes =/

What about using an observable for the className?
you may want to checkout https://github.com/mmckegg/mutant

if you set the class then you set it again, how does hyperscript know you meant to add classes, and not replace them? I think you need to set all the classes for this to really make sense.

I don't follow the suggestion for className =/ I'm using this as a template function -- there's no dynamic alteration of class name via hyperscript. It's that it's the same function but receiving different parameters so it generates different classes.
My reference to "Create element first" etc was about the hyperscript code itself, not how I attach to it

so you want to write a function that creates an element that sets a basic class name, plus another class that you pass in as an argument?

With respect to hyperscript knowing intent of concatenating or replacing classes, I think it's a subjective choice for the library. The current implementation does replacement but it could almost as easily do concatenation.
I think concatenation feels more intuitive because this is a one-time generation. The current setup might exist solely due to not thinking of the use case and be a non-issue for when releasing a new version

I would like the syntax:
h('div.class1', {
  className: 'class2'
});

to generate:

The syntax makes more sense when used with a library like classnames:
h('div.class1', {
  className: classnames({class2: bool})
});
//

// or (based on boolean)
//

urm, I'm not really into that syntax. That would mean handling className specially, and that is surprising behaviour. what is wrong with h('div.class1'+customClass)

I think it might be surprising behavior in a non-HTML sense but in the context of HTML, concatenation makes sense as you wouldn't typically declare both of them. As mentioned before, this is widely used/supported by Jade/Pug:
https://pugjs.org/language/attributes.html#class-attributes
As I mentioned, it doesn't require handling className specially; if we change the order of operations so we do:

Create element
Set attributes
Set id/add classes

then it should all work. We are using classList.add() not classList.set():
https://github.com/dominictarr/hyperscript/blob/81914f9b54347093343d5683c5533f7fcd342967/index.js#L29-L30
My issue with h('div.class1' + customClass) is that it gets bulky fast with ternaries:
h('div' + (true ? '.class1' : '') + (true ? '.class2' : ''));

We can't use a library like classnames in this scenario as classnames generates space delimited classes for the className attribute instead of . prefixes ones:
classnames({class1: true, class2: true});
// "class1 class2"
// Where we need:
// ".class1.class2"

I suppose we could write another library or request support for . output in classnames but that's why we're having this discussion first =)

hyperscript applies rules from left to right. {} are interpreted as attributes, but it doesn't actually have to be first. h('div', 'foo', {className: 'blah'}) works.
foo

Sorry, I just don't feel that there is a good justification for this change. If anything, i think the 'div.blah' syntax was not the best part of hyperscript anyway...

Alright, cool. That answers my initial question then I guess =/
Maybe hyperscript should drop the #id and .class syntax and move it into a wrapper function/module which also can handle concatenation. That way you can isolate being similar to Jade/Pug flavors
For me, I think the solution is to avoid using the .class syntax and use className consistently by convention so that there is little/no maintenance tax when we need dynamic classes:
h('div', {
  className: 'class1'
});
// to
h('div', {
  className: classnames('class1', {class2: bool})
});

Thanks for the quick responses and helpful discussion @dominictarr =)


iOS 8 Safari Issue zoom in and out buttons do not work

iOS 8 Safari Issue zoom in and out buttons do not work. This issue exists on iphone and ipad iOS 8.0.2

This app has been replaced by the new Transportation 511.  No action required at this time.