I wanna repeat your algorithm for search policies but don't understand some moments in paper.

I create this algorithm for voice-antispoofing problem.
Answer please for next some questions because i did not understand this from your paper (Fast AutoAugment):

Do you choose for imagenet only 120 classes (120 * 1000 = 120 000 pictures) and from this you randomly choose 6000 samples? Do you train all algorithm only on 6000 pictures? And what is the ratio Dm:Da in StratifiedShuffleSplit (test_size parameter)?
Is this continuous training on each step of algorithm? Or each iterations just started from random initialize model? 90 epoch (in your paper for resnet on imagenet) - it is on each training Dm set?
From each fold you get best 10 policies (each contain 5 sub-policies). And after each iteration of algorithm you choose 50 policies? It is too much! How do you choose best policies of this 50? And how do you apply this many policies in train? Are you choose it in random?
And how do you choose best policies on the end of the training?

I hope I described it clearly.
With love, Makarov Rostislav.

Yes, search algorithm run only with 6k pictures. Below is the partial code snippet I used.

    elif dataset == 'reduced_imagenet':
        # randomly chosen indices
        idx120 = [904, 385, 759, 884, 784, 844, 132, 214, 990, 786, 979, 582, 104, 288, 697, 480, 66, 943, 308, 282, 118, 926, 882, 478, 133, 884, 570, 964, 825, 656, 661, 289, 385, 448, 705, 609, 955, 5, 703, 713, 695, 811, 958, 147, 6, 3, 59, 354, 315, 514, 741, 525, 685, 673, 657, 267, 575, 501, 30, 455, 905, 860, 355, 911, 24, 708, 346, 195, 660, 528, 330, 511, 439, 150, 988, 940, 236, 803, 741, 295, 111, 520, 856, 248, 203, 147, 625, 589, 708, 201, 712, 630, 630, 367, 273, 931, 960, 274, 112, 239, 463, 355, 955, 525, 404, 59, 981, 725, 90, 782, 604, 323, 418, 35, 95, 97, 193, 690, 869, 172]
        total_trainset = torchvision.datasets.ImageFolder(root=os.path.join(dataroot, 'imagenet/train'), transform=transform_train)
        testset = torchvision.datasets.ImageFolder(root=os.path.join(dataroot, 'imagenet/val'), transform=transform_test)

        # compatibility
        total_trainset.train_labels = [lb for _, lb in total_trainset.samples]

        sss = StratifiedShuffleSplit(n_splits=1, test_size=len(total_trainset) - 500000, random_state=0)  # 4000 trainset
        sss = sss.split(list(range(len(total_trainset))), total_trainset.train_labels)
        train_idx, valid_idx = next(sss)

        # filter out
        train_idx = list(filter(lambda x: total_trainset.train_labels[x] in idx120, train_idx))
        valid_idx = list(filter(lambda x: total_trainset.train_labels[x] in idx120, valid_idx))
        test_idx = list(filter(lambda x: testset.samples[x][1] in idx120, range(len(testset))))

        train_labels = [idx120.index(total_trainset.train_labels[idx]) for idx in train_idx]
        for idx in range(len(total_trainset.samples)):
            if total_trainset.samples[idx][1] not in idx120:
                continue
            total_trainset.samples[idx] = (total_trainset.samples[idx][0], idx120.index(total_trainset.samples[idx][1]))
        total_trainset = Subset(total_trainset, train_idx)
        total_trainset.train_labels = train_labels

        for idx in range(len(testset.samples)):
            if testset.samples[idx][1] not in idx120:
                continue
            testset.samples[idx] = (testset.samples[idx][0], idx120.index(testset.samples[idx][1]))
        testset = Subset(testset, test_idx)
        print('reduced_imagenet train=', len(total_trainset))

I didn't understand fully. Please elaborate more.

Yes, TTA(Test Time Augmentation) performance was used for evaluate each policies and we select top-k. In our ablation study, the number of policies you select(we used 10 for each run) was not that important. You can reduce it like 5. Also, I believe that finding many policies in a efficient manner is a key reason for our performance.

We just choose best top-k policies for each cv set(=5) and we combine them.


Outdated version on Puppet forge

Can you please upload the latest version to Puppet Forge? I found the version of the forge is outdated severely.

Version 2.0.0 uploaded to Puppet forge

Thanks!


Swaggerify application services

Also reword some bits.

I would be very strongly tempted to remove the word "passive" everywhere it exists, until there is an "active" AS API with which to contrast it.

LGTM, modulo comments

PTAL

LGTM


Better colours

Need to make light mode more visually appealing colour wise (I am not good with colour palettes)

This also includes the graph on the statistics window

This also includes the graph on the statistics window


Cannot add review comment

Gitea version (or commit ref): 6e03390 (1.5+)
Can you reproduce the bug at https://try.gitea.io:

[x] Yes: https://try.gitea.io/go-gitea/chardet/pulls/1/files

Description
If I try to add a review comment at try.gitea.io it results in an unreported error.

Fixed by #4682


Fix typo in modules.doc.js

s/substitue/substitute

Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign up at https://code.facebook.com/cla - and if you have received this in error or have any questions, please drop us a line at<EMAIL_ADDRESS>Thanks!

sorry, can't merge this without the CLA being signed

Ah sorry, didn't see the automated response. Just signed it.

damn it, GitHub notifications! I have the same problem :)
I fixed this in https://github.com/facebook/flow/commit/62d06b1867328c8cd2c9a306615ce94ec75d98c1, but you're good to go for next time.
thanks for the find!


[nvmdev] fix bug in construction of parent PCI device

When constructing NvidiaPCIDevice objects for each 'parent' device in the '/sys/class/mdev_bus' directory, use the default PCI devices root '/sys/bus/pci/devices'. All devices in '/sys/class/mdev_bus' will have a corresponding directory at '/sys/bus/pci/devices'.
Starting with https://github.com/NVIDIA/go-nvlib/commit/bf3f431fc86e4ab07c782e2a0d1e2855f8352c3e0 the construction of the NvidiaPCIDevice object will fail when attempting to detect the physfn. When SRIOV is used, all the VFs will show up under '/sys/class/mdev_bus', but the physfn will only show up under '/sys/bus/pci/devices'.

The commit you linked is a broken link. What was the change that broke things?

https://github.com/NVIDIA/go-nvlib/commit/bf3f431fc86e4ab07c782e2a0d1e2855f8352c3e

@PiotrProkop can you take a look at this

To provide more context, a call to nvmdev.GetAllParentDevices() results in the following error:
error getting all parent devices: error constructing NVIDIA parent device: failed to construct NVIDIA PCI device: unable to detect physfn for 0000:3b:00.4: unable to read PCI device vendor id for 0000:3b:00.0: open /sys/class/mdev_bus/0000:3b:00.0/vendor: no such file or directory"

0000:3b:00.0 is the PF for 0000:3b:00.4 (VF). 0000:3b:00.4 and all the other VFs will have entries at /sys/class/mdev_bus, but the PF does not.

Good catch!
/lgtm


Support text selection on all elements (like labels)

Currently, it is only supported on inputs. This is a standard feature of browsers.

It is supported on labels, but only if Selectable is set to true. Selectable should be on by default, and character-specific selection should be possible (this will require copying some code over from textfield).

Label selection is implemented but not working, and we need to support copying and more fine-grained (letter based) selection.

I implemented label selection, copying, and selection clearing in the commits above. Letter-based label selection is unnecessary, as the main use case is for copying a section of information, not a few words. Furthermore, adding letter-based label selection would be a massive amount of logic and overhead that would reduce performance and elegance for a very unimportant and infrequent use case.

See #1051; this is needed.


[Question] Some objects in the SVG are being removed

Hi,
I suppose this is a question more than an issue, I am using an SVG in order to create an interactive floor plan.
The SVG is made of one image object (the floor plan) and several shapes on top of it (that get highlighted on roll over)
In order for these shapes to be clickable in the component, they have an ID
When loading this SVG file with the component, everything but the main image is stripped away.
I have tried a number of configurations in vue.config.js such as
module.exports = {
    chainWebpack: config => {
        const svgRule = config.module.rule('svg')
        svgRule.uses.clear()
        svgRule
            .use('babel-loader')
            .loader('babel-loader')
            .end()
            .use('vue-svg-loader')
            .loader('vue-svg-loader')
            .options({
                svgo: {
                    plugins: [
                        { collapseGroups: false },
                        { removeEmptyContainers: false },
                        { convertPathData: false },
                        { mergePaths: false },
                        { cleanupIDs: false },
                        { collapseGroups: false },
                        { removeNonInheritableGroupAttrs: false }
                    ]
                }
            }
        );
    }
}

The SVG is built like this
<svg
            xmlns:dc="http://purl.org/dc/elements/1.1/"
            xmlns:cc="http://creativecommons.org/ns#"
......
more properties
........
            <g
                inkscape:groupmode="layer"
                inkscape:label="Image"
                id="g54">
                <image
                width="2133.3333"
                height="1284"
                preserveAspectRatio="none"
                xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABkAAAAPDCAYAAADrEMd2AAAACXBIWXMAAAsSAAALEgHS3X78AAAg
            AElEQVR4nOy9CZgjd33m/5ZUOvu+Zqbn9Bw+ZmzP+ATbYMB2CGbtYGxIwp1ldyEXu4EA+18gG9gc
            ZPNwJ8sGSJ7liXF
.....
.....
Super long image
....
....

kSuQmCC
            "
                id="floorplanimg"
                style="fill:#ffe680" />
                <path
                id="kitchen"
                style="opacity:0;fill:#ffcc00;fill-rule:evenodd"
                inkscape:label="OpenSpace"
                d="m 555.11237,74.960426 1053.49783,2.025958 2.4071,273.758356 -642.35555,-2.153 -2.28007,161.94959 H 555.11237 Z"
                sodipodi:nodetypes="ccccccc"
                onmouseover="this.style.opacity=0.4"
                onmouseout="this.style.opacity=0" />
                <path
                 id="bedroom"
.....
....
and many more paths
....
....
       </g>
</svg>

When imported, I get only the image block and all the path ones are lost.
Can anyone tell me what I am missing ?
Thank you

Same situation here.
A lot of components are just black.

Something is broken here. @samo9789 @antoci-alin did you find a workaround? Does it work in an older version of plugin or did you switch to another vue svg plugin?
Maintainers of this project aren't around much anymore. :(

Something is broken here. @samo9789 @antoci-alin did you find a workaround? Does it work in an older version of plugin or did you switch to another vue svg plugin?
Maintainers of this project aren't around much anymore. :(

Unfortunately nope... I just changed the illustration.

Something is broken here. @samo9789 @antoci-alin did you find a workaround? Does it work in an older version of plugin or did you switch to another vue svg plugin?
Maintainers of this project aren't around much anymore. :(

I ended up creating a .vue component and pasting the SVG in it as I couldn't get this tool to do what I needed. I opened this ticket hoping the proper solution would eventually be possible with this package.
I didn't try older version, would you know which version to try ?
Are there forks that are more active ?


Section <IP_ADDRESS> para 428, CS_DTLSS_EXT.1.9

FCS_DTLSS_EXT.1.9. Please further clarify additional evaluator’s actions while performing Test 2a, 3a or 4a to ensure the early data extension is not supported.

The TLS working group agrees the wording may need to be clarified here, but will require more discussion to do so. Therefore, this is out of scope for the editorial period for NDcPPv3.0. Placing comment on hold for a future NDcPP update.

The ND iTC TLS working goup is working in conjunction with NIAP's TLS TC so that the next version of the NDcPP can point out to NIAP's FP's for TLS and X509.


PgAdmin - The container does not start

Docker Desktop
Expose daemon on tcp: // .... - enabled
WSL integration - Ubuntu 20.04
PyCharm with Docker, docker Compose
Logs from the container
`[2021-02-12 09:15:16 +0000] [1] [INFO] Starting gunicorn 19.9.0
[2021-02-12 09:15:16 +0000] [1] [INFO] Listening at: http://[::]:80 (1)
[2021-02-12 09:15:16 +0000] [1] [INFO] Using worker: threads
/usr/local/lib/python3.9/os.py:1023: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used
return io.open(fd, *args, **kwargs)
[2021-02-12 09:15:16 +0000] [89] [INFO] Booting worker with pid: 89
WARNING: Failed to set ACL on the directory containing the configuration database:
[Errno 1] Operation not permitted: '/var/lib/pgadmin'
HINT : You may need to manually set the permissions on
/var/lib/pgadmin to allow pgadmin to write to it.
[2021-02-12 09:15:17 +0000] [89] [ERROR] Exception in worker process
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/gunicorn/arbiter.py", line 583, in spawn_worker
worker.init_process()
File "/usr/local/lib/python3.9/site-packages/gunicorn/workers/gthread.py", line 104, in init_process
super(ThreadWorker, self).init_process()
File "/usr/local/lib/python3.9/site-packages/gunicorn/workers/base.py", line 129, in init_process
self.load_wsgi()
File "/usr/local/lib/python3.9/site-packages/gunicorn/workers/base.py", line 138, in load_wsgi
self.wsgi = self.app.wsgi()
File "/usr/local/lib/python3.9/site-packages/gunicorn/app/base.py", line 67, in wsgi
self.callable = self.load()
File "/usr/local/lib/python3.9/site-packages/gunicorn/app/wsgiapp.py", line 52, in load
return self.load_wsgiapp()
File "/usr/local/lib/python3.9/site-packages/gunicorn/app/wsgiapp.py", line 41, in load_wsgiapp
return util.import_app(self.app_uri)
File "/usr/local/lib/python3.9/site-packages/gunicorn/util.py", line 350, in import_app
import(module)
File "/pgadmin4/run_pgadmin.py", line 4, in
from pgAdmin4 import app
File "/pgadmin4/pgAdmin4.py", line 94, in
app = create_app()
File "/pgadmin4/pgadmin/init.py", line 256, in create_app
create_app_data_directory(config)
File "/pgadmin4/pgadmin/setup/data_directory.py", line 90, in create_app_data_directory
os.chmod(config.SESSION_DB_PATH, 0o700)
PermissionError: [Errno 1] Operation not permitted: '/var/lib/pgadmin/sessions'
[2021-02-12 09:15:17 +0000] [89] [INFO] Worker exiting (pid: 89)
[2021-02-12 09:15:17 +0000] [1] [INFO] Shutting down: Master
[2021-02-12 09:15:17 +0000] [1] [INFO] Reason: Worker failed to boot.`

you need to adjust the permission the volume that is being mounted into the container. The error message is indicating that its a permission issue and it can read the configuration database. i wouldnt recommend for production, but for testing you can see if this is the issue by chmod 777 on the /Storage/pgadmin directory

if I change the permissions, the container starts but can't log in.
I will try PyCharm Pro now, with WSL and clone the entire script to Ubuntu / Home / users and from there I will try to install everything on Ubuntu.
Can someone send me the docker_compose.yml file without these volumen mounts.  files can be modified in Ubuntu WSL / Home / users / wsl

Same issue here!
After execute $ chmod 777 -R /path/to/Storage/pgadmin,  the container of pgadmin still starts failed.
the log is int the following
pgadmin               | [2021-03-12 08:32:10 +0000] [82] [ERROR] Exception in worker process
pgadmin               | Traceback (most recent call last):
pgadmin               |   File "/venv/lib/python3.8/site-packages/gunicorn/arbiter.py", line 583, in spawn_worker
pgadmin               |     worker.init_process()
pgadmin               |   File "/venv/lib/python3.8/site-packages/gunicorn/workers/gthread.py", line 92, in init_proces
s
pgadmin               |     super().init_process()
pgadmin               |   File "/venv/lib/python3.8/site-packages/gunicorn/arbiter.py", line 583, in spawn_worker      pgadmin               |     worker.init_process()
pgadmin               |   File "/venv/lib/python3.8/site-packages/gunicorn/workers/gthread.py", line 92, in init_proces
s
pgadmin               |     super().init_process()
pgadmin               |   File "/venv/lib/python3.8/site-packages/gunicorn/workers/base.py", line 119, in init_process
pgadmin               |     self.load_wsgi()
pgadmin               |   File "/venv/lib/python3.8/site-packages/gunicorn/workers/base.py", line 144, in load_wsgi    pgadmin               |     self.wsgi = self.app.wsgi()
pgadmin               |   File "/venv/lib/python3.8/site-packages/gunicorn/app/base.py", line 67, in wsgi
pgadmin               |     self.callable = self.load()
pgadmin               |   File "/venv/lib/python3.8/site-packages/gunicorn/app/wsgiapp.py", line 49, in load
pgadmin               |     return self.load_wsgiapp()
pgadmin               |   File "/venv/lib/python3.8/site-packages/gunicorn/app/wsgiapp.py", line 39, in load_wsgiapp
pgadmin               |     return util.import_app(sel

Please see this article https://www.pgadmin.org/docs/pgadmin4/latest/container_deployment.html#mapped-files-and-directories .
You will need this command to
sudo chown -R 5050:5050 <host_directory>
or below in our case.
sudo chown -R 5050:5050 ${WP}/pgadmin/

How to do in windows ?

Please see this article https://www.pgadmin.org/docs/pgadmin4/latest/container_deployment.html#mapped-files-and-directories .
You will need this command to sudo chown -R 5050:5050 <host_directory>
or below in our case. sudo chown -R 5050:5050 ${WP}/pgadmin/

Works for me !


Could not fetch URL - SSL Error

Couldn't get past the first step of installation on MacOS 10.14.3
Daniels-MacBook-Pro:~ dannyvfilms$ pip install --user putio-automator
Collecting putio-automator
Could not fetch URL https://pypi.python.org/simple/putio-automator/: There was a problem confirming the ssl certificate: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:661) - skipping
Could not find a version that satisfies the requirement putio-automator (from versions: )
No matching distribution found for putio-automator
Daniels-MacBook-Pro:~ dannyvfilms$

Have a look here for a solution, I think: https://stackoverflow.com/a/38908406/401467


⚠ Community has degraded performance

In 88f9280, Community (https://community.wrk.com/health) experienced degraded performance:

HTTP code: 200
Response time: 169 ms

Resolved: Community performance has improved in f8f397b.


Updated version causes error with TGI

I have updated my h2ogpt docker version and now my docker wan't start.
The error is thrown : Malformed inference server.
It is a bug because few lines before in the command line it succeeded generating text with said inference server.

We use TGI with h2oGPT just fine and we have tests.
That error is only reached if you did not set --inference_server.  So must be typo in the CLI options if you are intending to use TGI as inference server.

We use TGI with h2oGPT just fine and we have tests.
That error is only reached if you did not set --inference_server. So must be typo in the CLI options if you are intending to use TGI as inference server.

As I mentioned earlier, it worked on previous h2ogpt versions. In addition, it manages to generate a token using TGI at the start of the docker so typo is probably not the issue.


Updating guide for background-color property of text

Added description, hint and solution for the background-color property of the text, applied visual design challenge, certification section.

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] All the files I changed are in the same world language (for example: only English changes, or only Chinese changes, etc.)
[x] My changes do not use shortened URLs or affiliate links.

Closes #XXXXX

@anerishah97 Thank you for your PR, but we are currently not accepting any changes to the hints/solutions pages.  We are in the middle of porting over the current guide articles to the forum.  Once we have completed this task, users will be able to suggest hints/solutions over on the forum.  P
Thank you for understanding.

Thanks Randall,
Is there any other section where I can contribute to the project? I thought this was a good starting point, but since it's being ported, is there any other section you would suggest?


add rstrings to inmanta dsl

Description
Added Raw strings
?? do we add this to iso4 as well?
Self Check:
Strike through any lines that are not applicable (~~line~~) then check the box

[ ] Attached issue to pull request
[x] Changelog entry
[x] Type annotations are present
[x] Code is clear and sufficiently documented
[x] No (preventable) type errors (check using make mypy or make mypy-diff)
[x] Sufficient test cases (reproduces the bug/tests the requested feature)
[x] Correct, in line with design
[x] End user documentation is included or an issue is created for end-user documentation (add ref to issue here: )

I am missing documentation in the language reference

evidently

Processing this pull request

Merged into branches master in ea04e859042b3d8fe7a8666183163950e84a8eb5

Processing #3507.


Update robot file to make it compatible with robolab

When opening the robot file in robolab, the tasks and the keywords are put in different cells (by Jupytext IIUC), resulting in an execution error in the Notebook. The is because the keyword will be used before it is defined.

Yes it is because I have written the code in VS code. Robolab and VS code have different formats of the way the code is arranged in. In VS code you have to place the Tasks header before Keywords header


added: 关闭订单

Just fixed issue #96

添加：关闭订单的功能

Codecov Report

Merging #98 into master will decrease coverage by 1.48%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master      #98      +/-   ##
==========================================
- Coverage   62.56%   61.08%   -1.49%
==========================================
  Files          57       57
  Lines        1648     1814     +166
==========================================
+ Hits         1031     1108      +77
- Misses        617      706      +89

Impacted Files
Coverage Δ

src/AbstractAopGateway.php
73.25% <0%> (-1.75%)
:arrow_down:

src/Requests/AbstractAopRequest.php
71.19% <0%> (-3.04%)
:arrow_down:

src/Common/helpers.php
76.19% <0%> (-2.76%)
:arrow_down:

src/Requests/LegacyNotifyRequest.php
69.23% <0%> (-1.96%)
:arrow_down:

src/Requests/AopTradePayRequest.php
33.33% <0%> (-1.22%)
:arrow_down:

src/Requests/AopNotifyRequest.php
60.29% <0%> (-1%)
:arrow_down:

src/Requests/AbstractLegacyRequest.php
83.82% <0%> (-0.8%)
:arrow_down:

src/AopPageGateway.php
0% <0%> (ø)
:arrow_up:

src/Requests/AopCompletePurchaseRequest.php
100% <0%> (ø)
:arrow_up:

...equests/DataServiceBillDownloadUrlQueryRequest.php
100% <0%> (ø)
:arrow_up:

... and 24 more

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 36e4ba0...79022ff. Read the comment docs.


[PERF] Noticeable perf regression overtime

As part of the ASP.NET team, I am measuring envoy and the perf of other proxies continuously.
For the past few months we can see that envoy's perf is slowly degrading.
Overall, compared to nginx or haproxy it's still doing very well, but you might have missed these numbers so I am sharing them with you.
The following chart represents RPS and mean latency for different payload sizes overtime (10B, 100B, 1KB).

This is based on the envoyproxy/envoy-dev:latest docker image, and run around once a day using this tag.
The full configuration can be found here: https://github.com/aspnet/Benchmarks/tree/master/docker/envoy
The benchmark is using bombardier with 256 connections, using 3 different machines (load, proxy, downstream), with dedicated 40Gb/s NICs on a private lan and a dedicated switch. Other proxies like nginx, haproxy, or even the baseline (without proxies) are stable during this time frame.

I don't think we have anything set up to help us understand what might be going on, so just tagging some perf interested folks to chime in.
@jmarantz @antoniovicente @oschaaf

Thanks for raising this. Very interesting. Note that producing this type of information is actually the goal of https://github.com/envoyproxy/envoy/issues/11266 (cc @abaptiste), so it would be great to make sure we aren't duplicating effort there.
As per the slow regression you are seeing, is it possible to get a flamegraph of the run at the beginning and end of the range?

@htuch and @mum4k as well. This is very interesting. We also run continuous benchmarks internally and have noticed some hiccups here and there but not a slow degradation
There are so many variables about how to run load test. I am not familiar with bombardier. There's also a benchmark tool in the Envoy project called Nighthawk, which has all kinds of settings for

open-loop vs closed loop
h2 vs h1
concurrency

and other settings. It would be helpful to know exactly how to repro these results.
Thanks!

I can do runs on a version at the beginning and now, and take a trace (perf/lttng). Would help if someone could give me a docker hub tag that would represent the state as of early June. With that I could confirm it's an issue or just hardware slippage (but again for nginx and haproxy there isn't any).
If someone is interested in how we (dotnet team) do our perf testing, happy to explain. Our infra is in https://github.com/dotnet/crank, very easy to setup, and then I just need one command line to start the scenario and get results from all the machines.

There's quite a bit of stuff there. Can you summarize in terms of HTTP parameters more detail about your load-test? E.g. protocol, open vs closed, amount of concurrency, and any other params you can think of?

Configuration is here: https://github.com/aspnet/Benchmarks/blob/master/docker/envoy/envoy.yaml
http1.1 between the load generator and the proxy. I think the config doesn't force what is used between the proxy and the cluster (the service supports h2 and http1.1).
256 concurrent connections
Request with only a small query string are forwarded and the results have different sizes based on the request.
But I already said that in previous comments. I don't know what the open vs closed means though.

"open" means that the load-generator sends traffic at a constant rate, independent of whether the system-under-test can handle that rate. We expect that with sufficient load, some amount of the requests will fail, and throughput will remain constant in terms of request-count (success+failure)
"closed" means that the each concurrent stream in the load-generator sends a request and waits for the response, before sending another one. In this case we don't expect requests to fail generally, but throughput will slow down to wait for the system to respond.

I picked this build from 4 months ago before the huge cliff you can see on the charts around 6/8, and can repro the regression: https://hub.docker.com/layers/envoyproxy/envoy-dev/9461f6bad1044133d81d69eba44f20f93771aa2e/images/sha256-0c14d10b416bfbc02e15b3d15ceeee58ac619f1b0ffe9c01d9bf22e1857fa34c?context=explore
Before:
| Mean latency (us)      |     2,276 |
| Max latency (us)       |    86,032 |
| Requests/sec           |   112,395 |
| Requests/sec (max)     |   118,835 |

After
| Mean latency (us)      |     2,586 |
| Max latency (us)       |    94,641 |
| Requests/sec           |    98,941 |
| Requests/sec (max)     |   106,922 |

The numbers don't match the charts as they were not run on the same machine (same topology though).
I assume at that point it's up to you to decide if and how to investigate this regression.

If there is any way for you to gather a perf trace / flame graph between the 2 runs that would be appreciated, since you know how to run it on your testbed. If not we can try to take a look at these 2 SHAs and your config using Nighthawk. cc @oschaaf @jmarantz

I took a trace with perf, but the results don't show any user code. I am not used to tracing native code, and maybe it requires some symbols source. I can share them still, 22MB each. Let me know where I can drop them.

@htuch and @mum4k as well. This is very interesting. We also run continuous benchmarks internally and have noticed some hiccups here and there but not a slow degradation

A 10% linear decrease in performance over a quarter due to slow degradation seems alarming.
Also, are there some known regressions that correspond to some of the large drops seen in the graphs above?  I'm most curious about the big drop around the 3rd week of June that we seem to have partially recovered from by July 1st.

There are so many variables about how to run load test. I am not familiar with bombardier. There's also a benchmark tool in the Envoy project called Nighthawk, which has all kinds of settings for

open-loop vs closed loop
h2 vs h1
concurrency

and other settings. It would be helpful to know exactly how to repro these results.
Thanks!


Flaky test: okhttp3.internal.ws.WebSocketHttpTest + RealWebSocketTest

https://circleci.com/gh/square/okhttp/1293
okhttp3.internal.ws.WebSocketHttpTest > wssScheme FAILED
    java.lang.AssertionError: Expected Open but was Failure[java.net.SocketTimeoutException: Read timed out]
        at okhttp3.internal.ws.WebSocketRecorder.assertOpen(WebSocketRecorder.java:169)
        at okhttp3.internal.ws.WebSocketHttpTest.websocketScheme(WebSocketHttpTest.java:780)
        at okhttp3.internal.ws.WebSocketHttpTest.wssScheme(WebSocketHttpTest.java:501)

It's hard to say whether there's a bug there with the info available, but my suspicion would be that this is the result of the CI machine being slow at this particular stage, beyond 500ms of the read timeout that the test is configured with. This could potentially happen in constrained/shared envs such as online CI setups.
Although you could just increase the default read timeout of the test, it'd make tests relying on those timeouts slower to fail, which could be detrimental in day to day development.
One day to avoid this issue is to centralise all test timeouts, and have a way to say that when running in CI, you'd want those timeouts to be N times the default test timeouts. E.g. read timeout normally is 500ms but on CI say 10 * 500ms. This would enable you to keep snappy testsuite while having more forgiving timeouts for shared/constrained envs.
I can explore this avenue if it's of interest to the maintainers.

I'm not sure it's possible here, since I'm not sure if the read timeout is triggered by the okhttp itself or the JDK (?), but if the timeout is triggered by okhttp, you could wrap time around a time service and move time programmatically within the tests. That way you'd get predictable timeouts. I've used this method in projects where we wanted to test time based eviction. However, if the time out can come from JDK or JVM code, you don't have such control and my previous suggestion would be preferable then.

I have double checked and in this particular case the socket timeout exception would come from Java's Socket API, so to protect this I'd go with my first suggestion.

https://circleci.com/build-insights/gh/square/okhttp/master

Dupe of https://github.com/square/okhttp/issues/5708


Let webhook pass on pipeline parsion error

Instead of show in e.g. gitea a 500, we get an 200 response and the actual pipeline info
this helps to debug and easyer to integrate ...

juts test it ... update a pipeline definition to an invalid format ... e.g. non valid json
Before you got an 500 ... now you get 200
An other status is fine by me too but not 500


Add WETH asset support to the FRAX ETH strategy

Modify the FRAX Strategy so it can support the WETH asset. This will withdraw ETH from the WETH, deposits the ETH into frxETH and stakes the frxETH for sfrxETH.

The frxETH contract
https://etherscan.io/address/0x3ff8654d633d4ea0fae24c52aec73b4a20d0d0e5#code

I think this should replace our current strategy, and handle both WETH and FraxETH as supported assets. This will be more gas efficient, and will be less code and UI floating around. The checkBalance will return the correct frax amount for frax, and 0 for WETH.

The design decisions are being logged in Notion https://www.notion.so/Support-WETH-in-FraxETH-Strategy-ee565494ff454f6baed094f19cbcc59b?pvs=4#af0debc1bb5b4ac88d748d331733d2ca

This has been completed


bị lỗi không thể chạy được

node:internal/errors:484
ErrorCaptureStackTrace(err);
^
TypeError [ERR_INVALID_ARG_TYPE]: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined
at new NodeError (node:internal/errors:393:5)
at Function.from (node:buffer:328:9)
at base64Decode (file:///home/runner/facebook-bot-chatgpt/node_modules/fca-utils/lib/utils.js:8:19)
at getAppstate (file:///home/runner/facebook-bot-chatgpt/node_modules/fca-utils/lib/utils.js:11:23)
at Client.loginWithAppState (file:///home/runner/facebook-bot-chatgpt/node_modules/fca-utils/lib/index.js:77:26)
at file:///home/runner/facebook-bot-chatgpt/index.js:17:8
at ModuleJob.run (node:internal/modules/esm/module_job:193:25)
at async Promise.all (index 0)
at async ESMLoader.import (node:internal/modules/esm/loader:530:24)
at async loadESM (node:internal/process/esm_loader:91:5)
at async handleMainPromise (node:internal/modules/run_main:65:12) {
code: 'ERR_INVALID_ARG_TYPE'
}

gắn appstate (base64) vào biến môi trường như hướng dẫn trong readme nhé


[FEATURE] Add CSS class for day of week

This has been changed in the dev branch and will be part of the upcoming 1.6.0 release.


About "checkpoint" file

Hi, I want to test the model on my dataset. After I downloaded your model from baiduyun, I found that there are only three files in the folder, there is no "checkpoint" file. I want to know if this is caused by my download error? thanks.

I get it.

Can you explain how you get it? I experience that too and I am new to tensorflow but I do not know about this checkpoint files, Thank you!

How did you figure it out ?


Cuda out of memory after a few epochs

Hi, I have encontered CUDA out of memory after a few successful epochs, could you tell me how to solve this?
INFO:
my command line: bash try_tnt.sh Playground 1
my GPU: a Nvidia Titan RTX with 24G Memory
Bug snapshot:

Thank you in advance for you help!

P.S. this out of memory occured in the opt_style step of the whole try_xxx.sh script, the original svox2 optimization worked fine.

P. S. This bug occured in the svox2 optimization process

You might want to check the issues in the svox2 codebase for resolving this issue.

encountered the same problem, how did you solve this problem?  thanks in advance!

You could reduce the max spatial resolution in the config file for the photorealistic radiance fields reconstruction.

Thank you for your reply! i adjusted the hyper-params in custom.json, removed 512 resolution option in --reso, changed 1024 to 512 in --background_reso, no memory explosion occurred. But the rendering result only contains a part of the scene. don't know how to solve it, many thanks in advance!


Add support for nbf(not before) during token validity check

Hi,
Are there any plans to add support for the nbf claim when checking if the token in valid. From my understanding of the specification if the claim exists then the token is only valid if the current time is after the time given(with a few minutes leeway to account for clocks that are slightly off).
I am more than happy to implement this if it going to be helpful for others.

Hey,
Thanks for the issue :). Please do send a PR with this feature :).
Thanks!


RouterTabs Docs

Topics:

Basic Tabs
Differences between Comet Admin Tabs and MuiTabs
Basic RouterTabs
RouterTabs in combination with Stack (special case:  multiple nested StackSwitch)

Furthermore
Refactors:

use hooks in RouterTabs (useStackApi(), useStackSwitchApi()) instead of context consumers (<StackApiContext.Consumer>, <StackSwitchApiContext.Consumer>)

Bug Fixes:

make RouterTabs usable outside Stack (previously this caused an error because StackBreadcrumb was always rendered)
fix routes in RouterTabs (previously double-slashes were used resulting in routes like//tab2 or //tab2//sub-tab3)

Check out here: https://deploy-preview-620--comet-admin.netlify.app/?path=/story/docs-components-tabs-tabs--page

@nsams

only two RouterTabs are shown simultaneously at each point in time

Is that a bug or a feature we intentionally implemeted?

As far as I can tell, that's an intentional feature. It's the sole reason that the shouldShowTabBar variable exists (https://github.com/vivid-planet/comet-admin/blob/d4b14027c024a76c70f81a78f0d16b4d3bbef49f/packages/admin/src/tabs/RouterTabs.tsx#L97)
According to Git Blame it was implemented by @jamesricky in 2021. Maybe he can tell us more?

PS: please try to make more PRs - separating independent bugfixes, refactoring and documentation should be done if possible

Okay, will do

According to Git Blame it was implemented by @jamesricky in 2021. Maybe he can tell us more?

@thomasdax98 I just renamed the file or something. It was initially implemented by @nsams in https://github.com/vivid-planet/comet-admin/commit/e6cc5edb8b44aed8ac74f5cc64fe18c89aa055d8

@thomasdax98 I just renamed the file or something. It was initially implemented by @nsams in https://github.com/vivid-planet/comet-admin/commit/e6cc5edb8b44aed8ac74f5cc64fe18c89aa055d8

:)
ok - that feature: afair that feature exists to hide the outer tabs once you go into a nested StackPage. (there is no limit on two tabs or so) That was initially implemented for glappvisittooladmin (still testable there)

@thomasdax98 I just renamed the file or something. It was initially implemented by @nsams in e6cc5ed

:)
ok - that feature: afair that feature exists to hide the outer tabs once you go into a nested StackPage. (there is no limit on two tabs or so) That was initially implemented for glappvisittooladmin (still testable there)

@nsams I rephrased it to
https://github.com/vivid-planet/comet-admin/pull/620/files#diff-e9fd0ba5de0a403d13a2135433c3ac60a5fa2d04d9d6aa0354ee37434eae9953R30-R32

@thomasdax98 I believe forceRender prop also applies to "normal" tabs, for instance when using a form spread across multiple tabs. It would make sense to move the explanation of the prop to the tabs page.


Update to org.scala-sbt:util-logging 1.5.6 due to CVE

This project depends on org.scala-sbt:util-logging with 1.5.0 version but it has a dependency on a vulnerable version of log4j. The dependency should be updated to 1.5.6 (or later);
CVE-2021-44228

Released https://github.com/sbt/zinc/releases/tag/v1.5.8


feat: Add svelte/valid-context-access rule

close: https://github.com/sveltejs/eslint-plugin-svelte/issues/448

I realized that it’s impossible to check async/await things perfectly.
For example below case, it will be an error but I think it isn't easy to detect it by ESLint.
So my opinion is that we will mention this limitation on the docs and we don't check async/await things.
Or we don't implement this rule.
There may not be much value in the rule that includes this false negative.
What do you think @ota-meshi ?
<script>
import { setContext } from "svelte"
import someAsyncProcess from './outside'

someAsyncProcess(() => {
  setContext("answer", 42)
});

// outside.js
export async function someAsyncProcess(fn) {
  await Promise.resolve();
  fn();
}

Hmm. You're right, there are false negatives, but I don't think users will use setContext that way, so I don't think it matters much if it's not reported.
I think code like the following is a common mistake, so I think there's value in having it reported by a rule.
const something = async () => {
  await Promise.resolve()
  setContext("answer", 42)
}

The repository has been migrated to a monorepo.
I'm marking this as a draft because I think it requires major changes.
If anyone wants to implement this, feel free to open another PR.


Cannot find Spillo database

I'm using the demo, which only seems to be able to get 573 of my 2573 bookmarks, so two issues in the first session - not encouraging.

Same problem. Workflow was working before.


⚠ FASTRACK TOP10 has degraded performance

In 348bbbd, FASTRACK TOP10 (https://www.top10.co.nz) experienced degraded performance:

HTTP code: 200
Response time: 10124 ms

Resolved: FASTRACK TOP10 performance has improved in eba062f.


CovidBot project report docs

PR to merge CovidBot project report docs @BenQLange

Please remove the folder .jekyll-cache first before submitting your PR!


SearchResult is badly shaped

Description
The API is a bit weird when searching documents.
The C# api when searching returns an ISearchable<T> which is implemented by SearchResult<T> and by PaginatedSearchResult<T>.
The Meilisearch Server response has only one format according to the doc here : https://www.meilisearch.com/docs/reference/api/search#response
Is there any reason to have the C# client designed like this ?
This raise many issues :

As a client I'm expecting to have a real object and not an interface.
If the interface is the right way, how as a client am I supposed to upcast this to the right object in order to access all the fields ?

Expected behavior
The server is sending only one type of response, so we should only have a single object matching the response.
The interface  ISearchable<T>, the class PaginatedSearchResult<T> and the converter ISearchableJsonConverterFactory are not needed at all.
The  SearchResult<T> needs to be updated to support the Meilisearch response according to the doc.

Hi @juchom,
Thanks for raising this issue.
Currently, the API has two types of response depending on whether the documents are in paginated mode or not see doc. We wondered how to manage this case in the best way so that the user can easily use these two types of results and we have therefore managed this behavior by giving the possibility to retrieve two different types:
Default search:
{
	"hits": [
		...
	],
	"query": "a",
	"processingTimeMs": 3,
	"limit": 20,
	"offset": 0,
	"estimatedTotalHits": 12
}

Paginated search:
{
	"hits": [
		...
	],
	"query": "a",
	"processingTimeMs": 1,
	"hitsPerPage": 2,
	"page": 1,
	"totalPages": 6,
	"totalHits": 12
}

That's for the explanation. If you have a better alternative I'm all ears, knowing that your inputs are always very interesting and that we are open to any improvement to reduce user friction 😊

Thanks @alallema,
I double checked the api doc and see that both fields are present depending on how you query the server. I understand why you made this choice.
But I think, it's not a good decision, having to safely upcast an interface to its concrete implementation and then use this upcasted object is inefficient and the dev experience is not great.
According to the doc (even if it's not clear, you should add a column saying if the field in the response is optional, https://www.meilisearch.com/docs/reference/api/search#response), the api response are marking this fields as optional and this should be the same in C#.
The SearchResult<T> should contains all this properties as nullable properties and match the server contract.

I just checked your rust client and it's shaped with one model with optional properties :
https://github.com/meilisearch/meilisearch-rust/blob/fc1d41dbb1c03683cf49a44fdb7c9738b8b37d30/src/search.rs#L59-L86

I just checked your rust client and it's shaped with one model with optional properties :

Yes, the Golang too!

The SearchResult should contains all this properties as nullable properties and match the server contract.

It's very interesting, thank you. I agree with you in fact I think it would probably be easier to use with optional for the users

Hi @juchom, thanks for raising this topic with us!
The decision to use the interface was a no-brainer to me since it seems the correct way to map this type of API in a statically typed OOP language.
In fact, I didn't consider using the C# optionals. I probably didn't remember C# had it 😄.
Before committing to this breaking change, I would like to get more context about why this isn't good. Is this bad just because this is a library? And will it be harder to make things work if you have to cast the object?
Some usage examples:

https://github.com/meilisearch/meilisearch-dotnet/blob/main/tests/Meilisearch.Tests/SearchTests.cs#L90
https://github.com/meilisearch/meilisearch-dotnet/blob/main/tests/Meilisearch.Tests/SearchTests.cs#L76

Because to be honest, I think it is safer to have the type-casted object compared to the nullable version. Also, we could change even more the current responses, so adding more optionals will not be that interesting (the SearchResult object will be a God Object).

Hi @brunoocasali
The main reasons for this are :

Interfaces are not meant to be used like this. These objects have many properties in common, but they are just DTO. Hiding there structure behind an interface is not wise.
This library is a client for an api, as an end user I'm expecting to have a physical object matching what the server is sending.
What I found really akward is calling a method and the response can be of two types (which is actually not possible in C# to have the same signature and have different returns, this is why you used an interface)

I understand why you made this decision, but I think this client is not responsible for this kind of transformations.
As a end user I really expect to have an object that match the api response, other transformations / mapping can be done by the end user (by hand or using some libraries).

Also, we could change even more the current responses, so adding more optionals will not be that interesting (the SearchResult object will be a God Object).

If the api can send this fields, then the object receiving it is not supposed to lie and show them as optional to exactly match the api response.

Got it! Thanks for the reply!
Do you have some examples of other popular SDKs with the same type of implementation/behavior? I would like to have some examples to back the decision.

One more thing, this is not a class with logic inside, this is just a DTO. The god object problem does not really apply here.

I suggest either changing the interface the Dto, which won't be a breaking change if the Dto inherits from the interface.
or adding helper extension methods to cast the interface to the correct concrete types, e.g. .AsSearchResult(),.AsPaginatedSearchResult()

The method should map to only one object without inheritance.
This object is matching the spec of the api, what happened next is pure mapping and the responsability of the end user.
If you think that .AsSearchResult() and .AsPaginatedSearchResult() mapping helpers may be valuable for the developers, you could add them to the package.

I think it's better how the class is implemented in rust (actually it's called with the plural name, SearchResults).
I'm trying to figure out what's the best way to implement the ranking score field (#458) and I think it's better to have the Hit as a generic class (like the SearchResult class in the rust implementation)

i'm hoping to clarify this usage with an update to the documentation and code samples in PR #579
I use interfaces to handle cases like this somewhat frequently. Technically it can be done with without an interface, and just an inherited class, but I personally like to use the interface as it tends to hint that there are more options behind the interface.
var result = await index.SearchAsync<T>(...);
if (result is SearchResult<T> searchResult)
{
    //...
}

or
var result = await index.SearchAsync<T>(...);
if (result is PaginatedSearchResult<T> searchResult)
{
    //...
}


Add Egg Mock

Description
Add Egg Mock
Checklist
The following items should be checked before the pull request can be merged.

[x] Unit tests added.
[x] Code follows existing code format.

Info on creating a pull request

Make sure that unit tests are added which test the relevant changes.
Make sure that the changes follow the existing code format.

For maintainer
When a PR is approved, the maintainer should label this PR with release/*.

If the PR fixes a bug in MockBukkit, update the patch version. (if the current version is 0.4.1, the new version should be 0.4.2)
If the PR adds a new feature to MockBukkit, update minor version. (if the current version is 0.4.1, the new version should be 0.5.0)

Note that a PR that fixes an UnimplementedOperationException should be considered a new version and not a bugfix.

Can i work on this issue?


Published Cargo out of date? (undeclared identifier 'nullptr' when building)

Hi,
when I try to build with v0.7 as a dependency on my m1 Mac, I get errors about undeclared identifier 'nullptr':
[dependencies]
...
steamworks = "0.7.0"

robertpyke@Roberts-Mac-mini RustyTower % STEAM_SDK_LOCATION=~/Documents/dev/git/RustyTower/sdk/151 cargo build
   Compiling rusty-tower v0.1.0 (/Users/robertpyke/Documents/dev/git/RustyTower)
   Compiling steamworks-sys v0.7.0
error: failed to run custom build command for `steamworks-sys v0.7.0`

Caused by:
  process didn't exit successfully: `/Users/robertpyke/Documents/dev/git/RustyTower/target/debug/build/steamworks-sys-039c9649e303658a/build-script-build` (exit status: 101)
  --- stdout
  cargo:rustc-link-search=/Users/robertpyke/Documents/dev/git/RustyTower/sdk/151/redistributable_bin/osx
  cargo:rustc-link-lib=dylib=steam_api

  --- stderr
  /Users/robertpyke/Documents/dev/git/RustyTower/sdk/151/public/steam/steam_api_common.h:227:54: error: use of undeclared identifier 'nullptr'
  /Users/robertpyke/Documents/dev/git/RustyTower/sdk/151/public/steam/steam_api_common.h:227:63: error: use of undeclared identifier 'nullptr'
  /Users/robertpyke/Documents/dev/git/RustyTower/sdk/151/public/steam/steam_api_internal.h:87:11: error: use of undeclared identifier 'nullptr'
  /Users/robertpyke/Documents/dev/git/RustyTower/sdk/151/public/steam/steam_api_internal.h:88:11: error: use of undeclared identifier 'nullptr'
  /Users/robertpyke/Documents/dev/git/RustyTower/sdk/151/public/steam/steam_api_internal.h:147:12: error: use of undeclared identifier 'nullptr'
  /Users/robertpyke/Documents/dev/git/RustyTower/sdk/151/public/steam/steam_api_internal.h:147:31: error: use of undeclared identifier 'nullptr'
  /Users/robertpyke/Documents/dev/git/RustyTower/sdk/151/public/steam/steam_api_common.h:227:54: error: use of undeclared identifier 'nullptr', err: true
  /Users/robertpyke/Documents/dev/git/RustyTower/sdk/151/public/steam/steam_api_common.h:227:63: error: use of undeclared identifier 'nullptr', err: true
  /Users/robertpyke/Documents/dev/git/RustyTower/sdk/151/public/steam/steam_api_internal.h:87:11: error: use of undeclared identifier 'nullptr', err: true
  /Users/robertpyke/Documents/dev/git/RustyTower/sdk/151/public/steam/steam_api_internal.h:88:11: error: use of undeclared identifier 'nullptr', err: true
  /Users/robertpyke/Documents/dev/git/RustyTower/sdk/151/public/steam/steam_api_internal.h:147:12: error: use of undeclared identifier 'nullptr', err: true
  /Users/robertpyke/Documents/dev/git/RustyTower/sdk/151/public/steam/steam_api_internal.h:147:31: error: use of undeclared identifier 'nullptr', err: true
  thread 'main' panicked at 'Unable to generate bindings: ()', /Users/robertpyke/.cargo/registry/src/github.com-1ecc6299db9ec823/steamworks-sys-0.7.0/build.rs:49:10
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

If I then change that to use the git repo directly:
[dependencies]
...
steamworks = {git = "https://github.com/Noxime/steamworks-rs"}

the build passes without issue.
I also tried cloning this repo directly onto my machine and running the chat-example. That worked when referencing the git repo code, but hit the same issue when building against latest cargo release.
I just wanted to check if I'm missing something, or if the published cargo release just needs to be updated?

I've gone and updated crates to 0.8.0!


Docs - iam role support

Closes #7657
Included:

lakeFS Hadoop / spark usage
Server Configuration
General overview

@itaiad200 TYVM! Addresses all of your comments please re-review.

Thanks @itaiad200 (added lakefs-hadoop version update in the examples to the docs 0.2.4 was missing)


A problem was encountered while booting on a domestic cpu

blacksheep.server.routing.RouteDuplicate: Cannot register route pattern /index for GET more than once. This pattern is already registered for handler index.

Hi
This happens if you are trying to register a request handler for HTTP GET /index more than once. If you provide reproduction steps I can tell something more.


Revert "Add support for Process stdin stream"

Reverts apple/swift-tools-support-core#122, as I suspect it broke TSC tests on Linux.
The "close error" in this failed job points to this code: https://ci.swift.org/job/swift-PR-Linux-smoke-test/25345/console
We just vendored these changes into SwiftPM yesterday.

@swift-ci please test


tooltip-html does not work properly

Hi,
I have edited the plunker that i found in a previous example [https://github.com/angular-ui/bootstrap/issues/3821] according to what i actually needed, this works fine for me when i am using tooltip-html-unsafe. this is just a sample that i have added here but i wanted to do something like this.
http://plnkr.co/edit/16U6Nvdfx1fsnkJF8gLQ?p=preview

You must give to tooltip-html the result of applying $sce.trustAsHtml to your expression and then it works perfectly (exactly as when you want to use html in angular expression by the way).
There is no problem.

@frfancha is correct - here is an example of using tooltip-html, and using tooltip-template, which is what you really want in this case.

@wesleycho Thankyou but isn't is possible to use as inline expression rather using a different html template???

tooltip-html is for static content, while a template is for what you desire - one can manually insert that inline expression into $templateCache, but be sure to be careful about the HTML you insert to avoid XSS issues.


[GHSA-c74f-6mfw-mm4v] Denial of service via Compressed HTTP Bomb

Updates

Affected products
CVSS
Severity
Summary

Comments
Copying over the changes from https://github.com/open-telemetry/opentelemetry-collector/security/advisories/GHSA-c74f-6mfw-mm4v since https://github.com/advisories/GHSA-c74f-6mfw-mm4v seems to reflect an older state from the time we requested a CVE to be assigned by Github. In the meantime, we refined the CVSS score and updated the description multiple times but those changes were apparently not propagated to https://github.com/advisories/GHSA-c74f-6mfw-mm4v when we published it.

Hi there @7a and @arminru! A community member has suggested an improvement to your security advisory. If approved, this change will affect the global advisory listed at github.com/advisories. It will not affect the version listed in your project repository.
This change will be reviewed by our Security Curation Team. If you have thoughts or feedback, please share them in a comment here! If this PR has already been closed, you can start a new community contribution for this advisory


Add "name" property to the objects in the AdaptiveCard for easy deserialization

When using AdaptiveCard you either have the choice to

describe the card by code (which is absurd, if you have to describe columns and columnSets), or
to create it using the Visualizer in adaptivecards.io and in the text property of every object to create a custom convention and read the Json from your code, then string.replace the text property with the actual data

Instead you can add "name" prop to every object and deserialize it directly into object, then add values to the properties

Hi @vxnsbir1ugsp it seems you want to do some sort of "late binding", e.g. inject data into a template. If so, I think the string.replace approach you mention above is really not that bad.
That being said, we are adding an Id property to elements (and actions) and the renderer OM will make it possible to get to elements by Id. This work is tracked here: https://github.com/Microsoft/AdaptiveCards/issues/493
In the end, you will be able to write code like this (example using the TypeScript renderer):
var deserializedCard = JSON.parse("card payload as string");

var myCard = new AdaptiveCard();
myCard.parse(deserializedCard);

var element = myCard.getElementById("abc");
(<TextBlock>element).text = "whatever";

// Note that a card must always be fully re-rendered when element properties are changed
var renderedCard = myCard.render();

Is that what you are looking for?

Yes, thats what I mean, exactly!

Great! Can I ask which renderer(s) you are using or are planning to use?

As many as possible, starting with Skype and the not-so-sure-its-supported-now Cortana canvas

Duplicate of https://github.com/Microsoft/AdaptiveCards/issues/493

I can't find this extension method (that @dclaux proposed) in C#. Am I missing something?
var element = myCard.GetElementById("abc");


Add Danger support for PR checks

Per #941 and #954, need to add Danger support for auto-linting the PRs.
Take a look at https://danger.systems/ruby/ - Show me some dangerfiles (no link :) )
ToDos:

[ ] after adding xcconfig support, warn when someone tries to add settings to xcodeproj instead of xcconfig (basically shadowing the xcconfig).

Ideas aka to be discussed:

[ ] check on spaces in file names
[ ] check on files not added to all the CocoaLumberjack targets
[ ] check if PR is too big (more than x lines)

warn("Big PR, try to keep changes smaller if you can") if git.lines_of_code > 500

[ ] Changelog entries are required for changes to library files.
[ ] check when any of the package manifest(s) updated but not others (for example podspec changed)
[ ] run Swiftlint
...

@bpoplauschi check prose in PRs/commits/files.

#962 resolves most of the requirements here.
@lolgear I wasn't able to properly work with prose. Feel free to create a PR with this is you have the time and interest :)


load-aware: Install OCP pipelines during the cluster preparation

Start OCP pipeline install when running the load-aware scale test. Might need to add more to prepare and cleanup later for load-aware since this is difficult to test outside the CI environment.

test passed, merging :)

/test load-aware-light

/test load-aware-light


WIP: Refactor API Gateway to comply with new conventions

This PR,

reflect changes from https://github.com/observatorium/observatorium/pull/12
removes additional OpenShift template and reuses existing one to deploy API GW

Fixes #188
cc @brancz @squat @bwplotka

Related issue

Should we update the endpoints in configuration/tests/manifests/observatorium-up.yaml ?

@rollandf Thanks for pointing that out, I'll fix it as well.

Can we add some comments in there somewhere why we're adding the second querier? :) I think we've spoken about it offline but would be good if we documented it as a code comment or something.

@brancz  👍 I will. Thanks for reminding.

I guess I kind of missed the discussion around putting all components into the observatorium-template.yaml. We might want to discuss that, and if we want to have a gigantic one for a bunch of smaller ones before merging this PR, as I already started spreading out things before the end of the last year.

Fixmie seems stuck....


The requested module does not provide an export named 'default'

The requested module '/node_modules/mousetrap/mousetrap.js?v=953dd794' does not provide an export named 'default'

My info:
Windows 10,
SvelteKit

Created PR: https://github.com/Duder-onomy/svelte-focus-trap/pull/5/files

I run the project with the old sveltekit version, after upgrading with npm update and reinstalling svelte-focus-trap everything seems to work as excepted. Thank you for help and for the module, it's cool and very useful!
So, if you want to support older versions of sveltekit, you can merge my PR, however I would probably not do it, since everything's working fine for the last versions. But we could keep the PR and point to this conversation in case upgrading SvelteKit version for someone would not be an option. You could merge it then.


Enable the editor in Cluster Insights

The expectations is that you can create resources in Cluster Insights.
Currently, you need to go to the navigator to create resources.

[ ] It should be possible to create resources using templates and empty yaml and perform kubectl apply
[ ] It should be possible to modify and update resource.
[ ] When creating resources without storing them in a resource, the new resource will be identified as the one being created. Substituting the generated resource with the created resource

Related https://github.com/kubeshop/monokle/issues/3397 https://github.com/kubeshop/monokle/issues/3399 https://github.com/kubeshop/monokle/issues/3400

@chargio Can we split this into separate issues for creating resources and editing existing ones?

Yes


Contributing, and the Database

Firstly, @TheBeastLT, thank you for developing and hosting such a wonderful project.
The community thrives because of you, and many of us would love to give back by contributing to the project. While this is very possible, the (understandably) locked-down database makes it challenging to test changes.
Since the DB is private for DMCA reasons, how about releasing an extremely cut down version with only a few public domain titles? You could even just do 1 movie and 1 series, like 'The Kid' (tt0012349) & 'The Beverly Hillbillies' (tt0055662) ONLY Season 1 + 2. That way, devs have a way to test on both media types.
Please consider! I'd be happy to make docs and whatnot to facilitate contribution, this project has potential like no other!

Hi, due to the nature of this addon I'm not seeking community help on expanding it's functionality (since it's pretty much stable feature wise). Because of this available features are heavily opinionated and should be as simple as possible (that's one the the key points of stremio)


Possibility to test directives against running backend (Directive Integration Test)

Hi,
we would like to have the possibility do test a directive against a running backend.
Our usecase is the following:
A Directive receives JSON data from the backend which should be displayed to the user (e.g. a person).
We would like to test, that the person data binding works as expected: For example the backend sends a person.name and the directive should display the name.
An example pseudo code:
it("name should be shown", function(done){
  var element = createDirective("<person/>");
  notifyWhenNoOutstandingRequests(function(){
    expect(element.find(".name")).to.have.text("test name");
    done():
  }):
});

We don't want to use E2E/Protractor tests, because we are only interested in a single directive (and E2E tests are much slower than Unit-Tests), but we need to communicate with the server (real http requests) to verify the expectations of the directive regarding the data format are met.
Do you understand our intention and find it useful? If so we would happily provide a pull requests to make this kind of test possible. Currently we use a hacky patch of angular-mocks.
Regards,
Andi

Now that #13124 has been merged into master, you might be able to do exactly what you want.
As discussed several times, we don't want to go to great extends enabling unit-tests to access the backend, since this against the nature of unit tests.
Argueably, there is still room for a "middle" testing layer - integration tests if you will (somethin between unit and e2e tests) - but at the moment, there is no built-in, dedicated testing module for that. Hopefully, #13124 will be enough though :smiley:


[JAST-026] GUI Components Refactor

Extract pieces of the JAST GUI code into separate classes (components) which can be leveraged in the GUI controller.
The purpose of this is to make the code easily extensible and shorter/single purpose.

done


use cidr_block_associations to add additional cidr_blocks to the routes

what
AWS provided the ability to extend VPCs with secondary CIDRs
https://aws.amazon.com/about-aws/whats-new/2017/08/amazon-virtual-private-cloud-vpc-now-allows-customers-to-expand-their-existing-vpcs/
why
This pull request enables users to add all the CIDRs (primary and secondaries) to the created route tables.
https://www.terraform.io/docs/providers/aws/d/vpc.html#cidr_block-1

thanks @yudiandreanp ! we'll take a look. btw, have you seen our slack team? join us here! https://slack.cloudposse.com/

@aknysh
Yep, we already used it on AWS.
Turns out that the last newline is needed in the .tf file.
Should be okay now!

thanks @yudiandreanp


volumes show usage 0B

cloudctl volume ls
always shows usage as 0B

and this clearly can't be correct either ;-)
cloudctl volume ls -o json
[...]
"Size":<PHONE_NUMBER>00,
"State": "Available",
"Statistics": {
"CompressionRatio": 0,
"LogicalUsedStorage": 0,
"PhysicalUsedStorage":<PHONE_NUMBER>56
},

Hi @fireba11,
Thanks for the BUG report, to nail down your problem, can you please give me the volume uuid (first column), thanks

Example: 3954a77f-1ceb-4acc-80b8-f00807bfda90
Note: storage-class is partiton-silver

Seems to be a issue based on your rights, will all rights i get:
   "...",
    "ProjectID": "39fe6144-d0d1-4cd2-a2a4-831672257ae7",
    "ProtectionState": "FullyProtected",
    "ReplicaCount": 2,
    "Size":<PHONE_NUMBER>,
    "State": "Available",
    "Statistics": {
        "CompressionRatio": 0.04077325097705375,
        "LogicalUsedStorage": 105852928,
        "PhysicalUsedStorage": 4315968
    },
    "StorageClass": "partition-silver",
    "...",

Will keep you updated

Seems to be a issue based on your rights, will all rights i get:
   "...",
    "ProjectID": "39fe6144-d0d1-4cd2-a2a4-831672257ae7",
    "ProtectionState": "FullyProtected",
    "ReplicaCount": 2,
    "Size":<PHONE_NUMBER>,
    "State": "Available",
    "Statistics": {
        "CompressionRatio": 0.04077325097705375,
        "LogicalUsedStorage": 105852928,
        "PhysicalUsedStorage": 4315968
    },
    "StorageClass": "partition-silver",
    "...",

Will keep you updated

OK, access to CompressionRatio and LogicalUsedStorage is only provided for Users with highest privileges, e.g. only Storage Admins. Size and PhysicalStorageUsed is visible to end users. If this is not the case in your case, this must be an frontend issue.
So please ensure you have the latest version of cloudctl installed. You can always check with:
cloudctl update check

and update if required with:
cloudctl update do

got the latest version :-)

But according to your json output above, size is shown !

Fix was on the wrong side, must be fixed on server side.

new cloud-api with a fix is deployed, please recheck and close if possible

okay, now i get
"ProjectID": "39fe6144-d0d1-4cd2-a2a4-831672257ae7",
"ProtectionState": "FullyProtected",
"ReplicaCount": 2,
"Size":<PHONE_NUMBER>00,
"State": "Available",
"Statistics": {
"CompressionRatio": 0,
"LogicalUsedStorage":<PHONE_NUMBER>48,
"PhysicalUsedStorage": 0
},
so i see logical instead of physical and get a used value that seems correct with
cloudctl volume ls
so i guess it's working as inteded now? :-)

please close this issue if you don't mind


Support Unicode for text data types

I ran into a problem in one of my projects that requires me to handle Unicode strings correctly. The list_to_binary/1 BIF CQErl is currently using throws a badarg on any strings containing non-ASCII characters. Using characters_to_binary/1 and characters_to_list/1 from the unicode module is more appropriate when the Cassandra datatype is right.

@portasynthinca3 thank you for this!
Have you had the chance to run the test suite on it?

Sorry to tell you, but it seems to fail -
{{badmatch,"hello"},
 [{integrity_SUITE,simple_insertion_roundtrip,1,
                   [{file,"/home/portasynthinca3/cqerl/test/integrity_SUITE.erl"},
                    {line,268}]},
  {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1748}]},
  {test_server,run_test_case_eval1,6,[{file,"test_server.erl"},{line,1263}]},
  {test_server,run_test_case_eval,9,[{file,"test_server.erl"},{line,1195}]}]}

In this function:
simple_insertion_roundtrip(Config) ->
    Client = get_client(Config),
    Q = <<"INSERT INTO entries1(id, age, email) VALUES (?, ?, ?)">>,
    {ok, void} = cqerl:run_query(Client, #cql_query{statement=Q, values=[
        {id, "hello"},
        {age, 18},
        {email<EMAIL_ADDRESS>    ]}),
    {ok, Result=#cql_result{}} = cqerl:run_query(Client, #cql_query{statement = <<"SELECT * FROM entries1;">>}),
    Row = cqerl:head(Result),
    <<"hello">> = proplists:get_value(id, Row), % <--- here
                                                % the modified "decode" evaluates to a list, not a binary
    18 = proplists:get_value(age, Row),
<EMAIL_ADDRESS>= proplists:get_value(email, Row),
    Result.

characters_to_binary/`` instead of characters_to_list/1` might actually be better

Thanks, I went ahead and did that, along with other fixes and published the next stable version: 2.1.0. Thanks a lot again for your contribution!

No problem, thank you for writing the original driver!


⚠ Bofrost.es has degraded performance

In afabcc9, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1711 ms

Resolved: Bofrost.es performance has improved in 92af2da after 8 minutes.


CI flake : error starting VM "k8s1-1.7": exit status 1

https://jenkins.cilium.io/job/cilium-ginkgo/job/cilium/job/v1.0/1/execution/node/59/log/
Observed in k8s1.7
08:14:00 • Failure in Spec Setup (BeforeEach) [38.970 seconds]
08:14:00 K8sValidatedTunnelTest [BeforeEach]
08:14:00 /home/jenkins/workspace/cilium-ginkgo_cilium_v1.0-LNG25HX63RBFF2GZYUW3DR33ALNHSMGFLQ2PFA4FPYQBW3DSZEJA/src/github.com/cilium/cilium/test/ginkgo-ext/scopes.go:238
08:14:00   Check VXLAN mode
08:14:00   /home/jenkins/workspace/cilium-ginkgo_cilium_v1.0-LNG25HX63RBFF2GZYUW3DR33ALNHSMGFLQ2PFA4FPYQBW3DSZEJA/src/github.com/cilium/cilium/test/ginkgo-ext/scopes.go:270
08:14:00
08:14:00   error starting VM "k8s1-1.7": exit status 1
08:14:00
08:14:00   /home/jenkins/workspace/cilium-ginkgo_cilium_v1.0-LNG25HX63RBFF2GZYUW3DR33ALNHSMGFLQ2PFA4FPYQBW3DSZEJA/src/github.com/cilium/cilium/test/test_suite_test.go:176
08:14:00 ------------------------------
08:14:00 SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS
08:14:00
08:14:00 Summarizing 1 Failure:
08:14:00

@eloycoto :Might be related to https://github.com/kubernetes/kubeadm/issues/292

Full log of the provisioning of the VM which failed (in case the build gets garbage collected by Jenkins, as we do not preserve all builds anymore):
08:13:28 K8sValidatedTunnelTest
08:13:28   Check VXLAN mode
08:13:28   /home/jenkins/workspace/cilium-ginkgo_cilium_v1.0-LNG25HX63RBFF2GZYUW3DR33ALNHSMGFLQ2PFA4FPYQBW3DSZEJA/src/github.com/cilium/cilium/test/ginkgo-ext/scopes.go:270
08:13:28 time="2018-04-05T08:13:21Z" level=info msg="Vagrant: running command 'vagrant status k8s1-1.7 --machine-readable'"
08:13:28 time="2018-04-05T08:13:22Z" level=info msg="Vagrant:Create: running 'vagrant provision k8s1-1.7'"
08:13:28 time="2018-04-05T08:13:22Z" level=info msg="Vagrant: running command 'vagrant provision k8s1-1.7'"
08:13:28 ==> k8s1-1.7: Running provisioner: shell...
08:13:28     k8s1-1.7: Running: inline script
08:13:28 ==> k8s1-1.7: Running provisioner: file...
08:13:28 ==> k8s1-1.7: Running provisioner: shell...
08:13:28     k8s1-1.7: Running: /tmp/vagrant-shell20180405-20549-jmrztf.sh
08:13:28     k8s1-1.7: updating /etc/resolv.conf
08:13:28     k8s1-1.7: beginning trying up to 10 times function "wget https://packages.cloud.google.com/apt/doc/apt-key.gpg"
08:13:28     k8s1-1.7: ***************************************
08:13:28     k8s1-1.7: *
08:13:28     k8s1-1.7: *
08:13:28     k8s1-1.7: * on attempt 0 of function "wget https://packages.cloud.google.com/apt/doc/apt-key.gpg"
08:13:28     k8s1-1.7: *
08:13:28     k8s1-1.7: *
08:13:28     k8s1-1.7: ***************************************
08:13:28     k8s1-1.7: --2018-04-05 08:13:25--  https://packages.cloud.google.com/apt/doc/apt-key.gpg
08:13:28     k8s1-1.7: Resolving packages.cloud.google.com (packages.cloud.google.com)...
08:13:28     k8s1-1.7: <IP_ADDRESS>, 2607:f8b0:4005:808::200e
08:13:28     k8s1-1.7: Connecting to packages.cloud.google.com (packages.cloud.google.com)|<IP_ADDRESS>|:443...
08:13:28     k8s1-1.7: connected.
08:13:28     k8s1-1.7: HTTP request sent, awaiting response...
08:13:28     k8s1-1.7: 200 OK
08:13:28     k8s1-1.7: Length: 1326 (1.3K) [application/octet-stream]
08:13:28     k8s1-1.7: Saving to: 'apt-key.gpg'
08:13:28     k8s1-1.7:
08:13:28     k8s1-1.7:      0K .                                                     100%
08:13:28     k8s1-1.7:  43.0M=0s
08:13:28     k8s1-1.7: 2018-04-05 08:13:25 (43.0 MB/s) - 'apt-key.gpg' saved [1326/1326]
08:13:28     k8s1-1.7: running of "wget https://packages.cloud.google.com/apt/doc/apt-key.gpg" successful
08:13:28     k8s1-1.7: Warning: apt-key output should not be parsed (stdout is not a terminal)
08:13:28     k8s1-1.7: OK
08:13:28     k8s1-1.7: Hit:1 https://download.docker.com/linux/ubuntu artful InRelease
08:13:28     k8s1-1.7: Hit:3 http://archive.ubuntu.com/ubuntu artful InRelease
08:13:28     k8s1-1.7: Get:4 http://archive.ubuntu.com/ubuntu artful-updates InRelease [81.7 kB]
08:13:28     k8s1-1.7: Get:5 http://security.ubuntu.com/ubuntu artful-security InRelease [78.6 kB]
08:13:28     k8s1-1.7: Get:2 https://packages.cloud.google.com/apt kubernetes-xenial InRelease [8,993 B]
08:13:28     k8s1-1.7: Get:6 http://archive.ubuntu.com/ubuntu artful-backports InRelease [72.2 kB]
08:13:29     k8s1-1.7: Get:7 http://archive.ubuntu.com/ubuntu artful-updates/universe i386 Packages [104 kB]
08:13:29     k8s1-1.7: Get:8 http://archive.ubuntu.com/ubuntu artful-updates/universe amd64 Packages [105 kB]
08:13:32     k8s1-1.7: Fetched 441 kB in 0s (544 kB/s)
08:13:32     k8s1-1.7: Reading package lists...
08:13:33     k8s1-1.7: Reading package lists...
08:13:33     k8s1-1.7: Building dependency tree...
08:13:33     k8s1-1.7: Reading state information...
08:13:33     k8s1-1.7: The following NEW packages will be installed:
08:13:33     k8s1-1.7:   kubeadm kubectl kubelet kubernetes-cni
08:13:33     k8s1-1.7: 0 upgraded, 4 newly installed, 0 to remove and 70 not upgraded.
08:13:33     k8s1-1.7: Need to get 45.1 MB of archives.
08:13:33     k8s1-1.7: After this operation, 333 MB of additional disk space will be used.
08:13:33     k8s1-1.7: Get:1 https://packages.cloud.google.com/apt kubernetes-xenial/main amd64 kubernetes-cni amd64 0.5.1-00 [5,560 kB]
08:13:34     k8s1-1.7: Get:2 https://packages.cloud.google.com/apt kubernetes-xenial/main amd64 kubelet amd64 1.7.15-00 [19.6 MB]
08:13:36     k8s1-1.7: Get:3 https://packages.cloud.google.com/apt kubernetes-xenial/main amd64 kubectl amd64 1.7.15-00 [10.1 MB]
08:13:37     k8s1-1.7: Get:4 https://packages.cloud.google.com/apt kubernetes-xenial/main amd64 kubeadm amd64 1.7.15-00 [9,792 kB]
08:13:37     k8s1-1.7: dpkg-preconfigure: unable to re-open stdin: No such file or directory
08:13:37     k8s1-1.7: Fetched 45.1 MB in 3s (11.4 MB/s)
08:13:37     k8s1-1.7: Selecting previously unselected package kubernetes-cni.
08:13:37     k8s1-1.7: (Reading database ...
08:13:37     k8s1-1.7: (Reading database ... 5%
(Reading database ... 10%
08:13:37     k8s1-1.7: (Reading database ... 15%
(Reading database ... 20%
08:13:37     k8s1-1.7: (Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
08:13:37     k8s1-1.7: (Reading database ... 55%
08:13:37     k8s1-1.7: (Reading database ... 60%
08:13:37     k8s1-1.7: (Reading database ... 65%
08:13:37     k8s1-1.7: (Reading database ... 70%
08:13:37     k8s1-1.7: (Reading database ... 75%
08:13:37     k8s1-1.7: (Reading database ... 80%
08:13:37     k8s1-1.7: (Reading database ... 85%
08:13:37     k8s1-1.7: (Reading database ... 90%
08:13:38     k8s1-1.7: (Reading database ... 95%
08:13:38     k8s1-1.7: (Reading database ... 100%
(Reading database ... 133557 files and directories currently installed.)
08:13:38     k8s1-1.7: Preparing to unpack .../kubernetes-cni_0.5.1-00_amd64.deb ...
08:13:38     k8s1-1.7: Unpacking kubernetes-cni (0.5.1-00) ...
08:13:38     k8s1-1.7: Selecting previously unselected package kubelet.
08:13:38     k8s1-1.7: Preparing to unpack .../kubelet_1.7.15-00_amd64.deb ...
08:13:38     k8s1-1.7: Unpacking kubelet (1.7.15-00) ...
08:13:42     k8s1-1.7: Selecting previously unselected package kubectl.
08:13:42     k8s1-1.7: Preparing to unpack .../kubectl_1.7.15-00_amd64.deb ...
08:13:42     k8s1-1.7: Unpacking kubectl (1.7.15-00) ...
08:13:43     k8s1-1.7: Selecting previously unselected package kubeadm.
08:13:43     k8s1-1.7: Preparing to unpack .../kubeadm_1.7.15-00_amd64.deb ...
08:13:43     k8s1-1.7: Unpacking kubeadm (1.7.15-00) ...
08:13:45     k8s1-1.7: Setting up kubernetes-cni (0.5.1-00) ...
08:13:45     k8s1-1.7: Setting up kubelet (1.7.15-00) ...
08:13:45     k8s1-1.7: Created symlink /etc/systemd/system/multi-user.target.wants/kubelet.service -> /lib/systemd/system/kubelet.service.
08:13:45     k8s1-1.7: Setting up kubectl (1.7.15-00) ...
08:13:45     k8s1-1.7: Setting up kubeadm (1.7.15-00) ...
08:13:47     k8s1-1.7: Created symlink /etc/systemd/system/multi-user.target.wants/sys-fs-bpf.mount -> /etc/systemd/system/sys-fs-bpf.mount.
08:13:47     k8s1-1.7: [kubeadm] WARNING: kubeadm is in beta, please do not use it for production clusters.
08:14:00     k8s1-1.7: unable to get URL "https://storage.googleapis.com/kubernetes-release/release/stable-1.7.txt": Get https://storage.googleapis.com/kubernetes-release/release/stable-1.7.txt: dial tcp [2607:f8b0:4005:808::2010]:443: connect: network is unreachable
08:14:00 The SSH command responded with a non-zero exit status. Vagrant
08:14:00 assumes that this means the command failed. The output for this command
08:14:00 should be in the log above. Please read the output to determine what
08:14:00 went wrong.

This is a connectivity issue from vagrant instance to Google container registry. Happens time to time, not sure if it's something with packet.net or Google, I use to close this kind of issues.

@eloycoto Can't we try a couple times on this kind of operations?

This is a process in every build, so it's already tested. In the other hand, kubeadm already retry a few times, we had seen this when we tested the alpha and beta versions.

Reducing priority on this as this isn't a Cilium bug.

Not really sure what we can do here apart from retrying; this isn't a Cilium bug. I'm closing this as we need to focus on triaging Cilium issues as opposed to spurious network problems which could be on the baremetal boxes, on the servers hosting the binaries, etc.


Performance issues after new rendering engine added

Since google have deprecated v3.31 we have been forced to use v3.33 of their javascript api, this is causing major issues with large sets of clusters using both markerclusterer and markerclustererplus. Id suspect it has something to do with the new rendering engine, but this is a serious issue for us as we now have the issue in production environments.
Any ideas?

Hey guys, anyone else experiencing severe performance issues with the markerclusterer plugin since the upgrade to 3.33? Exact same code as before but now can take up to a minute to re-draw the clusters after zooming in or out.

I use MarkerClustererPlus every day with the latest experimental release of GM and have not noticed a slowdown. Try it yourself at map.garylittle.ca

I have no complains neither when using MarkerClustererPlus with version 3.33

I am not able to render 3000+ markers even with MarkerClusterer, the map is just too slow to pan and zoom.


CLI index: fix exception when determining the length of the last WARC record

Use tell() on underlying stream (instead of fastwarc stream_io reader) to determine the file offset after last WARC record has been read. Fixes the following exception which also causes that the last WARC record is not indexed:
Traceback (most recent call last):
  File "/usr/local/bin/fastwarc", line 8, in <module>
    sys.exit(main())
  ...
  File "/usr/local/lib/python3.10/dist-packages/fastwarc/cli.py", line 283, in index
    _index_record(output, fields, preserve_multi_header, prev_record, prev_record.reader.tell(), infile)
  File "fastwarc/warc.pyx", line 704, in fastwarc.warc.WarcRecord.reader.__get__
  File "fastwarc/warc.pyx", line 491, in fastwarc.warc.WarcRecord._assert_not_stale
fastwarc.stream_io.ReaderStaleError: Reader is stale. Use freeze() if you want to retain record payload.

Thanks. There is a test failure in the Windows build, but it seems unrelated. I triggered the build again, let's see.

Seems like there were some changes in the uchardet library on Windows.


Improve URL Encoding of Path Component

The example at https://uri.thephpleague.com/uri/6.0/rfc3986/#uri-normalization shows how Uri::createFromString() can be used to normalize URLs:
$uri = Uri::createFromString(
    "hTTp://www.ExAmPLE.com:80/hello/./wor ld?who=f 3#title"
);
echo $uri; //displays http://www.example.com/hello/./wor%20ld?who=f%203#title

Unfortunately, the actual output is not the same as the documented output:

Documented
http://www.example.com/hello/./wor%20ld?who=f%203#title
Actual
http://www.example.com/hello/./wor ld?who=f%203#title

(Note the unencoded whitespace in the path component and the correctly encoded query component of the actual output.)
This is caused by some unwanted escaping in URI::formatPath()'s regex: https://github.com/thephpleague/uri/blob/1d6a34732d9fc30de27577a7c4129f2d9a3221cc/src/Uri.php#L975
(It should read | instead of \|.)
This PR corrects that regex and adds a test case.
Unfortunately, that regex change broke another test: one concerning a Windows path syntax I have not encountered before: C| instead of the more common C:. To fix that test, I've changed how Uri::formatFilePath() works, but, being unfamiliar with the syntax, I'm not sure if I've actually fixed the underlying problem or if I've just done enough to pass the existing tests. (Also, the changes I made there are a bit ugly :)).

@mdawaffe Thanks for the PR ... at first glance I don't see any issue.
You can already add the fix in the CHANGELOG.md and don't forget to mention yourself 👍
Once this is done I'll merge the work and release the patch version 😉

@nyamsprod, I took a shot at updating the changelog. I made up a date :) Please edit/reformat/whatever anything you want!

Cool thanks again I'll merge this PR and try to release a patch version this weekend or worse case scenario next monday 👍

Awesome - thanks!

version 6.4.0 is released with your patch ... 💯  🎉

Great - thanks!


Uncaught TypeError: options.icon.slice is not a function: new L.AwesomeMarkers.icon do not work on startIcon and endIcon

Currently if we want to use L.AwesomeMarkers.icon it will not work as the error Uncaught TypeError: options.icon.slice is not a function is being triggered
      const options = {
        async: true,
        markers: {
          startIcon: 'leaf-green.png',
          endIcon: new L.AwesomeMarkers.icon({
            icon: 'coffee',
            prefix: 'fa',
            markerColor: 'green',
            iconColor: 'yellow',
          }),
        },
        polyline_options: { color: 'red' },
      };

FIX: Here is the example of the entire project that will work: https://github.com/SubiNesa/gpx/blob/main/leaflet-gpx.html
The only change done is here https://github.com/SubiNesa/gpx/blob/main/gpx.js#L470 compared to https://github.com/mpetazzoni/leaflet-gpx/blob/main/gpx.js#L304

https://github.com/mpetazzoni/leaflet-gpx/compare/main...SubiNesa:leaflet-gpx:patch-1

Thanks @SubiNesa for reporting and for the fix in #162!

@ward Hi! Are you saying the fix for this created a new bug? Or that this also fixes the bug you're talking about?

Apologies for not being clear enough. This fix also fixed my DivIcon problem, I commented in case someone searches the issue tracker for that particular problem.


SQL 2014 Remote Install into Hyper-V Guest with boxstarter task has exceeded its timeout with no activity

Hi,
I'm using this Gist : https://gist.github.com/johnkattenhorn/cc77c268a713a029aa15#file-testsql2014express-ps1
NOTE: This is no longer using SQL Express as the SQL2014Express setup has an issue which results in not being able to find the SKU when run using boxstarter remotely :-)
The setup seems to be running fine on the guest until this message appears on the HostMachine (which I'm running the boxstarter script from).
Task has exceed it's timeout with no activity. Killing Task ...
Is there a way to override the timeout value ?
Thanks
John

OK I think I've resolved this by using Invoice-Task instead of Install-ChocolateyInstallPackage, I'll leave the gist behind in case anyone else finds it useful.


style: prefer-const

Current coverage is 97.40% (diff: 100%)

Merging #31 into master will not change coverage

@@             master        #31   diff @@
==========================================
  Files             2          2
  Lines            77         77
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits             75         75
  Misses            2          2
  Partials          0          0

Powered by Codecov. Last update 45c1596...414f043


Update binary_transform.py

commutative SubtractNumeric and DivideNumeric

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Thrift-5296 Fix Download fail in the appveyor

[x] Did you create an Apache Jira ticket?  (not required for trivial changes)
[x] If a ticket exists: Does your pull request title follow the pattern "THRIFT-NNNN: describe my issue"?
[x] Did you squash your changes to a single commit?  (not required, but preferred)
[ ] Did you do your best to avoid breaking changes?  If one was needed, did you label the Jira ticket with "Breaking-Change"?
[ ] If your change does not involve any code, include [skip ci] anywhere in the commit message to free up build resources.

If no objection is raised to this fix within 10 days, I will merge this PR.

merge in advance.


Templates page issues

[ ] 1. Create a template, users are able to create a new  template by just filling up the template name

[ ] 2. On the template detail page, template name does not wrap around to fit the screen if its text is too long

[ ] 3. On the template detail page, seems there is no description displayed on the page?

[ ] 4. On the template detail page, is not necessary to have the version dropdown selectable

[ ] 5. On the template detail page, is not necessary to have the ellipsis button available

[ ] 6. On the template detail page, is not necessary to have the checkbox available

[ ] 7. Sort by state could cause the page to jam

case 4、 case 5 are normal

Validated


Object doesn't support property or method 'CHECK'

When trying to print in windows application getting the error 'Object doesn't support property or method 'chcek''
this issue does not appear version 0.7.3
cli packages: (C:\Users\hi\AppData\Roaming\npm\node_modules)
@ionic/cli-utils  : 1.19.2
ionic (Ionic CLI) : 3.20.0

global packages:
cordova (Cordova CLI) : not installed

local packages:
@ionic/app-scripts : 3.2.1
Cordova Platforms  : windows 5.0.0
Ionic Framework    : ionic-angular 3.9.2

System:
Node : v8.14.1
npm  : 6.5.0
OS   : Windows 10

Environment Variables:
ANDROID_HOME : not set

Misc:
backend : pro

Can you please provide a code snippet and are you using any plugin wrapper provided by Ionic?

My typescript
public print(){
  this.printer.isAvailable()
  .then(success => {
    let receiptno = 1603001;
    let header = '
Receipt No : ' +receiptno + '\t\tTable No : ' + this.tblno +'
'
    let shop = '
 Testing SHop

 No 3 , Mohamed pura
 Salem
'
    let datafull = header + '
' + shop
    this.printer.print(datafull)
    .then(data => {
        console.log('printing done successfully')
    })
  })
  .catch(data => {
    console.log('printer error ',data)
    console.log('printer not available')
  })

my html file
<ion-col >
      <button class="foot" ion-button icon-right (click)="print()" >
      <ion-icon name="print">PRINT</ion-icon>
    </button>
  </ion-col>

sorry can let me know which kind of plugin wrapper

The issue is that you are using the Ionic wrapper which is made for cordova-plugin-printer v0.7.x but under the hood you're using v0.8. For example there's no isAvailable method anymore.

I tried updated the plugin to version 0.8 . Below is my code. I am not able to use the options. Below is my code
public print(){
  var options = {
    monochrome: true
  }
     let receiptno = 1603001;
     let header = '
Receipt No : ' +receiptno + '\t\tTable No : ' + this.tblno +'
'
     let shop = '
 Testing SHop

strreet 1
 OS
'
     let datafull = header + '
' + shop
    .then(data => {
        console.log('printing done successfully')
    })
  .catch(data => {
    console.log('printer error ',data)
    console.log('printer not available')
    this.common.showLoading()
    this.common.showError(data)
  })
}

I am getting the below error
Type '{ monochrome: boolean; }' has no properties in common with type 'PrintOptions'.
I tried uninstalling the plugin and installed the new version. Still i am getting only the PICK,CHECK,ISAVAILABLE and PIRNT sub modules under printer plugin.
my congif file show versio 0.8
 <plugin name="cordova-plugin-printer" spec="^0.8.0" />


updated

Module: 00
Lab/Demo: 00
Fixes # .
Changes proposed in this pull request:

reviewedd and approving the merge


feat: merkle tree verification

Here is an example of how to use Merkle Trees with pedersen hash.

@ermvrs What is the state of this PR?


[11.x] Allow to remove scopes from BelongsToMany relation

As @ccharz discovered here, after changes which came with #50849 relation is not able to remove global scopes when it should.
Fixes: #50945
@tpetry FYI

Heya! We were having some failures in the testsuite at the base branch. Could you rebase this PR, make sure tests pass and mark for review again? Thanks!


Tooltip on button problem

[1.9.5] Have a button with standard tooltip:
<Button @onclick="()=>OnEditList(context)" Size="Size.Small" TooltipTitle="Test"><Icon Name="IconName.ListOl" /></Button>

When I press the button, another grid replace the current one, but the old tooltip remains stucked in page:

Even if I completely route on another page, the tooltip is here:

The only way to get rid of it is to refresh (F5) the app.
Severity: tooltips on buttons cannot be used.

I have the same issue. It is also present when the Button is within a Tooltip component.
For example:
<Tooltip Title="Neuer Standort">
	<Button Color="ButtonColor.Success" @onclick="() => {}" >
		<Icon Name="IconName.Plus" Size="IconSize.x5" />
	</Button>
</Tooltip>

It's also present in the tooltip demos: https://demos.blazorbootstrap.com/buttons

I've did some testing and disposing and updating the tooltip within the onclick event fixes this issue for me. Not sure if there is a more elegant solution.
Within Button and Tooltip component
protected virtual async Task OnClickAsync()
    {
        await JS.InvokeVoidAsync("window.blazorBootstrap.tooltip.dispose", ElementRef);
        await JS.InvokeVoidAsync("window.blazorBootstrap.tooltip.update", ElementRef);
    }

And added the handler to the link, button and span.
@onclick="OnClickAsync"

But this is definately a bug.

Thanks for the workaround, but JS interop is too much for this... 😅
Waiting for official fix (not urgent)... 👍

@LucaCris @MarvinKlein1508 I'm not able to reproduce this issue.
<Grid TItem="Employee1"
      Class="table table-hover table-bordered table-striped"
      DataProvider="EmployeesDataProvider"
      AllowPaging="true"
      PageSize="5"
      Responsive="true">

    <GridColumn TItem="Employee1" HeaderText="Id">
        @context.Id
    </GridColumn>
    <GridColumn TItem="Employee1" HeaderText="Employee Name">
        @context.Name
    </GridColumn>
    <GridColumn TItem="Employee1" HeaderText="Designation">
        @context.Designation
    </GridColumn>
    <GridColumn TItem="Employee1" HeaderText="DOJ">
        @context.DOJ
    </GridColumn>
    <GridColumn TItem="Employee1" HeaderText="Active">
        @context.IsActive
    </GridColumn>
    <GridColumn TItem="Employee1" HeaderText="Action">
        <Button Color="ButtonColor.Primary" TooltipTitle="Edit Employee"> Edit </Button>
    </GridColumn>

</Grid>

https://github.com/vikramlearning/blazorbootstrap/assets/2337067/2a4ca408-fe1d-4caf-9c5b-1b501d2b1d5b

@LucaCris Please share a sample GitHub repo with minimal repro steps.

@gvreddy04 you can reporduce the issue when you exhcange the content, in this case the table, with another content.
For example when you have class which is initiliazed to null you display a table with items. When you click the button you assign the current object from this row to the object and then exchange the table with another view of the object. But you can also see in your video that the tooltip does not close itself onclick.

Or a more simple use case. You have a button with a tooltip which triggers a redirection.


I’m stuck in a problem and your documentation doesn’t help me anymore, so I felt free to write you.
I hope that’s ok for you. I would really appreciate to hear from you. So, what’s it all about?
I set up a store and synched it like this:
const teststore = new Store();
const synched = {};
const fetchedData = fetch('http://localhost:3000/xxxxxxxxxxx',
{
method: 'GET',
headers: {
'xxxxxx': xxxxxxxxxx
}
})
.then((response) =>
response.json()
)
.then((json) => {
Object.assign(synched, json.data);
})
.catch((error) =>
console.log('Error while fetching events')
);
const User = teststore.sync(synched);
console.log(User);
But at the bottom, the logged User is an empty Array. Why?
Can you help me with that?
I’m looking forward to hear from you!

Hi Lance,
Your code seems fine. Can you attach the response that doesn't work?
P.s. You could also use teststore.fetch or teststore.fetchAll to load the data directly into the store without using fetch and sync directly. This is not an issue here, just a suggestion.

Object {data: Object}
data
:
Object
attributes
:
Object
email
:
<EMAIL_ADDRESS>type
:
"Customer"
__proto__
:
Object
id
:
"1"
type
:
"customers"
__proto__
:
Object
__proto__
:
Object

Oh, I missed one thing when I initially looked at your code:
You're syncing the synched variable to the store right away, but it's still empty at that point. You need to call the sync method once the data was fetched from the server:
const teststore = new Store();
const fetchedData = fetch('http://localhost:3000/xxxxxxxxxxx',
    {
        method: 'GET',
        headers: {
            'xxxxxx': xxxxxxxxxx
        }
    })
    .then((response) =>
        response.json()
    )
    .then((json) => {
        const User = teststore.sync(json.data);
        console.log(User);
    })
    .catch((error) =>
        console.log('Error while fetching events')
    );

Something with less boilerplate (request is a generic method, fetchAll or fetch might be better if you're doing regular fetching of the models):
const teststore = new Store();

teststore.request('http://localhost:3000/xxxxxxxxxxx', 'GET', null, {
  headers: {'xxxxxx': 'xxxxxxxxxx'}
})
  .then((response) => {
    console.log(response.data); // User
  });

Or, if the headers are same every time:
import {Store, config} from 'mobx-jsonapi-store';
const teststore = new Store();
config.defaultHeaders = {'xxxxxx': 'xxxxxxxxxx'};

teststore.request('http://localhost:3000/xxxxxxxxxxx')
  .then((response) => {
    console.log(response.data); // User
  });

Going a step further if you're inside of an async function:
import {Store, config} from 'mobx-jsonapi-store';
const teststore = new Store();
config.defaultHeaders = {'xxxxxx': 'xxxxxxxxxx'};

async function loadUser() {
  const response = await teststore.request('http://localhost:3000/xxxxxxxxxxx');
  console.log(response.data); // User
}

If' you're just fetching an user from https://example.com/user/1
import {Store, config} from 'mobx-jsonapi-store';
const teststore = new Store();
config.defaultHeaders = {'xxxxxx': 'xxxxxxxxxx'};
config.baseUrl = 'https://example.com/';

async function loadUser() {
  const response = await teststore.fetch('user', 1);
  console.log(response.data); // User
}

I hope this helps :)


Add more info to the contributing guidelines

It looks like the contributing guideline to the theme is not finished. It would be nice to have more info to facilitate the entry point to external contributors

WE've expanded CONTRIBUTING.md substantially. It should be up-to-date.


tests: try to figure out the ci issue

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@81702d5). Click here to learn what that means.
The diff coverage is n/a.

:exclamation: Current head 8bf8eb2 differs from pull request most recent head 0d3d441. Consider uploading reports for the commit 0d3d441 to get more accurate results

@@           Coverage Diff           @@
##             main      #10   +/-   ##
=======================================
  Coverage        ?   70.71%
=======================================
  Files           ?       40
  Lines           ?     2517
  Branches        ?      500
=======================================
  Hits            ?     1780
  Misses          ?      664
  Partials        ?       73


Add srm transform method

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Add to whitelist.

Thank you for your contribution.