Unable to create custom filters

In the custom filter example the function createOperatorFilter is being used like so:
import { createOperatorFilter } from '../../../src/filters/createOperatorFilter';

while trying to actually use the library the intellisense suggests to import it like so:
import { createOperatorFilter } from 'mantine-data-grid/dist/filters/createOperatorFilter';

However it results in the following error:
./components/cms/beta/EditTable.tsx:27:0
Module not found: Package path ./dist/filters/createOperatorFilter is not exported from package /.../node_modules/mantine-data-grid (see exports field in .../node_modules/mantine-data-grid/package.json)
  25 | import SlidePreview from '../SlidePreview';
  26 | import { useHotkeys } from '@mantine/hooks';
> 27 | import { createOperatorFilter } from 'mantine-data-grid/dist/filters/createOperatorFilter';
  28 |
  29 | const toValue = (value: boolean) => (value ? 'true' : 'false');
  30 | const toState = (value: string): boolean => (value === 'true' ? true : false);

Import trace for requested module:
./components/cms/beta/index.ts
./pages/cms/beta/edit.tsx

https://nextjs.org/docs/messages/module-not-found

I think it might be safer to make examples that use the published library as a dependency as opposed to referring the code in src directory. If that is easily achievable in some way.


[CELEBORN-788] Fixed the issue of submitRetryPushData using the old l…

…oc for revive when receiving consecutive hard_split.
What changes were proposed in this pull request?
When handling hard_split in the push data callback, use the latest loc. After submitRetryPushData successfully revives, update the loc in the callback.
Why are the changes needed?
If loc is not updated, it may cause submitRetryPushData to keep using the old loc epoch, rendering the retries ineffective.
Does this PR introduce any user-facing change?
None
How was this patch tested?
None

cc @AngersZhuuuu @RexXiong

I reviewed the code logic for push merged data, and I think push merged data does not have similar issue, because newer DataBatches do use the new location.
} else if (request.reviveStatus == StatusCode.SUCCESS.getValue()) {
  PartitionLocation newLoc = reducePartitionMap.get(shuffleId).get(request.partitionId);
  DataBatches newDataBatches =
      newDataBatchesMap.computeIfAbsent(genAddressPair(newLoc), (s) -> new DataBatches());
  newDataBatches.addDataBatch(newLoc, batch.batchId, batch.body);
}


[Suggestion]: Disable Theme Option

I use some special ITS Settings that make bubbles around my headers. This causes issue in some plugins and I was hoping to get a toggle so I don't get this in the Calendar

Ah, looks like we need to do some CSS here as well. This should be easy enough to do.

I am sorry, but I cannot realistically disable CSS from being applied by themes.


A question about this

When printing this, most engines output [object global], such as v8, spiderMonkey, chakra, etc., but the output of jerry is [object Object]. Why does it happen?
JerryScript revision
996bf76
Build platform
Ubuntu 16.04.6 LTS (Linux 4.15.0-55-generic x86_64)

Build steps
python tools/build.py --clean --debug --logging=on --line-info=on --error-messages=on --cpointer-32bit=on --mem-heap=1572864 --profile=es2015-subset

Test case
var f = function() {
    print(this);
};
f();

Execution steps
build/bin/jerry testcase.js

Output
 [object Object]

Expected behavior
 [object global]

Hi @YiWen-y,
The console.log/print like functions are engine specific and the standard does not contain any point about them, so I would not say that this is the expected behavior only other engines creates different output.

The issue seems resolved, closing it.


add activationEvents again

misinterprented a warning in vscode and never tested to package the extension.
added extra code-quality test to actually package the extension after tests.

acidentally merged since the github ui was so slow loading correct stuff... :S


Nicer player controls

make bottom bar match header bar color
enlarge cursor and loading bar on hover
remove extraneous .bottom-bar class

+1


Add molecule-docker.yml for testing syntax only

See https://github.com/openmicroscopy/ome-ansible-molecule-dependencies/pull/7#issuecomment-321492672

Doesn't this need activation of some form in .travis.yml?

Cheers. Will follow-up in https://github.com/openmicroscopy/ome-ansible-molecule-dependencies/pull/7


Write whole blocks using ZstdCompressCtx

This changes write to use ZstdCompressCtx with an entire buffer. This allows Zstandard to know the data size at the beginning, encoding the expected data size in the frame header.
With the data size in the frame header, this now becomes compatible with zarr-developers/numcodecs (Python) since it currently incorrectly treats an unknown size as an error.

@bogovicj , I believe this will address the problems found in https://github.com/saalfeldlab/n5-zarr/pull/35

Thanks, I'll give it a try later and report back

@mkitti
Confirming that this PR addresses these issues for me as well.


raw.plot_psd: edge line of area plot

when plotting raw psd with n_fft=len(raw.times), average=True to get high def in frequency, the edge of the grey shaded area overplots, which creates an ambiguous darker grey area around the normal grey area

Here's a zoomed in version:

would be nice to be able to disable this edge line in the call to raw.plot_psd

you can always edit a posteriori a matplotlib figure and remove the line.
Let me know if you need help with this.
is it just for a one time thing?

yeh, I don't plan on doing these plots so often.
How do i find the right property in the matplotlib figure ?

this should do the job:
import matplotlib
import mne
from mne.datasets import sample
data_path = sample.data_path()
raw = mne.io.read_raw_fif(data_path + '/MEG/sample/sample_audvis_raw.fif')
raw = raw.pick_types(meg=False, eeg=True, eog=True, ecg=True, stim=True,
exclude=raw.info['bads']).load_data()
fig = raw.plot_psd()
lines = [ch for ch in ax.get_children() if isinstance(ch,
matplotlib.lines.Line2D)]
lines[0].set_visible(False)

IMHO this outer line should be disabled by default (or have the same color as the filled area). It doesn't add any additional value and leads to problems in edge cases like the one @dnacombo described. We could consider adding a kwarg to turn it on / set its color if users actually want to plot it…

this line tells you how data have been low passed
see: https://mne.tools/stable/auto_tutorials/raw/plot_40_visualize_raw.html#sphx-glr-auto-tutorials-raw-plot-40-visualize-raw-py
now I agree that grey on black when you don't use spatial_colors it's
not really a good choice
my 2c

@agramfort I think they're talking about the lines at the top and bottom of the shaded area, and you are talking about the dashed line to indicate the lowpass or line freq (probably line in this case?).
I think I agree with @hoechenberger that having a line at the edges of the area does not actually add information. @hoechenberger you want to open a PR to remove it, and touch the example @agramfort linked to so we can see how it looks?

I think I agree with @hoechenberger that having a line at the edges of the area does not actually add information. @hoechenberger you want to open a PR to remove it, and touch the example @agramfort linked to so we can see how it looks?

Yep can do!


Cleanup fails requiring password

Trying to run the clean command as documented here and getting the follow error message:
TASK [../../roles/kubeinit_prepare : gather network facts] ***********************************************************************************************************************************************************************************
fatal: [hypervisor-01]: FAILED! => {
	"ansible_facts": {},
	"changed": false,
	"failed_modules": {
		"ansible.legacy.setup": {
			"failed": true,
			"module_stderr": "sudo: a password is required\n",
			"module_stdout": "",
			"msg": "MODULE FAILURE\nSee stdout/stderr for the exact error",
			"rc": 1
		}
	},
	"msg": "The following modules failed to execute: ansible.legacy.setup\n"
}

Inventory being used is available here.
And have no issues completing most of the install steps and logging in to my hypervisor without SSH password.

Can you try running the ansible-playbook command without specifying --become or --become-user ?  Those are no longer necessary and should be omitted from the command line

Didnt manage to reproduce this, feel free to reopen if happens again.


specron init - breaking change

Specron init creates files with code from the previous specron version in which there are breaking changes like: requireContract -> deploy so the default example does not work.

Are you sure you are using the latest package v0.0.38?


Exploding messages not working after restoring from time machine backup

I am not sure if there is something more that I need to do to get my new MacBook Pro after restoring from a time machine backup. It seems like Keybase recognized the new computer with as the same device as my previous computer. However, exploding messages do not seem to work with error message: "This exploding message is not available to you. cloned devices so not support exploding messages"
my log id: 00043c49d3b4fa569c29c91c

that is awesome that it realized it is a clone.
just import your paper key.


Allow users to disable legends in the "create customized navigator" interface

Users should be able to disable the legends feature in the "create customized navigator" interface.

Add a new object named "legends" in the features array in assets/config.json. This will automatically populate the "create customized navigator" interface.
Add an *ngIf="configService.getFeature('legends') to the legends html container to facilitate removal when specified in the config.

Feature implemented in features/disable-legend and merged into develop.


Canonize arrow on extraction

This PR closes #2290 by applying canon_arrow while packing an arrow type.
This way, the arrow representation generated by pack is the same as the one used for parsing.

Is this still needed?

It would be nice to have, if the error is still present. I can check later.

Hi @antoniolocascio, can you let us know if we still need this or we can close it. Thanks!

Hi @aseemr, I'm not able to work on this right now, so I'll close it.


UI string update for certificates section.

Describe the issue:
The text in the certificates section of the console app mentions that users can create and manage certificates in the Keystore, but there is no method to create a new certificate.

How to reproduce:

Login to the IS console app.
Navigate to Manage > User attributes > Certificates.

Expected behavior:

Environment information

Product Version: IS 15.12.0 - beta3

Checked in IS 5.12.0 beta3 and observed the same behavior. AS there is no create facility under the certificates section we may need to change the headings accordingly


Generate website without CSS

Right after git Pull this theme and setup.
Is the version of hexo out-of-date?
hexo -v
hexo-cli: 0.1.6
os: Darwin 14.3.0 darwin x64
http_parser: 1.0
node: 0.10.22
v8: <IP_ADDRESS>
ares: 1.9.0-DEV
uv: 0.10.19
zlib: 1.2.3
modules: 11
openssl: 1.0.1e

The version of hexo-cli looks fine. Could you please provide more info about this error, such as:

The status of request to main.css.
Run hexo g then take a look at main.css.

or something else.

Is it possible to fix?
Thank you for your design. I do appreciate and really want to use this splendid theme.

Yeah, it seems links to assets are all incorrect.
Could you try to clean and re-generate your site with:
hexo clean
hexo generate

Another possible solution is to set relative_link to false in your site's _config.yml. Please also try it.
Let me know if it works or not.

relative_link is false already.
Tried hexo clean && hexo generate and still showed the same error.
Is it possible to set any breakpiont within hexo generate code and figure out what is going wrong?

Changing to another theme solved this problem, thanks for your help!


Documentation: Sidebar Rules Menu/TOC grouping

We should update the table of contents for the rules so that there is a sub-category, i.e. a11y, and then the grouping for those rules under than sub category.
If you're in the documentation looking at rules it's not a good user experience if you only want to be exploring a certain category but the menu of rules in the sidebar isn't group by category/doesn't explicitly state what category the rule is in/is listed alphabetically .

I'm not sure how long this issue would take to do & what all needs to be done with the way the TOC currently gets pulled in.
We would be restructuring the table of contents to group hints by their main category. I think the ability to collapse different hint categories in the TOC would be helpful as well so there isn't just a massive list visible.

Task list:

[ ]  group hints by parent hint category
[ ]  make accessible


Reply in thead level >4 results always in reply in thread level 4

When replying messages in a thread level >4 the reply is placed under the wrong level.
Example:
note1spjmvzwtju58u2j6n44dpg2mrskzjccn52d3me64fvgwzm6ypjdq24n4nl
How to reproduce:
Reply to the note below with Amethyst
note1jktjqwk47fhy0kgvk622mnm3ym8eju9gyqyn7z48frnyqqcunxfsjz44cy
Look now where your reply is. It is not in the correct level of the thread.

Seems solved in version 0.14.3. Strange there was nothing mentioned in the release info of solved issues about this. But glad it is solved.


Dotmesh usage metrics for backend

In order to understand what our SaaS users doing we want to track all their dm usage against our dotmesh cluster.
Things to note:

Consider this in our GDPR consent!
Monitor the tracking data

We want to know when users have:

Installed it
Pushed/pulled etc

I'm concerned that as the SaaS takes off, this will become a lot of work to hammer the Segment APIs. I'm assuming they won't rate-limit us, but if I'm to look into batching pings, or putting them into a local queue and having a pool of processes feeding them up to Segment, can I just confirm that it's OK if events are delayed sometimes (hours at worst) in the name of making the system more scaleable and fault-tolerant?

@mrmrcoleman and @alice-sowerby ^

The implementation of this is being split into a few different items, so I'm closing this issue:

https://github.com/dotmesh-io/marketing-site/issues/49 to get customer IDs from the marketing site into the SaaS UI
https://github.com/dotmesh-io/dothub/issues/32 to get customer IDs from the SaaS UI into the SaaS core
#286 to log API calls against that customer ID.


G goes to end of last line

G should go to the beginning of the last line and not the end of the last line. That is the behavior in VIM.

Me too

Actually, Vim tries to leave the cursor in the same column it started in.

Damn it, Vim is inconsistent.  This behavior depends on the startofline setting.
http://stackoverflow.com/questions/8292742/vim-cursor-jumps-to-begining-of-the-line-after-buffer-switch
Everyone sets nocompatible, right?  If so, then it seems like most people would expect nostartofline...  But I guess this is open to discussion.

@bronson as my understanding this issue is report for the behavior 'cursor past last newline'.
If this is for about startofline option behavior, cursor position report is whether start of line OR firstchar of line.

Drat, you're right.  Hope vim-mode receives that fix.  :)

As stated in the README, this package is no longer maintained and is deprecated. We recommend that people use the vim-mode-plus package instead. Because of this, we are archiving this repository and closing all issues and pull requests. Thanks very much for your support and contributions!


Add support for validating response against JSON schema

Adding a utility method to validate a JSON response against a JSON schema should be fairly straightforward, since we're using JSON.net already internally.
See https://www.newtonsoft.com/json/help/html/JsonSchema.htm
Probably a good idea to create overloads both for passing in a JSON schema as a string and as a JsonSchema object.

First steps done, created a method that successfully validates a response against a JSON schema supplied as a string.
To do:

Better exception handling (what happens when schema supplied is invalid, what happens when response content type isn't JSON)
Adding more tests around this
Adding another DSL method to supply schema as a JSchema object (reuse logic where possible)

Merged into main with #12 .


restic: switch to default go compiler

Motivation for this change
There is no more need to use non-default go compiler for restic.
Things done

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

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

[x] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

This change is

Thanks!


please support cloudflare

npm run dev is ok.
but npm run build is failed,please!
// astro.config.mjs
export default defineConfig({
  output: "server",
  site: "https://xxx.net",
  integrations: [AstroPWA(), vue(), astroI18next()],
  adapter: cloudflare(),
});

  File:
    dist/$server_build/chunks/pages/_num_-_unit_-_rest__aeb29c6c.mjs:2:22
  Code:
    1 | import i18next, { t, changeLanguage } from 'i18next';
    > 2 | import * as url2 from 'url';
        |                      ^
      3 | import '@proload/core';
      4 | import '@proload/plugin-tsm';
      5 | import { d as createAstro, e as createComponent, r as renderTemplate, m as maybeRenderHead, f as renderComponent, u as unescapeHTML, F as Fragment, s as spreadAttributes, g as addAttribute, h as renderSlot, i as renderHead } from '../astro_a778e668.mjs';```

Is there anyone else same error with me?

What do you need adapter: cloudflare() for? You can deploy astro to cloudflare from your git repo without any adapters...

He means he wants to use with cloudflare ssr


[caltools] fix mcd multiprocessing bug

when use multi processing, need device param, but init function don't initialize the "device" param

it make sense, thanks


[branch-2.0](publish version) publish txn fail retry do not wait 1s #28441

pick:  #28441
If many txns publish failed, then txns start to pile up.
No need wait here, even if BE publish failed, FE will send retry tasks later (in no more than 15s).
Proposed changes
Issue Number: close #xxx

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

run buildall


Data from Azure Sustainability Dashboard available through api?

Hi,
I wonder if the data behind the Azure Sustainability Dashboard is available though an API so that our internal systems can be integrated with the numbers presented here?
/Joel

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

ID: 82f8dd20-599d-ab7f-a1db-7e2b5310abb1
Version Independent ID: 897a9588-8a69-dc64-6722-fd2c731f0f03
Content: Connect to the Emissions Impact Dashboard - Power BI
Content Source: powerbi-docs/connect-data/service-connect-to-emissions-impact-dashboard.md
Service: powerbi
Sub-service: powerbi-template-apps
GitHub Login: @rosode
Microsoft Alias: rosode

Thanks for your comment question @joeltorby.
@rosode, can you comment?

Hi @joeltorby.
I checked with the product team and they said that unfortunately that data isn't currently available through an API. It's in their backlog, but there isn't yet any firm idea about when they'll be able to provide that functionality.
I would suggest you go to https://ideas.powerbi.com/ideas/, and add this as an idea there that others can vote on. This might help move the API up in the priorities. If you search for "emissions" when you're in the Ideas site you'll see other ideas/requests that people have submitted in regard to the Emissions dashboard.
Thanks for reaching out to us!

Thanks for the help @paulinbar! Here is the idea: https://ideas.powerbi.com/ideas/idea/?ideaid=1f746d06-af72-ec11-b820-0003ff4569ae
If anyone out there is reading this, please give it an upvote!


ag scrub the extra field

The extra field is not being scrubbed according to the scrub fields, this could lead to PII leaking internally as many would assume that the extra params are scrubbed.
in particular, calling Rollbar.error(e, extra_params: some_request_params) for example.

@AGarrow thanks for the PR.
@waltjones can you take a look?

@waltjones turns out the params scrubber was susceptible to cyclical references, I think I've handled that now. I chose to prioritize runtime over memory in that case, I hope thats appropriate.

@AGarrow thank you!

@waltjones no problem! do you have a rough idea of when the next release might be?

I think @ArturMoczulski is working on a release any day now.

👍 thank you!


Some improvements request

Hi.
I propose to make some improvements so that the conversion of coal into a denser fuel gives some profit. This is especially true when playing with bobmods.
Firstly, I suggest that each following recipe adds an energy bonus, and preferably increasing, for example, 5-10-15-20-25%, i.e. coal gives 4 MJ, Lignite — 42 MJ, Sub-Bituminous Coal — 464 MJ, Bituminous Coal — 5336 MJ, Anthracite — 64032 MJ, and Diamond — 800400 (rounded up to 800,000) MJ. Or, if this is too much, you can stop at 0-2.5-5-7.5-10%, i.e. 4 - 40 - 410 - 4305 - 46280 - 509080 MJ.
Secondly, if I'm not mistaken, bobmods makes coal have a 200% pollution coefficient. Therefore, I suggest that each subsequent variant of coal concentration had less pollution, for example, 200% (coal) - 150 - 120 - 100 - 85 - 75%. This will also greatly increase the attractiveness of denser fuel. Of course, you can completely accelerate and put pollution 200 - 150 - 100 - 75 - 50 - 25%, but, in my opinion, this will already be outright cheating.

Hi.
I some edited and tweaked your mod, here is the link. If you wanted, you can upload it.
Changes:

Renamed all recipes and items to CE_[old_name] (now with "_" instead of " ") because of possible compatibility issues with other mods (first of all — "Diamond" item and|or recipe).
Added two settings — "Coal density energy bonus" and "Coal density speed bonus". The first option gives energy bonus for more dense coal-based types of fuel, also, if enabled "Bobpower" mod, every next dense coal-based fuel have lesser pollution. The second option give to them acceleration and maximum speed bonuses up to 200/150% from Diamond. I think, it's more or less fair and will not be considered as cheating fuel.
Make right recipe order Lignite --> Sub-Bit. coal --> Bit. coal --> Antracite --> Diamond (order z1-z5)
Updated icons (removed that nasty white background).
Updated EN and added RU localization.

Thanks so much for all the help! This is my first mod I've ever tried making and also my first time using Lua -- I've been pretty slow at completing the stuff you had mentioned the other day, so this was a big help. I tested everything, it all worked great, so I merged it and updated the mod. The effects should be there by now.


Pockets of Variation or Invalidation of Depth travel through Depth image

Bug Description
While having the Kinect mounted looking down, and viewing the Depth viewer, I will notice every few seconds or so, a Black elliptical form (or multiple) travel through the Depth Camera view.  We've been working with the Kinect since the beginning of the year, and have not seen this before.  What's worse, these artifacts (which I noticed from invalidation assigning the pixel value to zero) will also travel in a depth disparity from the remaining images.  With our application, we need great accuracy and seek to correct Systematic Errors on a per device basis, but we may not be able to if we can't account for these artifacts.
Since noticing them in this way, we've noticed them independent of the orientation of the Kinect as well.
To Reproduce
View the Kinect Depth information in the Azure Kinect Viewer from a static position.
(Not sure what circumstances brought on this issue . . . Wondering if we have overused the device?)
Expected behavior
Ideally, no odd depth artifacts, travelling through the scene.  At least, only invalidated depths travelling through the scene instead of both invalidated depths and inaccurate depths traveling out through the scene.
Screenshots
This GIF shows one such artifact traveling through the scene.

Desktop (please complete the following information):

OS with Version: Windows 19041
SDK Version:  1.4.0
Firmware version:

As an observation...I call these "amoebae" given their round-like shapes and organic movement. I see them with Kinect v1, v2, and Azure. Now 8+ years with them and across hardware/technology, I have considered them part of the tech...a known aberration I can usually filter out.
I'm not suggesting there isn't a bug. Rather, I guess it is something systemic in the tech or methodology given this exists across all generations of Kinect and having almost identical shape and movement. Maybe it is a particle of dust floating close to the emitter or sensor. 🌠 Or a fairy 🧚♀😉

This is not a bug. The moving blob is dust in the environment.

Huh.  Dust?  I didn't even think of that. I'm not sure I have a way to validate that here, but that could make sense; we recently had construction in our office building, so maybe that's why we're noticing so much more now as opposed to a month or so ago.
That's unfortunate, but we'll work around it.


abstract_node does not work

I get the error:
AttributeError: type object 'SokaNode' has no attribute 'label'
see example:
https://github.com/robinedwards/neomodel/issues/233

My previous report was incomplete. It is the combination of using abstract_node and install_all_labels().  I have created an example program illustrating the issue.
from uuid import uuid4

from neomodel import IntegerProperty, StringProperty, StructuredNode, config, db, install_all_labels

config.AUTO_INSTALL_LABELS = False
db.set_connection('bolt://neo:neo@localhost:8687')

class SokaNode(StructuredNode):
    __abstract_node__ = True
    uuid = StringProperty(unique_index=True, default=uuid4)

class Person(SokaNode):
    name = StringProperty(unique_index=True)
    age = IntegerProperty(index=True, default=0)

install_all_labels()  # exception raised here.

Person(name='blablabla', age=10).save()

Traceback (most recent call last):
File "/Users/mjm/Dropbox/Devel/_Experiments/Neo4j/neomodel/testit.py", line 19, in
install_all_labels()
File "/Users/mjm/Dropbox/Devel/_Experiments/Neo4j/venv3/lib/python3.6/site-packages/neomodel/core.py", line 62, in install_all_labels
install_labels(cls, quiet=False, stdout=stdout)
File "/Users/mjm/Dropbox/Devel/_Experiments/Neo4j/venv3/lib/python3.6/site-packages/neomodel/core.py", line 38, in install_labels
key, cls.label, cls.module, cls.name))
AttributeError: type object 'SokaNode' has no attribute 'label'
Setting up labels and constraints...

Aha the full story, you should have posted that earlier. There was no mention of install_labels.
I've just fixed this in master, good spot

I know, me culpa. I was reminded of the problem when reporting #233 ;-)


[Feature]: simple land-sea mask generation

Is your feature request related to a problem?
Bringing in the land-sea mask generation capability that was built using regionmask into the PMP, unless it will be implemented to xcdat.
Describe the solution you'd like
The working code is described here: https://github.com/xCDAT/xcdat/issues/576
Describe alternatives you've considered
Using pcmdi_utils have been considered as an alternative place to host such capabilities, but currently one of its dependencies, global-land-mask, is only available through pip, complicating the conda installation process.
Additional context
Hosting this capability will also help addressing https://github.com/PCMDI/pcmdi_metrics/issues/1004 and potential issues from other similar codes.

Just to leave a note:
The apply_landmask function is newly added which include create_land_sea_mask by using either of pcmdi method or regionmask.
By default apply-landmask is more strict in removing coastline grid, which tend to remove more of coastline grids.
Related test also can be found at: https://github.com/xCDAT/xcdat/pull/613#issuecomment-2037753722


Update MoveToCMD.java

Allow console execution for 'moveTo' command:

Allows command execution from the console
Implemented logic to specify the world parameter when executed by the console
Adjusted argument indices to correctly parse coordinates, yaw, and pitch for both player and console senders.
Ensured correct world assignment based on the command sender.

Thank you for your contribution but this PR has been reverted as it does not function, in the future please make sure your PRs can be compiled and are tested to function as intended.


Cold build takes upwards of 50 minutes, high transformTime

TypeScript Version:  3.8.3, however I have tried 3.3.x as well as the latest 3.9.x and even updating the the rc version of 4.0
Search Terms:
Fresh/cold build takes upwards of 50 minutes, both watch and regular build mode. Very high transform time.
Code
This is a private repo I started contributing too so I can't share it, but this is our tsconfig.
{
    "compilerOptions": {
      "declaration": true,
      "importHelpers": true,
      "module": "commonjs",
      "esModuleInterop": true,
      "outDir": "dist",
      "rootDir": "src",
      "strict": false,
      "target": "esnext",
      "forceConsistentCasingInFileNames": true,
      "allowJs": true,
      "checkJs": false,
      "lib": ["esnext"],
      "moduleResolution": "node",
      "incremental": true,
      "noImplicitAny": false,
      "assumeChangesOnlyAffectDirectDependencies": true,
      "listEmittedFiles": true,
      "extendedDiagnostics": true
    },
    "include": [
      "src/**/*"
    ],
    "exclude": [
      "node_modules/**/*",
      "**/node_modules",
      "dist/**/*",
      "**/.*/",
      "*.test.ts"
    ]
}

Expected behavior:
Running a fresh build (without a .buildinfofile and the current dist folder if one exists) should compile in less time than it takes to do my laundry
Actual behavior:
Running a fresh build takes upwards of 1 hour, although I have seen a range of 35-50 minutes that is most common.
Related Issues:
https://github.com/microsoft/TypeScript/issues/35729

Hi, this is a little hard to diagnose without access to the code - have you looked through the emitted JS/DTS files to see if anything is spectacularly large like in the issue you linked?

Here's a few other questions:

Do you see the same behavior if you turn --declaration off? This might help us understand whether it's an issue in the declaration emitter.
Do you see the same behavior if you run with --isolatedModules? This further helps us understand the use of semantic information at emit-time.
To add to what @orta asked, what if you try compiling individual files? Try running tsc --noResolve file.ts on the 5-10 largest files to see if we can isolate the issues.

@amcasey might also have some stuff in the works to help us understand where time is being spent in the compiler.

Also, I've heard that increasing Node's max heap size has helped others with transform-time speed issues so that garbage collection doesn't get triggered as often, which is at least useful as a workaround for you.
node --max-old-space-size=8192 node_modules/typescript/lib/tsc.js # increase to 8gb

@DanielRosenwasser No harm in trying, but the memory usage doesn't look excessive and the check time is reasonable, so I don't guess --max-old-space-size will help.
Regarding tooling, I've been focused on check time, but it should be easy enough to put together a private build that can say something useful about where this time is going.
@JakeFDev This is a new one for me - most users report slowdowns in module resolution or check time.  It also seems strange to me that we could spend so much time on emit and so little on file I/O.

@orta I don't see anything big sticking out. The entire output folder of the build is ~1.7MB which doesn't seem out of question. Looking through the files everything is 500bytes up to 22KB.
Going to try running the suggestions, i'll report back.

@amcasey using your build I discovered some weird things in some of our legacy code (thats in js)
The file in question exports its module like so
export const Visit = mongoose.model('Visit', VisitSchema);
module.exports = exports = Visit;

That takes 37 seconds according to the transform debug build.
I changed it to
export const Visit = mongoose.model('Visit', VisitSchema);
export default Visit

And now the same file took 22ms. I will need to basically update every file that is using this approach and will update as I go if this is the problem.

That was it. Cleaned up all those instances, down to a 15 second fresh build time.
Thanks everyone for the help!

@JakeFDev That's great!  Any chance you can anonymize one of your old files and share it as an example?  I'd like to dig in and figure out why the transformation takes so long.

@amcasey  this file is pretty simple.
As is, this is the one that took 37 seconds before the change
const mongoose = require('mongoose');
const timestamps = require('mongoose-timestamp');
const beautifyUnique = require('mongoose-beautiful-unique-validation');

const VisitSchema = new mongoose.Schema({

        trackingId: {
            type: String,
            trim: true,
            required: true
        },
        date: {
            type: String,
            trim: true,
        },
        count: {
            type: Number,
            required: true,
            trim: true
        },
        group_id: {
            type: String,
            trim: true
        }
},{
    collection: 'visit',
    timestamps: { createdAt: 'created_at', updatedAt: 'updated_at' }
});

//BatchSchema.plugin(bcrypt);
// VisitSchema.plugin(timestamps);

// Enable beautifying on this schema
VisitSchema.plugin(beautifyUnique);

export const Visit = mongoose.model('Visit', VisitSchema);
module.exports = exports = Visit;

@JakeFDev Thanks!  Could you possibly share your tsconfig as well?  I used some safe defaults, but mine only takes 2 seconds (in nightly).

@JakeFDev Are you using tsc directly or going through another tool?

@amcasey we are running it as part of a script in our package.json
"build": "yarn run build-ts",
"build-ts": "tsc",
...

Still nothing. 😢 Given that you're unblocked, we might have to let this go until we hear other reports.  Thanks again!


support linux arm？

it support linux arm and arm64？

Yes, we support all versions if a TDLib for a specific target (including Linux ARM and ARM64) is already compiled in the system.
Additionally, we are considering building the TDLib using GitHub Actions for these targets.
If I understand correctly it should be something like:

Install Git, clang >= 3.4, libc++, make, CMake >= 3.0.2, OpenSSL-dev, zlib-dev, gperf, PHP using your package manager
Run these commands in Bash to build TDLib and to install it to td/tdlib

export CROSS=/home/<name>/dev/arm/gcc-linaro-7.2.1/bin/arm-linux-gnueabihf
export CC=${CROSS}-gcc
export CXX=${CROSS}-g++

git clone https://github.com/tdlib/td.git
cd td

mkdir build_native
cd build_native
cmake ..
cmake --build . --target prepare_cross_compiling
cd ..

rm -rf build
mkdir build
cd build
cmake ..
CXXFLAGS="cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX:PATH=../tdlib .. -DCMAKE_CROSSCOMPILING=True
cmake --build . --target install

More info:

https://tdlib.github.io/td/build.html?language=Rust
https://github.com/tdlib/td/issues/49


splay out of band collection and Serverservice ns changes

What does this PR do

Adds a -collect-splay flag to randomize collection interval time based on the given -collect-interval time.Duration
Collection mechanism (inband/out-of-band) determines the namespace under which the data is published to Server service.
Fix up tests and fixtures.
Object change dumps are more human readable for debugging.

@JAORMX based on your comment here https://github.com/metal-toolbox/alloy/pull/26#discussion_r962610004
I use math/rand here since it comes with a helper method to randomize int64 types, and its being seeded with the unix nano timestamp. Given that I'd have to implement a helper method to randomize the int64 type with crypto/rand, it seems overkill to go that route.

@JAORMX I've updated the comment to include an explanation, as we discussed.


Coun't find example links

https://godoc.org/github.com/Shopify/sarama#pkg-examples link fail, with none documents at all. Where could I find the simple examples. thanks.

Those links work for me. They just link to subsections further down on the same page, so even if the links don't work for you for some strange reason, you should be able to see the examples just by scrolling down a lot.

Oh, after change my browser from Firefox to IE, I could see it now, thanks.

I find out what's the problem now, the page invoke ajax.google.com, that's blocked by China GFW.


Remove noaa-oisst directory

See explanation in https://github.com/pangeo-forge/feedstock-creation-action/pull/20#issue-993476674

I never got around to merging this and just realized the issue is ongoing: staged-recipes/recipes now includes directories for three unmerged feedstocks.
@sharkinsspatial is the above-linked https://github.com/pangeo-forge/feedstock-creation-action/pull/20#issue-993476674 a reasonable fix for this?
We'll likely be consolidating the feedstock-creation-action into the central orchestrator repo before too long, but there isn't a specific timeline for that, so definitely worth fixing the existing infrastructure.

This is redundant with #106, so closing.


Auto-provision a _deployer account for every new space

In order to ensure everyone using cloud.gov has a properly-scoped credential suitable for use in CI/CD systems with little overhead on admins, we want every new space to cause the creation of a _deployer account and communication of the credentials to appropriate people.
Acceptance Criteria

[ ] Scenario: A properly scoped _deployer account is created whenever a new space appears in the system, and its credentials are securely conveyed to users who have the OrgManager role on the enclosing org.

GIVEN a new space has appeared in cloud.gov since the last time the deployer bot ran
AND the space is not in a sandbox org
WHEN the deployer bot runs
THEN a bot auto-provisions a ORGNAME_SPACENAME_deployer account with a strong random password
AND the bot grants the SpaceDeveloper role to the _depoyer account for that space
AND the bot stashes the _deployer account's password in fugacious.18f.gov
AND the bot notifies the OrgManagers for the space's org of its existence
AND the bot informs OrgManagers about compliance concerns about the use of the account (with reference to durable page on this topic in docs.cloud.gov)
AND the bot informs OrgManagers how to revoke the credentials
AND the bot informs OrgManagers about how to retrieve the credentials from fugacious
AND the cloud.gov operators are notified that this happened

News flash! It looks like UAA 3.7.0 will include an API for creating user-based API tokens. If Pivotal Tracker is to be believed, it’s due to drop in the next two weeks: https://www.pivotaltracker.com/story/show/128319711
Once that happens, and Travis/Circle/Wercker/Concourse et al support using API tokens for deployment, it may be that we can just send OrgManagers an API token, rather than the credentials for the _deployer account. In that case we may just want to hide or even skip creation of the _deployer user, and instead just provide a button on the dashboard, eg "get an API token for use in deployment to this space".
So: Review and discuss the state of the deployment world before starting work on this story!!

Are there any updates on this? Wondering what we should be doing in GovCloud.

Nothing was done on this in the Atlas camp since my comment above, probably needs the thread picked up on implementing deployer tokens vs deployer accounts.

Looks like UAA version 3.8.0 just dropped recently. I'm not smart enough to understand whether the token support that made it into there is usable for providing limited scope tokens on the CF side, though.

After discussion, superseded by https://github.com/18F/cg-product/issues/437


printPDF to return a stream

Currently printToPDF returns a base64 encoded string. It works great in general, but we are generating a bit huge PDFs - min 40MBs, they include lot of pages with high resolution images. Keeping such big data in memory causes performance and memories issues with node. It would be nice to take PDF content as a stream, or as a file.
Currently we are thinking about workaround with page per page printing. But it dramatically increases complexity of the service. So my question is: are there any plans to support streams for printToPDF?

While I agree that it would be a nice thing to have, this feature request is off topic here. Ping the  Google Group, the official protocol repo or even file an upstream issue.

@cyrus-and thx for quick response!

@nyroDev something along the lines of:
const CDP = require('chrome-remote-interface');
const fs = require('fs');

async function streamPdfToFile(url, file, chunkSize = undefined /* means auto */) {
    const client = await CDP();

    try {
        const {IO, Page} = client;

        console.log(`Navigating to ${url}`);

        await Page.enable();
        await Page.navigate({url});
        await Page.loadEventFired();

        console.log(`Page loaded, requesting the PDF stream`);

        const {stream: handle} = await Page.printToPDF({
            transferMode: 'ReturnAsStream'
        });

        let fileStream;
        while (true) {
            const {base64Encoded, data, eof} = await IO.read({
                handle,
                size: chunkSize
            });

            if (!fileStream) {
                fileStream = fs.createWriteStream(file, {
                    encoding: base64Encoded ? 'base64' : 'binary'
                });
            }

            if (eof) {
                console.log(`PDF stream finished, saved to ${file}`);

                await IO.close({handle});
                fileStream.close();
                break;
            }

            console.log(`Processing the next chunk of ${data.length} (decoded) bytes`);

            fileStream.write(data);
        }
    } finally {
        client.close();
    }
}

streamPdfToFile('https://nodejs.org/api/fs.html', '/tmp/out.pdf', 1 << 20);

@cyrus-and thank you so much for your quick and detailed response, it works perfectly!

@cyrus-and Please not that in some edges cases (particullary with large images), letting the chunkSize to undefined creates a truncated (corrupted) PDF file.
After reading this comment, I updated the code below to set the default chunk size to 16384*2 and so far it's working great!


Update documentation to 5.0.1

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Thank you @guenhter for your interest and PR!
As of today (literally just now) the official docs for the Docker image can be found on the Elastic web site:
https://www.elastic.co/guide/en/elasticsearch/reference/current/docker.html
Due to this, the README.md will be shortened and provide a link to this web page and a few hints on how to collaborate.
Thanks!

The README.md file, on all branched, has now been updated to reflect the earlier comment.
I will close this PR now to keep things tidy, but once more, thank you for interest!


ci: Start using the free GH runners for e2e testing

the free-runners come with pre-installed containerd which sometimes collides with the one we install. We also need to move docker images to /mnt due to limitted root (/) partition.
Note I tried testing this on my fork https://github.com/ldoktor/coco-operator/pull/4 but for some reason I can only use ubuntu-latest while ubuntu-2204 (which is the same as ubuntu-latest) fails, which is why I left the az-* runners on for now, we can remove them once the GH runners stabilize.

Hi @ldoktor !
Good idea keeping the old jobs. We will be able to test the new ones only after the merge...


Perform a simulation

4 scenarios we want test :

2 splits of data: stratified vs. random
volume: same volume per node vs. different volumes
--> 4 scenarios

3 contributivity measures: Shapley, Truncated Monte Carlo Shapley, independent contributivities.

@RomainGoussault to re-launch TMCS, relax parameters: sv_accuracy = 0.01, alpha = 0.9, contrib_accuracy = 0.5

Results with the TMC.
TMC parameters were NOT relaxed.
TMC_results.zip


support for QSortFilterProxyModel.recursiveFilteringEnabled property added in Qt5?

This one might be a candidate for the QtCompat module.
A new property recursiveFilteringEnabled was added to QSortFilterProxyModel in Qt5. This behaviour can be achieved with Qt4 by overriding the filterAcceptsRow as discussed here.
Following is a python port that seems to do the same thing.
class RecursiveFilterModel(QtCore.QSortFilterProxyModel):
    ''' A Proxy Model for tree view that shows parent item if one of the
    children matches
    '''

    def filterAcceptsRow(self, source_row, source_parent, orig=False):
        ''' Override function to accept row if any of the children or
        descendants is acceptable
        '''

        if not self.filterRegExp().isEmpty():
            source_index = self.sourceModel().index(
                    source_row, self.filterKeyColumn(), source_parent)
            if source_index.isValid():
                for i in range(self.sourceModel().rowCount(source_index)):
                    if self.filterAcceptsRow(i, source_index, orig=True):
                        return True
                key = self.sourceModel().data(source_index, self.filterRole())
                return self.filterRegExp().indexIn(key) >= 0
        return super(RecursiveFilterModel, self).filterAcceptsRow(
                source_row, source_parent)

Maybe this model with the property can be added to QtCompat as an alternative.

Thanks for sharing this, it will enable folks to search and discover this solution for their own projects. I'm not sure it has a place natively in Qt.py though, simply because there's no ceiling to how much we could actually include until eventually the Qt.py file is in the megabyte range with stuff few people use.
Feel free to reopen if you or anyone feels otherwise.


Mono/C# crashes when thread model is set to Multi-Threaded

Godot version:
3.0.6 mono
OS/device including version:
Windows 10 17134, RX480
Issue description:
Project crashes without any stacktrace in the debugger, but works in single-threaded model. Also for some reason "0" is being print in the console when it crashes.
Steps to reproduce/minimal reproduction project:

Clone https://github.com/LaBlazer/stylized-planet-generator/tree/csharp
Change Thread Model to Multi-Threaded
Run project

Hi,
Can confirm the bug using 6c569c9 compiled with MONO 5.12.0
The 0s in the console come from errors while compiling the shader : shader_compiler_gles3.cpp
I did have more infos in the console (repeated 58 times) :
0
SCRIPT ERROR: (null): Expected 'shader_type' at the beginning of shader.
          At: :1
ERROR: RasterizerStorageGLES3::_update_shader: Condition ' err != OK ' is true.
   At: drivers\gles3\rasterizer_storage_gles3.cpp:1760

It's to be noted that the bunch of 0s in the console are also present in the non-MONO version, but nothing else.

The zeroes are probably caused by 0e29f7974b59e4440cf02e1388fb9d8ab2b5c5fd, it added a bunch of 0s all over the place, HDRs are unable to import because of it too... (fixed by https://github.com/godotengine/godot/pull/20636)

This is a known problem. It's related to #16024. I'm figuring out a way to attach thread automatically without causing issues later.

@LaBlazer can you elaborate on 0e29f79 adding 0s? I don't see any print_line or printfs or anything being added in that PR

@hpvb the problem with 0e29f79 is that some strings were being created with vector methods (in particular push_back) and added a null-terminator. Since you replaced those push_back() with the += operator, now it actually adds the literal character 0 at the end instead of the null-terminator.

@hpvb search for += '0' in the commit...

See also #21725.

Might be fixed by #25927, please try again when we publish 3.1 beta 5 or later.

This error is definitely a symptom fixed by that PR. I'm closing this. Feel free to reopen if it reappears.


Add http check in addition to the port open check

In https://github.com/deis/deis/pull/3156 we check if the port is open before publishing the container. This works OK for most of the cases but it seems that there's a marginal chance that port is open but the server hasn't finished initializing yet.
A possible solution would be to add an additional HTTP status check: if port open, send a
HEAD / HTTP/1.0 and expect a HTTP/1.1 200 OK.
How does that sound?

that might be a bit too opinionated. I know that some apps (like our own controller) respond with a 404 response on /. Maybe anything other than 503 (the response from the router) would be acceptable.

We're getting 502s when that happens. Excluding 502s and 503s can work

Hmm... Maybe 50x in general? Don't know if that's still too opinionated... Let's see what the other maintainers say.
ping @carmstrong @mboersma

that might be a bit too opinionated.

I would agree. I don't think it's our responsibility to understand when an app is done initializing other than accepting connections on the bound port, and I don't think we can make a decision here that everyone will be pleased with.
We actually hear this question from users not infrequently - I just spoke with someone about this yesterday, who was wondering how this health check could be improved. I just don't think we can come up with a solution that works for everyone.

It would be too strict to expect a 200 response, but it might be reasonable to expect the thing on the other end to act like an HTTP server (and ignore the status code).

I'd like to hear from more people if this is really how everyone wants health checking to work. I can't think of many cases where an app takes so much longer to start up/initialize after its daemon is up and listening on the port, which we are currently waiting for.

This is being tracked in #3813, which is a solution to address a number of issues for application health checks during deploy and publishing.


Memory is full when plugin is active

I run the Soma plugin as a child bridge, but when the plugin is running, the memory of the home bridge gets fuller from day to day, until after 5 days the free memory only has a value of 0.03 GB and the home bridge stops responding and it can only be switched off and restarted by disconnecting the operating voltage. If I haven't installed the plugin, the home bridge runs without problems.

Please provide detailed information:

What system are you running on?
What memory is "full"?  How do you measure that?
Which process, main bridge vs hb-service vs child bridge is consuming how much physical memory vs virtual memory?

ob a Raspberry 3b+
Homebridge system, according to the display, the memory is full
Unfortunately, I can't say that, I only have the display of the memory of the Raspberry

Sorry, then I cannot help you determining whether your issue is caused by Homebridge SOMA.  It's a bit like blaming your hangover on the last beer, because you were still feeling fine after each of the first 20 beers.  NodeJS is quite memory hungry, and each child bridge is an additional NodeJS process (next to the main bridge and hb-service).
In general, Raspberry Pi OS will try and use all available physical memory, largely for the file system cache.  It uses a swap file for when memory requirements exceed the physical memory.  When the swap file fills up, the system becomes unresponsive.  The default swap file of 100MB is a joke; I've increased that to 2GB on all my Pi systems (even on my 8GB Pi 4B).
I use htop to monitor resource usage: the swap usage is displayed on the lower bar in the screen header.  By selecting the Tree view (F5) and then sorting on RESV (click on the header), you get a good overview of the memory usage of each of the NodeJS/Homebridge processes.  In my case, hb-service is typically more memory hungry than Homebridge or any of the child bridges.  You want to monitor VIRT (virtual memory) and RES (physical memory).  Note the values after (re)starting Homebridge and see how badly they increase over time.  It's normal that they increase somewhat; I would only worry if VIRT grows beyond 250M or RES beyond 120M.

Hello, I was still at work this morning and didn't quite know how to get the data to you.
I have now entered htop and pressed F5, the following screenshot, s

hows the data

Cool, you want to take a daily or half-daily screenshot like this, checking the Swp on the top (when the 0K/100.0M nears 100.0M/100.0M you're in danger), and the VIRT and RES values for Homebridge SOMA (currently 184M and 80K).  Note that currently, hb-servcie and the main Homebridge instance (with the UI) each use more memory than Homebridge SOMA.

Hello good morning, I have already made 3 screenshots yesterday and today one, you can see well how the memory fills.
I will make the next one around 12 noon and can then unfortunately only make the next one around 11 pm, because I'm on lunch shift.
I had on the weekend times the ChildBridge switched off, thus also the plugin and the memory observed, he has filled in no way as with the running plugin.

But I will still send you screenshots in the next few days

Screenshots from yesterday until 11am toda

y

So memory usage of the child bridge with Homebridge SOMA is increasing slightly, but not dramatically.  And still lower than memory usage of the main Homebridge or hb-service.  You do see that the swap file is now being used slightly.  I take it, the system is still responsive?

Yes it is slowly increasing, the system is still responding. From the last observations, the free memory increases until only 0.03 GB are free, then I can no longer get on the Homebridge drauf, but unfortunately missed it to log in via the terminal, if I can still see something, I hope that it works this time

Yes, currently it is still responsive. Its running now for almost two days. after 5-7 days the memory fills more and more until it is maxed out and the website gets iresponsible.
But, and thats my observation here, only when the SOMA plugin is active. When i disable, uninstall or only restart it's child bridge the RAM frees up imediately, also the one from the homebridge process.
I am not a developer. I have no idea how. But my observation is pretty obvious, sadly.
A workaround is running this command:
sudo sh -c "echo 1 > /proc/sys/vm/drop_caches"
Afterwards the memory is also freed up without restarting the plugin.
I thought about creating a cron job to run this command every 24h, but this would not fix the error, only removing its impact for me.

This is not an issue with Homebridge SOMA, but with the overall memory usage of your system.  The memory usage of Homebridge SOMA seems OK.  It just happens to be the last program you added, causing the overall memory usage to hit the limit sooner.  Like the last person to enter the elevator triggering the overweight warning.  Not because the last person is too heavy, but because there's simply too many persons in the elevator.

sudo sh -c "echo 1 > /proc/sys/vm/drop_caches"

This clears the file system cache (the blue and yellow parts in the Mem bar in htop).  It doesn't impact the memory used by Homebridge SOMA, nor by any other program (the green part in the Mem bar).  When Mem fills, the system starts using Swp.  When Swp fills, the system becomes unresponsive.  Basically, this command is the equivalent of kicking some other persons from the elevator.
In my experience, increasing the swap file from 100MB to 2GB prevents Swp from filling, and consequently, the system from becoming unresponsive.  This is the equivalent of getting a bigger elevator, which, imho, beats kicking out people periodically.

I've been watching the htop progress for a few days now and noticed that first the RAM and then also the swap gradually filled up.
Just when both were full, the Bluetooth connections to the individual SOMA drives began to break off. This freed up a little RAM each time, which then filled up again and again. From my observation, I would guess that your plugin is somehow filling up RAM along with the Bluetooth.
I will uninstall your plugin now and monitor the homebridge for another week and send you comparison screenshots. This should show you that the RAM doesn't keep filling up without your plugin. Your elevator theory unfortunately does not fit here, because without the plugin a lot of memory is and remains constantly free.

I’m sorry, I cannot help you.


Other Exchange support

Hi!,
Could be an awesome addition to the proyect, the support of others exchange, like HitBTC. ;)
Thanks!

Thank you for your interest!
For the foreseeable future, this app is only focused on the Binance exchange. I would like to focus my efforts of making the process more efficient and user-friendly before expanding


[AutoPR consumption/resource-manager] Added Tags filter for budgets and updated the api version

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/2625

(message created by the CI based on PR content)


[dashboard] record and display benchmark result history

We currently only show the latest snapshot of all the numbers. We should also track these numbers over time.
Possible solutions:

golem
https://cloud.google.com/monitoring/custom-metrics/using-custom-metrics

Implemented a go/lem solution. Currently only pushing 5 metrics, but it's an incremental effort from here. The infrastructure is there.

Fixed by https://github.com/flutter/dashboard_box/commit/3056b11318d516cb45c75b6e747abc6a3bf5d13b


Dormant sig.

Clicked around and found a much nicer smaller sig
66 89 0C C5 ? ? ? ? 5D C2 04 00 - 0x2C

Sry, but this sig isn't returning the correct offset?


Handlebars helpers

When uncommenting the example code in the template helpers (in v5), I get a ReferenceError:
Uncaught (in promise) ReferenceError: Handlebars is not defined

Debugging options were limited by the timeout and the lack of console access, so I couldn't find much else.

Probably a scope or binding issue, can I look into this?


flutter run -d chrome can not work for offline machine

Hi @Silentdoer, please share the output of flutter doctor -v to better address the issue.
Thanks


Lesson 2: xlim / ylim

In the file "2. First steps with data frames.ipynb" the variables xlim and ylim cannot be assigned as currently shown without errors (running it in the shell). I get the following:

ERROR : cannot assign a value to variable PyPlot.xlim from module Main

I suggest resolving this by replacing xlim / ylim with xlim0 / ylim0 everywhere in the notebook.
(Thank you for the amazing package!)

I cannot reproduce the issue.
You must have manually used xlim and ylim from the PyPlot.jl before running example code from the notebook (which I do not do). Here is an example from the terminal:
julia> using PyPlot

julia> xlim = 10 # no problem with setting xlim to whatever you want
10

julia> methods(PyPlot.ylim) # error, as you have just introduced ylim from PyPlot in Main module
# 1 method for generic function "ylim":
[1] ylim(args...; kws...) in PyPlot at C:\Users\bogum\.julia\packages\PyPlot\XaELc\src\PyPlot.jl:173

julia> ylim = 10
ERROR: cannot assign a value to variable PyPlot.ylim from module Main

If you did this then indeed my xlim and ylim variables would require re-naming.
Having said that, for safety, I will rename these variables

Thank you for reporting.


zh:reference-rule

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: fleeto
If they are not already assigned, you can assign the PR to them by writing /assign @fleeto in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

content_zh/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

CI failed.
- ./public/zh/docs/reference/config/policy-and-telemetry/istio.policy.v1beta1/index.html
  *  External link https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct failed: https://developers.google.com/protocol-buffers/docs/reference/google.protobuf exists, but the hash 'struct' does not
  *  linking to internal hash #rule-headeroperationtemplate.operation that does not exist (line 5576)

htmlproofer 3.9.2 | Error:  HTML-Proofer found 2 failures!
LINTING FAILED
Exited with code 1

CI failed again.
- ./public/docs/reference/config/policy-and-telemetry/adapters/cloudmonitor/index.html
  *  External link https://cloudmonitor.console.aliyun.com/ failed: response code 0 means something's wrong.
             It's possible libcurl couldn't connect to the server or perhaps the request timed out.
             Sometimes, making too many requests at once also breaks things.
             Either way, the return message (if any) from the server is: Couldn't resolve host name
htmlproofer 3.9.2 | Error:  HTML-Proofer found 1 failure!
LINTING FAILED
Exited with code 1


"Remove unused imports" removes all imports

Describe the bug

Steps to Reproduce

Type a few imports, like import array; import glob; import math
Type print(math.cos(10))
In the line of import you can see a pattern, then select the "Remove unused imports"

Actual behavior
It removes all imports.

Yeah repros in VS code.

@ttSpace please try writing imports in seperate lines, like this:
import array
import glob
import math
math.cos(0)

and try using remove unused imports and see whether all imports are removed.

@CodeCrazy-ywt  You can see it, like this:

As you can see, it doesn't remove all imports. Is that okay?

The code action doesn't remove all imports, only the one the quick fix is attached to (per diagnostic), so that's working as expected.
It deleting the full line sounds like a bug, but I don't know if that's because our change is wrong, or if the editor is applying all of the fixes with the same name on the same line at once.

Actually we seldom write many imports in a single line, so there's no need to worry about that.

it should be fixed in 2021.8.2 released today (2021.8.19)

I use it in today's build, is that supposed to happen like the following? I have to click a few times to remove unused import.
Build of Visual Studio:  17.0.0 Preview 4.0 [31702.283.main]
Build of Python Package: 17.0.21243.2

Info: Info: Pylance language server 2021.8.3 (pyright fa4194fd) startingServer root directory: c:\program files\microsoft visual studio\2022\preview\common7\ide\extensions\microsoft\python\core\pylance\dist

Info: Info: Info: Warning: Info: No pyproject.toml file found.Setting pythonPath for service "PythonApplication15": "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python39_64\python.exe"stubPath C:\Users\vting\source\repos\PythonApplication15\PythonApplication15\typings is not a valid directory.Info: Assuming Python version 3.9

Assuming Python platform Windows

Info: Searching for source filesInfo: Found 1 source file
Info: Info: Background analysis(1) root directory: c:\program files\microsoft visual studio\2022\preview\common7\ide\extensions\microsoft\python\core\pylance\distBackground analysis(1) started

No configuration file found.

Quick fixes are offered per-diagnostic. In VS Code, you can hover over each diagnostic and get a lightbulb per, and that's how the LSP works.
I'm not sure how VS does this, but it looks like it offers a lightbulb per line.
We're doing what we expect (one quick fix per diagnostic), but it seems like this UI only offers up one of them per line, or something. #1722 covers a quick fix that would remove all, but overall I think that this would be something to report on PTVS for investigation, as Pylance isn't behaving incorrectly according to the protocol.


Bumping version to 1.0.0

Needs https://github.com/openshift/odo/pull/2292

Release notes will be copy of beta7 except will also mention the updated image
There is no code change, so not sure if cli docs need to be generated again
Signed-off-by: Mohammed Zeeshan Ahmed<EMAIL_ADDRESS>

cluster fail
/test v4.2-benchmark

timeout error
! error: Import failed (InternalError): Internal error occurred: Get https://registry.centos.org/v2/: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
[oc]       Less than a second ago

/retest

Looks good
@mohammedzee1000 we need to wait till #2297 go in first. Then i will approve this
/hold

/hold cancel
/approve

Cluster up error
/refresh
/retest

Cluster error
/test v4.1-integration

Cluster timeout, again
/test v4.1-benchmark

/refresh

/retest

Cluster issue
/test v4.1-benchmark

flaky tests new php flake
m/openshift/odo/cmd/odo/odo.go:65
[odo] runtime.main
[odo] 	/usr/local/go/src/runtime/proc.go:201
[odo] runtime.goexit
[odo] 	/usr/local/go/src/runtime/asm_amd64.s:1333
[odo] failed to build component with args {Name:testcmp SourcePath:https://github.com/appuio/example-php-sti-helloworld SourceRef:master SourceType:git ImageName:php EnvVars:[DEBUG_PORT=5858] Ports:[8080/TCP 8443/TCP] Resources:&ResourceRequirements{Limits:ResourceList{},Requests:ResourceList{},} ApplicationName:testing Wait:true StorageToBeMounted:map[] StdOut:0xc00000e018}
[odo] github.com/openshift/odo/pkg/component.CreateComponent
[odo] 	/go/src/github.com/openshift/odo/pkg/component/component.go:399
[odo] github.com/openshift/odo/pkg/odo/cli/component.(*CommonPushOptions).createCmpIfNotExistsAndApplyCmpConfig
[odo] 	/go/src/github.com/openshift/odo/pkg/odo/cli/component/common_push.go:74
[odo] github.com/openshift/odo/pkg/odo/cli/component.(*CommonPushOptions).Push
[odo] 	/go/src/github.com/openshift/odo/pkg/odo/cli/component/common_push.go:147
[odo] github.com/openshift/odo/pkg/odo/cli/component.(*PushOptions).Run
[odo] 	/go/src/github.com/openshift/odo/pkg/odo/cli/component/push.go:105
[odo] github.com/openshift/odo/pkg/odo/genericclioptions.GenericRun
[odo] 	/go/src/github.com/openshift/odo/pkg/odo/genericclioptions/runnable.go:28
[odo] github.com/openshift/odo/pkg/odo/cli/component.NewCmdPush.func1
[odo] 	/go/src/github.com/openshift/odo/pkg/odo/cli/component/push.go:119
[odo] github.com/openshift/odo/vendor/github.com/spf13/cobra.(*Command).execute
[odo] 	/go/src/github.com/openshift/odo/vendor/github.com/spf13/cobra/command.go:702
[odo] github.com/openshift/odo/vendor/github.com/spf13/cobra.(*Command).ExecuteC
[odo] 	/go/src/github.com/openshift/odo/vendor/github.com/spf13/cobra/command.go:783
[odo] github.com/openshift/odo/vendor/github.com/spf13/cobra.(*Command).Execute
[odo] 	/go/src/github.com/openshift/odo/vendor/github.com/spf13/cobra/command.go:736
[odo] main.main
[odo] 	/go/src/github.com/openshift/odo/cmd/odo/odo.go:65
[odo] runtime.main
[odo] 	/usr/local/go/src/runtime/proc.go:201
[odo] runtime.goexit
[odo] 	/usr/local/go/src/runtime/asm_amd64.s:1333
Deleting project: jvliwzzfif
Running odo with args [odo project delete jvliwzzfif -f]
[odo] This project contains the following applications, which will be deleted
[odo] Application testing
[odo] This application has following components that will be deleted
[odo] component named testcmp
[odo] No services / could not get services
[odo]  •  Deleting project jvliwzzfif  ...
[odo]  ✓  Deleting project jvliwzzfif [6s]
[odo]  ✓  Deleted project : jvliwzzfif
Deleting dir: /tmp/649147350
• Failure [38.781 seconds]
odo generic
/go/src/github.com/openshift/odo/tests/integration/generic_test.go:15
  should list applications in other project
  /go/src/github.com/openshift/odo/tests/integration/generic_test.go:165
    should be able to create a php component with application created [It]
    /go/src/github.com/openshift/odo/tests/integration/generic_test.go:177
    No future change is possible.  Bailing out early after 30.699s.

    Running odo with args [odo push --context /tmp/649147350]
    Expected
        <int>: 1
    to match exit code:
        <int>: 0
    /go/src/github.com/openshift/odo/tests/helper/helper_run.go:33

/retest

/override ci/prow/v4.2-integration
I was able to run all integration test from local machine.
Overriding the test, as we need to move forward. And there shouldn't be any changes that could break the odo logic.
▶ make test-integration
ginkgo  -randomizeAllSpecs -slowSpecThreshold=120 -timeout 7200s -nodes=2 tests/integration/
Running Suite: Integration Suite
================================
Random Seed:<PHONE_NUMBER> - Will randomize all specs
Will run 115 specs

Running in parallel across 2 nodes

••
------------------------------
• [SLOW TEST:131.494 seconds]
odo sub component command tests
/Users/tkral/Code/goenv/odo/src/github.com/openshift/odo/tests/integration/cmd_cmp_sub_test.go:13
  Test odo push with --source and --config flags
  /Users/tkral/Code/goenv/odo/src/github.com/openshift/odo/tests/integration/component.go:245
    Using project flag(--project) and current directory
    /Users/tkral/Code/goenv/odo/src/github.com/openshift/odo/tests/integration/component.go:255
      create local nodejs component and push source and code separately
      /Users/tkral/Code/goenv/odo/src/github.com/openshift/odo/tests/integration/component.go:256
------------------------------
• [SLOW TEST:139.433 seconds]
odo push command tests
/Users/tkral/Code/goenv/odo/src/github.com/openshift/odo/tests/integration/cmd_push_test.go:15
  when .odoignore file exists
  /Users/tkral/Code/goenv/odo/src/github.com/openshift/odo/tests/integration/cmd_push_test.go:268
    should create and push the contents of a named component excluding the contents in .odoignore file
    /Users/tkral/Code/goenv/odo/src/github.com/openshift/odo/tests/integration/cmd_push_test.go:269
------------------------------
• [SLOW TEST:135.711 seconds]
odo component command tests
/Users/tkral/Code/goenv/odo/src/github.com/openshift/odo/tests/integration/cmd_cmp_test.go:13
  Creating component
  /Users/tkral/Code/goenv/odo/src/github.com/openshift/odo/tests/integration/component.go:42
    should create the component from the branch ref when provided
    /Users/tkral/Code/goenv/odo/src/github.com/openshift/odo/tests/integration/component.go:159
------------------------------
• [SLOW TEST:183.172 seconds]
odo storage command tests
/Users/tkral/Code/goenv/odo/src/github.com/openshift/odo/tests/integration/cmd_storage_test.go:13
  when using storage command with default flag values
  /Users/tkral/Code/goenv/odo/src/github.com/openshift/odo/tests/integration/cmd_storage_test.go:52
    should add a storage, list and delete it
    /Users/tkral/Code/goenv/odo/src/github.com/openshift/odo/tests/integration/cmd_storage_test.go:53
------------------------------
••••••
------------------------------
relativeContext = "../045430036"

••••••
------------------------------
• [SLOW TEST:200.106 seconds]
odo sub component command tests
/Users/tkral/Code/goenv/odo/src/github.com/openshift/odo/tests/integration/cmd_cmp_sub_test.go:13
  Creating component
  /Users/tkral/Code/goenv/odo/src/github.com/openshift/odo/tests/integration/component.go:42
    should list out pushed components of different projects in json format along with path flag
    /Users/tkral/Code/goenv/odo/src/github.com/openshift/odo/tests/integration/component.go:121
------------------------------
•
------------------------------
• [SLOW TEST:131.016 seconds]
odo sub component command tests
/Users/tkral/Code/goenv/odo/src/github.com/openshift/odo/tests/integration/cmd_cmp_sub_test.go:13
  Creating component
  /Users/tkral/Code/goenv/odo/src/github.com/openshift/odo/tests/integration/component.go:42
    should list the component in the same app when one is pushed and the other one is not pushed
    /Users/tkral/Code/goenv/odo/src/github.com/openshift/odo/tests/integration/component.go:185
------------------------------
••••••••••
------------------------------
• [SLOW TEST:224.508 seconds]
odo storage command tests
/Users/tkral/Code/goenv/odo/src/github.com/openshift/odo/tests/integration/cmd_storage_test.go:13
  when using storage command with specified flag values
  /Users/tkral/Code/goenv/odo/src/github.com/openshift/odo/tests/integration/cmd_storage_test.go:90
    should add a storage, list and delete it
    /Users/tkral/Code/goenv/odo/src/github.com/openshift/odo/tests/integration/cmd_storage_test.go:91
------------------------------
•••••••••••••••
------------------------------
• [SLOW TEST:149.152 seconds]
odo push command tests
/Users/tkral/Code/goenv/odo/src/github.com/openshift/odo/tests/integration/cmd_push_test.go:15
  when push command is executed
  /Users/tkral/Code/goenv/odo/src/github.com/openshift/odo/tests/integration/cmd_push_test.go:40
    should push only the modified files
    /Users/tkral/Code/goenv/odo/src/github.com/openshift/odo/tests/integration/cmd_push_test.go:200
------------------------------
• [SLOW TEST:124.199 seconds]
odo sub component command tests
/Users/tkral/Code/goenv/odo/src/github.com/openshift/odo/tests/integration/cmd_cmp_sub_test.go:13
  Creating component
  /Users/tkral/Code/goenv/odo/src/github.com/openshift/odo/tests/integration/component.go:42
    should create the component from the branch ref when provided
    /Users/tkral/Code/goenv/odo/src/github.com/openshift/odo/tests/integration/component.go:159
------------------------------
•
------------------------------
• [SLOW TEST:126.248 seconds]
odo generic
/Users/tkral/Code/goenv/odo/src/github.com/openshift/odo/tests/integration/generic_test.go:15
  creating component with an application and url
  /Users/tkral/Code/goenv/odo/src/github.com/openshift/odo/tests/integration/generic_test.go:140
    should create the component in default application
    /Users/tkral/Code/goenv/odo/src/github.com/openshift/odo/tests/integration/generic_test.go:155
------------------------------
••
------------------------------
• [SLOW TEST:124.012 seconds]
odo component command tests
/Users/tkral/Code/goenv/odo/src/github.com/openshift/odo/tests/integration/cmd_cmp_test.go:13
  Creating component
  /Users/tkral/Code/goenv/odo/src/github.com/openshift/odo/tests/integration/component.go:42
    Without an application should create one
    /Users/tkral/Code/goenv/odo/src/github.com/openshift/odo/tests/integration/component.go:61
------------------------------
relativeContext = "../382718406"

•••
------------------------------
• [SLOW TEST:126.403 seconds]
odo generic
/Users/tkral/Code/goenv/odo/src/github.com/openshift/odo/tests/integration/generic_test.go:15
  should list applications in other project
  /Users/tkral/Code/goenv/odo/src/github.com/openshift/odo/tests/integration/generic_test.go:165
    should be able to create a php component with application created
    /Users/tkral/Code/goenv/odo/src/github.com/openshift/odo/tests/integration/generic_test.go:177
------------------------------
••
------------------------------
• [SLOW TEST:158.276 seconds]
odo sub component command tests
/Users/tkral/Code/goenv/odo/src/github.com/openshift/odo/tests/integration/cmd_cmp_sub_test.go:13
  when running odo push multiple times, check for existence of environment variables
  /Users/tkral/Code/goenv/odo/src/github.com/openshift/odo/tests/integration/component.go:630
    should should retain the same environment variable on multiple push
    /Users/tkral/Code/goenv/odo/src/github.com/openshift/odo/tests/integration/component.go:641
------------------------------
•••••••••••••
------------------------------
• [SLOW TEST:143.914 seconds]
odo component command tests
/Users/tkral/Code/goenv/odo/src/github.com/openshift/odo/tests/integration/cmd_cmp_test.go:13
  Creating component
  /Users/tkral/Code/goenv/odo/src/github.com/openshift/odo/tests/integration/component.go:42
    should list out pushed components of different projects in json format along with path flag
    /Users/tkral/Code/goenv/odo/src/github.com/openshift/odo/tests/integration/component.go:121
------------------------------
••••••••••••••••••••
------------------------------
• [SLOW TEST:126.265 seconds]
odo sub component command tests
/Users/tkral/Code/goenv/odo/src/github.com/openshift/odo/tests/integration/cmd_cmp_sub_test.go:13
  Creating component
  /Users/tkral/Code/goenv/odo/src/github.com/openshift/odo/tests/integration/component.go:42
    Without an application should create one
    /Users/tkral/Code/goenv/odo/src/github.com/openshift/odo/tests/integration/component.go:61
------------------------------
••••••••••••••
------------------------------
• [SLOW TEST:141.924 seconds]
odo sub component command tests
/Users/tkral/Code/goenv/odo/src/github.com/openshift/odo/tests/integration/cmd_cmp_sub_test.go:13
  Creating component
  /Users/tkral/Code/goenv/odo/src/github.com/openshift/odo/tests/integration/component.go:42
    should list the component
    /Users/tkral/Code/goenv/odo/src/github.com/openshift/odo/tests/integration/component.go:164
------------------------------
•
------------------------------
• [SLOW TEST:342.227 seconds]
odo url command tests
/Users/tkral/Code/goenv/odo/src/github.com/openshift/odo/tests/integration/cmd_url_test.go:15
  Listing urls
  /Users/tkral/Code/goenv/odo/src/github.com/openshift/odo/tests/integration/cmd_url_test.go:41
    should list appropriate URLs and push message
    /Users/tkral/Code/goenv/odo/src/github.com/openshift/odo/tests/integration/cmd_url_test.go:42
------------------------------
••
Ran 115 of 115 Specs in 3635.957 seconds
SUCCESS! -- 115 Passed | 0 Failed | 0 Pending | 0 Skipped

Ginkgo ran 1 suite in 1h0m39.907670118s
Test Suite Passed

/override ci/prow/v4.2-e2e-scenarios
e2e test were also mostly successful. One test failed due to timeout on centos registry, the other failed on a known issue running from mac (https://github.com/openshift/odo/issues/2282)
▶ make test-e2e-all
ginkgo  -randomizeAllSpecs -slowSpecThreshold=120 -timeout 7200s -nodes=2 tests/e2escenarios/
Running Suite: odo e2e scenarios
================================
Random Seed:<PHONE_NUMBER> - Will randomize all specs
Will run 15 specs

Running in parallel across 2 nodes

•
------------------------------
• Failure [27.978 seconds]
odo source e2e tests
/Users/tkral/Code/goenv/odo/src/github.com/openshift/odo/tests/e2escenarios/e2e_source_test.go:13
  odo component creation
  /Users/tkral/Code/goenv/odo/src/github.com/openshift/odo/tests/e2escenarios/e2e_source_test.go:32
    Should be able to deploy a dotnet source application [It]
    /Users/tkral/Code/goenv/odo/src/github.com/openshift/odo/tests/e2escenarios/e2e_source_test.go:123

    No future change is possible.  Bailing out early after 0.857s.
    Running oc with args [oc annotate istag/dotnet:2.0 --namespace=disbnbnzsz tags=builder --overwrite]
    Expected
        <int>: 1
    to match exit code:
        <int>: 0

    /Users/tkral/Code/goenv/odo/src/github.com/openshift/odo/tests/helper/helper_run.go:33
------------------------------
•
------------------------------
Created dir: /var/folders/0l/m50bc_nj27lf8pbd_sdv_7h40000gn/T/989871677
Creating a new project: disbnbnzsz
Running odo with args [odo project create disbnbnzsz -w -v4]
[odo]  •  Waiting for project to come up  ...
[odo] I1017 14:51:24.885587   85560 occlient.go:554] Project disbnbnzsz now exists
[odo]  ✓  Waiting for project to come up [605ms]
[odo]  ✓  Project 'disbnbnzsz' is ready for use
[odo] I1017 14:51:24.894049   85560 odo.go:70] Could not get the latest release information in time. Never mind, exiting gracefully :)
[odo]  ✓  New project created and now using project : disbnbnzsz
Running oc with args [oc get is -n openshift -o jsonpath='{range .items[*]}{.metadata.name}{"\n"}{end}']
[oc] 'apicast-gateway
[oc] apicurito-ui
[oc] cli
[oc] cli-artifacts
[oc] dotnet
[oc] dotnet-runtime
[oc] eap-cd-openshift
[oc] fis-java-openshift
[oc] fis-karaf-openshift
[oc] fuse-apicurito-generator
[oc] fuse7-console
[oc] fuse7-eap-openshift
[oc] fuse7-java-openshift
[oc] fuse7-karaf-openshift
[oc] golang
[oc] httpd
[oc] installer
[oc] installer-artifacts
[oc] java
[oc] jboss-amq-62
[oc] jboss-amq-63
[oc] jboss-datagrid65-client-openshift
[oc] jboss-datagrid65-openshift
[oc] jboss-datagrid71-client-openshift
[oc] jboss-datagrid71-openshift
[oc] jboss-datagrid72-openshift
[oc] jboss-datagrid73-openshift
[oc] jboss-datavirt64-driver-openshift
[oc] jboss-datavirt64-openshift
[oc] jboss-decisionserver64-openshift
[oc] jboss-eap64-openshift
[oc] jboss-eap70-openshift
[oc] jboss-eap71-openshift
[oc] jboss-eap72-openshift
[oc] jboss-fuse70-console
[oc] jboss-fuse70-eap-openshift
[oc] jboss-fuse70-java-openshift
[oc] jboss-fuse70-karaf-openshift
[oc] jboss-processserver64-openshift
[oc] jboss-webserver30-tomcat7-openshift
[oc] jboss-webserver30-tomcat8-openshift
[oc] jboss-webserver31-tomcat7-openshift
[oc] jboss-webserver31-tomcat8-openshift
[oc] jboss-webserver50-tomcat9-openshift
[oc] jenkins
[oc] jenkins-agent-maven
[oc] jenkins-agent-nodejs
[oc] mariadb
[oc] modern-webapp
[oc] mongodb
[oc] must-gather
[oc] mysql
[oc] nginx
[oc] nodejs
[oc] openjdk-11-rhel7
[oc] perl
[oc] php
[oc] postgresql
[oc] python
[oc] redhat-openjdk18-openshift
[oc] redhat-sso70-openshift
[oc] redhat-sso71-openshift
[oc] redhat-sso72-openshift
[oc] redhat-sso73-openshift
[oc] redis
[oc] rhdm73-decisioncentral-indexing-openshift
[oc] rhdm73-decisioncentral-openshift
[oc] rhdm73-kieserver-openshift
[oc] rhdm73-optaweb-employee-rostering-openshift
[oc] rhpam73-businesscentral-indexing-openshift
[oc] rhpam73-businesscentral-monitoring-openshift
[oc] rhpam73-businesscentral-openshift
[oc] rhpam73-kieserver-openshift
[oc] rhpam73-smartrouter-openshift
[oc] ruby
[oc] tests
[oc] wildfly
[oc] 'Running oc with args [oc get is dotnet -n openshift -o jsonpath='{range .spec.tags[*]}{.name}{"\n"}{end}']
[oc] '2.1
[oc] 2.2
[oc] latest
[oc] 'Running oc with args [oc --request-timeout 5m import-image dotnet:2.0 --namespace=disbnbnzsz --from=registry.centos.org/dotnet/dotnet-20-centos7 --confirm]
[oc] error: tag latest failed: Internal error occurred: Get https://registry.centos.org/v2/: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
[oc] imagestream.image.openshift.io/dotnet imported with errors
[oc]
[oc] Name:			dotnet
[oc] Namespace:		disbnbnzsz
[oc] Created:		Less than a second ago
[oc] Labels:			<none>
[oc] Annotations:		openshift.io/image.dockerRepositoryCheck=2019-10-17T12:51:44Z
[oc] Image Repository:	image-registry.openshift-image-registry.svc:5000/disbnbnzsz/dotnet
[oc] Image Lookup:		local=false
[oc] Unique Images:		0
[oc] Tags:			1
[oc]
[oc] 2.0
[oc]   tagged from registry.centos.org/dotnet/dotnet-20-centos7
[oc]
[oc]   ! error: Import failed (InternalError): Internal error occurred: Get https://registry.centos.org/v2/: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
[oc]       Less than a second ago
[oc]
[oc]
Running oc with args [oc annotate istag/dotnet:2.0 --namespace=disbnbnzsz tags=builder --overwrite]
[oc] Error from server (NotFound): imagestreamtags.image.openshift.io "dotnet:2.0" not found
Deleting project: disbnbnzsz
Running odo with args [odo project delete disbnbnzsz -f]
[odo]  •  Deleting project disbnbnzsz  ...
[odo]  ✓  Deleting project disbnbnzsz [5s]
[odo]  ✓  Deleted project : disbnbnzsz
Deleting dir: /var/folders/0l/m50bc_nj27lf8pbd_sdv_7h40000gn/T/989871677

••
------------------------------
• Failure [10.777 seconds]
odo java e2e tests
/Users/tkral/Code/goenv/odo/src/github.com/openshift/odo/tests/e2escenarios/e2e_java_test.go:13
  odo component creation
  /Users/tkral/Code/goenv/odo/src/github.com/openshift/odo/tests/e2escenarios/e2e_java_test.go:41
    Should be able to deploy a .war file using wildfly [It]
    /Users/tkral/Code/goenv/odo/src/github.com/openshift/odo/tests/e2escenarios/e2e_java_test.go:58

    No future change is possible.  Bailing out early after 1.546s.
    Running odo with args [odo create wildfly javaee-war-test --project railxtwxcr --binary /var/folders/0l/m50bc_nj27lf8pbd_sdv_7h40000gn/T/248485998/ROOT.war --context /var/folders/0l/m50bc_nj27lf8pbd_sdv_7h40000gn/T/248485998]
    Expected
        <int>: 1
    to match exit code:
        <int>: 0

    /Users/tkral/Code/goenv/odo/src/github.com/openshift/odo/tests/helper/helper_run.go:33
------------------------------
•
------------------------------
Created dir: /var/folders/0l/m50bc_nj27lf8pbd_sdv_7h40000gn/T/248485998
Creating a new project: railxtwxcr
Running odo with args [odo project create railxtwxcr -w -v4]
[odo]  •  Waiting for project to come up  ...
[odo] I1017 14:54:39.531153   85626 occlient.go:554] Project railxtwxcr now exists
[odo]  ✓  Waiting for project to come up [2s]
[odo]  ✓  Project 'railxtwxcr' is ready for use
[odo]  ✓  New project created and now using project : railxtwxcr
[odo] I1017 14:54:39.540178   85626 odo.go:70] Could not get the latest release information in time. Never mind, exiting gracefully :)
Running odo with args [odo create wildfly javaee-war-test --project railxtwxcr --binary /var/folders/0l/m50bc_nj27lf8pbd_sdv_7h40000gn/T/248485998/ROOT.war --context /var/folders/0l/m50bc_nj27lf8pbd_sdv_7h40000gn/T/248485998]
[odo] Warning: wildfly is not fully supported by odo, and it is not guaranteed to work.
[odo]  •  Validating component  ...
[odo]  ✗  Validating component [234ms]
[odo]  ✗  ../../../../../../private/var/folders/0l/m50bc_nj27lf8pbd_sdv_7h40000gn/T/248485998/ROOT.war binary needs to be inside of the context directory (/var/folders/0l/m50bc_nj27lf8pbd_sdv_7h40000gn/T/248485998)
Deleting project: railxtwxcr
Running odo with args [odo project delete railxtwxcr -f]
[odo]  •  Deleting project railxtwxcr  ...
[odo]  ✓  Deleting project railxtwxcr [6s]
[odo]  ✓  Deleted project : railxtwxcr
Deleting dir: /var/folders/0l/m50bc_nj27lf8pbd_sdv_7h40000gn/T/248485998

• Failure [12.633 seconds]
odo java e2e tests
/Users/tkral/Code/goenv/odo/src/github.com/openshift/odo/tests/e2escenarios/e2e_java_test.go:13
  odo component creation
  /Users/tkral/Code/goenv/odo/src/github.com/openshift/odo/tests/e2escenarios/e2e_java_test.go:41
    Should be able to deploy a spring boot uberjar file using openjdk [It]
    /Users/tkral/Code/goenv/odo/src/github.com/openshift/odo/tests/e2escenarios/e2e_java_test.go:94

    No future change is possible.  Bailing out early after 1.325s.
    Running odo with args [odo create java:8 sb-jar-test --project ovqttviuha --binary /var/folders/0l/m50bc_nj27lf8pbd_sdv_7h40000gn/T/320546256/sb.jar --context /var/folders/0l/m50bc_nj27lf8pbd_sdv_7h40000gn/T/320546256]
    Expected
        <int>: 1
    to match exit code:
        <int>: 0

    /Users/tkral/Code/goenv/odo/src/github.com/openshift/odo/tests/helper/helper_run.go:33
------------------------------
•
------------------------------
• [SLOW TEST:125.625 seconds]
odo java e2e tests
/Users/tkral/Code/goenv/odo/src/github.com/openshift/odo/tests/e2escenarios/e2e_java_test.go:13
  odo component creation
  /Users/tkral/Code/goenv/odo/src/github.com/openshift/odo/tests/e2escenarios/e2e_java_test.go:41
    Should be able to deploy a git repo that contains a java uberjar application using openjdk
    /Users/tkral/Code/goenv/odo/src/github.com/openshift/odo/tests/e2escenarios/e2e_java_test.go:75
------------------------------
Created dir: /var/folders/0l/m50bc_nj27lf8pbd_sdv_7h40000gn/T/320546256
Creating a new project: ovqttviuha
Running odo with args [odo project create ovqttviuha -w -v4]
[odo]  •  Waiting for project to come up  ...
[odo]  ✓  Waiting for project to come up [2s]
[odo]  ✓  Project 'ovqttviuha' is ready for use
[odo] I1017 14:54:50.212647   85635 occlient.go:554] Project ovqttviuha now exists
[odo]  ✓  New project created and now using project : ovqttviuha
[odo] I1017 14:54:50.222717   85635 odo.go:70] Could not get the latest release information in time. Never mind, exiting gracefully :)
Running oc with args [oc get is -n openshift -o jsonpath='{range .items[*]}{.metadata.name}{"\n"}{end}']
[oc] 'apicast-gateway
[oc] apicurito-ui
[oc] cli
[oc] cli-artifacts
[oc] dotnet
[oc] dotnet-runtime
[oc] eap-cd-openshift
[oc] fis-java-openshift
[oc] fis-karaf-openshift
[oc] fuse-apicurito-generator
[oc] fuse7-console
[oc] fuse7-eap-openshift
[oc] fuse7-java-openshift
[oc] fuse7-karaf-openshift
[oc] golang
[oc] httpd
[oc] installer
[oc] installer-artifacts
[oc] java
[oc] jboss-amq-62
[oc] jboss-amq-63
[oc] jboss-datagrid65-client-openshift
[oc] jboss-datagrid65-openshift
[oc] jboss-datagrid71-client-openshift
[oc] jboss-datagrid71-openshift
[oc] jboss-datagrid72-openshift
[oc] jboss-datagrid73-openshift
[oc] jboss-datavirt64-driver-openshift
[oc] jboss-datavirt64-openshift
[oc] jboss-decisionserver64-openshift
[oc] jboss-eap64-openshift
[oc] jboss-eap70-openshift
[oc] jboss-eap71-openshift
[oc] jboss-eap72-openshift
[oc] jboss-fuse70-console
[oc] jboss-fuse70-eap-openshift
[oc] jboss-fuse70-java-openshift
[oc] jboss-fuse70-karaf-openshift
[oc] jboss-processserver64-openshift
[oc] jboss-webserver30-tomcat7-openshift
[oc] jboss-webserver30-tomcat8-openshift
[oc] jboss-webserver31-tomcat7-openshift
[oc] jboss-webserver31-tomcat8-openshift
[oc] jboss-webserver50-tomcat9-openshift
[oc] jenkins
[oc] jenkins-agent-maven
[oc] jenkins-agent-nodejs
[oc] mariadb
[oc] modern-webapp
[oc] mongodb
[oc] must-gather
[oc] mysql
[oc] nginx
[oc] nodejs
[oc] openjdk-11-rhel7
[oc] perl
[oc] php
[oc] postgresql
[oc] python
[oc] redhat-openjdk18-openshift
[oc] redhat-sso70-openshift
[oc] redhat-sso71-openshift
[oc] redhat-sso72-openshift
[oc] redhat-sso73-openshift
[oc] redis
[oc] rhdm73-decisioncentral-indexing-openshift
[oc] rhdm73-decisioncentral-openshift
[oc] rhdm73-kieserver-openshift
[oc] rhdm73-optaweb-employee-rostering-openshift
[oc] rhpam73-businesscentral-indexing-openshift
[oc] rhpam73-businesscentral-monitoring-openshift
[oc] rhpam73-businesscentral-openshift
[oc] rhpam73-kieserver-openshift
[oc] rhpam73-smartrouter-openshift
[oc] ruby
[oc] tests
[oc] wildfly
[oc] 'Running oc with args [oc get is java -n openshift -o jsonpath='{range .spec.tags[*]}{.name}{"\n"}{end}']
[oc] '11
[oc] 8
[oc] latest
[oc] 'Running odo with args [odo create java:8 sb-jar-test --project ovqttviuha --binary /var/folders/0l/m50bc_nj27lf8pbd_sdv_7h40000gn/T/320546256/sb.jar --context /var/folders/0l/m50bc_nj27lf8pbd_sdv_7h40000gn/T/320546256]
[odo]  •  Validating component  ...
[odo]  ✗  Validating component [221ms]
[odo]  ✗  ../../../../../../private/var/folders/0l/m50bc_nj27lf8pbd_sdv_7h40000gn/T/320546256/sb.jar binary needs to be inside of the context directory (/var/folders/0l/m50bc_nj27lf8pbd_sdv_7h40000gn/T/320546256)
Deleting project: ovqttviuha
Running odo with args [odo project delete ovqttviuha -f]
[odo]  •  Deleting project ovqttviuha  ...
[odo]  ✓  Deleting project ovqttviuha [6s]
[odo]  ✓  Deleted project : ovqttviuha
Deleting dir: /var/folders/0l/m50bc_nj27lf8pbd_sdv_7h40000gn/T/320546256

• [SLOW TEST:180.042 seconds]
odo java e2e tests
/Users/tkral/Code/goenv/odo/src/github.com/openshift/odo/tests/e2escenarios/e2e_java_test.go:13
  odo component creation
  /Users/tkral/Code/goenv/odo/src/github.com/openshift/odo/tests/e2escenarios/e2e_java_test.go:41
    Should be able to deploy a git repo that contains a wildfly application without wait flag
    /Users/tkral/Code/goenv/odo/src/github.com/openshift/odo/tests/e2escenarios/e2e_java_test.go:42
------------------------------
•••
------------------------------
• [SLOW TEST:122.494 seconds]
odo core beta flow
/Users/tkral/Code/goenv/odo/src/github.com/openshift/odo/tests/e2escenarios/e2e_beta_test.go:13
  when component is in the current directory
  /Users/tkral/Code/goenv/odo/src/github.com/openshift/odo/tests/e2escenarios/e2e_beta_test.go:95
    create local java component and push code
    /Users/tkral/Code/goenv/odo/src/github.com/openshift/odo/tests/e2escenarios/e2e_beta_test.go:116
------------------------------

Summarizing 3 Failures:

[Fail] odo source e2e tests odo component creation [It] Should be able to deploy a dotnet source application
/Users/tkral/Code/goenv/odo/src/github.com/openshift/odo/tests/helper/helper_run.go:33

[Fail] odo java e2e tests odo component creation [It] Should be able to deploy a .war file using wildfly
/Users/tkral/Code/goenv/odo/src/github.com/openshift/odo/tests/helper/helper_run.go:33

[Fail] odo java e2e tests odo component creation [It] Should be able to deploy a spring boot uberjar file using openjdk
/Users/tkral/Code/goenv/odo/src/github.com/openshift/odo/tests/helper/helper_run.go:33

Ran 15 of 15 Specs in 539.138 seconds
FAIL! -- 12 Passed | 3 Failed | 0 Pending | 0 Skipped

Ginkgo ran 1 suite in 9m3.904782082s
Test Suite Failed
make: *** [test-e2e-all] Error 1

/refresh


button groups containing buttons with indicators are broken

.btn:not(:first-child):not(:last-child) { will not work as .btn will be wrapped in a .indicator

This is challenging because btn-group selects all the buttons inside and sets their border-radius accordingly. but since indicator is adding a parent element (and there's no other way for it to handle this style).
For now you can set the btn class to the indicator itself to make it look as expected:
-

+

   99+
-  <button class="btn>inbox</button>
+  <button>inbox</button>

I will try to find a way to avoid issues like this...

What do you think about this idea: https://github.com/saadeghi/daisyui/discussions/1572


issue: compatibility patch required

https://github.com/FizzleDorf/AIT/blob/d544b7b928be1e64c736ba137bb278d342073978/AITemplate/AITemplate.py#L348
ModelPatcher is moved to separated file(comfy/model_patcher.py) from comfy/sd.py
https://github.com/FizzleDorf/AIT/issues/48

Any idea how the modification to the same be accomplished or a revised AITemplate.py will help I feel. Can the same be updated as error trying the same.

resolved in f74366c


BigQuery: Exclude PyArrow from Windows Python 2.7 tests

Closes https://github.com/GoogleCloudPlatform/google-cloud-python/issues/5441

Could you try using sys.platform != windows in the extras in setup.py?

Could you try using sys.platform != windows in the extras in setup.py?

We don't want to exclude all Windows installs, just those for Python 2.7. Do platform-specific dependencies "and" together?

yes
On Tue, Jun 5, 2018 at 2:21 PM Tim Swast<EMAIL_ADDRESS>wrote:

Could you try using sys.platform != windows in the extras in setup.py?
We don't want to exclude all Windows installs, just those for Python 2.7.
Do platform-specific dependencies
http://setuptools.readthedocs.io/en/latest/setuptools.html#declaring-platform-specific-dependencies
"and" together?
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
https://github.com/GoogleCloudPlatform/google-cloud-python/pull/5442#issuecomment-394864453,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAPUc0-R7rDPsvqkKezUS3FQaCT2CK2Gks5t5vZOgaJpZM4UbkEX
.

Hmm, I guess extras_require doesn't allow exclusions? I tried
extras = {
    'pandas': 'pandas>=0.17.1',
    # Exclude PyArrow dependency from Windows Python 2.7.
    'pyarrow': 'pyarrow>=0.4.1; platform_system!=Windows or python_version>2.7',
}

and got "error in google-cloud-bigquery setup command: 'extras_require' must be a dictionary whose values are strings or lists of strings containing valid project/version requirement specifiers."

Does it work with just one platform specifier?
On Tue, Jun 5, 2018 at 2:57 PM Tim Swast<EMAIL_ADDRESS>wrote:

Hmm, I guess extras_require doesn't allow exclusions? I tried
extras = {
'pandas': 'pandas>=0.17.1',
# Exclude PyArrow dependency from Windows Python 2.7.
'pyarrow': 'pyarrow>=0.4.1; platform_system!=Windows or python_version>2.7',
}
and got "error in google-cloud-bigquery setup command: 'extras_require'
must be a dictionary whose values are strings or lists of strings
containing valid project/version requirement specifiers."
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
https://github.com/GoogleCloudPlatform/google-cloud-python/pull/5442#issuecomment-394873646,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAPUc8n5LA4L6x8sB_GHM7t6hgSmdsVvks5t5v7DgaJpZM4UbkEX
.

Update: the syntax is different than I expected, but I still haven't figured out how to and/or multiple markers.
extras = {
    'pandas': 'pandas>=0.17.1',
    # Exclude PyArrow dependency from Windows Python 2.7.
    'pyarrow: platform_system!=Windows or python_version>2.7': 'pyarrow>=0.4.1',
}

"error in google-cloud-bigquery setup command: Invalid environment marker:  platform_system!=Windows or python_version>2.7"

https://www.python.org/dev/peps/pep-0496/#examples
On Tue, Jun 5, 2018 at 3:01 PM Tim Swast<EMAIL_ADDRESS>wrote:

Update: the syntax is different than I expected, but I still haven't
figured out how to and/or multiple markers.
extras = {
'pandas': 'pandas>=0.17.1',
# Exclude PyArrow dependency from Windows Python 2.7.
'pyarrow: platform_system!=Windows or python_version>2.7': 'pyarrow>=0.4.1',
}
"error in google-cloud-bigquery setup command: Invalid environment marker:
platform_system!=Windows or python_version>2.7"
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
https://github.com/GoogleCloudPlatform/google-cloud-python/pull/5442#issuecomment-394874719,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAPUc5r_lmvfkD6IOrRKVC8yNovPpLiQks5t5v_JgaJpZM4UbkEX
.

I've confirmed that the previously failing unit tests pass on my Windows machine.


Set default teleop speed

What does this implement/fix?

teleopで起動する際に初期設定のままだと速いので速度を下げます。
Does this close any currently open issues?

しません
How has this been tested?

roslaunch raspimouse_ros_examples teleop.launch key:=true mouse:=falseで0.1m/sで直進の司令が送信されることを確認しました。
Any other comments?

Checklists

[x]  I have read the CONTRIBUTING guidelines.
[x]  I have checked to ensure there aren't other open Pull Requests for the same change.

lgtm


Fixed issue #1555 when impossible to select the day which is minDate

It is impossible to select the day which is minDate when picked time is lower than minDate's time. The same for maxDate.
I've added additional validation that sets allowed time (minimum for minDate and maximum for maxDate) when user tries to target this dates with not valid picked time.

Thank you @quadrifoliumclover! I was pulling my hair out thinking I did something wrong on my end. This fixes the bug perfectly. 👍

Thanks a lot, have been struggling with this issue for a while now.

+1 to merge this PR

Closed, cause project is dead