[WIP] Externalized MMT4D experiment.

TBD:

[ ] Lowering config integration for option
[ ] Figure out where the heck to externalize

The libmmt4d library skeleton is mostly there. There are likely issues with the terminology/params/etc in the tests/benchmarks - I literally don't know how any of this works and am just guessing :)
I have the compiler portions for turning linalg.mmt4d ops into calls and linking in the appropriate bitcode however I can't figure out where to make the externalization happen. I think I need it to happen after bufferization because I need memrefs, but the tile and vectorize stuff runs on tensors and removes the op no matter what I do (looks like even if I exclude the mmt4d patterns the generic contraction op patterns kick in). Looking for help from @MaheshRavishankar as to how to navigate that code as I can't quite get my head around the pipeline (and variants of it for old code paths). I don't want anything to touch the linalg.mmt4d except to turn it from tensor to memref. Another approach would be to have the externalize work on tensors, but I'm not sure how to make the bufferization (either of them?) handle the extern call like that which is why I was trying to do it afterward.
The IR I'm trying to compile is:
#map0 = affine_map<(d0, d1, d2, d3) -> (d0, d2, d1, d3)>
#map1 = affine_map<(d0, d1, d2, d3) -> (d0, d1, d2, d3)>
#map2 = affine_map<(d0, d1, d2, d3) -> (d1, d3, d0, d2)>
module  {
  func @matmul_16x16xi8_times_16x16xi8_into_16x16xi32(%arg0: tensor<16x16xi8>, %arg1: tensor<16x16xi8>, %arg2: tensor<16x16xi32>) -> tensor<16x16xi32> {
    %0 = linalg.tensor_expand_shape %arg0 [[0, 1], [2, 3]] : tensor<16x16xi8> into tensor<2x8x4x4xi8>
    %1 = linalg.tensor_expand_shape %arg1 [[0, 1], [2, 3]] : tensor<16x16xi8> into tensor<4x4x2x8xi8>
    %2 = linalg.tensor_expand_shape %arg2 [[0, 1], [2, 3]] : tensor<16x16xi32> into tensor<2x8x2x8xi32>
    %3 = linalg.init_tensor [2, 4, 8, 4] : tensor<2x4x8x4xi8>
    %4 = linalg.generic {indexing_maps = [#map0, #map1], iterator_types = ["parallel", "parallel", "parallel", "parallel"]} ins(%0 : tensor<2x8x4x4xi8>) outs(%3 : tensor<2x4x8x4xi8>) {
    ^bb0(%arg3: i8, %arg4: i8):  // no predecessors
      linalg.yield %arg3 : i8
    } -> tensor<2x4x8x4xi8>
    %5 = linalg.init_tensor [2, 4, 8, 4] : tensor<2x4x8x4xi8>
    %6 = linalg.generic {indexing_maps = [#map2, #map1], iterator_types = ["parallel", "parallel", "parallel", "parallel"]} ins(%1 : tensor<4x4x2x8xi8>) outs(%5 : tensor<2x4x8x4xi8>) {
    ^bb0(%arg3: i8, %arg4: i8):  // no predecessors
      linalg.yield %arg3 : i8
    } -> tensor<2x4x8x4xi8>
    %7 = linalg.init_tensor [2, 2, 8, 8] : tensor<2x2x8x8xi32>
    %8 = linalg.generic {indexing_maps = [#map0, #map1], iterator_types = ["parallel", "parallel", "parallel", "parallel"]} ins(%2 : tensor<2x8x2x8xi32>) outs(%7 : tensor<2x2x8x8xi32>) {
    ^bb0(%arg3: i32, %arg4: i32):  // no predecessors
      linalg.yield %arg3 : i32
    } -> tensor<2x2x8x8xi32>
    %9 = linalg.mmt4d ins(%4, %6 : tensor<2x4x8x4xi8>, tensor<2x4x8x4xi8>) outs(%8 : tensor<2x2x8x8xi32>) -> tensor<2x2x8x8xi32>
    %10 = linalg.init_tensor [2, 8, 2, 8] : tensor<2x8x2x8xi32>
    %11 = linalg.generic {indexing_maps = [#map0, #map1], iterator_types = ["parallel", "parallel", "parallel", "parallel"]} ins(%9 : tensor<2x2x8x8xi32>) outs(%10 : tensor<2x8x2x8xi32>) {
    ^bb0(%arg3: i32, %arg4: i32):  // no predecessors
      linalg.yield %arg3 : i32
    } -> tensor<2x8x2x8xi32>
    %12 = linalg.tensor_collapse_shape %11 [[0, 1], [2, 3]] : tensor<2x8x2x8xi32> into tensor<16x16xi32>
    return %12 : tensor<16x16xi32>
  }
}

externalize_mmt4d.mlir shows the simple transformation I'm trying to perform.

There are a couple of issues here. Lets resolve the easy ones. You probably dont want to use the tensors -> vectors path here. It seems like you want to "bufferize" early. The current pipelines used in the CPU backend are here. These pipeline are invoked here based on an analysis of the dispatch region. For the mmt4d ops. That analysis is here. Right now it just invokes the CPUTensorsToVectors pipeline. For the case you have I think you want to just invoke the CPUDefault pipeline. This just bufferizes the dispatch region without vectorization or further tiling. Then you will end up with mmt4d ops on memrefs. If you want to lower it to a function call, its probably better to use the LinalgInterface which allows you to set the library call name to use. That might have some weird signature when lowering to LLVM, but at least thats the prescribed way.
The harder issue here is that the dispatch region you have here is probably going to end up with a stack allocation (if it bufferizes, which this specific example hasnt been tried). Neither the IREE bufferization or the upstream bufferization is going to be able to convert this to memref without using a stack allocation. AFAIK, for the mmt4d, we dont want stack allocation. The current e2e flow of MMT4D has padding + packing happening in different dispatch regions.

Yeah, you're reinforcing my belief that I'm not be the right person to do that part of the code ;)
I had expected that there would be pointers that are passed to vector.transfer_read/write and those pointers could be passed to this instead. There shouldn't need to be any stack allocations - but whether the current implementations would produce them or not is something I don't know. I'd be happy if someone found a better way to slice this in - either as a pattern or pass as it is - that should really be the simplest part of all this machinery with the rest of the compiler goo doing the bitcode linking being independent.
I'd avoided the Linalg function call stuff on purpose - we need to manage our ABI carefully as we are persisting it in the bitcode files and then combining the IR modules with a need for exact symbol definitions. If it is something that will not change out from under us and is doing the same bare ptr calling convention conversion then it may be ok but when I last peeked inside it was memref descriptors. If that's changed and someone can wire that up then we could remove the pass entirely.

(also sorry for bugging ya on the weekend - happy to wait until monday :)

Sycned with benoit; next steps here:

I'll rename to libmmt (as this is just M*Mᵀ - zero name bike-shedding allowed)
I'll split and land the library independently
I'll shore up the linker goo and land that independently
All of us get together and figure out how to plumb this through codegen

Was just going to suggest the last one!


Automated Package Upgrade

:tada: This PR is included in version 25.5.22 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


New branch after updating jest tests

Put "All" in line 117 of NGLComponent.tsx...let's see if I updated the snapshots correctly..

Codecov Report

Merging #63 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #63   +/-   ##
=======================================
  Coverage   89.42%   89.42%
=======================================
  Files          25       25
  Lines        1116     1116
  Branches      137      137
=======================================
  Hits          998      998
  Misses        118      118

Impacted Files
Coverage Δ

src/component/NGLComponent.tsx
100% <ø> (ø)
:arrow_up:

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 5e2255f...cea5d63. Read the comment docs.

I just put "All" into line 117 of src/components/nglcomponent.tsx, and updated the snapshots for jest to avoid the CircleCI errors.


Enabling HTTP3 removes h2 from TLS ALPN

Description:
Enabling HTTP3 in a ClientTrafficPolicy disables the spec.tls.alpn field, and sets ALPN in such a way that it advertises h3 but not h2
Repro steps:
Create a ClientTrafficPolicy with the http3 field set
Expected result
$ openssl s_client -alpn h2 -connect [gateway ip]:443
...
New, TLSv1.3, Cipher is TLS_AES_256_GCM_SHA384
Server public key is 2048 bit
This TLS version forbids renegotiation.
Compression: NONE
Expansion: NONE
ALPN protocol: h2
Early data was not sent
Verify return code: 0 (ok)

Actual result
$ openssl s_client -alpn h2 -connect [gateway ip]:443
...
New, TLSv1.3, Cipher is TLS_AES_256_GCM_SHA384
Server public key is 2048 bit
This TLS version forbids renegotiation.
Compression: NONE
Expansion: NONE
No ALPN negotiated
Early data was not sent
Verify return code: 0 (ok)
---

Environment:
Gateway: docker.io/envoyproxy/gateway-dev@sha256:cb9ff748dc8ea9c54e0cd5541658bff1aa3b8d68a945d7486561e4c593579f8c
Proxy: docker.io/envoyproxy/envoy@sha256:0d9cd17db2674550f06625acd5f347dee8bcdf59a812ebfd741202ce179b253b

Also noting that h3 is negotiated appropriately with the setting enabled

had a quick look through and found this, is there any reasoning for it? It doesn't seem to achieve anything that prepending h3 to the default list wouldn't
https://github.com/envoyproxy/gateway/blob/26ddfb0ae1740a9fa6b1a200823c1ed02c20bfc5/internal/gatewayapi/clienttrafficpolicy.go#L490-L499

Yeah that lines up with my knowledge of the standard, i just assumed i knew less than i thought i did.
Ironically, the ALPN change seems to completely prevent browsers from using HTTP3 because they seem to only accept the Alt-Svc header if the existing connection is http2
At least it should be an easy fix 🤷

hey @byhemechi can you confirm if the issue is resolved for you ?

I'm getting h2 but the Alt-Svc header seems to be missing.
Let me double check it's not my config and i'll update

OK, http2 works, but now http3 is broken, it seems to be setting the wrong port on the Alt-Svc header (10443 instead of 443)

uggh, the CI is a little flaky, kicked it, hopefully it should dish out an updated image soon
https://github.com/envoyproxy/gateway/actions/runs/8241052639/job/22537972442

After change:
curl --http3 https://debug.rocksaws.au -i
HTTP/2 200
date: Mon, 11 Mar 2024 23:39:41 GMT
content-length: 366
content-type: text/plain; charset=utf-8
alt-svc: h3=":10443"; ma=86400

Currently rolling back to make sure this is actually a regression

After change:
curl --http3 https://[domain] -i
HTTP/2 200
date: Mon, 11 Mar 2024 23:39:41 GMT
content-length: 366
content-type: text/plain; charset=utf-8
alt-svc: h3=":10443"; ma=86400

Currently rolling back to make sure this is actually a regression

Yeah looks like this broke h3
Before change
curl --http3 https://[redacted]
HTTP/3 200
date: Mon, 11 Mar 2024 23:47:09 GMT
content-length: 399
content-type: text/plain; charset=utf-8
alt-svc: h3=":10443"; ma=86400

the alt-svc is the same though, wondering if i actually misdiagnosed why it wasn't upgrading

yeah there are 2 issues here

above change broke http3 on the same listener port
the alt-svc header contains the internal container port (10443), not the external port which has been highlighted here
https://github.com/envoyproxy/gateway/pull/2111#discussion_r1392646333

I think we need a little more work to fix http3 and call it complete

cc @tanujd11 are you free to take a look ?

Are you sure that the "h3" string needs to be added at all?
I took a look at how https://www.cloudflare.com/ works (redacted for readability):
$ openssl s_client -connect www.cloudflare.com:443 -alpn h3,http/1.1
SSL handshake has read 4713 bytes and written 418 bytes
Verification: OK
---
New, TLSv1.3, Cipher is TLS_AES_256_GCM_SHA384
Server public key is 2048 bit
This TLS version forbids renegotiation.
Compression: NONE
Expansion: NONE

ALPN protocol: http/1.1

Early data was not sent
Verify return code: 0 (ok)
---
HEAD / HTTP/1.1
Host: www.cloudflare.com
---
HTTP/1.1 200 OK
Date: Tue, 12 Mar 2024 06:04:10 GMT
Content-Type: text/html; charset=utf-8

alt-svc: h3=":443"; ma=86400

You can see that I offer h3 from the client as well as http/1.1 (using openssl from the CLI, so no HTTP/2 for me), and the server rejects h3 and accepts http/1.1. Later on, the alt-svc header is used to offer the h3 protocol.


question on argument similarity task

Hi,
for UKP ASPECT Corpus there are 4 labels:
DTORCD: Different Topic/Can’t decide
HS : High Similarity
NS : No Similarity
SS : Some Similarity

Would it be beneficial to use -1,0,1,2 instead?
Is this treated as a regression problem? Where is the transition takes place?

Hello,I find there is no make_splits.py,could you give me some advices?


Add typing to the Trainer object within LightningModules

Proposed refactor

I want to add typing for the trainer pointer within the LightningModule.
Motivation

This would improve autocompletion for IDEs.
Pitch
I would like to make the following addition:
(LightningModule)[https://github.com/PyTorchLightning/pytorch-lightning/blob/master/pytorch_lightning/core/lightning.py#L97]
class LightningModule(...):
    ...
    def __init__(self, *args: Any, **kwargs: Any) -> None:
        ...
        self.trainer = None

changed to
class LightningModule(...):
    ...
    def __init__(self, *args: Any, **kwargs: Any) -> None:
        ...
        self.trainer: Optional[Trainer] = None

Additional context

See changes here

If you enjoy Lightning, check out our other projects! ⚡

Metrics: Machine learning metrics for distributed, scalable PyTorch applications.

Lite: enables pure PyTorch users to scale their existing code on any kind of device while retaining full control over their own loops and optimization logic.

Flash: The fastest way to get a Lightning baseline! A collection of tasks for fast prototyping, baselining, fine-tuning, and solving problems with deep learning.

Bolts: Pretrained SOTA Deep Learning models, callbacks, and more for research and production with PyTorch Lightning and PyTorch.

Lightning Transformers: Flexible interface for high-performance research using SOTA Transformers leveraging Pytorch Lightning, Transformers, and Hydra.

Hi @jlhbaseball15, thanks for your suggestion! We're trying to add annotations to the whole codebase in #7073. Would you be interested in submitting a PR?


Allow multi-char beginning bracket in "surroundingPairs"

Currently "surroundingPairs" in language-configuration.json only supports a single character as the beginning bracket
(but it does allow any length string as the ending bracket)
"surroundingPairs": [
	[ "(", ")$" ],
	[ "${", "}" ]
]

after surrounding a selection and pressing (, the following text will be surrounded like so: (text)$
however attempting to surround the selection with the 2nd surroundingPairs pair will not work
pressing $ will result in it replacing the selection text with $
also pressing { does not work, even with $ already typed. $text => ${
the main target for this is template string brackets ${, } in js/ts
<<, >> in Elixir
${{, }} in github actions
<%, %> in Phoenix
@/, / in Jinja
raw", " in Scala
and for block comments /*, */ (just another option to ctrl+shift+/ I guess)
dup: https://github.com/microsoft/vscode/issues/163644

I wonder how possible/concise this could be
do other editors support multiple character surrounds?
For the example of ${, } inside js/ts template strings
what should happen in these situations?:
if the current selection is text and $ is typed on the keyboard. should it...
A. replace text with $ (current behaviour)
B. insert $ before text
C. surround text with ${ and } (this FR)
if A: should typing { immediately bring text back and then surround it with ${ & }?
There could have been a workaround
but sadly it doesn't work due to a bug
you could have possibly defined 2 sets of brackets
[ "$", "" ], [ "{", "}" ]
This would mean when you type $, it keeps the selection in place, allowing you to type { and it surrounding the selection with ${ & }
but sadly, a null end bracket results in the selection being moved 1 to the left from where it should be
resulting in this mess

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!


IE cgt

IE throws "unexpected identifier" error, I think it cgt with the spread of args

Thanks for finding this bug and reporting it. This will be fixed in v1.1.


redmine status afret git push

after 3 days I get plug-in work (the best part is that plug-in need to work properly libssh2-dev on ubuntu).
Now i have issu witch git push
remote: Notifying Redmine about changes to this repository : 'client-service-app/' ...
remote: /srv/git/local/hooks/common/lib/git_hosting/http_helper.rb:54:in `build_post_request': undefined method `request
_uri' for #<URI::Generic:0x00000001b365e0> (NoMethodError)
remote:         from /srv/git/local/hooks/common/lib/git_hosting/http_helper.rb:10:in `http_post'
remote:         from /srv/git/local/hooks/common/lib/git_hosting/post_receive.rb:33:in `notify_redmine'
remote:         from /srv/git/local/hooks/common/lib/git_hosting/post_receive.rb:19:in `exec'
remote:         from hooks/post-receive:15:in `<main>'

The best part is that in repository is everything OK (branch, commits, etc.) but redmine still show old info
oo and i forgot do ass my conf :d
  Redmine version                3.2.0.devel
  Ruby version                   2.1.7-p400 (2015-08-18) [x86_64-linux-gnu]
  Rails version                  4.2.5
  Environment                    production
  Database adapter               Mysql2
SCM:
  Bazaar                         2.7.0
  Git                            2.6.4
  Filesystem
  Xitolite                       2.6.4
Redmine plugins:
  redmine_agile                  1.3.12
  redmine_banner                 0.1.1
  redmine_bootstrap_kit          0.2.3
  redmine_checklists             3.1.3
  redmine_git_hosting            1.1.4
  redmine_logs                   0.1.0
  redmine_theme_changer          0.2.0

the best part is that plug-in need to work properly libssh2-dev on ubuntu

http://redmine-git-hosting.io/get_started/#step-1-install-dependencies

The best part is that in repository is everything OK (branch, commits, etc.) but redmine still show old info

This is due to the previous error: hooks are not executed, so Redmine is not called, hence changes are not fetched.

undefined method `request _uri' for #<URI::Generic:0x00000001b365e0> (NoMethodError)

Check your Ruby version

my ruby version is shown in previous post  ruby 2.1.7-p400
and still don't know what is wrong.
i have trued find something in google about request_uri method not defined but still no luck.

I'm not ruby developer but think this isn't right:
       uri, http = build_http_request(url, opts)
       request = Net::HTTP::Post.new(uri.request_uri)

uri here isn't defined so method request_uri wont exist. I can be think wrong.

# Build request
**ur**i, http = build_http_request(url, opts)
request = Net::HTTP::Post.new(uri.request_uri)

i don't understand your comment :D

the uri variable is returned by the call to build_http_request(url, opts)

if i understand this code right, it parse url but only http, so where is option to parse https ?

if i understand this code right, it parse url but only http, so where is option to parse https ?

https://github.com/jbox-web/redmine_git_hosting/blob/devel/contrib/hooks/post-receive/lib/git_hosting_http_helper.rb#L77

hmm so what about this. maybe url isn't uri bat path ?

Check your hook url in plugin settings.

Hooks URL https://localhost/githooks/post-receive/redmine
Hooks Git namespace redminegitolite

ok i found where is problem.
Hook URL shows what i write above but in reality uses localhost/githooks/post-receive/redmine
I found this after reset whole server :D then in field Hook URL was only localhost and tip Default: https://localhost so i changed to right value and now working :p


serve_with_incoming_shutdown doesn't work properly when TcpListener::from_std is used

Bug Report
Version
v0.9.2, 0d86e360ab45779770ca150c8487fe7940c299a9
Platform
macOS 13.4.1(22F82)
Darwin (hostname) 22.5.0 Darwin Kernel Version 22.5.0: Thu Jun  8 22:22:20 PDT 2023; root:xnu-8796.121.3~7/RELEASE_ARM64_T6000 arm64
Description
Using TcpListener::from_std prevents tonic::transport::server::serve_with_incoming_shutdown from working properly.
Full code(based on examples/src/streaming/server.rs): https://pastebin.com/4CPZ0QZs
Code snippet:
Server::builder()
    ...
    .serve_with_incoming_shutdown(TcpListenerStream::new(TcpListener::from_std(listener)?), (async ctrl_c handler))

This code works properly when there's no client connection. (i.e. the server shuts down when I press ctrl_c)
However, after a client tries to connect, the async signal handler doesn't get the executor, preventing the server from shutting down when I press ctrl_c.
Replacing the std TcpListener with tokio version, or changing the async ctrl_c into busy wait solves the issue.
I'm opening this because I'm not sure if it's intended(i.e. I'm supposed to not use std TcpListener) or not.

Not a tonic dev, but I don't think that's a bug. std TcpListener isn't async so can't have any integration with tokio. Generally you shouldn't be using the networking code from std with tokio.


Queryx not returning error if there is no result set

I cant find more info about Queryx
Does Queryx return error when there is no result set?
From my codebase i see Queryx simply return nil for error if there is no result set.
Shouldnt it return sql.ErrNoRows?

Hi @jhngrant , recently I upgraded from v1.2.0 to v1.3.4, and it seems that in v1.3.4 db.Select won't return error either. I assume there is a code change? see my comment in https://github.com/jmoiron/sqlx/issues/762#issuecomment-1062649063


Reject sixth report

As explained in discord: in the report method I'm checking that neither you nor your opponent have already 5 matches reported. It wraps the whole check + update in a distributed lock if the DB supports it. If we want to quickly deactivate the lock the easiest way would be to change database_mysql.py to return False in the supports_lock method.

Fixes #1617


Stepper Keyboard Navigation

Description
A Stepper has three interactive elements: The text field, the up button, and the down button.
There is documentation (and css) for how a stepper should look when it has keyboard focus. It's unclear what should happen when a user tabs into the up and down buttons. I can see two valid ways of handling it:

Disable tabbing into the stepper buttons and keyboard interaction should only be via the textfield. Stepping up and down can be handled using keyboard arrow keys.
Allow tabbing into the buttons and spacebar/enter would work as a click, but then there needs to be a focus ring on those buttons as well.

The fact that the buttons are aria-hidden and has a tab-index of -1 lends me to believe that the intended behavior is the first option, but I'd like confirmation on that.
What is the intended interaction behavior?
Link to documentation
https://opensource.adobe.com/spectrum-css/stepper.html

From @NateBaldwinDesign: "focus on the entire field (giving those buttons a blue border too) however the buttons themselves do not receive discrete focus. The keyboard interaction should be that when the field is in focus, up and down arrows will increment the value in the same amount that would be incremented by clicking on either of the arrow buttons."

Perfect. That's what I was hoping/assuming.


Move to main button

To facilitate the workflow of review galleries, it would be nice to have a button that just moves everything from a non-main gallery into main

The cut/copy/paste makes this process quick enough


fix #53 by importing Exchange from bw2data.backends

#53

I'm not sure if using "Exchange" in fact was intended here, or is the best solution. This requires adding one more class to the module's dependencies.
things suggesting [to me] against using  Exchange:

The function's suggested return type is ExchangeDataset and not Exchange.
the iterator is supposed to provide a list of EchangeDataset.
ExchangeDataset class members input_code and output_code are tuples strings, and lack the "database" part of a full Exchange input tuple (which is less informational when printed in a the exception.

the opposite

The raise statement uses Exchange class member names (input and output)
Exchange class members input and output are tuples like: ('database', 'code'). These are nicer to see "printed" in the error message

@muelleram I think the way the pull request looks now, it could be merged.
However, it would be good to have a "test" to make sure that the "MultipleEdges" condition is tested. Do you think you can add this to the PR ?

@tngTUDOR, thanks, yes, I can write a test for that.

@tngTUDOR, I added a test. Please check and feel free to merge if you think the PR looks good now.


Handle valid empty-body HTTP responses when json

This patch gracefully handles HTTP responses with empty message
bodies.
Prior to this patch, a contentless HTTP 204 (No Content) response
would crash the task (when the json_endpoint was true) with the error:
      undefined method `encode' for nil:NilClass`

Thanks for the review, @beechtom.  I've ripped out everything RFC-related, so everything is a lot simpler now.


do "kubernikus auth init" support output to stdout ?

Basically what we want to do is every time when we want to apply new configuration to kubernikus.
we want using kubernikusctl to do authorization , then read the kubernetes configuration in groovy .
then using cd plugin to do the deploy instead of sh or bash .
because using sh or bash is hard to maintain the deploy status.

If you want fetch a kubeconfig for you cluster every time you can do:
curl -H X-Auth-Token: $TOKEN https://kubernikus.$region.cloud.sap/api/v1/clusters/$clustername/credentials | jq -r .kubeconfig

Thanks a lot.


[Bug] Flash Support

Not really in a hurry to fix this, however, it is still supported in major browsers, so I will take a look.
Flash is appearing not to be working and or not included. So I am going to find out more information, maybe it is that I don't have it installed on my computer, not sure. Will post more details soon.

Appears that the GeckoFx control has no built in flash, Firefox does, however, the control itself don't.
So in short, there is no plan to include Flash in BeffsBrowser itself, rather you will need to install flash manually.
Closed

Important Update Exploring possibly enabling some support for Flash, but Major browsers are removing support soon, so will be a experimental feature if added.


New Version: tsl0922.ttyd version 1.7.7

Checklist for Pull Requests

[x] Have you signed the Contributor License Agreement?
[ ] Is there a linked Issue?

Manifests

[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[x] Does your manifest conform to the 1.6 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Automatic Validation ended with:
(Automated response - build 876.)

... interesting, there's a validation error, but all the tests have passed successfully. Any reason why this could happen?

##[warning] Validation concluded that this task needs to go to manual review.

It's not quite an error, not quite a warning, and not quite a failure. The installer provided a zero exit code, but this wasn't enough to pass. I'm not sure of the cause, but it's not uncommon.

@wingetbot waivers Add Validation-Executable-Error


ocamlPackages.lustre-v6: 6.103.3 -> 6.107.1

Description of changes

Things done

Built on platform(s)

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

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

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

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

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

[x] Fits CONTRIBUTING.md.

It seems that the hash of the source tarball is wrong (something may have changed outside of nixpkgs).

Oh my, the tarball is updated this morning...


Document support for locking Gradle settings

@bot-gradle test RFM

OK, I've already triggered ReadyForMerge build for you.

@bot-gradle test RFM

OK, I've already triggered ReadyForMerge build for you.


feature add process hashtable time in join node

Proposed changes
before

ProbeTime: 311.720ms
- BuildOutputBlock: 3.74ms
- JoinFilterTimer: 86.258us
- ProbeWhenBuildSideOutputTime: 24.449ms
- ProbeWhenProbeSideOutputTime: 2.370ms
- ProbeWhenSearchHashTableTime: 126.929ms

after

ProbeTime: 320.504ms
- BuildOutputBlock: 3.602ms
- JoinFilterTimer: 150.432us
- ProbeWhenBuildSideOutputTime: 29.376ms
- ProbeWhenProbeSideOutputTime: 3.328ms
- ProbeWhenProcessHashTableTime: 134.202ms
- ProbeWhenSearchHashTableTime: 136.798ms

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 56.77 seconds
stream load tsv:          545 seconds loaded<PHONE_NUMBER>9 Bytes, about 130 MB/s
stream load json:         19 seconds loaded<PHONE_NUMBER> Bytes, about 118 MB/s
stream load orc:          64 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          30 seconds loaded 861443392 Bytes, about 27 MB/s
insert into select:          29.0 seconds inserted 10000000 Rows, about 344K ops/s
storage size:<PHONE_NUMBER>2 Bytes


HTML

HTML
User Story
As a bootcamp student
I want the prework notes to be structured on a webpage
so that I can easily find and read information
Acceptance criteria
GIVEN a Prework study Guide website
WHEN I visit the website in my browser
THEN I see four boxes titles HTML, CSS, GIT, JavaScript, and associated notes listed.

complete

complete


Using HashIDs instead of ScatterSwap

Using HashIDs instead of ScatterSwap method. The issue with ScatterSwap is that it repeats itself after it hits a upper limit. Using HashID's removes this disadvantage.
Build passes with all tests.

:+1:


AKS: Cluster name collision.

Currently, when provisioning AKS cluster we are relying on following to transform AKS cluster name property to conform to Azure naming restrictions.
func SanitizeClusterName(name string) string {
	if len(name) > maxClusterNameLen {
		name = name[:maxClusterNameLen]
	}

	return strings.TrimSuffix(name, "-")
}

https://github.com/crossplaneio/crossplane/blob/master/pkg/clients/azure/aks.go#L197
The side effect of this, two clusters could collide on the same name, for example:
my-favorite-aks-cluster-which-is-fast
my-favorite-aks-cluster-which-is-slow

both will result in my-favorite-aks-cluster-which-

How about suffixing with
if len(name) > maxClusterNameLen {
      name = name[:maxClusterNameLen-5]+<random5digitnumber>
}

That should allow unique clusters to be created.

it's a little trickier with AKS because not only does its cluster name have certain rules/length, but it's agent pool profile name also has constraints that are not documented.  We'd have to make sure that whatever we do there is compliant with both cluster name and agent pool profile name.


[common] Adds _real_exit method

Please follow the guide below

You will be asked some questions, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your pull request (like that [x])
Use Preview tab to see how your pull request will actually look like

Before submitting a pull request make sure you have:

[x] At least skimmed through contributing guidelines including yt-dlp coding conventions
[x] Searched the bugtracker for similar pull requests
[x] Checked the code with flake8

In order to be accepted and merged into yt-dlp each piece of code must be in public domain or released under Unlicense. Check one of the following options:

[x] I am the original author of this code and I am willing to release it under Unlicense
[ ] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

[ ] Bug fix
[ ] Improvement
[ ] New extractor
[x] New feature

Description of your pull request and other information
Adds a _real_exit method which InfoExtractors can inherit, like _real_initialize. It is called once an IE is finished, much in the same way that _real_initialize is called before an IE starts. Useful for logging out after downloading a series of videos (see #2045).

Confirmed works with DropoutIE (#2045) - see https://github.com/KatDestroyer/yt-dlp/tree/dropout_with_exit

Hold on, there's some issues with implementation here.


Error indexing PRG

I seem to have triggered the following error lines in indexing https://github.com/mbhall88/pandora/blob/5786548a1a1111a4990f0b8a6ec3335e4d1a5319/src/localPRG.cpp#L204-L209
The error arose when trying to index using
cd /hps/nobackup/iqbal/mbhall/Pandora_variation/Analysis/Cardio/Assess_local_assembly/data/H152180645/pandora_index
prg=$(realpath ../make_prg/H152180645_prgs.fa)
mem=30
bsub.py "$mem" pandora_index pandora index "$prg"

The error output shows
In conversion from linear localPRG string to graph, splitting the string by the next var site
resulted in the wrong number of intervals. Perhaps ordering of numbers in GFA is irregular?!
Size of partition based on site 29 is 3

How did you generate the PRG file? (as in how did you merge your new PRGs and the old ones?) There is no space sandwiching either side of the number in places where there is a G29, the first two examples of these is in GC00007068_2, GC00004441_3. These are both genes which have not been updated, and there is no problem in /nfs/leia/research/iqbal/rmcolq/projects/pangenome_prg/ecoli/290818_all/ecoli_pangenome_PRG_290818.fa which is where you must have copied them from, so I'm not sure how the space has been removed?

Ah. That must be from Martin's fastaq python library. It outputs multi-line fasta so I converted it to single line fasta with one of his tools and it obviously doesn't keep spacing (as not a normal fasta spec.).
Will have to do it another way.

Pandora will probably cope with multiline fasta - it makes no assumptions about single line (read files often aren't) or consistent line lengths

Yeah, but I guess when it is converted to multi-line the spaces can be messed up when it breaks the sequence into lines?

Oh ok - I thought you meant that the script to convert from multiline to single line was the problem, but if not then my comment is not relevant!

Well I don't know which one it was.
Anyway, I wrote a python script to combine the PRGs and it seems to be running all ok now. Will close once that job completes.

This was an issue with spacing in the input PRG. I've updated the error message to recommend checking PRG file for this spacing in commit 947f48406ae130ca3db7df6cd9dae0f4f3e17bd4


Tileset Z axis position in editor resets on every level load

Hi!
I have a new issue after updating the plugin from 1.29.0 to 1.31.0 and Unreal from 5.2.1 to 5.3.1.
After loading the level in the editor, the tileset is loaded in its default position without respecting the editor's location transform (Z-axis only).
It is displayed correctly when playing in the editor, and it also fixes itself after a slight movement of the tileset but once again resets to default after level reloading.
The video below shows the issue.
https://github.com/CesiumGS/cesium-unreal/assets/3520560/2fa9173a-2319-4dba-b8b2-7aa7f3b249da

I don't know what could cause that, and it's not something we've seen before. Can you please confirm:

the problem goes away when you revert back to Cesium for Unreal v1.29.0.
the problem goes away when you revert back to Unreal Engine 5.2.

That will help narrow down the problem. Also, if you can provide detailed instructions for reproducing this problem, preferably starting with the Cesium for Unreal Samples project, that will be a huge help.

It's impossible to revert back with project version but it is reproducible in the sample project.
I checked in different versions:
It is not present in UE 5.2.1, CesiumForUnreal-52-v1.31.0
but it is in UE 5.3.1, CesiumForUnreal-53-v1.31.0
Steps to reproduce:

Create CesiumForUnrealSamples project from the marketplace
Add Plugins folder and put the content of CesiumForUnreal-53-v1.31.0.zip inside it
Open the project with Unreal 5.3, upgrade in place to newer engine version
Change CesiumGeoreference Origin to Latitude 41,0 and Longitude -79,0
Chagne CesiumSunSky Solar Time to 12
Add new blank 3D Tiles Tileset Actor
Set Source to From url and Url to: https://sandcastle.cesium.com/SampleData/Cesium3DTiles/Classification/Photogrammetry/tileset.json
Look 360 around to load this tileset and press F to zoom in to it - you should see three big bricks

Move them above the ground by setting Transform>Location>Z in Actor Details to 5000
Save the level and reload it by going to File>Recent Levels>01_CesiumWorld
Bricks once again will be on the ground instead of being above it

Thanks @kubalobo. @joseph-kaile would you mind taking a look at this one?

Thanks @kubalobo, I could easily reproduce the issue. I can confirm that this problem has been fixed in the latest version (2.0). During construction, previous Unreal versions called UCesium3DTilesetRoot::MoveComponentImpl. However, 5.3 does not. With the latest changes, the relative transform is set correctly. It looks like it was fixed with the deprecation of GeoTransforms.

Yes, I also confirm that it's fixed in 2.0.0Preview1
Thank you for your hard work and this great update!


Break on last return line twice.

@mostafa
Take the following code as a test case. I leave a blank line here:
  1
  2 function test() {
  3   var a = true;
  4   let b = true;
  5   return a;
  6 }
  7 test();
  8 test();

When I set a breakpoint on line 8 and I will break there for two times. I think this may be caused by the goja itself send back the last line return value as the vm.result.
The walked line tracing record(I have removed continuous repeated records):
[case4] current filename: test.js, line: 1
[case4] current filename: test.js, line: 7
[case4] current filename: test.js, line: 1
[case4] current filename: test.js, line: 5
[case4] current filename: test.js, line: 7
[case3] current filename: test.js, line: 8
[case4] current filename: test.js, line: 1
[case4] current filename: test.js, line: 5
[case3] current filename: test.js, line: 8

The pc is reset inside a function.

Closed by #18.


[TEST] Fix test failures because proper teardown wasn't occurring

Build Completed
:white_check_mark: This pull request has passed all validations.
Build Commands
mvn -B -f 'pom.xml' -pl 'core' -P '!assemblies' -Dsurefire.runOrder=alphabetical -Daudit -amd clean install

Cleanup Commands
mvn -B -f 'pom.xml' -pl 'core' -P '!assemblies' -amd build-helper:remove-project-artifact

Changed files
  core/src/test/java/org/pentaho/di/trans/steps/cassandrasstableoutput/SSTableOutputTest.java


How to enroll with a CSR

IS it possible to enroll a user with a CSR. If yes how? it is not mentioned in the documentation.

@Ethereumx do you mean a CSR hosts file?


Change display of RepartitionExec from SortPreservingRepartitionExec to RepartitionExec preserve_order=true

Which issue does this PR close?
#8129

Closes #.
Rationale for this change

What changes are included in this PR?
This PR changes the display of SortPreservingRepartitionExec to RepartitionExec in code and test cases. In addition, we only display preserve_order when it is true.

Are these changes tested?
Yes, tested according to the contributing guide

Are there any user-facing changes?

@alamb appreciate the patience for this change request! Let me know if you have any feedback or notice any additional changes that may have been missed. Looking forward to contributing more!

Thank you @JacobOgle  and @waynexia and @metesynnada  ❤


_drawElements parameters wrong

The second parameter should be count, not first

Will fix in #7

Will fix in #7


ERROR in ./node_modules/json-schema-ref-parser/lib/resolvers/http.js

using version 6.0.2 and when i try to compile it give the following error even i tried all the possible solutions
Module not found: Error: Can't resolve 'http' in 'C:\Users\BitsnIO-2\testapp\node_modules\json-schema-ref-parser\lib\resolvers'
ERROR in ./node_modules/json-schema-ref-parser/lib/resolvers/http.js
Module not found: Error: Can't resolve 'https' in 'C:\Users\BitsnIO-2\testapp\node_modules\json-schema-ref-parser\lib\resolvers'

When you say that you "compile it", I'm assuming you mean that you're using a bundler like WebPack, Rollup, Browserify, etc.?   In that case, be sure that you're referencing the browser module (in the dist directory) rather than the Node.js module (in the lib directory).  See the web browsers section in the ReadMe for details.

When you say that you "compile it", I'm assuming you mean that you're using a bundler like WebPack, Rollup, Browserify, etc.? In that case, be sure that you're referencing the browser module (in the dist directory) rather than the Node.js module (in the lib directory). See the web browsers section in the ReadMe for details.

Thanks for the quick response and yes this will help i am sure.

Hi,
I'm getting the same error. I have an Ionic 4 project (Angular) and i installed this package with 'npm i json-schema-ref-parser'. I'm getting the following error if I run 'ionic build' (ng build).
ERROR in ./node_modules/json-schema-ref-parser/lib/resolvers/http.js Module not found: Error: Can't resolve 'http' in '.../node_modules/json-schema-ref-parser/lib/resolvers' ERROR in ./node_modules/json-schema-ref-parser/lib/resolvers/http.js Module not found: Error: Can't resolve 'https' in '.../node_modules/json-schema-ref-parser/lib/resolvers' [ERROR] An error occurred while running subprocess ng.
If i change the main property of the node_modules/json-schema-ref-parser/package.json from
"main": "lib/index.js", to
"main": "dist/ref-parser.js"
all is fine.
So, there might be a "package problem" but i should change things in the node_modules folder.
Where is the problem?

I assume that Ionic uses a bundler like Webpack or Rollup or something?  If so, then there should be a way to specify module substitutions.  The http module is a Node.js built-in, so it would need to be substituted with a browser polyfill, such as http-browserify.   I know that in Rollup you can use rollup-plugin-node-builtins to do this automatically.  In Webpack it requires a bit of configuration.

Hi,
under the hood, Ionic uses Angular 7 at the moment (for my project). I used json-schema-ref-parser with Ionic 3 (Angular 2/3) and it worked out of the box. So something changed...
The Angular CLI uses webpack (Version: webpack 4.28.4).
If I run ng build --verbose i get the following error (to narrow down the error):
ERROR in ./node_modules/json-schema-ref-parser/lib/resolvers/http.js
Module not found: Error: Can't resolve 'http' in '/Users/big-r/.../backend/node_modules/json-schema-ref-parser/lib/resolvers'
resolve 'http' in '/Users/big-r/.../backend/node_modules/json-schema-ref-parser/lib/resolvers'
  Parsed request is a module
  using description file: /Users/big-r/.../backend/node_modules/json-schema-ref-parser/package.json (relative path: ./lib/resolvers)
    resolve as module
      looking for modules in /Users/big-r/.../backend/
        using description file: /Users/big-r/.../backend/package.json (relative path: .)
          Field 'browser' doesn't contain a valid alias configuration
          using description file: /Users/big-r/.../backend/package.json (relative path: ./http)
            no extension
              Field 'browser' doesn't contain a valid alias configuration
              /Users/big-r/.../backend/http doesn't exist
            .ts
              Field 'browser' doesn't contain a valid alias configuration
              /Users/big-r/.../backend/http.ts doesn't exist
            .tsx
              Field 'browser' doesn't contain a valid alias configuration
              /Users/big-r/.../backend/http.tsx doesn't exist
            .mjs
              Field 'browser' doesn't contain a valid alias configuration
              /Users/big-r/.../backend/http.mjs doesn't exist
            .js
              Field 'browser' doesn't contain a valid alias configuration
              /Users/big-r/.../backend/http.js doesn't exist
            as directory
              /Users/big-r/.../backend/http doesn't exist
      /Users/big-r/.../backend/node_modules/json-schema-ref-parser/lib/resolvers/node_modules doesn't exist or is not a directory
      /Users/big-r/.../backend/node_modules/json-schema-ref-parser/lib/node_modules doesn't exist or is not a directory
      /Users/big-r/.../backend/node_modules/json-schema-ref-parser/node_modules doesn't exist or is not a directory
      /Users/big-r/.../backend/node_modules/node_modules doesn't exist or is not a directory
      /Users/big-r/Documents/GbR/visitanda/souterrain/app/node_modules doesn't exist or is not a directory
      /Users/big-r/Documents/GbR/visitanda/souterrain/node_modules doesn't exist or is not a directory
      /Users/big-r/Documents/GbR/visitanda/node_modules doesn't exist or is not a directory
      /Users/big-r/Documents/GbR/node_modules doesn't exist or is not a directory
      /Users/big-r/Documents/node_modules doesn't exist or is not a directory
      /Users/big-r/node_modules doesn't exist or is not a directory
      /Users/node_modules doesn't exist or is not a directory
      /node_modules doesn't exist or is not a directory
      looking for modules in /Users/big-r/.../backend/node_modules
        using description file: /Users/big-r/.../backend/package.json (relative path: ./node_modules)
          Field 'browser' doesn't contain a valid alias configuration
          using description file: /Users/big-r/.../backend/package.json (relative path: ./node_modules/http)
            no extension
              Field 'browser' doesn't contain a valid alias configuration
              /Users/big-r/.../backend/node_modules/http doesn't exist
            .ts
              Field 'browser' doesn't contain a valid alias configuration
              /Users/big-r/.../backend/node_modules/http.ts doesn't exist
            .tsx
              Field 'browser' doesn't contain a valid alias configuration
              /Users/big-r/.../backend/node_modules/http.tsx doesn't exist
            .mjs
              Field 'browser' doesn't contain a valid alias configuration
              /Users/big-r/.../backend/node_modules/http.mjs doesn't exist
            .js
              Field 'browser' doesn't contain a valid alias configuration
              /Users/big-r/.../backend/node_modules/http.js doesn't exist
            as directory
              /Users/big-r/.../backend/node_modules/http doesn't exist
[/Users/big-r/.../backend/http]
[/Users/big-r/.../backend/http.ts]
[/Users/big-r/.../backend/http.tsx]
[/Users/big-r/.../backend/http.mjs]
[/Users/big-r/.../backend/http.js]
[/Users/big-r/.../backend/node_modules/json-schema-ref-parser/lib/resolvers/node_modules]
[/Users/big-r/.../backend/node_modules/json-schema-ref-parser/lib/node_modules]
[/Users/big-r/.../backend/node_modules/json-schema-ref-parser/node_modules]
[/Users/big-r/.../backend/node_modules/node_modules]
[/Users/big-r/Documents/GbR/visitanda/souterrain/app/node_modules]
[/Users/big-r/Documents/GbR/visitanda/souterrain/node_modules]
[/Users/big-r/Documents/GbR/visitanda/node_modules]
[/Users/big-r/Documents/GbR/node_modules]
[/Users/big-r/Documents/node_modules]
[/Users/big-r/node_modules]
[/Users/node_modules]
[/node_modules]
[/Users/big-r/.../backend/node_modules/http]
[/Users/big-r/.../backend/node_modules/http.ts]
[/Users/big-r/.../backend/node_modules/http.tsx]
[/Users/big-r/.../backend/node_modules/http.mjs]
[/Users/big-r/.../backend/node_modules/http.js]
 @ ./node_modules/json-schema-ref-parser/lib/resolvers/http.js 3:11-26
 @ ./node_modules/json-schema-ref-parser/lib/options.js
 @ ./node_modules/json-schema-ref-parser/lib/index.js
 @ ./src/app/services/uischema.service.ts
 @ ./src/app/app.module.ts
 @ ./src/main.ts
 @ multi ./src/main.ts
ERROR in ./node_modules/json-schema-ref-parser/lib/resolvers/http.js
Module not found: Error: Can't resolve 'https' in '/Users/big-r/.../backend/node_modules/json-schema-ref-parser/lib/resolvers'
resolve 'https' in '/Users/big-r/.../backend/node_modules/json-schema-ref-parser/lib/resolvers'
  Parsed request is a module
  using description file: /Users/big-r/.../backend/node_modules/json-schema-ref-parser/package.json (relative path: ./lib/resolvers)
    resolve as module
      looking for modules in /Users/big-r/.../backend/
        using description file: /Users/big-r/.../backend/package.json (relative path: .)
          Field 'browser' doesn't contain a valid alias configuration
          using description file: /Users/big-r/.../backend/package.json (relative path: ./https)
            no extension
              Field 'browser' doesn't contain a valid alias configuration
              /Users/big-r/.../backend/https doesn't exist
            .ts
              Field 'browser' doesn't contain a valid alias configuration
              /Users/big-r/.../backend/https.ts doesn't exist
            .tsx
              Field 'browser' doesn't contain a valid alias configuration
              /Users/big-r/.../backend/https.tsx doesn't exist
            .mjs
              Field 'browser' doesn't contain a valid alias configuration
              /Users/big-r/.../backend/https.mjs doesn't exist
            .js
              Field 'browser' doesn't contain a valid alias configuration
              /Users/big-r/.../backend/https.js doesn't exist
            as directory
              /Users/big-r/.../backend/https doesn't exist
      /Users/big-r/.../backend/node_modules/json-schema-ref-parser/lib/resolvers/node_modules doesn't exist or is not a directory
      /Users/big-r/.../backend/node_modules/json-schema-ref-parser/lib/node_modules doesn't exist or is not a directory
      /Users/big-r/.../backend/node_modules/json-schema-ref-parser/node_modules doesn't exist or is not a directory
      /Users/big-r/.../backend/node_modules/node_modules doesn't exist or is not a directory
      /Users/big-r/Documents/GbR/visitanda/souterrain/app/node_modules doesn't exist or is not a directory
      /Users/big-r/Documents/GbR/visitanda/souterrain/node_modules doesn't exist or is not a directory
      /Users/big-r/Documents/GbR/visitanda/node_modules doesn't exist or is not a directory
      /Users/big-r/Documents/GbR/node_modules doesn't exist or is not a directory
      /Users/big-r/Documents/node_modules doesn't exist or is not a directory
      /Users/big-r/node_modules doesn't exist or is not a directory
      /Users/node_modules doesn't exist or is not a directory
      /node_modules doesn't exist or is not a directory
      looking for modules in /Users/big-r/.../backend/node_modules
        using description file: /Users/big-r/.../backend/package.json (relative path: ./node_modules)
          Field 'browser' doesn't contain a valid alias configuration
          using description file: /Users/big-r/.../backend/package.json (relative path: ./node_modules/https)
            no extension
              Field 'browser' doesn't contain a valid alias configuration
              /Users/big-r/.../backend/node_modules/https doesn't exist
            .ts
              Field 'browser' doesn't contain a valid alias configuration
              /Users/big-r/.../backend/node_modules/https.ts doesn't exist
            .tsx
              Field 'browser' doesn't contain a valid alias configuration
              /Users/big-r/.../backend/node_modules/https.tsx doesn't exist
            .mjs
              Field 'browser' doesn't contain a valid alias configuration
              /Users/big-r/.../backend/node_modules/https.mjs doesn't exist
            .js
              Field 'browser' doesn't contain a valid alias configuration
              /Users/big-r/.../backend/node_modules/https.js doesn't exist
            as directory
              /Users/big-r/.../backend/node_modules/https doesn't exist
[/Users/big-r/.../backend/https]
[/Users/big-r/.../backend/https.ts]
[/Users/big-r/.../backend/https.tsx]
[/Users/big-r/.../backend/https.mjs]
[/Users/big-r/.../backend/https.js]
[/Users/big-r/.../backend/node_modules/json-schema-ref-parser/lib/resolvers/node_modules]
[/Users/big-r/.../backend/node_modules/json-schema-ref-parser/lib/node_modules]
[/Users/big-r/.../backend/node_modules/json-schema-ref-parser/node_modules]
[/Users/big-r/.../backend/node_modules/node_modules]
[/Users/big-r/Documents/GbR/visitanda/souterrain/app/node_modules]
[/Users/big-r/Documents/GbR/visitanda/souterrain/node_modules]
[/Users/big-r/Documents/GbR/visitanda/node_modules]
[/Users/big-r/Documents/GbR/node_modules]
[/Users/big-r/Documents/node_modules]
[/Users/big-r/node_modules]
[/Users/node_modules]
[/node_modules]
[/Users/big-r/.../backend/node_modules/https]
[/Users/big-r/.../backend/node_modules/https.ts]
[/Users/big-r/.../backend/node_modules/https.tsx]
[/Users/big-r/.../backend/node_modules/https.mjs]
[/Users/big-r/.../backend/node_modules/https.js]
 @ ./node_modules/json-schema-ref-parser/lib/resolvers/http.js 4:12-28
 @ ./node_modules/json-schema-ref-parser/lib/options.js
 @ ./node_modules/json-schema-ref-parser/lib/index.js
 @ ./src/app/services/uischema.service.ts
 @ ./src/app/app.module.ts
 @ ./src/main.ts
 @ multi ./src/main.ts

I solved it by installing some npm browserify package and configure de tsconfig path option:
npm install http-browserify https-browserify stream-browserify
add this to tsconfig.js:
"paths": {

      //...

      "stream": [
        "node_modules/stream-browserify"
      ],
      "http": [
        "node_modules/http-browserify"
      ],
      "https": [
        "node_modules/https-browserify"
      ],

      //...

}

does this solution still a thing, using 10.1.0 apidevtools package doesn't seem having dist to reference it using webpack

also having same issues, ERROR in<EMAIL_ADDRESS>3:13-28
Module not found: Error: Can't resolve 'util' in 'C:\Repos\devportal-lmru-front\node_modules\swagger-parser\node_modules@apidevtools\swagger-parser\lib
'
Did you mean './util'?


Enable JavaScript

It would be great to enable Bokeh plots. Currently:

Seconds thoughts, this rather duplicates functionality and could be confusing for users. Discard suggestion

Actually, I'd be happy to enable JavaScript... We would then just get bokeh.

The bokeh interactive plots are lovely and would be a great fit.

I was also considering making to so that if
```javascript
Code is written here
```

Then run it as JavaScript code...

That will also help me write the docs which will be nice. As I can write the docs using scriptedforms files, and still have them run online without a server because I'll run the code with JavaScript instead of Python.

If I do implement it, it might not be simple to sync variables up... I'll have to think about that.

One issue to consider is whether Javascript will display in all browsers. For example, Bokeh plots do not display on my ipad pro

That's fine. The creators of the form can choose those pros/cons. I haven't even begun using Sauce Labs yet to produce the compatibility table of ScriptedForms. ScriptedForms itself might not even run on your iPad, I don't know.

The majority of ScriptedForms is a hunky piece of JavaScript

I have thought further about this and I will wait to make a decision on this. I think it would be best waiting until after ScriptedForms is integrated within jupyterlab.
I will leave it open because I want bokeh to work. I think bokeh will be great, I'll just set it to 1.0.0

@robmarkcole so, to make pivot table work I enabled JavaScript, and made a few addition to how the server finds files. Potentially this could also have made bokeh and other notebook JavaScript extensions work. If you want to try a few of them and report back to me that'd be great. (Bokeh, holoviews, plotly etc.)

For scriptedforms==0.6.6 Bokeh gives:

https://raw.githubusercontent.com/robmarkcole/Useful-python/master/scriptedforms/Bokeh_scripted/bokeh.md

Okay. Well I'll have to look into that separately then...
On Thu, 8 Mar 2018 at 07:28 Robin<EMAIL_ADDRESS>wrote:

For scriptedforms==0.6.6 Bokeh gives:
[image: image]
https://user-images.githubusercontent.com/11855322/37116357-f3b9c964-2245-11e8-8813-f58f2f87608e.png
https://raw.githubusercontent.com/robmarkcole/Useful-python/master/scriptedforms/Bokeh_scripted/bokeh.md
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/SimonBiggs/scriptedforms/issues/126#issuecomment-371273654,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGQVe1063d4I0D95QzH-WJyP5My_fOMGks5tcELlgaJpZM4SZ8vs
.

For altair package, the similar error is also shown on scriptedforms(0.9.2).
Would it be considered to enable javascript to show altair charts?
JavaScript output is disabled in JupyterLab

Thanks in advance.

Cheers for the idea. I actually dabbled with that early on. See the following comment:
https://github.com/SimonBiggs/scriptedforms/issues/105#issuecomment-371422732
It ended up being quite painful to maintain. There was all sorts of awkward assumptions being made by the package that I had to dance around.
Not sure if that's the same with Altair, but I think the best way forward here is for me to support jupyterlab extensions out of the box.

Thank you for the swift reply.
A bit of a side-track, when I tried to embed an altair chart as HTML (as shown below),

from IPython.display import display, HTML

test_altair = """

"""
display(HTML(test_altair))

It does not render the chart and peeking into the console, I found a message JupyterLab does not execute inline JavaScript in HTML output
Could you give any advice or a pointer, please?
Thanks in advance.
Cheers

Yeah, it appears there are multiple layers of "Will not execute arbitrary JS" built into JLab. I gave it a quick try to see what I could achieve just now and I was able to replicate your issue. Unfortunately it appears that it will not be simple for me to enable this.


TypeError: Cannot read property 'get' of null

It's all in the title. how do I fix this??

You're providing little to no context to how this issue occurred...

how can I provide more? I don't know anything else

jesus christ
what happened to cause that error?
did you even start the app?

oh, I feel dumb.
I ran the play command. it said
@C:\Users\Dev, obtaining video details... @C:\Users\Dev, An error occurred while running the command: TypeError: Cannot read property 'get' of null You shouldn't ever receive an error like this. Please contact jcool.friedman#9208.

can you goto the terminal you started the app with and paste the stack trace?

Yea, i just got this. probably a simple solution but i've never messed with this stuff :/

And thats all there is, no line, no console error. so i can't provide more.

Figured it out, its from line 114. cant get volume or cant get msg.guild.id

Problem is on line 144 of play.js, and all lines with the .get similar to that.


In operator has problems in some cases

If there is only one option, always return an error，example,
rawSQL := hobby in ('swim') , data :=  map[string]interface{}{"hobby": "swim"}
will return false

Sorry, It is a bug, I've fixed it. Update and try again


ending an issue comment on backslash doesn't show

The backslash is truncated if a comment ends with a backslash like Need to fix the \ To get it to show, you need to manually \\.

I have tried with a small program and blackfriday seems to remove the backslash.

import (
        "fmt"

        "github.com/russross/blackfriday"
)

func main() {
        // does not work
        fmt.Println(string(blackfriday.MarkdownBasic([]byte(`foobar \`))))
        // works
        fmt.Println(string(blackfriday.MarkdownBasic([]byte(`foobar \\`))))
}```

From their code, it seems that a backslash at the end of a line is part of the [markdown specs](http://spec.commonmark.org/0.18/#example-527) ([code](https://github.com/russross/blackfriday/blob/c5943e068510d99ad28d07865734667a4b260775/inline.go#L170)).

@Unknwon This may be solved by searching for a \ at the very end of the comment and adding another backslash to it. Would you take that "fix" or would you leave it be in this case?

Hi @Gibheer , I prefer leaving the way blackfriday treats, if user want \, just put \\, I think it should be a bug report to blackfriday.


[#102587184] Update login link to take logged-in users straight to dashboard

Fixes this bug: https://www.pivotaltracker.com/story/show/102587184

:+1:


Interpolation Search in Dart

🚀 Feature
The Interpolation Search is an improvement over Binary Search for instances, where the values in a sorted array are uniformly distributed. Interpolation search may go to different locations according to the value of the key being searched. For example, if the value of the key is closer to the last element, interpolation search is likely to start search toward the end side.
Have you read the Contributing Guidelines on Pull Requests?
Yes

/assign


Toggleterm close terminal window but don't get rid of terminal buffer

Is there a way to have the terminal window close when the task exits, but not get rid of the terminal buffer? close_on_exit gets rid of the buffer, but I want to just close the window (like :q). Or, even better, close only if the status code was 0.
Thanks!

It's probably possible! I don't think toggleterm has an API for this specifically, but you could probably update the strategy to detect when the task exists and close any open windows. I don't have the time to do this myself atm, but I would review a PR.

Fixed https://github.com/stevearc/overseer.nvim/pull/155


is waveparticle working for shape generating?

when i change wave share to WaveParticle, the surface won't wave. it doesn't working right now?

hi there, I'm sorry I haven't replied until now.
The wave particle should just generate a "bump" of water. This can be used to influence the shape locally, as an additive layer on top of the normal waves. It might be broken right now though.
I need to jump in and have a look. I'm very busy at work at the moment but should have time to look at it during the week or next weekend. I'll post back when I do and let you know what you should expect to see in detail.


Removes NoneType dependency

NoneType isn't provided by Python3. This remove that dependency, and, I think, makes cacheify Python3 compatible.

Yey! <3


support for unnamed components

Hello, I've used SC for a while now and I can't help noticing that my components get "cluttered" with a lot of these SC components, like this one for example.
const StartPage = styled.div`
    display: flex;
    flex-direction: column;
`;

function App() {
  return (
    <StartPage>
      Hello world!
    </StartPage>
  )
}

Using glamorous I can just do something like this for example:
const { Div } = glamorous

function App() {
  return (

      Hello world!

  )
}

However I can not see this possible with styled-components or have I misunderstood it completely?
I love SC and don't want to use object literals, love that it's just css but I'm really missing this feature sometimes.
Thanks

You probably don't need styled-components.
If you want what you're proposing, you can just do this then:
const Div = props => {
  const { children, ...rest } = props;

  return (

      {children}

  );
};

function App() {
  return (

      Hello world!

  );
}

const mountNode = document.getElementById("root");

ReactDOM.render(<App />, mountNode);

Yes I know I can do that. But this was more along the lines of a feature request/discussion that something like this would be possible.
import styled from "styled-components"

function App() {
  return (

  )
}

FYI, I know that API wouldn't actually work but something that resembles it perhaps??. Or something that would make a use case with using an 'unnamed' styled component work.

Reason why it won't work is because jsx syntax doesn't allow it: http://facebook.github.io/jsx/
If your file feels cluttered, perhaps that's a sign to refactor components into their own files.

This is all done on purpose. We encourage the user to enforce a strict "pyramidal" structure of components where: container/logic components come first (uppermost), structural components come second, and presentational components come last (leaf components).
This is exactly why we do not support this use case. styled-components is all about enforcing best practices and keeping the styling maintainable and this stands in conflict with putting CSS properties/code into the JSX fully dynamically.
You can however create a library of reusable components that fit multiple use-cases to get around this.
cc @mxstbr


Handle legacy test directory names for old rails projects:

addresses https://github.com/hmatsuda/rails-transporter/issues/73#issuecomment-118868962

handle ’test/functional’ instead of `test/controllers’
handle ‘test/unit’ instead of `test/models’

for review @hmatsuda

not sure why AppVeyor build failed

You don't care AppVeyor because it builds failed before this PR .

Can you add this behavior spec into open-test behavior?
https://github.com/hmatsuda/rails-transporter/blob/master/spec/rails-transporter-spec.coffee#L689-L745

yea, i'll address your comments soon, thanks for the feedback!

Any news on this? Would love to see ’test/functional’ in there ;(


[Swift - 1.13.0] Subclass with subclassed PFObject as property give exception

In my Swift codebase I've something like this:
class A : PFObject, PFSubclassing {

    @NSManaged var propertyA: B?

    override class func initialize() {
        struct Static {
            static var onceToken : dispatch_once_t = 0;
        }
        dispatch_once(&Static.onceToken) {
            self.registerSubclass()
        }
    }

    static func parseClassName() -> String {
        return "A"
    }
}

class B : PFObject, PFSubclassing {

    @NSManaged var name: String?

    override class func initialize() {
        struct Static {
            static var onceToken : dispatch_once_t = 0;
        }
        dispatch_once(&Static.onceToken) {
            self.registerSubclass()
        }
    }

    static func parseClassName() -> String {
        return "B"
    }
}

When I try to fetch, via dataLocalStore and using includeKey, the property of B I always get -[PFObject name]: unrecognized selector sent to instance 0x162450130. I'm using the latest ParseSDK, via carthage.
EDIT: No problem accessing objectId.
EDIT 2: In my test I found out that even if I register the PFObject subclass I cannot cast any PFObject to any subclass. Printing that object, or inspecting it with the debugger, show me the correct subclass but casting produces nil.
EDIT 3: I've done some very basic test and actually initialize is called AFTER didFinishLaunchingWithOptions and the initialization of ParseSDK

Sounds very strange, we don't seem to have any changes in the 1.13.0 that would affect this.
Did anything else change affecting this? Does the same work fine with SDK 1.12.0?

I'll test that, by the way I'm using the latest version of Xcode, iOS SDK and Swift. Maybe something changed and broke something else.
As side note, since +load is not implemented in Swift and initialization in not called on class-load you should edit the wiki.


Improve arrays_equal performance by eliding bounds check

Hi!
I've copied Cesar Eduardo Barros' code from the constant_time_eq crate (CC0).
It basically gives the compiler a hint that bounds checking is not necessary when iterating over the elements of the arrays. The speedup is noticeable, e.g. here are some benches:
$ cargo bench

running 6 tests
test tests::bench_functional_generic                       ... bench:     107,932 ns/iter (+/- 1,759)
test tests::bench_functional_specialised                   ... bench:       4,568 ns/iter (+/- 99)
test tests::bench_imperative_generic                       ... bench:     107,690 ns/iter (+/- 1,671)
test tests::bench_imperative_generic_no_bound_checking     ... bench:      73,462 ns/iter (+/- 930)
test tests::bench_imperative_specialised                   ... bench:      72,017 ns/iter (+/- 1,159)
test tests::bench_imperative_specialised_no_bound_checking ... bench:       4,565 ns/iter (+/- 66)

test result: ok. 0 passed; 0 failed; 0 ignored; 6 measured; 0 filtered out

Hi @mp4096! This is a pretty sweet hack; I had no idea about this trick. :)
Merged; thanks!


Feature/genesis

GenesisID constructed by the Root of the MerkleTree containing:

key operational (babyjub)
key disable (ethereum addr from privK)
key reenable (ethereum addr from privK)

Looks great!
Please, could you add some test vectors for the Hi, Hv and Entry in the TestClaimAuthEthKey core/claim_test.go#L309 (just like in TestClaimBasic and the rest). And also, please could you do the same in TestClaimEthId core/claim_test.go#L288

Done :smiley:

Great! Once these two PR are accepted we can merge this:
https://github.com/iden3/iden3js/pull/117
https://github.com/iden3/go-iden3/pull/136

now all changes passes integration tests, can merge ^^


forge not opening but other do

forge-1.12.2-geckolib-3.0.0-beta.7 doesnt open but other forge java files work but i specifically need forge-1.12.2-geckolib-3.0.0-beta.7

Nice username.


[Quick] Add AirTable to Sponsor logo list on Partners subpage

Logo: https://drive.google.com/drive/folders/1CGturZ-1VIUT7Wor2Gjq8iszKd6iz9uq
URL: www.airtable.com
Our entire Makers map is supported by their gift of a Pro Account to us from a fancy Intake Form to data mod single handedly by Claire C. (and amazing lady) of Nation of Makers.
AirTable is going to do some free press for us so we should list them on our Partner page ASAP

@ywyw are you able to help with these requests?

@linderr yeah I can take this one!

@ywyw sorry I can trying to learn lol


Bump minor version

Purpose

Increases the version number to 0.7.1.
To-do

Content

[x] I have read and checked the items on the review checklist.

bors r+


Support Docker Labels for Integration Settings value

Please extend support for Docker Labels as criteria for routing risk assessments.
There is a need to use Docker image metadata or labels that can create/ingest to route traffic to specific JIRA boards based on metadata from the docker image itself -- rather than mapping docker image names to specific teams.
We have upwards of 10 teams that manage a dozen or more different docker images. We don't necessarily want to maintain multiple configs for the webhook specifying exactly which teams manage which docker images i.e (commerce team handles these image names lifeway/orderentry:, lifeway/purchaseapi:, etc.).

@ericgomes56 currently the image label information is not sent via webhook.
Are they familiar with the support of user emails that they can use? Create an Application Context, assign it to a user email and ALM Integration receives the email address as part of the Webhook. Would that help?

@ericgomes56 currently the image label information is not sent via webhook.
Are they familiar with the support of user emails that they can use? Create an Application Context, assign it to a user email and ALM Integration receives the email address as part of the Webhook. Would that help?

@jerbia I will follow up with any concerns early next week but that approach makes a lot of sense.

@jerbia I will follow up with any concerns early next week but that approach makes a lot of sense.

@jerbia can we add an Application Scope to the JIRA integration?
Ideally what would happen if using something like an Application Scope is we define all the Application Scope, generally going to be one per development team.  Inside each Application Scope, we would define the namespaces that each team owns. Then, once the ALM (Postee) webhook kicks off, it would see which scope that image falls into and route it to the appropriate JIRA board.  So, even if we had to have a JIRA integration defined per Application Scope that would be better than us trying to define it per image name and modifying the cfg.yaml which the Postee pod would need to be restarted.

@jerbia can we add an Application Scope to the JIRA integration?
Ideally what would happen if using something like an Application Scope is we define all the Application Scope, generally going to be one per development team.  Inside each Application Scope, we would define the namespaces that each team owns. Then, once the ALM (Postee) webhook kicks off, it would see which scope that image falls into and route it to the appropriate JIRA board.  So, even if we had to have a JIRA integration defined per Application Scope that would be better than us trying to define it per image name and modifying the cfg.yaml which the Postee pod would need to be restarted.

@jerbia do you think we can add flexibility to use the Application Scope in the cfg.yaml? This is for Lifeway.

@afdesk can you add support for JIRA assignee to be based on the application owner email?
Same as we did for email integration.

I have question here.
We are also interested in this functionality but i dont see how this could work for multiple users sharing the scope in such a way that they see some resources and it overlaps, so i have 2 or more scoped users who see the same resource, whatever that is - which one will be selected and pushed to JIRA ?
Can we have something like an internal Aqua label that we apply to something (registry ? host ? enforcer ?) and postee picks this up and based on the label value (email, username) pushes this to JIRA and JIRA assigns this properly ?

@nikolakresic  Once you scan an image that is member of multiple scopes, Postee will be triggered with the list of all owners of the application scopes that image is member of (meaning, an array of emails).
Right now the Application Scope email address is only used with the Postee "email" provider. In case of multiple email addresses, Postee will send an email to these multiple email addresses.
For JIRA the issue might be that JIRA does not support multiple email addresses - only one email should be assigned.
Another option is to support taking the "aqua label" from the image and use it for the JIRA integration.
Would that help?
Note that there is no mechanism that automatically assigns Aqua Labels to images - this will need to be done manually, so not sure if this will help.

@jerbia maybe not manually but through API calls, so i can script it somehow ?
while were talking, is there a way for Aqua to read "properties" from artifactory ? we dont need to keep ownership info directly in Aqua if Aqua can pull this from somewhere else ?

@nikolakresic we've added support for JIRA assignee to get the email from the Application Context in Aqua.
The challenge is that in case of multiple emails in the application context, JIRA will just get the first email address as asignee.
As suggested, we can also support to consume the Aqua Labels assigned to the image, and used it as the JIRA assignee.
Is it something you'll be interested in?

Hi @nikolakresic please look at Postee v2 - it now has capabilities to create multiple routes.
Each route can be configured to open JIRA ticket for different user based on the message input parameters.
Please look at this new functionality and let us know if additional capabilities are needed.
Closing this issue for now.


Face Recognition

research/create Machine learning model in SwiftUI/IOS
decide model training/algo enter

done


v1.12 backports 2023-01-24

[ ] #23075 -- bpf: lb: catch write error in lb6_xlate() (@julianwiedmann)
[ ] #23077 -- envoy: Fix lock leak in config validation failure (@joestringer)
[ ] #23095 -- docs: Improve wording for deny policies limitation (@joestringer)
[x] #23135 -- docs: Improve IPsec guide (@pchaigno)
[ ] #23140 -- build(deps): update package dependencies (@fengshunli)
[ ] #22864 -- hubble: Rate limit "hubble events queue is full" logs (@lambdanis)
[ ] #23134 -- docs: update committer security requirements (@xmulligan)
[x] #23099 -- gha: Pin minikube version used in CI (@sayboras)
[x] #23058 -- contrib: Update PR template for backport (@sayboras)
[x] #23158 -- IPsec: Refactor ipSecReplaceState{In,Out} functions (@pchaigno)
[x] #23195 -- gh: fix indentation bug in ingress workflows (@julianwiedmann)
[ ] #22695 -- refactoring of fetching cilium manifests in OKD installation (@zisisli)
[x] #23225 -- docs: Fix inconsistent node label in egress gateway guide (@pchaigno)
[ ] #22921 -- Modify helm chart: delete validations for certManagerIssuerRef (@Shunpoco)
[ ] #23235 -- bpf: nodeport: only add DSR Extension to TCPv6 SYN packet (@julianwiedmann)

Dropped PRs:

#22768 -- Make cilium pprof listen address configurable (@chancez)

Daemon and Daemon flags code created a large conflict.

#23274 -- bpf: nat: fix snat_v4_can_skip() for egress gateway (@jibi)

BPF datapath failed to build after basic merge conflict fix.

#23254 -- ipsec: Fix packet mark for FWD XFRM policy (@pchaigno)

"helpers.RunOnAKS" does not exist and is expected in second commit.

Once this PR is merged, you can update the PR labels via:
$ for pr in 23075 23077 23095 23135 23140 22864 23134 23099 23058 23158 23195 22695 23225 22921 23254 23235; do contrib/backporting/set-labels.py $pr done 1.12; done

Docs failure looks legit: https://github.com/cilium/cilium/actions/runs/3998896373/jobs/6862118816

@ldelossa I suspect that is related to #22220. Maybe try dropping that backport for now?

/test-backport-1.12

/test-1.20-4.9

Hmm, I thought that https://github.com/cilium/cilium/pull/22864 is to be backported only to 1.13 and Cilium EE 1.12 (not done yet). @kaworu is that right? Although it doesn't hurt to backport it to 1.12 too honestly.

@julianwiedmann fixed your issues, please check again.

dropped #23099 ✅

i'll look into https://github.com/cilium/cilium/actions/runs/4010949211/jobs/6888002815

/test-backport-1.12

/mlh new-flake Cilium-PR-K8s-1.22-kernel-4.9

/test-1.22-4.9

https://github.com/cilium/cilium/pull/23254 -- ipsec: Fix packet mark for FWD XFRM policy (@pchaigno)

"helpers.RunOnAKS" does not exist and is expected in second commit.

That PR was marked as backported even though it was never backported. Just noticed now due to conflicts. I'll relabel.


Fix failing test on Node v18, but working on Node v20

v18
RUN  v0.31.0 /home/runner/work/service-workers-fetch-event.node/service-workers-fetch-event.node

stdout | unknown test
HTTP server listening on http://localhost:8080

 ❯ test/index.test.ts  (6 tests | 1 failed) 370ms
   ❯ test/index.test.ts > it forwards to static files
     → expected [50](https://github.com/jcbhmr/service-workers-fetch-event.node/actions/runs/4963635675/jobs/8883063182#step:5:51)0 to be 200 // Object.is equality
 ✓ test/internal/globalthis-eventtarget/index.test.ts  (4 tests) 6ms

⎯⎯⎯⎯⎯⎯⎯ Failed Tests 1 ⎯⎯⎯⎯⎯⎯⎯

 FAIL  test/index.test.ts > it forwards to static files
AssertionError: expected 500 to be 200 // Object.is equality
 ❯ test/index.test.ts:11:27
      9|   const response = await fetch("http://localhost:8080/README.md");
     10|   const text = await response.text();
     11|   expect(response.status).toBe(200);
       |                           ^
     12|   expect(text.length).toBeGreaterThan(0);
     13| });

  - Expected  - 1
  + Received  + 1

  - 200
  + 500
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/1]⎯

 Test Files  1 failed | 1 passed (2)
      Tests  1 failed | 9 passed (10)
   Start at  23:01:29
   Duration  1.58s (transform 211ms, setup 0ms, collect 345ms, tests 376ms, environment 1ms, prepare 215ms)

v20
 RUN  v0.31.0 /workspaces/service-workers-fetch-event.node

stdout | unknown test
HTTP server listening on http://localhost:8080

 ✓ test/index.test.ts (6) 365ms
 ✓ test/internal/globalthis-eventtarget/index.test.ts (4)

 Test Files  2 passed (2)
      Tests  10 passed (10)
   Start at  23:06:47
   Duration  1.31s (transform 139ms, setup 0ms, collect 255ms, tests 373ms, environment 0ms, prepare 137ms)

TypeError: __vite_ssr_import_0__.openAsBlob is not a function
    at /workspaces/service-workers-fetch-event.node/src/internal/fallbackHandleRequest.ts:37:17
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at Module.fallbackHandleRequest [as default] (/workspaces/service-workers-fetch-event.node/src/internal/fallbackHandleRequest.ts:36:25)
    at Module.handleRequest [as default] (/workspaces/service-workers-fetch-event.node/src/internal/handleRequest.ts:21:8)


Mechanical Pipe halves fluid throughput to turbine

Issue description:
I'm using one of TE's magmatic dynamos to produce steam, it says it's producing 600mB/t of steam, turbine says it's receiving 300mB/t. I replaced it with a super-laminar fluiduct and it receives 600mB/t as it should.
Steps to reproduce:

Build turbine and magmatic dynamo, connect water/lava as needed
Connect dynamo to turbine with mechanical pipe
Compare dynamo output to turbine

Version (make sure you are on the latest version before reporting):
**Forge: <IP_ADDRESS>2
**Mekanism: <IP_ADDRESS>6
https://imgur.com/gallery/KloXS
Edit: Network reader is showing 2 acceptors: https://imgur.com/gallery/Rm7wK

@Leonyx1175 Is the power output consistent with a 300mB/t input or a 600 mB/t input when using the mechanical pipe?

It's consistent with what it should be at 300mB/t with the pipe, it seems, around half what it is with the fluiduct. One moment and I'll grab some numbers for ya.

It's also being halved from a 3x3x4 boiler setup, boiler shows 120mB/t out, turbine shows 60 mB/t in.

I cannot see via your images or your text what tier of Mechanical Pipe you are referring to?
Please also ensure you are setting the mechanical pipe to pull mode, as auto eject is generally slow, by design.

I tested all tiers with the same result, but it appears to be the turbine being set to dump excess, not the pipes specifically. I'm currently unable to test it any farther, I'll give you an update in the morning if it can't be reproduced.

Tried setting the pipe to push into the turbine, and it still halves steam input when set to dumping/dumping excess. Setting it to pull from the dynamo stops it completely. I removed all mods except the TE suite and Mekanism +Generators, and it still shows 300 mB/t when set to dumping or dumping excess, and 600 on idle.


Add WebP2 support

I only ported it over from the internal repository :D I was implying that I need you to do the final adjustments :)

I was implying that I need you to do the final adjustments :)

Too late, I already left you feedback comments :P


Fixes compile error from pull request #14

Fixes VISITABLE_DIRECT_INIT from NikolausDemmel allowing users to direct initialize with an initializer list.

Interesting. Can you give examples of what is different between my and your PR? IIRC initializer lists were already supported, see examples in my PR:
    VISITABLE_DIRECT_INIT(std::vector<int>, foo, {1, 2, 3});

Or is it not working as expected?

It wasn't working as expected. At least on the MSVC Compiler passing INITILIAZER... then  TYPE NAME INITLIAZER was causing a compiler error where it wasn't reading the whole INITLIAZER list and was treating each comma as a separate parameter. I just changed TYPE NAME INITLIAZER to TYPE NAME VA_ARGS. Compiles and works fine on MSVC compiler.

Ah ok, thanks. I didn't realize that was a GNU extension. I update my branch as well.

thank you! sorry for the delay


Default TOIL_APPLIANCE_SELF tag isn't found in quay

eduroam-169-233-244-140.ucsc.edu 2016-11-30 12:07:46,976 MainThread INFO toil.lib.bioio: Root logger is at level 'DEBUG', 'toil' logger at level 'DEBUG'.
eduroam-169-233-244-140.ucsc.edu 2016-11-30 12:07:46,977 MainThread INFO toil.lib.bioio: Root logger is at level 'DEBUG', 'toil' logger at level 'DEBUG'.
eduroam-169-233-244-140.ucsc.edu 2016-11-30 12:07:46,977 MainThread INFO toil.utils.toilLaunchCluster: Using aws provisioner.
eduroam-169-233-244-140.ucsc.edu 2016-11-30 12:07:50,394 MainThread DEBUG toil.provisioners.aws.awsProvisioner: Device mapping: {}
eduroam-169-233-244-140.ucsc.edu 2016-11-30 12:07:50,395 MainThread INFO toil: Using default docker registry of quay.io/ucsc_cgl as TOIL_DOCKER_REGISTRY is not set.
eduroam-169-233-244-140.ucsc.edu 2016-11-30 12:07:50,395 MainThread INFO toil: Using default docker name of toil as TOIL_DOCKER_NAME is not set.
eduroam-169-233-244-140.ucsc.edu 2016-11-30 12:07:50,395 MainThread INFO toil: Using default docker appliance of quay.io/ucsc_cgl/toil:3.5.0a1-d978eb71c0d76d2c759f9245074b1edebcb35719-dirty as TOIL_APPLIANCE_SELF is not set.

Should not be tagged as dirty?
cc: @cket

For the record, the workaround is to set TOIL_APPLIANCE_SELF


Fix variable 'notifier' collides with imported package name.

Fix variable 'notifier' collides with imported package name 'github.com/prometheus/prometheus/notifier', changed to 'notifierManager'.

Thanks!


Fix XGBoost error

It appears that the current XGBoost package that is installed with pip does not have the feature_importance_ attribute. Therefore if you install the xgboost package using pip install xgboost you will be unable to conduct feature extraction from the XGBClassifier or the XGBRegressor object.
I made a workaround after trying to check for feature_importance_ because if the newest version of XGBoost is installed from source then feature_importance_ works fine so it will likely exist in future versions. But currently the version available by pip install xgboost does not provide the attribute.

Coverage decreased (-0.2%) to 80.06% when pulling 3d23699b0d9a1f3171665f8c5cffe1a3d50bbcdf on a-holm:patch-4 into 544d16bbc10479618d25d18751baafd0a5184dea on ClimbsRocks:master.

Coverage decreased (-0.2%) to 80.06% when pulling 3d23699b0d9a1f3171665f8c5cffe1a3d50bbcdf on a-holm:patch-4 into 544d16bbc10479618d25d18751baafd0a5184dea on ClimbsRocks:master.

Thanks for that! XGBoost has been a bit difficult to support for a while, with the outdated pip package, and some of the changes they've made on master since then.
Was this the only issue you encountered using XGBoost from pip? If so, i might switch the test suite back to installing xgboost from pip- much faster than manually compiling everything :)

also let me know if you have any other usability thoughts on auto_ml. really appreciate the PRs

just pushed a new release with your fixes to pypi- we're on 2.8.5 now

This is a fun project,
I have found some other issues with loading deep-learning h5 files. I don't exactly understand why yet, I will try to contribute a little when I understand the code more.

thanks!
also, i just remembered part of why i moved away from the pip version of xgboost: they have an annoying bug around sparse matrices and categorical variables. if you are using xgboost, and you have categorical variables, i'd strongly recommend building from their master branch, rather than installing from pip.
thanks again for the contributions!


A blob displays when cloning one folder if there is a blob which has the same name with the folder

Storage Explorer Version: 1.23.0-dev
Build Number: 20220214.5
Branch: main
Platform/OS: Windows 10/Linux Ubuntu 20.04/macOS Monterey 12.2
Architecture: ia32/x64
How Found: Ad-hoc testing
Regression From: Not a regression
Steps to Reproduce

Expand one storage account -> Blob containers.
Create a new blob container -> Upload one blob.
Upload a folder with the same name as the blob.
Right click the folder -> Click 'Clone...'.
Input a valid name -> Click 'Clone'
Check whether the cloned folder displays.

Expected Experience
The cloned folder displays.
Actual Experience
A blob displays.
Additional Context
Here is the record:

This is a duplicate of issue https://github.com/microsoft/AzureStorageExplorer/issues/3888.


Add absolute value and power operator for the BinaryQuadraticModel

Currently, only multiplication, addition, subtraction and division of BinaryQuadraticModel by a number are allowed. However, to build a more complex objective function, additional operations are needed. Among them, the absolute value is essential for the definition of the objective as the L1-norm, as in the following example:
# Add binary variables
x = [dimod.Binary(i) for i in range(N)]

# Loop over rows of matrix A
for i in range(rows):
    # Initialize expra
    expra = 0*len(x)
    for j in range(N2):
        if A[i] != 0:
            # Build the linear expression
            expra += A[i]*x[j]
            # L1-norm
            expraR[i] = abs(expra - number)

# Construct the CQM
cqm = CQM()

## Add the objective
cqm.set_objective(sum(expraR))

In the code above,  for each row of a matrix A, a linear mathematical expression (expra in the script) is formed as a function of the binary variable x. There are no issues in generating expra, but there is a problem when defining expraR, since I cannot calculate the absolute value of the difference inside the parenthesis (L1-norm).
Using this alternative solution does not work:
expraR[i] = ((expra - number) ** 2) ** 0.5
as the power operator is not supported either, returning the following error:
TypeError: unsupported operand type(s) for ** or pow(): 'BinaryQuadraticModel' and 'float'

Hi @angystallone,
I don't have the full context of your code, but it looks like you're trying to minimize the distance between a bqm and single number. In that case, generally the best way to do it would be something like objective = (bqm - number)**2. You don't actually need to take the square root at all because the CQM solver handles quadratic expressions in addition to linear.
For the feature request, it is often best to think of bqms as polynomials rather than as matrices. If you do that, you'll see why we have not implemented these methods for binary quadratic models in general.
Absolute Value
Taking a simple linear bqm, $E(x, y) = x - y$, let's say that we want to calculate the absolute value of it. $abs(E(x, y))$. We could fairly easily implement an absolute value method on the BQM, probably defined something like
def __abs__(self) -> BinaryQuadraticModel:
    for v, bias in self.iter_linear():
        self.set_linear(v, abs(bias)
    for u, v, bias in self.iter_quadratic():
        self.set_quadratic(u, v, abs(bias))
    self.offset = abs(self.offset)

Let's call the output of this new function $E'(x, y)$ and see that $E(x, y) = x + y$. However, this function would not actually give us what we want. Consider the value of the equation for all possible assignments of $x$ and $y$.

x, y
E(x, y)
abs(E(x, y))
E'(x, y)

0, 0
0
0
0

0, 1
-1
1
1

1, 0
1
1
1

1, 1
0
0
2

Square Root
Similarly, we could implement a square root function. Let's try to take the square root of $(x - y)^2 = x^2 - 2xy + y^2$.
In this case the "square root" is not unique! It could be either be $x-y$ or $y-x$.
The single variable case
In your case it seems that you want to take the absolute value or the square root of binary quadratic models with only a single variable. We could implement something like
def __abs__(self) -> BinaryQuadraticModel:
    if self.num_variables > 1:
        raise TypeError("cannot take the absolute value of bqms with more than one variable")
    for v, bias in self.iter_linear():
        self.set_linear(v, abs(bias)
    self.offset = abs(self.offset)

but that seems like a very specific edge case, and to the point that it would almost be misleading

Thanks for the quick and clear answer @arcondello.
I see your point about matrices and polynomials. Indeed, expra needs to be defined as a polynomial: the goal here is to first build a  linear expression as a function of the variable x for each row of matrix A, and then to minimize the total misfit defined as the sum of these linear expressions relative to a number.
The absolute value of (expra - number) is needed since the objective function must be defined as the L1-norm, and not the L2-norm. Reason for that is I need to map a problem already solved in the classical way onto the D-Wave solver.  Unfortunately, in order to reproduce the results, I am not free to make any changes to the problem statement.
More on the problem context: it falls into the category of knapsack problems and in the classical approach the linear expression has been coded by the “model” python module in docplex.mp ([http://ibmdecisionoptimization.github.io/docplex-doc/mp/docplex.mp.model.html]).

Hi @arcondello, I have an update from my side.
Even switching to L2-norm (so substituting expraR[i] = abs(expra - number) with expraR[i] = (expra - number) ** 2) does not work. This time, I do not get any error message, but the code is stuck, running forever.

I  can reproduce the issue with the L2-norm within my code only, so for now I am sending a minimal reproducible example for the alternative way of taking the abs value (i.e. expraR[i] = ((expra - number) ** 2) ** 0.5):
from dimod import Binary, CQM
from dwave.system import DWaveSampler, LeapHybridCQMSampler

solver = LeapHybridCQMSampler()
print(solver.properties.keys())

###################################

# Add binary variables
x = [Binary(i) for i in range(100)]

expraR = [[0]*len(x)] * 9
# print (len(expraR),len(expraR[0]))
for i in range(9):
    expra = 0 * len(x)
    for j in range(100):
        expra += 7.23 * x[j]

    ### Taking abs value of the difference is not working, as it is not among the operations that can be applied to a BQM
    # expraR[i] = abs(expra - 470.0)

    # Alternative way to take the abs value, not working too
    expraR[i] = ((expra - 470.0) ** 2) ** 0.5

Thanks a lot!


Step 6

What do you do if the test fails with a time out ?

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

ID: 525f4ac3-009b-61bb-48c7-0ad2d0982d4c
Version Independent ID: 67fd4927-91fb-43b3-c147-f04d2895a496
Content: Setting up Email - Dynamics NAV App
Content Source: dynamics-nav-app/madeira-how-setup-email.md
Product: dynamics-nav-2018
GitHub Login: @edupont04
Microsoft Alias: edupont

Hi there,
That depends on your email settings. Depending on whether or not you are using Office 365 authentication, different things may be missing in your current settings in the SMTP Email Setup. Please contact your administrator for further guidance.


listen: support hash/fragment permalinks to entries inside feeds

I have a h-entry with a relative hash fragment as its u-url. It seems like bridgy got confused about this and added other entries to the relationship. Do you know whether bridgy could support hash fragment URLs?

hmm! do you mean for backfeed, ie sending back replies/likes? in general, specific example link(s) and specific details help with bug reports like this one. mind adding them here?

Take a look at this: https://brid-gy.appspot.com/like/facebook/1051748518251476/1051774048248923/306748659660390?format=json.
The h-entrys in my feed contained u-urls like so:

However it appears that bridgy did not pick these up correctly. Take a look at this entity:
"like-of": [
"https://www.facebook.com/1051748518251476/posts/1051774048248923",
"https://samefourchords.com/2016/07/09/pottery-class-lewes",
"https://samefourchords.com/timeline#IMG_9020.jpg",
"https://samefourchords.com/timeline#IMG_9092.jpg",
"https://samefourchords.com/timeline#IMG_9014.jpg",
"https://samefourchords.com/timeline#IMG_9085.jpg",
"https://samefourchords.com/timeline#IMG_9093.jpg",
"https://samefourchords.com/timeline#IMG_9082.jpg",
"https://samefourchords.com/pottery-class-lewes/IMG_9092.jpg",
"https://samefourchords.com/timeline#IMG_9011.jpg",
"https://samefourchords.com/timeline#IMG_9077.jpg",
"https://samefourchords.com/timeline#IMG_9037.jpg",
…

It has many different hash fragment URLs, when it should only have one. Sorry, this is quite difficult to explain!

Tested again, this is definitely happening! https://brid-gy.appspot.com/like/facebook/1051748518251476/1051774048248923/306748659660390?format=json

thanks for the details!
the short answer is, bridgy doesn't officially support backfeeding to (or publishing) hash-based permalinks to items inside a feed. it doesn't explicitly block them, but i definitely haven't designed or tested for them, so i'm not surprised that you're seeing weird behavior.
so far, the vast majority of indieweb precedent uses permalinks to full-fledged individual pages for posts, so i'm not sure that we'd try to support this. i'm open to talking more though!
i also haven't fully grokked your setup yet. eg i don't see your example markup above (or even h-feed u-url) on https://samefourchords.com/ , https://samefourchords.com/timeline, or https://samefourchords.com/2016/07/09/pottery-class-lewes . parsing those pages with eg https://mf2.kylewm.com/ doesn't show any mf2.

the similar feature request for publish is #445.

This setup still isn't supported or planned any time soon. Adding the speculative label and tentatively closing. Feel free to reopen!


User view not working for ingredients on Ingredients Page

No ingredients schema in the database, need to investigate...schema is there in Prod (heroku).

Fixed.