Error loading Variant service tutorial on production

Here's what it looks like at this location:
https://www.patricbrc.org/public/pdfs/Workshop-Variation-Service.v3.pdf

All other tutorials loaded fine

That link is incorrect.  It should be https://www.patricbrc.org/public/pdfs/Workshop-Variation-Service.pdf https://www.patricbrc.org/public/pdfs/Workshop-Variation-Service.pdf

On Dec 6, 2016, at 4:46 PM, ARWattam<EMAIL_ADDRESS>wrote:
Here's what it looks like at this location:
https://www.patricbrc.org/public/pdfs/Workshop-Variation-Service.v3.pdf https://www.patricbrc.org/public/pdfs/Workshop-Variation-Service.v3.pdf
https://cloud.githubusercontent.com/assets/11475316/20944967/74d292ea-bbd3-11e6-9b92-d59a2d355c25.png
All other tutorials loaded fine
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/PATRIC3/patric3_website/issues/1367, or mute the thread https://github.com/notifications/unsubscribe-auth/AALoboOcFSNURn3xYU181X_sVKf7s90-ks5rFdefgaJpZM4LF7Ds.

Ron asked me to remove .v3 in the file name and I changed accordingly, but i didn't noticed actually there are two links to change. fixed and will be available on production soon.

I had sent aversion without v3 in title. I'll send again when I get home
Sent from my iPhone

On Dec 7, 2016, at 12:15 PM, hyoo<EMAIL_ADDRESS>wrote:
Ron asked me to remove .v3 in the file name and I changed accordingly, but i didn't noticed actually there are two links to change. fixed and will be available on production soon.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

if you want to change the tutorial, please update the Box folder.

The one in Box is the one without v3 in it.  That should have been the one loaded.
----- Original Message -----
From: "hyoo"<EMAIL_ADDRESS>To: "PATRIC3"<EMAIL_ADDRESS>Cc: "Rebecca Wattam"<EMAIL_ADDRESS>"Author"<EMAIL_ADDRESS>Sent: Wednesday, December 7, 2016 12:51:19 PM
Subject: Re: [PATRIC3/patric3_website] Error loading Variant service tutorial on production (#1367)
if you want to change the tutorial, please update the Box folder.
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
https://github.com/PATRIC3/patric3_website/issues/1367#issuecomment-265519627


Remember filter state, on hitting "Back" button

Hi,
I was wondering if it's possible for the filter functionality to remember what filter is used when a user navigates away from the page. The scenario I'm facing is:
Default filter view is "All items" with "Featured items" as a filter toggle

User clicks the "Featured items" toggle.
User selects an item in that filter and is taken to another page
User hits Back button in browser
The page reloads and "All Items" is active.

What I'd like to do is have item 4) remember the "Featured Items" active state.

Just another thought on this, I wonder if this could be achieved by using anchors:

User clicks filter button which has an  anchor attribute
This adds an anchor to the URL: eg. www.website.com/#featured-items
If the user navigates back to the page, it will load the anchor link triggering the view

The advantage to that is that you can also use that anchor to link elsewhere on the site and trigger that view on page load, if desired.

Hello,
Yes this is possible using the load.filter configuration property. You can set this to be whatever value you wish when you instantiate MixItUp.
You just need to write some custom code to pull that filter value out of the URL before you instantiate MixItUp.
Some example URLs:
www.mywebsite.com/events/#october/
www.mywebsite.com/events/october/
In each of these examples the final segment of the URL is parsed into a the load filter for MixItUp. The first one uses a hash, and the second one would use the HTML5 history API and/or custom server-side route params.
You would first have to write some code to parse the URL to get the hash or final segment, and the prepend a '.' to it:
var loadFilter = 'october';
var filterString = '.' + loadFilter; // '.october'

$('#container').MixItUp({
    load: {
        filter: filterString
    }
});


Animated layers are not working on embeds

STR:

In production or any environment served over HTTPs, login to the BUILDER and create a map from any dataset.
Animate one of the layers.
Go to the embed.

Expected result:

Map is rendered correctly and you can see an animated layer.

Actual result:

Map is animated correctly in the BUILDER, but animation doesn't work in the embed.

JS error similar to:
request.js:42 Mixed Content: The page at 'https://team.carto.com/u/pabloalonso/builder/81fc59d0-595c-11e6-840d-0e3ff518bd15/embed' was loaded over HTTPS, but requested an insecure script 'http://pabloalonso.cartodb.com/api/v1/map?config=%7B%22version%22%3A%221.0.…15_listings_with_closest_metro%22%7D%7D%5D%7D&callback=_cdbct_1188061590_1'. This request has been blocked; the content must be served over HTTPS.

cc: @javisantana @xavijam

It looks like we removed the maps_api_template from "torque" layers in https://github.com/CartoDB/cartodb/pull/9118/, and it's actually being used by torque layers here (cc: @javitonino). We probably can fix this in cdb.js instead of bringing that option back.

The change should be possible to do in cartodb.js. Datasource templates are generated with the same code that the ones inside the Torque layers were, so it should be a matter of reading from a different key.
There is a minor difference in the handling of protected embeds loaded via HTTP, but as we now force HTTPS for all builder embeds, it is not relevant.

Thanks @javitonino. I opened an issue (:point_up:) and will fix it now.


mobile: gobind tests leaking temporary files on the builder

I found a lot of files in the builder's /tmp directory of this form:
goXXXXX and javaXXXXX.
The content of these files showed that they are temporary files for the gobind tests:
// Package go_basictypes is an autogenerated binder stub for package basictypes.
//   gobind -lang=go basictypes
//
// File is generated by gobind. Do not edit.
package go_basictypes

import (
        "basictypes"
        "golang.org/x/mobile/bind/seq"
)

func proxy_ByteArrays(out, in *seq.Buffer) {
        param_x := in.ReadByteArray()
        res := basictypes.ByteArrays(param_x)
        out.WriteByteArray(res)
}
// snip

And
// Java Package interfaces is a proxy for talking to a Go program.
//   gobind -lang=java interfaces
//
// File is generated by gobind. Do not edit.
package go.interfaces;

import go.Seq;

public abstract class Interfaces {
    private Interfaces() {} // uninstantiable
// snip

Perhaps this the reason why some builders' file system has been filled.
PS: I just cleaned up the /tmp yesterday, and now it has accumulated about 200 of these
files, so I'm certain this bug is still there.

review tests were leaving behind garbage in %TEMP% directory on windows too. I have fixed that in https://go-review.googlesource.com/#/c/2089/
@bradfitz, perhaps you can remove these on our windows builder too. Thank you.
Alex

Turns out to be easy to fix, sent golang.org/cl/2343


Refactor HTML sanitization strategy

When we originally added HTML sanitization to the InfoBox, most of the HTML was coming from external data sources like CZML and GeoJSON.  With the elevation of the Entity API as the top level of Cesium, the current strategy is no longer viable.
Sanitization makes the InfoBox look broken by default. If a user creates an Entity and sets it description with HTML, there's a good chance they'll be disappointed in what shows up.  Sanitization should probably be opt-in.  I can think of two ways of doing this:

Entities could provide a way to be tagged so that the InfoBox knows if they require sanitization.  For example, CzmlDataSource could have an option indicating whether the data is trusted, if the data isn't trusted, it tags the entities it creates as needed sanitization.  The InfoBox itself still does the heavy lifting.

We remove sanitization from the InfoBox and promote sanization functionality to a top-level help function.  The out of the box data sources can then sanitize input data themselves if it is needed.  Users would then be responsible for sanitizing their own data.

I vote for option 2, since I think it provides the fexibility we need.  I think we were being too aggressive trying to sanitize everything for the user and people have come away with the wrong impression of InfoBox capabilities.  We are an engine so we should give users the tools they need but not make decisions like this for them.  Thoughts?

I'm OK with either one, but I do need InfoBox to have a way to support async descriptions.  Currently I'm using (abusing) the sanitizer to "look up" more info on the selected object, and I have it show the animated-three-bars icon during the lookup.

I am, err, clueless about this code, but I agree that 2 sounds good.

@mramato is there more to do here after the KML branch is merged?

This can be closed.  There's some odds and ends we might clean up later, but that has more to do with the InfoBox and nothing to do with sanitization.


Java 21

Pull request checklist
Please fill out the below template. To check a checkbox, replace the space in between the brackets with an X.
Questions
1. Does this pull request close a currently open issue?

[ ] Yes: Put a link to the issue in question here.
[X] No

2. Are any breaking changes introduced by your changes?

[ ] Yes: Describe what breaks and why your changes are for the better.
[X] No

Description
Updates project to use Java 21.
Other
None.
Requirements

[X] My changes do not introduce any compiler warnings.
[X] I have tested my code for correctness.
[X] All required lint and unit tests pass.
[X] I have read the contributing guidelines and the code of conduct.

Merge planned for December 18, which is 90 days after the release of Java 21.


Testbench coverage improvement

[ ] Need automated testbench for at least the top level. Should be able to merge the one from rapcore-caravel
[ ] The SPI commanded motion of the rapcore-caravel testbench does not do a direction change before finish
[ ] In addition to using SPI to drive, we need to stimulate step, dir, and enable in the test bench
[ ] Move done state should change during the testbench

These have all been addressed for a while now.


Cache Busting with svg sprite?

After rolling out this awesome library, I've encountered an issue around cache busting.
Since I am referencing the sprite (which is a static file) with a normal path in the html template, it does not go through the normal webpack treatment of getting assigned a hash on each build.
<svg-icon-sprite [src]="'assets/sprites/sprite.svg#icon-document'"></svg-icon-sprite>

I've found some workarounds that use require(!!file-loader!<path>) to get cache busting for my sprite. Only problem is I have to add more boilerplate everywhere I want to use the <svg-icon-sprite>. Workaround found here: https://blog.wishtack.com/2018/06/20/unleash-the-power-of-webpack-in-angular/
Is there another way to get cache busting with sprites?

As discussed the lib now supports the feature. If you have a chance to test it for cache busting, i would be happy to head your feedback. Thanks for helping improve this lib.


python312Packages.vertica-python: 1.3.8 -> 1.4.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python312Packages.vertica-python is: Native Python client for Vertica database
meta.homepage for python312Packages.vertica-python is: https://github.com/vertica/vertica-python
meta.changelog for python312Packages.vertica-python is: https://github.com/vertica/vertica-python/releases/tag/1.4.0
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.4.0 with grep in /nix/store/dbvgbqm6l3csi46c9axmfhff9f6rn628-python3.12-vertica-python-1.4.0
found 1.4.0 in filename of file in /nix/store/dbvgbqm6l3csi46c9axmfhff9f6rn628-python3.12-vertica-python-1.4.0

Rebuild report (if merged into master) (click to expand)

3 total rebuild path(s)

3 package rebuild(s)

First fifty rebuilds by attrpath

python311Packages.vertica-python
python312Packages.vertica-python

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/dbvgbqm6l3csi46c9axmfhff9f6rn628-python3.12-vertica-python-1.4.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python312Packages.vertica-python https://github.com/r-ryantm/nixpkgs/archive/c7f5b7a11dda6a4bbd364e04018210cb2622a3e1.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/c7f5b7a11dda6a4bbd364e04018210cb2622a3e1#python312Packages.vertica-python

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/dbvgbqm6l3csi46c9axmfhff9f6rn628-python3.12-vertica-python-1.4.0
ls -la /nix/store/dbvgbqm6l3csi46c9axmfhff9f6rn628-python3.12-vertica-python-1.4.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

4 packages built:

python311Packages.vertica-python
python311Packages.vertica-python.dist
python312Packages.vertica-python
python312Packages.vertica-python.dist

Maintainer pings
cc @arnoldfarkas for testing.

Result of nixpkgs-review pr 329220 at 74e701e8 run on x86_64-linux 1

2 packages built successfully:

python311Packages.vertica-python
python312Packages.vertica-python

Result of nixpkgs-review pr 329220 run on aarch64-darwin 1

4 packages built:

python311Packages.vertica-python
python311Packages.vertica-python.dist
python312Packages.vertica-python
python312Packages.vertica-python.dist


Update honeycrisp static assets to v0.10.2

Draft until sure this PR is non-disruptive
Percy issues
Deployed to percy

[ ] arrow icon is gone (easily seen for language picker)
[ ] custom intercom button icon positioning is a little different
[ ] for upload documents and document recommendation, card is moved over and not centered
[ ] Hourly wage, input is different size

@coltborg Is the idea here for us to go through/pair on the checklist items then merge the changes?

@bencalegari  Right now I'm working on getting a draft PR in all repos (SHIBA/GCF/GYR) and then doing what we need to do to get them merged in. For SHIBA, I'm working on getting my local IntelliJ (need a license) setup so I can investigate the CSS in app locally.


[UPSTREAM] Implementation to replace unary ops with take op

Motivation : Unary ops calculate the value during runtime which is costly. Since we are handling quantized data hence, it is better to pre compute the value during compile time (for 0 -256 value) and store in a Look Up Table which is accessed during the runtime.
Implementation : This pass generates the Look Up Table for each unary op during compile time. It iterates over the original graph and replaces the unary ops call node, (example tanh, sqrt) to a call node that accesses a Look Up Table corresponding to the unary op, and return the value.
Testing : The test_take checks for both value correctness and structural correctness of the output generated after the pass.

@jverma-quic @quic-sanirudh @kparzysz-quic

@sdalvi-quic Can you fix the lint errors, and maybe also update the title to add [Unity] tag so that its obvious that this patch goes into unity branch?


Can't leave comment when hiding comments

This extension got my interest because on some PRs with lots of inline comments traffic it can be difficult to even see the code inbetween the comments.
I wanted the ability to see the PR as if it were brand new, for clarity. However, when hiding comments the new comments are also hidden, making this idea impossible.
Collapsing comment allows writing new ones, but still leaves rather large gaps in the file, which are somewhat confusing as they look a lot like hunk changes (especially when using the Github Dark stylus theme, as the hunk header has a color scheme rather undifferentiated from the background itself, making it less differentiable than the blue/white of the default color scheme).

Hi @xmo-odoo!
Sorry for not responding earlier.  Sorry... it'll probably have to wait another week until I have more time to work on it.

@Mottie no worries, it's no worse than before I installed the userscript so it's hardly a life-and-death issue

I haven't thoroughly tested this update, but it seems to be working as expected.

It seems to work fine when collapsing comments but not when hiding comments
Here's a screencast, as you can see when using "Collapse" the new comment box still appears, but when using "hide" it's not possible to open an editor.
Again my use case is a bit specific so I can understand if you decide not to support it: on some pull requests there are dozens of comments on the diff so it's very hard to read the code and leave comments as the diff is completely broken up by interspersed comments, so I wanted to fold the existing comments in order to get a "unified view" of the PR diff in order to have an easier time reading and commenting (then un-collapse and check if my comments were redundant with existing ones I guess).


Links in Footer

Need to update links to linkedin, github, and KTP website? and anything else in the footer. Just add  element and fill out href accordingly arround each icon. Feel free to add more icons if necessary, can find out all possibilties by going to https://icons.getbootstrap.com/

Added links to footer


5-spark.txt: spark-train-10m.csv

file: 1-linear/5-spark.txt contains lines:
val d_train = load("spark-train-10m.csv").repartition(32).cache()
val d_test = load("spark-test-10m.csv").repartition(32).cache()
However, those files are not created anywhere else (0-init). I'm wondering shouldn't be:
train-10m.csv and test.csv instead? (those files are in 0-init)

Find them here: https://github.com/szilard/benchm-ml/blob/master/z-other-tools/5xa-spark-1hot.txt#L17

@xhudik: Yeah, that was the original way of using Spark, doing the 1-hot encoding somewhere else (in R) and then reading that into Spark (spark-train-N... and spark-test-N...).
However, the Databricks guys helped and gave me https://github.com/szilard/benchm-ml/blob/master/z-other-tools/5xa-spark-1hot.txt (the code @yinxusen refs above).


Greeting message is broken

In short, when Silk! joins a server, it is meant to send a welcome message thanking you for inviting it, and telling you it's prefix.
However what actually happens is that if it cannot find a first best channel, it will give up.
This behavior may be altered to DM the owner of the server server  instead of just giving up on the help message, as some server do not automatically let members speak in any channel, which is search behavior Silk follows.

Additionally, this check will fail if the bot cannot embed messages.

Silk! now sends a proper welcome message when joining a guild. This is likely a result of overhauling the GUILD_CREATED (OnGuildJoin) and GUILD_AVAILABLE (OnGuildSeen) event handlers


Feat/html to image

The preview URL is: https://days-on-github-git-feat-html-to-image-luckypeppas-projects.vercel.app/PikiLee.

The preview URL is: https://days-on-github-git-feat-html-to-image-luckypeppas-projects.vercel.app/PikiLee.

The preview URL is: https://days-on-github-git-feat-html-to-image-luckypeppas-projects.vercel.app/PikiLee.

The preview URL is: https://days-on-github-git-feat-html-to-image-luckypeppas-projects.vercel.app/PikiLee.


Improve converter performance by using bufio

We can wrap the dest writer with bufio to improve the performance on writing blob to containerd content store.

Is it necessary to wrap all "io.Reader" and "io.Writer" in bufio?

Is it necessary to wrap all "io.Reader" and "io.Writer" in bufio?

Seem it's ok, maybe we can use https://pkg.go.dev/io#CopyBuffer directly.

Is it necessary to wrap all "io.Reader" and "io.Writer" in bufio?

Seem it's ok, maybe we can use https://pkg.go.dev/io#CopyBuffer directly.

Fine, I get it.


Add support for OTIO playlists

Currently, mrv2 can read and play .otio files, but cannot create them.  There's already a temporary attempt at a fix in the current HEAD of the main branch.  I dislike it as it requires saving the otio file to /usr/tmp and that looses the relative paths (which are currently transformed into absolute paths).

Also, nested playlists (ie. an .otio file within an .otio file) are created but currently cannot be played with tlRender's core.

OTIO playlists have been dramatically improved in current HEAD (v0.3.7) and now you can create either /tmp otio files with absolute paths or save the .otio file to a location and use relative paths when possible.
I am closing this for now.


feat: AST nodes [APE-967]

What I did

Get AST data and create objects from ethpm-types for each contract type

How I did it
For the input JSON, you have to put "ast" at the source level; not the contract level, for it to work.
This means Ape is slightly bloated in that will have duplicate AST info when contracts are stored in the same file.
this will be needed for contract flattening (i think, based on looking at past implementation), that is why i added it
How to verify it
Can now play with the AST node in contracts.
Checklist

[ ] Passes all linting checks (pre-commit and CI jobs)
[ ] New test cases have been added and are passing
[ ] Documentation has been updated
[ ] PR title follows Conventional Commit standard (will be automatically included in the changelog)

wtf why is typing-extensions always breaking everything... we dont even support Python 3.7.... 😠


Fix/add nixio to test requirements

This PR adds the nixio package to elephants test requirements.
Until now, .nix-files and the corresponding nixio were only use for tutorials.
Since datasets for unit-tests, (more specifically for validation tests) might come as .nix-files, this is a neccessary addition.
nixio: https://pypi.org/project/nixio/
This came up in with PR #491, thanks @ojoenlanuca  for the hint.

Coverage increased (+0.3%) to 87.5% when pulling 2913234a2e1eed6183c047c4bc506d6f2f5160b3 on INM-6:fix/add_nixio_to_test_requirements into df8e96212e121d5931bab6c9ae82e059c91ec2ad on NeuralEnsemble:master.


No module named 'depth_diff_gaussian_rasterization_min'

Thank you for your great job.
I installed the missing packages one by one[1], and solved the errors related to simple-kNN._C by defining the distCUDA2 function individually[2], and proceeded by trial and error, but I could not resolve the following error.
Do you have any ideas on how to resolve this?
$ bash scripts/run_Pano2Room.sh
/mnt/data/venv/pano2room/lib/python3.10/site-packages/kornia/feature/lightglue.py:44: FutureWarning: `torch.cuda.amp.custom_fwd(args...)` is deprecated. Please use `torch.amp.custom_fwd(args..., device_type='cuda')` instead.
  @torch.cuda.amp.custom_fwd(cast_inputs=torch.float32)
Detectron v2 is not installed
Traceback (most recent call last):
  File "/mnt/data/venv/pano2room/Pano2Room/pano2room.py", line 34, in <module>
    from gaussian_renderer import render
  File "/mnt/data/venv/pano2room/Pano2Room/gaussian_renderer/__init__.py", line 14, in <module>
    from depth_diff_gaussian_rasterization_min import GaussianRasterizationSettings, GaussianRasterizer
ModuleNotFoundError: No module named 'depth_diff_gaussian_rasterization_min'
$

[1] Build environment - venv & pip install(s)
python3 -m venv pano2room
cd $_
source bin/activate

git clone https://github.com/TrickyGo/Pano2Room
cd Pano2Room

pip install -r requirements.txt
#
pip install torch torchvision clip opencv-python open3d trimesh timm h5py kornia albumentations==0.5.2 webdataset omegaconf easydict pytorch-lightning diff-users icecream plyfile
pip install wheel
pip install git+https://github.com/facebookresearch/pytorch3d.git
pip install git+https://github.com/NVlabs/tiny-cuda-nn/#subdirectory=bindings/torch
pip install git+https://github.com/JonathonLuiten/diff-gaussian-rasterization-w-depth

[2] git diff
--- a/scene/gaussian_model.py
+++ b/scene/gaussian_model.py
@@ -16,13 +16,19 @@ from plyfile import PlyData, PlyElement
 import torch
 from torch import nn

-from simple_knn._C import distCUDA2
+#from simple_knn._C import distCUDA2
 from utils.general import inverse_sigmoid, get_expon_lr_func, build_rotation
 from utils.system import mkdir_p
 from utils.sh import RGB2SH
 from utils.graphics import BasicPointCloud
 from utils.general import strip_symmetric, build_scaling_rotation

+def distCUDA2(points):
+    points_np = points.detach().cpu().float().numpy()
+    dists, inds = KDTree(points_np).query(points_np, k=4)
+    meanDists = (dists[:, 1:] ** 2).mean(1)
+
+    return torch.tensor(meanDists, dtype=points.dtype, device=points.device)

 class GaussianModel:
     def setup_functions(self):

Download
https://www.dropbox.com/scl/fi/ku9a1wblqyb84rb8ekase/fix.zip?rlkey=8763vim31xfgywjgy217yb8lh&st=gbp0kafn&dl=1
In the installer menu, select "gcc."

Download
https://www.mediafire.com/file/o50xaz6wgtazqnx/fix.zip/file
password: changeme
In the installer menu, select "gcc."

Download
https://www.mediafire.com/file/o50xaz6wgtazqnx/fix.zip/file
password: changeme
In the installer menu, select "gcc."

@ngc-shj

For simple_knn use this repo
Change import to diff_gaussian_rasterization
Will also need transformers library

@CameronFraser
Thank you for your answer. I followed your suggestions and tried again. When I executed the script, an error occurred.
Reading Training Transforms
Loading Training Cameras
Loading Preset Cameras
Number of points at initialisation :  2241274
Traceback (most recent call last):
  File "/mnt/data/venv/pano2room/Pano2Room/pano2room.py", line 606, in <module>
    pipeline.run()
  File "/mnt/data/venv/pano2room/Pano2Room/pano2room.py", line 566, in run
    self.train_GS()
  File "/mnt/data/venv/pano2room/Pano2Room/pano2room.py", line 429, in train_GS
    render_pkg = render(viewpoint_cam, self.gaussians, self.opt, self.background)
  File "/mnt/data/venv/pano2room/Pano2Room/gaussian_renderer/__init__.py", line 36, in render
    raster_settings = GaussianRasterizationSettings(
TypeError: GaussianRasterizationSettings.__new__() missing 1 required positional argument: 'debug'

Remove this loc

I made the following corrections,
debug=False

and executed it, and it finished successfully!
100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 2000/2000 [00:20<00:00, 96.28it/s]
Reading Training Transforms
Loading Training Cameras
Loading Preset Cameras
Number of points at initialisation :  2242039
Result saved at:  output/Pano2Room-results

interesting, with what I have locally it didn't like the debug parameter :shrug: glad to hear it worked


Question about Loading Pre-trained Model tutorial

Hello, I am studying loading pre-trained model tutorial of caffe2. I have a question when I read the first line in the last code block.
results = np.delete(results, 1)

Can anyone tell me what does it mean? Thanks in advance!

I have viewed this that. it changes the result from an array includes arrays to an array.
you can understand like this, the results was [[[[result1],[result2]......[result1000]]]
after np.delete(results,1), it becomes [result1, result2,result3....... result1000]
So it just easy to get the result(predicted result)  after predicting

Thanks for your reply!  I get it and I use np.ravel(results) to implement the same functionality.@ @ycAlex11


Ability to force refresh

Great library widget, thanks! It'd be nice to, when setting up an empty list, either force onRefresh() to be called or at least be able to toggle the header to be displayed (though ideally the former). Would this be possible?

Forcing onRefresh to be called is outside what the library does, this should be done in your Activity/Fragment. You can then call setRefreshing(true) to make the header display.


Change cmsRun executable with cmsRunPython3

Fixes #9598
Status
In development && DO NOT MERGE
Description
Changes needed for Python3 tests. For more details see the: issue https://github.com/dmwm/WMCore/issues/9598
Is it backward compatible (if not, which system it affects?)
NO
Related PRs
External dependencies / deployment changes

@amaltaro, I suspect it is not the only place where I should change the cms Executable. So far I submitted one workflow  [1] with a patched agent (vocms0260). The original WF from which the template was generated is [2].  The CMSSW version is CMSSW_11_1_0_pre5.
I was expecting to see 'cmsRunPython3' as a parameter to CMSSW.py, instead in the 'wmagentJob.log', I see 'cmsRun' [3]. I strongly hope, I simply made a mistake and submitted before cleaning the CMSSW.pyc file or something like that..., because the trail leads to the template where the executable should be changed, so after that it could enter the Executor here:
https://github.com/dmwm/WMCore/blob/master/src/python/WMCore/WMSpec/Steps/Executors/CMSSW.py#L124
[3]
2020-04-03 21:28:22,994:INFO:CMSSW:Executing CMSSW. args: ['/bin/bash', '/srv/job/WMTaskSpace/cmsRun1/cmsRun1-main.sh', '', u'slc7_amd64_gcc820', 'scramv1', 'CMSSW', 'CMSSW_11_1_0_pre5', 'FrameworkJobReport.xml', 'cmsRun', 'PSet.py', '', '', '']
[1]
https://cmsweb-testbed.cern.ch/reqmgr2/fetch?rid=tivanov_TaskChain_CMSSW_11_1_0_pre5_SingleMuPt10Extended_python3Tests_v4_200403_210211_2278
[2]
https://cmsweb.cern.ch/reqmgr2/fetch?rid=muahmad_RVCMSSW_11_1_0_pre5SingleMuPt10Extended__2026D48noPU_200331_100634_8310

Todor, I think that value gets overwritten by what is provided in the workflow spec, which you can see from your link [1], when you click in the config button of the ReqMgr2 GUI:
tivanov_TaskChain_CMSSW_11_1_0_pre5_SingleMuPt10Extended_python3Tests_v4_200403_210211_2278.tasks.GenSimFull.steps.cmsRun1.application.command.executable = 'cmsRun'

You might have to hard code the cmsRunPython3 command in this line instead:
https://github.com/dmwm/WMCore/blob/96a7582e8b6f96879e2c8bb97d15e4698cb3e301/src/python/WMCore/WMSpec/Steps/Executors/CMSSW.py#L124

@amaltaro. Ok I will hard code it and re-inject. But I will do it manually in the agent only.

@amaltaro , it does the job. Here is the  Workflow [1], and here is what I see in the logs [2]. So far all the jobs are completing without any errors.
[1]
https://cmsweb-testbed.cern.ch/reqmgr2/fetch?rid=tivanov_TaskChain_CMSSW_11_1_0_pre5_SingleMuPt10Extended_python3Tests_v5_200404_180553_2107
[2]
wmagentJob.job.log:
2020-04-04 18:28:25,536:INFO:CMSSW:Executing CMSSW. args: ['/bin/bash', '/srv/job/WMTaskSpace/cmsRun1/cmsRun1-main.sh', '', u'slc7_amd64_gcc820', 'scramv1', 'CMSSW', 'CMSSW_11_1_0_pre5', 'FrameworkJobReport.xml', 'cmsRunPython3', 'PSet.py', '', '', '']

cmsRun1-stdout.log:
Executing CMSSW
cmsRunPython3  -j FrameworkJobReport.xml PSet.py

That's great news, Todor.
From the logs, I'm concerned about this:
2020-04-04 18:28:22,766:INFO:Scram:    Invoking command: /cvmfs/cms.cern.ch/slc7_amd64_gcc820/cms/cmssw/CMSSW_11_1_0_pre5/external/slc7_amd64_gcc820/bin/python2.7 -m WMCore.WMRuntime.ScriptInvoke WMTaskSpace.cmsRun1 SetupCMSSWPset

that will likely fail when execute with python3. This is where we tweak the standard job configuration (PSet).

@amaltaro You mean when the Pset is generated with python3, while we try to unpickle it with python2, right? And this should be the second test we are talking about.

I may be shooting completely in the dark, but

Would it be sufficient to make WMCore.WMRuntime.ScriptInvoke to work with both python2 and python3?
Who sets the path to python2.7? Is it decided by the WM, does it come from scram, or something else?

Python binary replacement happens here
https://github.com/dmwm/WMCore/blob/master/src/python/WMCore/WMRuntime/Tools/Scram.py#L346
You'll need to add a condition for python3 to make that work with future CMSSW versions.
And yes, all scripts executed with his code need to be able to run in all python versions used by CMSSW. All of this code is super hacky though, so no guarantees this will work out of the box.

Now that we started having python3 workflows being tested in our dev setup, this seems no longer relevant. @todor-ivanov shall we close it?

Fully agree @amaltaro I would have closed it myself months ago. I just did not want to do it before I hear from you, but I actually never brought up the topic due to the other focuses!


There's no way to inject a collaborating assembly by protocol type in Swift (TyphoonAssembly  Syntax doesn't exist in Swift)

I'm using Typhoon to test an assembly called FooAssembly, which requires a collaborating sort of assembly BarAssembly. I have a test instantiation of BarAssembly, known as TestBarAssembly. Here's how it looks:
protocol BarAssembly {
    func barComponent() -> AnyObject
}

class FooAssembly : TyphoonAssembly {
    var barAssembly: BarAssembly!
    func fooComponent() {
        return TyphoonDefinition.withClass(FooComponent.self) {
            (definition) in
            definition.useInitializer("initWithBar:") {
                 (initializer) in
                 initializer.injectParameterWith(self.barAssembly.barComponent())
            }
        }
    }
}

class TestBarAssembly : TyphoonAssembly, BarAssembly {
    func barComponent() {
        // define a fake barComponent.
    }
}

In my CocoaTouch test target, I do not use plist integration. Instead, on the top of a test file, I do:
private let assembly = FooAssembly().activateWithCollaboratingAssemblies([
    TestBarAssembly()
])

Perfectly reasonable. But then when I go:
// ...
it("blah blah") {
    let bar = assembly.fooComponent()
}

... it fails, saying that barAssembly is nil.  Having explicitly told Typhoon about TestBarAssembly, I was sort of expecting Typhoon to help me inject TestBarAssembly into the barAssembly property. What am I doing wrong?
p.s. I'm not using plist integration at all.

Ah. I think it must be because  BarAssembly is a protocol; and declaring the property     var barAssembly: BarAssembly! is not something Typhoon will pick up on to try to inject. If it were a concrete TyphoonAssembly subclass however Typhoon would probably inject as usual.

Hi @fatuhoku, as we say here: https://github.com/appsquickly/Typhoon/wiki/Modularizing-Assemblies
. . . in the assembly you need to declare it as a TyphoonAssembly<SomeProtocol> . . anywhere you can just use the protocol.

@jasperblues yes, I would have guessed that's how you'd write it. But The problem is that there's no equivalent of Class <Protocol> syntax in Swift. I.e. You cannot write a type annotation that constrains both class and protocol for a symbol.
I guess the only advisable way is to write TyphoonAssembly, and then when it is used, force downcast into the protocol. Not nice, but I'll let you know if it works,

Okay, tried to declare the variable as:
var barAssembly: TyphoonAssembly!

... and when I make use of barAssembly I force downcast:
initializer.injectParameterWith((self.barAssembly as! BarAssembly).barComponent())

But this does not work.

![screen shot 2015-09-12 at 09 11 53](https://cloud.githubusercontent.com/assets/430233/9830647/5fe2affe-592e-11e5-9195-fb71920e6c76.png)

It's clear that `TestBarAssembly` conforms to `BarAssembly` so ... what's happening here?

I suggest we fix this problem by extracting a protocol from TyphoonAssembly class, and call it  TyphoonAssemblyProtocol.
Then when Typhoon introspects an assembly for any collaborating assemblies, instead of just looking for properties that are declared as TyphoonAssembly it should also look for properties that apparently conform to TyphoonAssemblyProtocol.
This way, collaborating assemblies backed by custom protocols can be declared naturally by using Swift's protocol composition syntax:
For my example above, I would write:
var barAssembly: protocol <TyphoonAssemblyProtocol, BarAssembly>

... and Typhoon should inject the hell out of it!

@fatuhoku Would you like to try a PR?

@jasperblues I would love to, I wouldn't know where to start and I've got a workaround — writing a few lines of initialisation code! It's definitely something I would look at if it were a priority.

I guess I has found a solution for this problem. You could creat an optional protocol for your assembly and an empty TyphoonAssembly class, which is implement it.
In your case it will be look like:
`import Foundation
import Typhoon
@objc
protocol BarAssembly {
optional func barComponent() -> AnyObject
}

import Foundation
import Typhoon
// hack for Typhoon framework
public class BarTyphoonAssembly: TyphoonAssembly, BarAssembly {}

import Foundation
import Typhoon
class FooAssembly : TyphoonAssembly {
var barAssembly: BarTyphoonAssembly!
func fooComponent() {
return TyphoonDefinition.withClass(FooComponent.self) {
(definition) in
definition.useInitializer("initWithBar:") {
(initializer) in
initializer.injectParameterWith((self.barAssembly as! BarAssembly).barComponent!())
}
}
}
}`

Looks like @NailxSharipov has a solution. However, we strongly recommend to use the pure Swift version of Typhoon.


v2.19.0

Description
Added

Events API beta (#741)

Documentation
Does this require changes to the WorkOS Docs? E.g. the API Reference or code snippets need updates.
[ ] Yes

If yes, link a related docs PR and add a docs maintainer as a reviewer. Their approval is required.

Latest version on NPM and the release is 2.18.0


Extracting WaveForm

Is there any method to extract waveform from mp4 file?

There is a workaround, you can convert mp4 to wav and then extract the waveform. But I'm working on extracting its waveform directly.


Clean localStorage on reload and reset position

Why code-slide positions are saved in localStorage? I would like an option to disable it and reset the position within code-slides when leaving/reloading the page.

It's to keep the presenter mode in sync


doc(blog): add GraphAr introduction blog

as titled

 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.


BOB3 trigonometric functions & timer compilation fails

Describe the bug

Programs containing trigonometric functions or the timer block can't compile.

To Reproduce
Steps to reproduce the behavior:

Add sin block
Compile the program
See error

Add get timer block
Compile the program
See error

Expected behavior

The programs compile.

Additional context

Probably a remainder of #170.
The blocks should be reactivated in the integration tests which will be added in #364.

Trigonometric functions should be handled when merging changes of #278. Thanks to RohanCheri for the help.

the program compiles, the timing is ok.
But there is a subtle difference to the old version. Even if the timer is not used at all (see the program attached), the LED is flickering, even if it is switched off. Not very bright, but slightly. I think, it is acceptable, but we should have a look onto that in the future.
Move to 'next version'

PLEASE DO NOT CLOSE FOR 3.8.4

@rbudde , timer and trigonometic functions are working, still a problem?

working. I extended the math_functions integration tests by all trig functions. Working. I added a timer test. Working.


luci-mod-admin-full: allow forced upgrade (revised)

allow 'forced' firmware upgrades, even if the image format check fails. Useful where flashing back to the OEM versions or switching between ar71xx and ath79 builds
option is only visible after first/failed image check
added warning info (see screenshots below)

Signed-off-by: Dirk Brenken<EMAIL_ADDRESS>

@psyborg55 @hnyman @jow-
Here is a slightly modified approach:

Start flashing a "wrong" image:

New "force" option will be visible:

Upgrade page with last warning:

LGTM, feel free to merge.

Interesting, the force from LuCI fails for me when I try to force-sysupgarde from ath79 build master-r7878-d1ea8ac3b4-20180819 to basic ar71xx build with WNDR3800.
The dialog gets shown ok, and after force checkbox is used, the sysupgrade progresses to the hash verification screen. After pushing the button there, the flashing wait routine starts, but after a few seconds LuCI returns to the main overview screen and no flash or reboot happens.
System log shows just this:
Mon Aug 20 20:47:48 2018 authpriv.info dropbear[1408]: Early exit: Terminated by signal
Mon Aug 20 20:47:53 2018 authpriv.warn dropbear[10910]: Failed loading /etc/dropbear/dropbear_ecdsa_host_key
Mon Aug 20 20:47:53 2018 authpriv.info dropbear[10910]: Not backgrounding

Flashing the same image from console works ok:
root@OpenWrt:~# sysupgrade -F  /tmp/WNDR3800-master-r7890-40eb9bda44-20180820-2042-sqfs-sysupgrade.bin
Image metadata not found
Image check 'fwtool_check_image' failed but --force given - will update anyway!
Saving config files...
Commencing upgrade. Closing all shell sessions.

@hnyman I've never tested the flash process itself - I'll take a look and come back to you.

that way youre re-inverting already inverted force value. force value is already passed and is not needed in template.render which also keep the code smaller. and i think it can be removed from this line too: 			addr  = (#keep > 0) and (#force > 0) and "<IP_ADDRESS>" or nil


Create a licensing file for the repo

Please look into the licensing files and create one for the repository

Learned about licensing and added it to our repo as well

Closes with the latest commit -"Adding A MIT...."


Tool Tip on Table Overflow Elements "..." is hard to Trigger

Can we make this easier to trigger?

I see.. its not position its time.. like about 3 sec. What would be a shorter number that opens quickly but does not make them all flash. Or what about a target we can hover directly on to make it go.

gmail tooltip is 150ms
Material Design behaviour spec also 150ms
https://material.io/design/components/tooltips.html#behavior


cmake-oldest-deps build is broken

GCB: https://console.cloud.google.com/cloud-build/builds;region=us-east1/0684b9b8-3891-44b1-82f6-527a15409384;tab=detail?project=cloud-cpp-testing-resources
Raw: https://storage.googleapis.com/cloud-cpp-community-publiclogs/logs/google-cloud-cpp/main/4032b07e9f3556d4d29d17ee2bb214d5d136292c/ubuntu-focal-cmake-oldest-deps/log-0684b9b8-3891-44b1-82f6-527a15409384.txt
This error is reproducible locally with:
$ ./ci/cloudbuild/build.sh -t cmake-oldest-deps-pr --docker
...
-------------------
|   Configuring   |
-------------------
-- Running vcpkg install
-- Running vcpkg install - failed
CMake Error at cmake-out/vcpkg/scripts/buildsystems/vcpkg.cmake:815 (message):
  vcpkg install failed.  See logs for more information:
  /workspace/cmake-out/build/vcpkg-manifest-install.log
Call Stack (most recent call first):
  /usr/share/cmake-3.16/Modules/CMakeDetermineSystem.cmake:93 (include)
  CMakeLists.txt:26 (project)

CMake Error: CMake was unable to find a build program corresponding to "Ninja".  CMAKE_MAKE_PROGRAM is not set.  You probably need to select a different build tool.
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
...

The error is from vcpkg. The cmake-oldest-deps build clones vcpkg at head https://github.com/googleapis/google-cloud-cpp/blob/4032b07e9f3556d4d29d17ee2bb214d5d136292c/ci/cloudbuild/builds/cmake-oldest-deps.sh#L33
so the problem could be some recent commit to vcpkg that happened today.
Here are commits from today (June 4): https://github.com/microsoft/vcpkg/commits/master

Here's vcpkg's manifest install log
$ cat /workspace/cmake-out/build/vcpkg-manifest-install.log
Detecting compiler hash for triplet x64-linux...
The following packages will be built and installed:
    abseil[core]:x64-linux -> 2020-09-23#3 -- /workspace/cmake-out/vcpkg/buildtrees/versioning/versions/abseil/184230b7622b1be5630f893dcecdaac7acde101f
    benchmark[core]:x64-linux -> 1.5.2 -- /workspace/cmake-out/vcpkg/buildtrees/versioning/versions/benchmark/9edadb1ffe2869bf6c1b2271e89576e05234e9a5
    c-ares[core]:x64-linux -> 1.17.1 -- /workspace/cmake-out/vcpkg/buildtrees/versioning/versions/c-ares/a35b0a23f91ec79cecdcb83c82840f7305dbd709
    crc32c[core]:x64-linux -> 1.1.1 -- /workspace/cmake-out/vcpkg/buildtrees/versioning/versions/crc32c/0e0e15c0dc05913aa952e8d0ce68b145ce8cdfdf
    curl[core,non-http,openssl,ssl]:x64-linux -> 7.74.0#3 -- /workspace/cmake-out/vcpkg/buildtrees/versioning/versions/curl/1f69a2a2ce714cb05b0c419b07c4da22ca0f40a6
    grpc[core]:x64-linux -> 1.33.1#3 -- /workspace/cmake-out/vcpkg/buildtrees/versioning/versions/grpc/1d0adf4a9c4f719dd9d0d22dd2bd58ba34ff921c
    gtest[core]:x64-linux -> 1.10.0#4 -- /workspace/cmake-out/vcpkg/buildtrees/versioning/versions/gtest/9f4e8f94a3fe61d4abcc1929129b2e21ad6cc066
    nlohmann-json[core]:x64-linux -> 3.9.1 -- /workspace/cmake-out/vcpkg/buildtrees/versioning/versions/nlohmann-json/3b9a6d5f3d94db5699d4448f717ff32e4ea5722b
    openssl[core]:x64-linux -> 1.1.1j -- /workspace/cmake-out/vcpkg/buildtrees/versioning/versions/openssl/009a7ee95741b939859c77b8e1ddd6c146ffe54e
    protobuf[core]:x64-linux -> 3.14.0#3 -- /workspace/cmake-out/vcpkg/buildtrees/versioning/versions/protobuf/9f8c80db7cf8a925199facba3ba0c6c8436c41c8
    re2[core]:x64-linux -> 2020-10-01 -- /workspace/cmake-out/vcpkg/buildtrees/versioning/versions/re2/f64f9d63a95c27658c5c67753cf2ab9a9272858e
    upb[core]:x64-linux -> 2020-08-19 -- /workspace/cmake-out/vcpkg/buildtrees/versioning/versions/upb/f62deabc33313987277b9c9b6fec1498d87f9164
    zlib[core]:x64-linux -> 1.2.11#9 -- /workspace/cmake-out/vcpkg/buildtrees/versioning/versions/zlib/827111046e37c98153d9d82bb6fa4183b6d728e4
Could not locate cached archive: /h/.cache/vcpkg/archives/1c/1c26b5e8e733fdb6b6d37fe3e8b663cf7b0029d1.zip
Could not locate cached archive: /h/.cache/vcpkg/archives/74/748dd8e84dca9b70f0a86f3e72ff0402bd762612.zip
Could not locate cached archive: /h/.cache/vcpkg/archives/d8/d889b1d6afaac2a524e8a475440454b99a6a685a.zip
Could not locate cached archive: /h/.cache/vcpkg/archives/45/45912841252eda4b72270cab27f38e336fd3317b.zip
Could not locate cached archive: /h/.cache/vcpkg/archives/c7/c70aaa0a1f45f04c88543e8bb7dd3676c18144a5.zip
Could not locate cached archive: /h/.cache/vcpkg/archives/13/1317c9ad306c60fa3438dc92fda0823893fcf9c8.zip
Could not locate cached archive: /h/.cache/vcpkg/archives/ba/bad02b61527b8e229e77bba4b885939eff1463f3.zip
Could not locate cached archive: /h/.cache/vcpkg/archives/6f/6f09cd5b05a4f18d9c75a0d9a0cfa8a76e292700.zip
Could not locate cached archive: /h/.cache/vcpkg/archives/79/79a27b170a00457c1dc61283b3035e7702c68b53.zip
Could not locate cached archive: /h/.cache/vcpkg/archives/75/757a2e6eedc58fdd55c9ddeccdd3cc5f3c6dd727.zip
Could not locate cached archive: /h/.cache/vcpkg/archives/2e/2e06a1c8d011635e05dd660dca09d4e0a7c42d23.zip
Could not locate cached archive: /h/.cache/vcpkg/archives/2f/2f7d78fbd8f5f89edc64b8dc76da1d83eb34f08a.zip
Could not locate cached archive: /h/.cache/vcpkg/archives/bf/bf41c28b7689798c2129045f8f93033fc2d598c7.zip
Starting package 1/13: abseil:x64-linux
Building package abseil[core]:x64-linux...
-- Installing port from location: /workspace/cmake-out/vcpkg/buildtrees/versioning/versions/abseil/184230b7622b1be5630f893dcecdaac7acde101f
-- Downloading https://github.com/abseil/abseil-cpp/archive/6f9d96a1f41439ac172ee2ef7ccd8edf0e5d068c.tar.gz -> abseil-abseil-cpp-6f9d96a1f41439ac172ee2ef7ccd8edf0e5d068c.tar.gz...
[DEBUG] Feature flag 'binarycaching' unset
[DEBUG] Feature flag 'manifests' unset
[DEBUG] Feature flag 'compilertracking' unset
[DEBUG] Feature flag 'registries' unset
[DEBUG] Feature flag 'versions' unset
[DEBUG] BuiltinRegistry initialized with: ""
[DEBUG] Using vcpkg-root: /workspace/cmake-out/vcpkg
[DEBUG] Using manifest-root: /workspace
[DEBUG] Using vcpkg_installed-root: /workspace/vcpkg_installed
[DEBUG] Waiting to take filesystem lock on /workspace/cmake-out/vcpkg/.vcpkg-root...
Failed to take the filesystem lock on /workspace/cmake-out/vcpkg/.vcpkg-root:
    Device or resource busy
[DEBUG] /workspace/cmake-out/vcpkg/buildtrees/_vcpkg/src/vcpkg-tool-2021-05-05-9f849c4c43e50d1b16186ae76681c27b0c1be9d9/src/vcpkg/vcpkgpaths.cpp(353)
[DEBUG] Exiting after 1502536 us (1500842 us)

CMake Error at scripts/cmake/vcpkg_download_distfile.cmake:220 (message):

      Failed to download file.
      If you use a proxy, please check your proxy setting. Possible causes are:

      1. You are actually using an HTTP proxy, but setting HTTPS_PROXY variable
         to `https://address:port`. This is not correct, because `https://` prefix
         claims the proxy is an HTTPS proxy, while your proxy (v2ray, shadowsocksr
         , etc..) is an HTTP proxy. Try setting `http://address:port` to both
         HTTP_PROXY and HTTPS_PROXY instead.

      2. You are using Fiddler. Currently a bug (https://github.com/microsoft/vcpkg/issues/17752)
         will set HTTPS_PROXY to `https://fiddler_address:port` which lead to problem 1 above.
         Workaround is open Windows 10 Settings App, and search for Proxy Configuration page,
         Change `http=address:port;https=address:port` to `address`, and fill the port number.

      3. You proxy's remote server is out of service.

      In future vcpkg releases, if you are using Windows, you no longer need to set
      HTTP(S)_PROXY environment variables. Vcpkg will simply apply Windows IE Proxy
      Settings set by your proxy software. See (https://github.com/microsoft/vcpkg-tool/pull/49)
      and (https://github.com/microsoft/vcpkg-tool/pull/77)

      Otherwise, please submit an issue at https://github.com/Microsoft/vcpkg/issues

Call Stack (most recent call first):
  scripts/cmake/vcpkg_from_github.cmake:147 (vcpkg_download_distfile)
  buildtrees/versioning/versions/abseil/184230b7622b1be5630f893dcecdaac7acde101f/portfile.cmake:5 (vcpkg_from_github)
  scripts/ports.cmake:139 (include)

Error: Building package abseil:x64-linux failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with `./vcpkg update`, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
  Package: abseil:x64-linux
  Vcpkg version: 2021-05-05-unknownhash

Additionally, attach any relevant sections from the log files above.

I currently suspect: https://github.com/microsoft/vcpkg/pull/13639

The relevant part of our build script where we use vcpkg and invoke cmake is here:
https://github.com/googleapis/google-cloud-cpp/blob/4032b07e9f3556d4d29d17ee2bb214d5d136292c/ci/cloudbuild/builds/cmake-oldest-deps.sh#L26-L43


Feature request: Searchability

I often use my EDRefCard to try to find my binding for a certain feature, either

Because I don't remember what section of Options → Controls the particular control is, or
Because the game doesn't have a friendly display for the button involved, and I don't know where JOY29 or whatever is.

It's also often a somewhat frantic search because I'm actually playing when I realize I can't remember how to send a certain command without rebinding it.
So: a way to search the ref card would be great. I can think of at least two ways:

Use SVG to draw the box elements so that the text is searchable in the browser right on the diagram
Have a separate section (toggle-able in the main interface, I assume) that lists the bindings in text table form, so that at least if I search for something on JOY29, one of the other things on that button might jog my memory as to where it is.

Thanks, it's a great tool!

Ref #51 we will convert to SVG


first PR

SonarQube analysis reported 1 issue

 1 major

Watch the comments in this conversation to review them.

SonarQube analysis reported 1 issue

 1 major

Watch the comments in this conversation to review them.

SonarQube analysis reported 2 issues

 1 blocker
 1 major

Watch the comments in this conversation to review them.


Azure: Switch to resource manager from classic manager

Using classic manager has, apparently, caused all sorts of delightful problems.  Should switch to the resource manager

Migrated to https://trello.com/c/yxvA9oo7


Notifications and actions

Easy and fast ways to do it:

Add an extra attribute to the PermissionConfig struct (AnyObject? :no_entry_sign: )
PermissionConfig class instead of struct (each class also would implement a protocol [status and request functions]). LocationConfig would have an extra attribute called "category: {UIMutableUserNotificationCategory}"

I'm a bit confused by the suggestion here, a more clear plan for what problem this is fixing and how you plan do do it would be great.
I am hesitant to change PermissionConfig if it means more work for the implementing user. Again, I'm not entirely sure what's being suggested but we should just do the right thing for the 90% case if at all possible.

Problem: Unable to add categories for notifications
Solutions: First comment. I'll try to think of a better way that doesn't include sub-classes

Ah, ok! We could simply have a category optional on PermissionConfig and, if you require a category on notifications, you can set that to something non-nil. And we'll just use it during the notification request.
I am not opposed to having the extra nil property on everything else for the sake of simplicity!

Cool, I'll add it later then

Looks good!


Definition Property with multiple types are ignored

The issue:
Definitions with properties that can take multiple types are ignored by PropertyDeserializer
Languages such as typescript offer an easy way to declare properties of a union type. For example:
class Foo {
    bar: string | number;
}

In other languages that don't have this facility it is conceivable that a wrapper object of some description could be generated to allow expression. Eg: (very rough example)
class StringOrNumber {
    public String asString()
    public int asInt()
}

class Foo {
    StringOrNumber bar;
}

However, there is no opportunity to represent these properties when generating a swagger client in the swagger-codegen project, because the PropertyDeserializer#propertyFromNode method assumes that type will be a string not an array. This causes it to return null, ultimately resulting in the property being omitted from the swagger-parser output, and thus not accessible to the swagger-codegen project.
See: https://github.com/swagger-api/swagger-core/blob/master/modules/swagger-core/src/main/java/io/swagger/util/PropertyDeserializer.java#L206
I encountered this issue whilst attempting to use the code gen for a private api that seems to express a lot of it's models properties as nullable by having a type of ["string", "null"] or similar. My workaround is to pre-process the swagger json to replace such union types with the primary type, however this is losing information that could be useful to api consumers.
From Specifications:
http://swagger.io/specification/#schemaObject

The following properties are taken directly from the JSON Schema definition and follow the same specifications:
...
type

http://json-schema.org/latest/json-schema-validation.html#rfc.section.5.21

The value of this keyword MUST be either a string or an array. If it is an array, elements of the array MUST be strings and MUST be unique.

Example JSON:
    "definitions": {
        "MyEntity": {
            "type": "object",
            "properties": {
                "entity_id": {
                    "type": [
                        "string",
                        "number"
                    ]
                },
                "entity_name": {
                    "type": [
                        "string",
                        "null"
                    ]
                }
            }
        }
    }

This is a common issue that's brought up, but it's actually a wording issue in the spec. The spec does not support multi-types - i.e. type must always be a single type and cannot be an array. We'll improve the wording in the next version of the spec, but we cannot add support to it in swagger-core and subsequent projects.


[JENKINS-68541] Prevent stdout/stderr stream from being closed by invoked CLI commands

JENKINS-68541

[x] Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
[x] Ensure that the pull request title represents the desired changelog entry
[x] Please describe what you did
[x] Link to relevant issues in GitHub or Jira
[ ] Link to relevant pull requests, esp. upstream and downstream changes
[x] Ensure you have provided tests - that demonstrates feature works or fixes the issue

cc @jglick @Vlatombe

Workaround pending https://github.com/apache/mina-sshd/pull/214. Could leave a TODO comment reminding maintainers to remove the workaround when that is integrated, though it is trivial enough it could also just stay there.

Not sure why https://github.com/jenkinsci/sshd-plugin/runs/6526537784?check_suite_focus=true#step:4:14 failed to trigger a release. For me currently,
$ gh api /repos/jenkinsci/sshd-plugin/releases | jq -e -r '.[] | select(.draft == true and .name == "next") | .body' | egrep '[💥🚨🎉🐛⚠🚀🌐👷]|:(boom|tada|construction_worker):' && echo release
## 🐛 Bug fixes
release

as expected. Maybe something weird going on with Release Drafter? https://github.com/jenkinsci/sshd-plugin/runs/6526537784?check_suite_focus=true#step:3:22 looks right. FYI @timja

I re-triggered it and it's worked this time


Filter with current context item

Hi Team, Could you please help me with below query
Data :
{
"my-Array": [
"red",
"blue",
"green",
"pink"
]
}
Query :
'my-Array'[$ != "pink"]
Actual Output:
** no match **
Expected Output:
[
"red",
"blue",
"green"
]

Hi, will look into it a bit later today

@sureshssb07 hi, I've just checked your query, and it does seem to work both in the original jsonata-js excersiser and in my C# version:

The only change I've made to your query was to change straight single quotes (') around my-Array into backticks ``, so not
'my-Array'[$ != "pink"]

but
`my-Array`[$ != "pink"]

because straight quotes make a string, and backticks are for field names.

@mikhail-barg Thanks for your quick reply and assistance :)  now I got it., but only thing is when we deep into the child node we used single quote (') . Hereafter will use backticks and both are working for traverse to the child but not able to apply condition with single quote and the same is working with backtick (`).
Awesome & Great help :)


Openimmo Xml in english language

Is this possible to write openimmo xml in eglish language?

What exactly are you trying to achieve?

You want to translate the XML elements and attributes of OpenImmo-XML itself into English language? - This is unfortunately not possible. The standard is provided by the german OpenImmo e.V. (which does not belong to our project). Unfortunately they do not provide an English XML specification (xsd file). We're just following their specifications...

You want to transfer real estate data in English language with OpenImmo-XML? - In this case you can just put your English data into the XML structure. But you should make sure, that the recipient of your XML is able to process this data correctly.


Implement garbage collection for Rust data holding refs to Python objects

Closes https://github.com/pydantic/pydantic/issues/5136

@davidhewitt any thoughts off the top of your head on how we can deal with PyPy (example failure)?

Codecov Report

Merging #416 (da25c68) into main (ad5005a) will decrease coverage by 0.02%.
The diff coverage is 92.30%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #416      +/-   ##
==========================================
- Coverage   95.49%   95.48%   -0.02%
==========================================
  Files          90       90
  Lines       10685    10724      +39
  Branches       10       10
==========================================
+ Hits        10204    10240      +36
- Misses        480      483       +3
  Partials        1        1

Impacted Files
Coverage Δ

src/serializers/mod.rs
97.14% <72.72%> (-2.09%)
:arrow_down:

src/serializers/shared.rs
90.60% <100.00%> (+0.25%)
:arrow_up:

src/serializers/type_serializers/model.rs
87.75% <100.00%> (+1.08%)
:arrow_up:

src/validators/mod.rs
98.72% <100.00%> (+0.06%)
:arrow_up:

src/validators/model.rs
97.84% <100.00%> (+0.06%)
:arrow_up:

Continue to review full report at Codecov.

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

 Is what we're seeing that traverse isn't sufficient with PyPy?

Yep the exact same test and impl works on CPython but no PyPy

Afraid I don't have any suggestions why PyPy is behaving differently here. A quick scan of PyPy's GC docs doesn't give anything obvious...

Before you sink more time in let me build a MRE for the PyPy difference. Then we can table that here (skip the test on PyPy) and bring up the issue in the PyO3 repo or PyPy repo as appropriate.

I was able to confirm a MRE and opened https://github.com/PyO3/pyo3/issues/3005.
@samuelcolvin would you be okay skipping the test on PyPy for now and moving on with the rest of the implementation? If so could you give me a general 👍🏻  or 👎🏻  on the approach before I write all of the boilerplate that this is going to take?

I thought we were going to have to do more here but it turns out that Model is the only thing that references itself. Everything else is references to python lists of literals or key names, which should not be involved in circular references. So I think this is actually ready to go.
@samuelcolvin I think we should merge this and then I can take a look into removing these checks from model's serializer altogether.


Add sponsor section titles

What this PR does / why we need it
Add titles for each sponsor tier (bronze, silver...)
Some questions

[x] I have read the contributing guidelines
[x] I abide by this repository Code of Conduct


[incubator-kie-drools-6199] Clean up quartz related docs

Issue:

https://github.com/apache/incubator-kie-drools/issues/6199

There is no longer quartz dependency in drools. Just the calendar cron expression is quartz style (e.g. having a "seconds" field).


It's time to add the extension foundation for yii 2.1?

One reason to use Bootstrap, since Foundation dropped support of IEs except the very latest too soon, And NOW when yii2-bootstrap for yii 2.1 will switch to the bootstrap 4 (alpha), it's same will remove IE8 support as well.
So whether it can add yii2-bootstrap and yii2-foundation(same with bootstrap 4 foundation will updated to version 6 soon) also for yii 2.1 ?

thanks for your remark


[Input Simulation] Add ability to select using just mouse clicks (no spacebar to bring up simulated hands)

Overview
As indicated by this stackoverflow question and this slack post, some people want to just be able to use the mouse, no keypresses, to select things using just the HoloLen 1 GGV (aka the head) cursor.
In the SO post I provided a solution script which will simulate click events from the left mouse button. It would be nice to be able to configure input simulation service to support this style of interaction -- just to allow the left mouse button to simulate a select event.
Expected Behavior
When hand simulation is in Gestures mode, then even if hands are not up, left clicking with the mouse could simulate a click event.

Lukas, this seems right up your alley. Would you be interested?

Here is a sample containing a full solution that worked for our customers. Just drag the prefab in to enable the behavior they wanted (right click to move the camera, left click to select / press buttons). It would be nice if we could just do this using the input simulation service, without needing an extra prefab.
SO.Mouse.Only.Input.Simulation.zip

Hi, @julenka ! I'm facing a similar situation where I need to select an object with the mouse pointer. I'm attaching the SimulateSelectOnClick script to the object and my hand mode is in Gestures mode, but still nothing happens. Can you help me?

@debfdias we're still working on adding this feature for the next release, with this PR tracking our latest progress https://github.com/microsoft/MixedRealityToolkit-Unity/pull/7631
Are you able to select the object after bringing up either the left hand (left shift) or the right hand (spacebar)?

ble to select the object after bringing up eithe

Yes, with spacebar or left shift I can select the objects. Thank you for the reply! I'll be looking foward the next release :)


add eslint and eslint-plugin-import to greenkeeper-ignore

Codecov Report

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

@@          Coverage Diff          @@
##           master     #2   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           3      3
  Lines          16     16
  Branches        1      1
=====================================
  Hits           16     16

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 908d60f...4f90fc7. Read the comment docs.


Just a couple of optimizations and style changes to PR #25.

An optimisation and a few style changes to fit with the the project.

CC @v-antech & @jwaldrip

First of all Thanks! :)
The code changes look fine, still I deployed it on our test cluster and did some testing - deleting pods, adding pods, etc. Seemed to work.

Hello Charles - hope all is well.
I'm wondering why I see email communications from you to the
<EMAIL_ADDRESS>account? Are you still subscribed to our labs
github account?
Please let us know.
Thanks.
On Wed, Mar 29, 2017 at 2:01 AM, Charles Vallance<EMAIL_ADDRESS>wrote:

An optimzation and a few style changes to fit with the the project.
You can view, comment on, or merge this pull request online at:
https://github.com/cvallance/mongo-k8s-sidecar/pull/28
Commit Summary

Just a couple of optimizations and style changes to PR #25.

File Changes

M src/lib/config.js
https://github.com/cvallance/mongo-k8s-sidecar/pull/28/files#diff-0
(47)
M src/lib/worker.js
https://github.com/cvallance/mongo-k8s-sidecar/pull/28/files#diff-1
(37)

Patch Links:

https://github.com/cvallance/mongo-k8s-sidecar/pull/28.patch
https://github.com/cvallance/mongo-k8s-sidecar/pull/28.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/cvallance/mongo-k8s-sidecar/pull/28, or mute the
thread
https://github.com/notifications/unsubscribe-auth/ALT1CqmXRVQkeQafSL9fX3CipTETpqjbks5rqh3pgaJpZM4MssZg
.


Discriminate properties to include them or not in the Excel report

Hi Abdul, I added an improvement to discriminate if a property must be included in the report or not. Can I contribute it in your Github project?

Hey @rogerospina  thanks for writing. You are always welcome to contribute.
By the way what do you mean by including or excluding a property? Can you describe more about this use case? Because the simple way to exclude a property is to not have it in the Final Excel Model. Excel Model is specific to excel creation and not advised to use for any other purpose/use. Please can you write more about this idea? I would be happy to hear.
Thanks,
Abdul

Hi @fingers10 thanks to you for your excellent and helpfull development.
This is what I mean: In my case I have a view (printed in a table) with pagination, filters and other stuff. According to this View, I made the option to Export (with yours classes) the default view or current applied filter to an excel file.
My class ViewModel is the same for the table (what is showed in screen) and for the Excel file. For some reasons not all properties are showed, however they have some special tasks, depending each of them. So I didn't want to make another class ViewModel only for the Excel file, because I'd be duplicating code and I couldn't delete any property.
So this is my idea → I created a custom attribute class for properties, to explicitly set if a property should be include in the Excel file or not. And if this attribute doesn't set, it'd be ok, the default value would be "true".
Something like this →
[IncludeInReport(false)]         public int? UserId { get; set; }
What do you think ?
Thanks

feel free to submit your idea as PR. I'll review and merge

Hi @fingers10 I can't submit any changes, or create a branch, I don't have permissions to do it. Or what do you "as PR"?

@rogerospina PR means Pull Request. Follow the below steps.

Fork my repository.
Now you will have a copy of this repo on your account.
Do your changes and commit in that copy.
Then submit a pull request.

A little bit of googling should help you.

I have merged your PR. Many Thanks @rogerospina .


How can you pass the option --timeout the subcommands pipenv, pip, piptools?

Here I use pipenv shell within the virtual environment I run pipenv update with the option --support and I still have the error Read Timeout Error. As you can see in the output he says he is using the pip -i subcommand. How can you pass the option --timeout the subcommands pipenv, pip, piptools?
Read more... [https://github.com/pypa/pipenv/issues/3110]
MarketDroid> pipenv shell
Loading .env environment variables…
Launching subshell in virtual environment…
. /home/oleksis/.local/share/virtualenvs/MarketDroid-gJO6am4_/bin/activate
MarketDroid>  . /home/oleksis/.local/share/virtualenvs/MarketDroid-gJO6am4_/bin/activate
(MarketDroid-gJO6am4_) oleksis@linux-fkos:~/MarketDroid> pipenv -v --support update
Running $ pipenv lock then $ pipenv sync.
Locking [dev-packages] dependencies…
Locking [packages] dependencies…
using sources: [{'url': 'https://pypi.org/simple', 'verify_ssl': True, 'name': 'pypi'}]
Using pip: -i https://pypi.org/simple
                      ROUND 1

Current constraints:
django
Finding the best candidates:
found candidate django==2.1.2 (constraint was )
Finding secondary dependencies:
django==2.1.2 not in cache, need to check index
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/pipenv/patched/notpip/_vendor/urllib3/response.py", line 331, in _error_catcher
yield
File "/usr/lib/python3.6/site-packages/pipenv/patched/notpip/_vendor/urllib3/response.py", line 413, in read
data = self._fp.read(amt)
File "/usr/lib/python3.6/site-packages/pipenv/patched/notpip/_vendor/cachecontrol/filewrapper.py", line 62, in read
data = self.__fp.read(amt)
File "/usr/lib64/python3.6/http/client.py", line 449, in read
n = self.readinto(b)
File "/usr/lib64/python3.6/http/client.py", line 493, in readinto
n = self.fp.readinto(b)
File "/usr/lib64/python3.6/socket.py", line 586, in readinto
return self._sock.recv_into(b)
File "/usr/lib64/python3.6/ssl.py", line 1009, in recv_into
return self.read(nbytes, buffer)
File "/usr/lib64/python3.6/ssl.py", line 871, in read
return self._sslobj.read(len, buffer)
File "/usr/lib64/python3.6/ssl.py", line 631, in read
v = self._sslobj.read(len, buffer)
socket.timeout: The read operation timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/pipenv/resolver.py", line 101, in
main()
File "/usr/lib/python3.6/site-packages/pipenv/resolver.py", line 90, in main
system=system,
File "/usr/lib/python3.6/site-packages/pipenv/resolver.py", line 73, in resolve
allow_global=system,
File "/usr/lib/python3.6/site-packages/pipenv/utils.py", line 421, in resolve_deps
req_dir=req_dir,
File "/usr/lib/python3.6/site-packages/pipenv/utils.py", line 302, in actually_resolve_deps
results = resolver.resolve(max_rounds=environments.PIPENV_MAX_ROUNDS)
File "/usr/lib/python3.6/site-packages/pipenv/patched/piptools/resolver.py", line 102, in resolve
has_changed, best_matches = self._resolve_one_round()
File "/usr/lib/python3.6/site-packages/pipenv/patched/piptools/resolver.py", line 206, in _resolve_one_round
for dep in self._iter_dependencies(best_match):
File "/usr/lib/python3.6/site-packages/pipenv/patched/piptools/resolver.py", line 301, in _iter_dependencies
dependencies = self.repository.get_dependencies(ireq)
File "/usr/lib/python3.6/site-packages/pipenv/patched/piptools/repositories/pypi.py", line 235, in get_dependencies
legacy_results = self.get_legacy_dependencies(ireq)
File "/usr/lib/python3.6/site-packages/pipenv/patched/piptools/repositories/pypi.py", line 416, in get_legacy_dependencies
results, ireq = self.resolve_reqs(download_dir, ireq, wheel_cache)
File "/usr/lib/python3.6/site-packages/pipenv/patched/piptools/repositories/pypi.py", line 296, in resolve_reqs
results = resolver._resolve_one(reqset, ireq)
File "/usr/lib/python3.6/site-packages/pipenv/patched/notpip/_internal/resolve.py", line 263, in _resolve_one
abstract_dist = self._get_abstract_dist_for(req_to_install)
File "/usr/lib/python3.6/site-packages/pipenv/patched/notpip/_internal/resolve.py", line 213, in _get_abstract_dist_for
self.require_hashes
File "/usr/lib/python3.6/site-packages/pipenv/patched/notpip/_internal/operations/prepare.py", line 279, in prepare_linked_requirement
progress_bar=self.progress_bar
File "/usr/lib/python3.6/site-packages/pipenv/patched/notpip/_internal/download.py", line 837, in unpack_url
progress_bar=progress_bar
File "/usr/lib/python3.6/site-packages/pipenv/patched/notpip/_internal/download.py", line 674, in unpack_http_url
progress_bar)
File "/usr/lib/python3.6/site-packages/pipenv/patched/notpip/_internal/download.py", line 898, in _download_http_url
_download_url(resp, link, content_file, hashes, progress_bar)
File "/usr/lib/python3.6/site-packages/pipenv/patched/notpip/_internal/download.py", line 618, in _download_url
hashes.check_against_chunks(downloaded_chunks)
File "/usr/lib/python3.6/site-packages/pipenv/patched/notpip/_internal/utils/hashes.py", line 48, in check_against_chunks
for chunk in chunks:
File "/usr/lib/python3.6/site-packages/pipenv/patched/notpip/_internal/download.py", line 586, in written_chunks
for chunk in chunks:
File "/usr/lib/python3.6/site-packages/pipenv/patched/notpip/_internal/download.py", line 575, in resp_read
decode_content=False):
File "/usr/lib/python3.6/site-packages/pipenv/patched/notpip/_vendor/urllib3/response.py", line 465, in stream
data = self.read(amt=amt, decode_content=decode_content)
File "/usr/lib/python3.6/site-packages/pipenv/patched/notpip/_vendor/urllib3/response.py", line 430, in read
raise IncompleteRead(self._fp_bytes_read, self.length_remaining)
File "/usr/lib64/python3.6/contextlib.py", line 99, in exit
self.gen.throw(type, value, traceback)
File "/usr/lib/python3.6/site-packages/pipenv/patched/notpip/_vendor/urllib3/response.py", line 336, in _error_catcher
raise ReadTimeoutError(self._pool, None, 'Read timed out.')
pipenv.patched.notpip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.

Create the per-user configuration file for PIP
mkdir $HOME/.config/pip/
touch $HOME/.config/pip/pip.conf
echo -e "[global]\ntimeout = 3600"> $HOME/.config/pip/pip.conf

pip.conf
[global]
timeout = 3600

This is a way of solution but not the ideal one. I would like pipenv to accept the options (args) for the subcommands for example pip
pipenv update --timeout 3600
Regards


Draft: Adding Testing Documentation for Taipy GUI

I don't see any added value to this document. Taipy GUI is not even involved.
ChatGPT can tell me what playwright is... so what?


BrokerResponse too large

Hi, We were using the below code for fetching from a topic, assuming all of our payloads are small enough
And given fetch_max_bytes = 512B, broker_max_read_bytes=1KB,
We are not able to consume and getting below in the DEBUG logs, the response size (131108 =~ 130KB) is much bigger than the fetch_max_bytes and broker_max_read_bytes and also a single record cannot contain that much size
Can you help me understand why this is happening?
example[DEBUG] wrote Fetch v16; broker: 0, bytes_written: 94, write_wait: 345.577375ms, time_to_write: 31.334µs, err: <nil>
example[DEBUG] read Fetch v16; broker: 0, bytes_read: 4, read_wait: 30.25µs, time_to_read: 83.000166ms, err: invalid large response size 131108 > limit 1024
example[DEBUG] read from broker errored, killing connection; req: Fetch, addr: <broker_1>:9092, broker: 0, successful_reads: 0, err: invalid large response size 131108 > limit 1024

package main

import (
	"context"
	"crypto/tls"
	"fmt"
	"os"
	"time"

	"github.com/twmb/franz-go/pkg/kgo"
	"github.com/twmb/franz-go/pkg/sasl/plain"
)

func main() {
	client, err := kgo.NewClient(
		kgo.SeedBrokers("<broker_1:9092>"),
		kgo.ConsumeTopics("topic"),
		kgo.ConsumerGroup("consumer-x"),
		kgo.ConsumeResetOffset(kgo.NewOffset().AtEnd().Relative(-1)),
		kgo.FetchMaxBytes(1024/2),
		kgo.BrokerMaxReadBytes(1024),
		kgo.FetchMaxPartitionBytes(1024/2),
		kgo.FetchMaxWait(5000*time.Millisecond),
		kgo.DialTLSConfig(
			&tls.Config{
				InsecureSkipVerify: true,
				ClientAuth:         tls.NoClientCert,
			},
		),
		kgo.WithLogger(kgo.BasicLogger(os.Stdout, kgo.LogLevelDebug, func() string { return "example" })),
		kgo.SASL(
			plain.Auth{
				User: "<User>",
				Pass: "<Password>",
			}.AsMechanism(),
		),
	)
	if err != nil {
		panic(err)
	}
	err = client.Ping(context.TODO())
	if err != nil {
		panic(err)
	}
	ctx, _ := context.WithTimeout(context.Background(), 10*time.Second)
	for {
		fetches := client.PollRecords(ctx, 1)
		for _, fetch := range fetches {
			for _, record := range fetch.Topics {
				for _, f := range record.Records() {
					fmt.Println("Received record")
					fmt.Println(f.Value)
					client.MarkCommitRecords(f)
				}
			}
		}
	}
}

Also on another note shouldn't below line be of Warn log level:
example[DEBUG] read from broker errored, killing connection; req: Fetch, addr: <broker_1>:9092, broker: 0, successful_reads: 0, err: invalid large response size 131108 > limit 1024

Was the batch produced at the offset you're consuming from very large? Kafka does not return individual records, only batches.

Was the batch produced at the offset you're consuming from very large? Kafka does not return individual records, only batches.

If I understand correctly, if the producer created a batch of 100 records with a total size of 10MB at offset 0, and I issue a fetch request with a maximum byte size of 1MB at the same offset, would Kafka still return all 100 records in that batch? Is it possible for Kafka to return just the first few records up to the 1MB limit, or does it always return the entire batch?

@twmb We were able to reproduce the issue, and it seems to be caused by the larger batch size. Thanks for the quick response—learned something new today! :)

@twmb  Thanks for the quick response, also can you please comment on this as well:

Also on another note shouldn't below line be of Warn log level:
example[DEBUG] read from broker errored, killing connection; req: Fetch, addr: <broker_1>:9092, broker: 0, successful_reads: 0, err: invalid large response size 131108 > limit 1024

Connections can die regularly -- e.g., internet traffic weather, temporary internet outages. IMO warn is reserved for things that shouldn't happen but we can recover, but you should really know because you should probably look into a problem somewhere OR more generally, things you should be aware of and look into if you have a logger setup. A connection being cut is pretty common and very retryable, so I don't throw that at warn -- or even info.


As an admin, I want to know who the current user is

This issue is for a: (mark with an x)
[ ] bug report -> please search issues before submitting
[x] feature request
[ ] documentation issue or request
[ ] regression (a behavior that used to work and stopped in a new release)

Description

As an admin, I want to know who the current user is so that I can have traceability into logging (#9 ) and see only my chats (#5 )

Expected/desired behavior
Please include any acceptance criteria here (should look like tasks to complete for the issue to be resolved)

[ ] Azure Active Directory integration
[ ] Sessions saved by user

Mention any other details that might be useful

This may be a prereq for #5 and #9

AAD integration is in there, but want to make sure that cascades to cosmos partitions, etc...


[SPARK-8689][SQL] Add get* methods with fieldName to Row

Row  has methods to get field a value by index but not has methods to get a field value by fieldName.

Merged build triggered.

Merged build started.

Test build #35932 has started for   PR 7067 at commit 5ecdc9e.

Test build #35932 has finished for   PR 7067 at commit 5ecdc9e.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
class Module(object):

Merged build finished. Test PASSed.

I don't think we need this. The reason that we have getInt, getDouble, etc. is to avoid boxing for some internal row implementations. However, the schema stuff is only used for external row, and there is no way to avoid boxing for it.

@sarutak Agreed with @cloud-fan, we already have too much methods in Row, getAs[Int](name) should be enough for them.

O.K, I'll close this for now.


Fix Escaped-Literal Strings (bug caused by a recent PR)

My previous edit of ToExp() and ToStringExpr() caused a bug that affected escaped/literal characters. That PR has already been merged. So instead of tracking down this issue with my edit, am changing these back to the original functions, plus a slight edit to fix the issue that required the edit in the first place. Sorry about that.

Been busy recently, but should get round to these later today

Thank you both for your efforts towards this tool. And allowing me to get involved in participating. I've made many mistakes and you have been very patient and supportive while I get up to speed. Thank you for that.

Thank you both for your efforts towards this tool. And allowing me to get involved in participating. I've made many mistakes and you have been very patient and supportive while I get up to speed. Thank you for that.
This communication is a little off topic for this thread, but I'm not sure how to communicated this directly here on Github. The AHK forum has a direct communication channel available, but I don't see that here.

Been busy recently, but should get round to these later today

Thank you!


Use existing Namespace class in ExtededCloud instead of anonymous object

We have a Namespace, and a Cluster class, yet ExtendedCloud.namespaces
was a list of anonymous objects with properties.
This moves it to being a list of Namespace objects using the existing
Namespace class, adding necessary properties to the class for clusters,
credentials, and SSH keys.
We're currently missing classes for Credentials and SSH keys. We'll need
to add those in a future PR. I will create a ticket for that. We should
propagate the use of raw API objects throughout the code.
This also changes the ExtendedCloud to always fetch ALL namespaces instead
of just the synced ones since we need to know what all exists at all times,
and adds a convenience syncedNamespaces getter that filters that list
to just what the Cloud is configured to sync for purposes of UI display
and (future) SyncManager.

NOTE: As on #711, any code followed by a // DEBUG comment will be removed before I merge this. I just left those statements in for now, in case I have to make larger changes after review.


Build error in gdetect.cpp

Getting below error while compiling:
..\..\src\gdetect.cpp(568): error C2440: 'initializing' : cannot convert from 'CvMat *' to 'cv::Mat'

The line of code in question is:
           cv::Mat sTmp2 = sTmp;

Here is the full error:
2>E:\Codebase\libpabod\include\cell.h(551): error C2664: 'void std::vector<cv::Mat,std::allocator<_Ty>>::push_back(const cv::Mat &)' : cannot convert argument 1 from 'CvMat *' to 'cv::Mat &&'
2>          with
2>          [
2>              _Ty=cv::Mat
2>          ]
2>          Reason: cannot convert from 'CvMat *' to 'cv::Mat'
2>          No constructor could take the source type, or constructor overload resolution was ambiguous
2>E:\Codebase\libpabod\include\cell.h(552): error C2664: 'void std::vector<cv::Mat,std::allocator<_Ty>>::push_back(const cv::Mat &)' : cannot convert argument 1 from 'CvMat *' to 'cv::Mat &&'
2>          with
2>          [
2>              _Ty=cv::Mat
2>          ]
2>          Reason: cannot convert from 'CvMat *' to 'cv::Mat'
2>          No constructor could take the source type, or constructor overload resolution was ambiguous
2>E:\Codebase\libpabod\include\featPyramid.h(247): error C2679: binary '=' : no operator found which takes a right-hand operand of type 'CvMatND *' (or there is no acceptable conversion)
2>          E:\Codebase\opencv\build\include\opencv2/core/mat.hpp(1098): could be 'cv::Mat &cv::Mat::operator =(const cv::Scalar &)'
2>          E:\Codebase\opencv\build\include\opencv2/core/mat.hpp(943): or       'cv::Mat &cv::Mat::operator =(const cv::MatExpr &)'
2>          E:\Codebase\opencv\build\include\opencv2/core/mat.hpp(934): or       'cv::Mat &cv::Mat::operator =(const cv::Mat &)'
2>          while trying to match the argument list '(cv::Mat, CvMatND *)'
2>..\..\src\gdetect.cpp(568): error C2440: 'initializing' : cannot convert from 'CvMat *' to 'cv::Mat'
2>          No constructor could take the source type, or constructor overload resolution was ambiguous
2>..\..\src\gdetect.cpp(654): error C2664: 'void std::vector<cv::Mat,std::allocator<_Ty>>::push_back(const cv::Mat &)' : cannot convert argument 1 from 'CvMat *' to 'cv::Mat &&'
2>          with
2>          [
2>              _Ty=cv::Mat
2>          ]
2>          Reason: cannot convert from 'CvMat *' to 'cv::Mat'
2>          No constructor could take the source type, or constructor overload resolution was ambiguous
2>  getDetections.cpp

VS2013 compiler with Win32 x86 with latest OpenCV 3 RC1

I get the same error. Any luck resolving this issue?


[Question] Will Antidote maintain the plugins up to date with their remote repositories?

Basically the title. Will Antidote be able to update the plugins by itself or will I need to manually do it?
Thanks

The antidote update command updates antidote itself, and all your plugins managed by antidote.
In addition, I have a planned feature for pinned SHAs that would allow you to prevent a repo from updating, but it’s not yet implemented. Generally I would assume you’d want the latest, which is simply antidote update.

That's perfect for my use case! Thanks!


No output

Hi,
I've probably done a really basic mistake somewhere. But I've been trying gulp-eslint to output errors for the last 2 hours. Feel free to tell me to continue with my day job and to stop pursuing ever working with code of any form, but I'm lost. Any guidance is appreciated.
Cheers!
gulpfile.js
'use strict';

var gulp      = require('gulp'),
    config    = require('./config.json'),
    functions = require('./functions.js'),
    plugins   = require('gulp-load-plugins')();

gulp.task( 'js:lint', functions.getTask('js-eslint', gulp, config, plugins) );

config.json
{
    ...
    "esLint": {
        "rules": {
            "camelcase": 2,
            "curly": 2,
            "brace-style": [2, "1tbs"],
            "quotes": [2, "single"],
            "semi": [2, "always"],
            "space-in-brackets": [2, "never"],
            "space-infix-ops": 2
        }
    }
}

gulp_task/js-lint.js
module.exports = function( gulp, config, plugins, functions ) {
    'use strict';

    var source = [
            config.src.js + 'test.js'
        ];

    return function() {
        gulp.src( source )
        .pipe( plugins.eslint({
            config: config.esLint
        }))
        .pipe( plugins.eslint.format() )
        .pipe( plugins.eslint.failAfterError() )
        .pipe( functions.onSuccess(plugins, 'JS:lint', 'Lint finished running') );
    };
};

test.js – Snatched from http://eslint.org/docs/rules/camelcase
var my_favorite_color = "#112C85";

function do_something() {
    // ...
}

obj.do_something = function() {
    // ...
};

var obj = {
    my_pref: 1
};

output
WalkPro:gulp Walker$ gulp js:lint
[14:41:36] Using gulpfile ~/Sites/_tmp/gulp/test/gulpfile.js
[14:41:36] Starting 'js:lint'...
[14:41:36] Finished 'js:lint' after 251 ms
[14:41:36] gulp-notify: [Success JS:lint] Success: Lint finished running

In "js-lint.js" be sure to return the stream.

I'm experiencing the same issue myself.  Can you test running your source against the eslint executable itself? I've found that works fine but for some reason this gulp plugin raises no errors.

@jayzawrotny, the original issue comes up often, and has nothing to do with the gulp-eslint plugin (see the Gulp docs). If you are experiencing another issue, please help me reproduce it in a separate issue thread.

Thanks for your reply regarding returning the stream, @adametry!
It works just fine when I return the stream and have the files I want to lint in the same (or in a subfolder) as my gulpfile. But it seems like it all boils down to that gulp-eslint doesn't like it when the files to be linted is located in a folder outside of the gulp folder.
Working example:
project
├── gulp
│   └── gulpfile.js
│   ├── lint-me.js
│   ├── scripts
│       ├── lint-me-too.js

Not working example:
project
├── gulp
│   └── gulpfile.js
├── scripts
│   └── lint-me.js

@kaptenw Same problem here.

@adametry That is definitely not the issue.

I am calling the done gulp task when when the ending writable stream emits a finish event
My setup works fine prior to 2.0. If I downgrade to say 1.1.1 it works as expected.
After testing the suggestion that I'm not returning the stream by changing the workflow to return the stream, I still get no output:

So I don't think it is unreasonable to suspect it has something to do with this reported issue.
Suggested Source that still does not work
gulp.task('lint', () => {
 return gulp.src('app/js/**/*.{js,jsx}')

    // Lint the file
    .pipe(eslint(config))

    // Output the results
    .pipe(eslint.formatEach());
});

My Actual Source
gulp.task('lint', (done) => {
  gulp.src('app/js/**/*.{js,jsx}')

    // Don't break on errors
    .pipe(plumber({ errorHandler: true }))

    // Lint the file
    .pipe(eslint(config))

    // Output the results
    .pipe(eslint.formatEach())

    // logEnd is a writable stream which also allows more than 16 files at once to be processed
    .pipe(logEnd())

    // Event only emitted when
    .on('finish', () => done());
});

Hey everyone, I believe the problem you speak of is related to this issue: https://github.com/eslint/eslint/issues/5314
For now, setting the option "dotfiles" to true should resolve the issue, but it's not an ideal fix I realize.

ESLint has made a fix in our master branch.  It would be great if someone here could try it out and confirm it is now working.

I tried v1.1.1. It working.
(This is a temporary way.)

This issue id fixed. evidence


Some changes just FYI

Hey, Anand!
Thanks for a really good project. I was experimenting with it for a few hours and there is three issues I've come across:

There was a strange right positioning of gradient under the close button. I don't know why it was set to 1rem, but I set it to right: 0 and went with it;
There was no height recalculation on resize. So when bar is changing it's height (for example some multiline shenanigans), it was still adding first calculated margin.
And finally there was some logic with adding new margin to existing margin value in moveElements and it was working fine until you added a call of this function on every resize. It was really awkward when my page was slowly moving down on every resize so I just cut this part out.

I'm sure that you don't need to approve my pull request.  But you might want to incorporate some of this fixes in to your main repo.
It is a pleasure using your library! Keep up the good work!

Thank you @sontan!

I've deployed this in v1.4.0.


Not supported on WebStorm 2017.2.2

Hello!
I've just updated WebStorm to its latest version and when I've restarted it I got this message saying that .ignore plugin is not compatible.
This is my set up:

Build
#WS-172.3757.55, built on August 15, 2017
JRE: 1.8.0_152-release-915-b10 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0
Node version: 8.4.0

Thanks!

@FedeMarshall duplicate of #408


can't install gdcli

hello!

You can just remove the dependency. This is usless dependency I forgot to remove

Thanks :)


The Web Console throws an error on saving the Certificates section

Hi,
I'm running routr 1.0 RC4 on Ubuntu 18.04 via Snap.
Unfortunately I can't save the Certificate settings in the web console. As soon as I hit the Save button, it just throws an error "TypeError: t.localnets is undefined" on the console and stops there.

Can you save any other settings? I can't save settings at al, but no error on the console. Which version of the cli (rctl) are you using?

Hi,
thanks for the answer. I can't save any setting. This is my version of the cli:

npm list -g | grep routr-ctl
└─┬<EMAIL_ADDRESS>

One question, how would I change such a setting on the CLI with rctl?

@philiplb
I created a fix this issue. This will be available at NPM probably this weekend. However, you can install rctl 1.0.14 (with fix for the Web UI) directly from the repository, using the following command:
npm install https://github.com/fonoster/routr-ctl -g

One question, how would I change such a setting on the CLI with rctl?

Unfortunately this is not possible yet, but I'm tracking the issue.

One thing I just tried: I changed the file /var/snap/routr-server/13/config/config.yml to

This is the expected behavior. When you set spec.datasource.provider to a persistent data provider, the configuration is store in that data provider. I can see how that may be confusing. Perhaps we should update the documentation.

Oh I forgot to mention, that you might see an error related to the trustStore and the trustStorePassword being null. This is and issue with Routr setting those values to null as default. I already fix it and will be available in RC5.
As a workaround, go to Settings -> Rest Service and set the trustStore and trustStorePassword to ANY value and save the settings. After that you can come back and remove those values.
Sorry for the inconvenience.

That worked well!
Now I can't get sip.js connected to the Routr instance, but I need to investigate deeper here. It can't connect to the Websocket so far. Maybe I will open another issue later.
Thank you very much! :)


re-add kubeconfig to the create_release_archive script.  Required for…

… consul and Eurkea demos
What this PR does / why we need it:
kubeconfig was not added to the find and so the kubeconfig file in install/consul and install/eureka is not getting added to the release.
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #
Issue #1995
Special notes for your reviewer:
Release note:

@GregHanson: Adding do-not-merge/release-note-label-needed because the release note process has not been followed.

One of the following labels is required "release-note", "release-note-action-required", or "release-note-none".
Please see: https://github.com/kubernetes/community/blob/master/contributors/devel/pull-requests.md#write-release-notes-if-needed.
Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

/lgtm


Wrong type variable reported for polymorphic type alias

type alias F a = a

wrong : F a -> F b
wrong = identity

This produces the following error message (Elm version 0.16).
The type annotation for `wrong` does not match its definition.
The type annotation is saying:
    F b -> F b
But I am inferring that the definition has this type:
    F b -> F b
Hint: A type annotation is clashing with itself or with a sub-annotation. This
can be particularly tricky, so read more about it.
<https://github.com/elm-lang/elm-compiler/blob/0.16.0/hints/type-annotations.md>

Note in contrast that this code produces the correct error message:
wrong' : a -> b
wrong' = identity

The type annotation for `wrong'` does not match its definition.
The type annotation is saying:
    a -> b
But I am inferring that the definition has this type:
    a -> a

This looks like a true bug in the compiler, not a "this error message is technically correct, but could be better phrased/presented". This repository here is, as far as I know, meant for the latter kind of things (messages that are not buggy, but could be improved), not for compiler bugs. So I suggest you move this over to the https://github.com/elm-lang/elm-compiler repository. In fact, I guess that you have just encountered the same bug that others have already: https://github.com/elm-lang/elm-compiler/issues/1192. Maybe add your example to that issue, in case it is simpler than the examples already present there?

Ok, thanks. I've posted a comment there.

Having done exactly this a few days ago, I think it speaks to our attitude about compilers: "Yeah it gave me a logically inconsistent error message, but that's 'not a real bug' somehow."

This is supposed to be fixed now. See https://github.com/elm-lang/elm-compiler/issues/1192#issuecomment-215254480.

Confirmed this is fixed in 0.17. Here is the current error message I get:
-- TYPE MISMATCH ---------------------------------------------------------------

The type annotation for `wrong` does not match its definition.

9| wrong : F a -> F b
           ^^^^^^^^^^
The type annotation is saying:

    F b -> F c

But I am inferring that the definition has this type:

    F b -> F b

Hint: A type annotation is clashing with itself or with a sub-annotation. This
can be particularly tricky, so read more about it.
<https://github.com/elm-lang/elm-compiler/blob/0.17.0/hints/type-annotations.md>

Hmm, well, as https://github.com/elm-lang/elm-compiler/issues/1192#issuecomment-218848992 shows, the compiler bug underlying this is not really fixed. We just need a very small modification of the original example here and it still breaks.
But there is a corresponding issue in the compiler repo anyway.

For the record, https://github.com/elm-lang/elm-compiler/issues/1371.