pkg/assets/internal: Remove critical pod annotations

Supercedes #728 and should remove all critical annotations on the control plane as requested.
Broader discussion and rationale:

https://github.com/coreos/tectonic-installer/pull/1702
#728

Rebased.

Do I read it right, that annotations are removed just to make rescheduler happier?  It is confusing,  bootkube and rescheduler are different projects, bootkube doesn't install rescheduler into cluster by default, why bootkube is making changes, not rescheduler is improving?
I am concerned, because removed annotations are used by kuberneted itself, when ExperimentalCriticalPodAnnotation featuregate is enabled. How one would prevent these very important pods to be evicted by kubelet lets say under disk pressure? Is there a safe way to run self hosted setup in 1.8.x Kubernetes without these annotations at all?

@redbaron as discussed in https://github.com/kubernetes-incubator/bootkube/issues/519#issuecomment-322854749, the rescheduler is actually dangerous in self-hosted clusters, and it will be replaced by priorities anyway (see comments from bsalamat in that thread).
Since bootkube has never shipped the rescheduler or enabled experimental features it was deemed prudent to remove the annotations. If you are deciding to run the rescheduler and accept the risks associated with it you are of course welcome to add the annotations to your deployment.

That is what I thought too, I am not running rescheduller.  My point is, that removed unnotations are used by kubernetes itself, not rescheduler.  These anontations are taken into account when kubelet evicts pods when it is under disk space pressure. So these annotations are useful and their removal makes self hosted setup less safe

@diegs @dghubble @redbaron @aaronlevy
The scheduler.alpha.kubernetes.io/critical-pod annotation is used by Kubernetes itself (i.e. eviction, admission, daemonset, preemption controllers) if the ExperimentalCriticalPodAnnotation feature flag is enabled, in order to avoid evicting pods, and/or guarantee admission that are a/ static or b/ on resource-pressured nodes - regardless of priorities and whether the rescheduler is used or not.
This comment and code block is particularly relevant and shows that without the feature flag and without the annotation, static pods could be evicted, and will not be re-admitted.


Security Vulnerability - Action Required: XXE vulnerability in the newest version of the tutorials

I think the module xml may be vulnerable to Improper Restriction of XML External Entity Reference. It shares similarities to a recent CVE disclosure CVE-2021-3878 and CVE-2021-3869 in the project stanfordnlp/CoreNLP. The vulnerable methods are as follows:

com.baeldung.xml.JaxenDemo.getAllTutorial() in the file xml/src/main/java/com/baeldung/xml/JaxenDemo.java.
com.baeldung.xml.DefaultParser.getFirstLevelNodeList() in the file xml/src/main/java/com/baeldung/xml/DefaultParser.java
com.baeldung.xml.DefaultParser.getNodeById(String id) in the file xml/src/main/java/com/baeldung/xml/DefaultParser.java
com.baeldung.xml.DefaultParser.getNodeListByTitle(String name) in the file xml/src/main/java/com/baeldung/xml/DefaultParser.java.

The source vulnerability information is as follows:

Vulnerability Detail:
CVE Identifier: CVE-2021-3878 and CVE-2021-3869
Description: corenlp is vulnerable to Improper Restriction of XML External Entity Reference
Reference:https://nvd.nist.gov/vuln/detail/CVE-2021-3869 for CVE-2021-3869 and https://nvd.nist.gov/vuln/detail/CVE-2021-3878 for CVE-2021-3878.
Patch: https://github.com/stanfordnlp/corenlp/commit/5d83f1e8482ca304db8be726cad89554c88f136a for CVE-2021-3869 and https://github.com/stanfordnlp/corenlp/commit/e5bbe135a02a74b952396751ed3015e8b8252e99 for CVE-2021-3878.

Vulnerability Description:
This vulnerability occurs because of the Improper Restriction of XML External Entity Reference. Given that the XML schema files which is compromised by a hacker, the victim conducts regular process may result in an XML External Entity (XXE) Injection attack.
Recommended Actions:
The corresponding fixes are similar to CVE-2021-3878 and CVE-2021-3869 to some extent. I have provided the following fixes by applying several patching statements, ensuring that the external entities and DTDs are not loaded when parsing and processing XML documents using the document builder. You can call the function safeDocumentBuilderFactory I defined below instead of directly calling DocumentBuilderFactory.newInstance() to create a DocumentBuilderFactory object to avoid XXE attacks.
  public static DocumentBuilderFactory safeDocumentBuilderFactory() {
    DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
    try {
      dbf.setFeature("http://apache.org/xml/features/disallow-doctype-decl", true);
      dbf.setFeature("http://apache.org/xml/features/nonvalidating/load-external-dtd", false);
      dbf.setFeature("http://xml.org/sax/features/external-general-entities", false);
      dbf.setFeature("http://xml.org/sax/features/external-parameter-entities", false);
      dbf.setFeature("http://apache.org/xml/features/dom/create-entity-ref-nodes", false);
      dbf.setFeature(XMLConstants.FEATURE_SECURE_PROCESSING, true);
    } catch (ParserConfigurationException e) {
      log.warn(e);
    }
    return dbf;
  }

Considering the potential riskes it may have, I am willing to cooperate with your to verify, address, and report the identified vulnerability promptly through responsible means. If you require any further information or assistance, please do not hesitate to reach out to me.
Thank you and looking forward to hearing from you soon.

Hey, @Crispy-fried-chicken.
Thanks for bringing this to our attention. We'll look into this.
This issue will remain open until then.

Addressed in this PR by creating a secureDocumentBuilderFactory instance - https://github.com/eugenp/tutorials/pull/17732


WIP: re-enable pip check & run test suite

This has been disabled for a long time, when it shouldn't

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

Hi! This is the friendly automated conda-forge-linting service.
I wanted to let you know that I linted all conda-recipes in your PR (recipe) and found some lint.
Here's what I've got...
For recipe:

Failed to even lint the recipe, probably because of a conda-smithy bug :cry:. This likely indicates a problem in your meta.yaml, though. To get a traceback to help figure out what's going on, install conda-smithy and run conda smithy recipe-lint . from the recipe directory.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

Um, why not just ping if someone still intends to work on a PR rather than closing it unilaterally?


Access to data.json?

Can I access sonic info from data.json in a retro-contest agent?
I found the info was not synced from server channel.

I solved the problem by using docker ubuntu like this.
d:\docker run -v D:\project:/project myubuntu python3 /usr/project/gym-retro/scripts/playback_movie.py /project/results/bk2/AAAAAAAAAA.bk2

I got Info null as step return values. Is there any way to get info dictionary?

I think it is not allowed to use info while testing.
During training you can access a few variables from the memory of the game through the info dictionary. During testing, these variables are not available


adding the panorama to sendgrid

JIRA link (if applicable)
https://tools.hmcts.net/jira/browse/DTSPO-13653
Change description
Migrate Panorama to Sendgrid
Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[ ] No

@DJ-Khaled can you double check your dtspo branch name please.?


doc: Document render-docs target

Document the render-docs target. This target generates documentation
files and serves them locally in a container. Assuming that everybody
uses this make target to test docmentation changes, I'm removing the
requirement to run:
sudo pip3 install -r Documentation/requirements.txt

to install Python packages locally.
Signed-off-by: Michi Mutsuzaki<EMAIL_ADDRESS>

We should also remove them from the VM images.


Demo url

I can you give me the real demo url, the one present in readme point to your resume.
Thanks

I believe it's not live anymore. In the end this project was only used for a demo about Jenkins; http://www.sitepoint.com/series/php-quality-assurance-with-jenkins/
Not sure if I will bring it back to live, since I also have some other projects I am working on.


Move 0.24.1 milestone to 0.25.0, 0.25.0 milestone to 0.26.0

There have been a lot of issues closed and pull requests closed or merged since 0.24.0
https://github.com/bigdatagenomics/adam/issues?q=is%3Aissue+is%3Aclosed+milestone%3A0.24.1
https://github.com/bigdatagenomics/adam/pulls?q=is%3Apr+is%3Aclosed+milestone%3A0.24.1
and with Spark and other dependency version changes #2072 and Python 3 support #2070 landing soon, I think the next ADAM release should be 0.25.0 instead of 0.24.1.
Thus I'd like to rename the 0.24.1 milestone 0.25.0 and rename the 0.25.0 milestone 0.26.0.

Done


Update the latest version of the docs website to v0.9

Thanks for contributing!

What type of PR is this?

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

rebase #3060


CP-11582: DepthFirstSearchAlgorithm.MaxDepth

From unknown CodePlex user on Saturday, 08 November 2008 01:32:49
Does not seem to be used..

Is this intended to signal to the search, the maximum depth reached at the end
of the search?  Or perhaps to tell the search how many levels deep to search?

Thanks in advance.

Form unknown CodePlex user on Saturday, 08 November 2008 09:48:49
Resolved with changeset 24000.


Added new string module with trim-prefix and trim-suffix

I wasn't sure about the module name, please tell me if it doesn't fit.

Probably best to just put that in misc. No need for so many individual files.

Ok, I moved it into misc

Fair point, I added two tests for each function

Minor point -- the docstrings begin with lowercase letters.  May be it's slightly better to use "Trim" rather than "trim"?

You're right, I fixed that


⚠ Bofrost.be has degraded performance

In edb919c, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1419 ms

Resolved: Bofrost.be performance has improved in 65dc9e7 after 6 minutes.


activateSW should wait for iframe to be controlled by SW

Try running this:
console.log('iframe sw => ', iframe.contentWindow.navigator.serviceWorker.getRegistration().then(reg => console.log(reg)));
If shouldn't be undefined

This was an issue with the <platinum-sw> tests, too. See https://github.com/PolymerElements/platinum-sw/blob/master/test/controlled-promise.js for the workaround I used.

This is covered by #53


VOL cmd sets step velocity for MIDI instruments

Tested using as working with a Korg NTS-1.
Includes update to the manual with photo labelling the TRS ports.
Fixes:  #79

Seems we are mixing two concepts here, as far as I understand, volume is meant to set the instrument volume while velocity is supposed to be the specific note velocity (or volume). The original code correctly sets midi cc 7, volume. Seems we want to add a velocity command, rather than replace the original volume, no?
Part 7 here: https://www.cs.cmu.edu/~music/cmsip/readings/MIDI tutorial for programmers.html

Seems we are mixing two concepts here, as far as I understand, volume is meant to set the instrument volume while velocity is supposed to be the specific note velocity (or volume). The original code correctly sets midi cc 7, volume. Seems we want to add a velocity command, rather than replace the original volume, no?
Part 7 here: https://www.cs.cmu.edu/~music/cmsip/readings/MIDI tutorial for programmers.html

I think this is one area where real world practice is different from the spec. From what I've seen people expect grooveboxes to emit velocity per step and I've not seen any that send volume midi commands for that. Admittedly it may be better to have a separate command named velocity for this but I think this actually makes most sense for midi while the pico doesnt support separate velocity per step the way for example M8 does, but then the PE Tracker doesnt do a sperate per step velocity either and requires using a FX lane for that too.
I'll ask for feedback on the Discord from others to see what the expectation is around this as my view is that MIDI volumen commands are basically unused in the hardware groovebox/sequencer space.


Create Waste Shed Preset

From discussion in the Estonian community: https://community.openstreetmap.org/t/micromapping-waste-bin-shed-tags/8860

A "Waste Shed" is an outdoor building that simply contains waste containers, maybe 3-8 of them, and protects the containers from the weather (heavy snow for example). They're usually only intended to be used by the residents, and access is sometimes controlled using a key or a tag.
This may not apply to many regions, which is why I've added a locationSet.
The currently suggested preset file can be seen under the tab Files changed.
To Do

[ ] Give it a recognizable and translatable name
[ ] Set the proper tags
[ ] Add synonyms
[ ] Add more regions to the locationSet.

It's probably mostly recycling. In Sweden they're usually called something like "recycling station". Then, maybe recycling_type=shed should be added?
I've tagged one of these with recycling_type=centre, and then simply added a building=yes to make it render properly on the map.

@mikaeldui wrote:

Would waste_disposal be better then and cover both?

IMHO this is the central issue here. The short answer is no: amenity=waste_disposal is for everything but recycling, while amenity=recycling is, well, for recycling. You'd typically be mapping recycling and waste containers as separate nodes even when they are colocated. But that approach would not work for a single "shed" containing both. And mapping it as three different objects (one shed plus recycling/waste container inside) seems excessively detailed / cumbersome to map.
The only tag which I'm aware of which would cover both cases is (man_made=street_cabinet +) street_cabinet=waste which is defined as:

[…] hosting containers for waste and recycling which are not a public amenity, i.e. those for collecting the waste per individual house. In many cases they are locked for private access.

Actually, to some extent, I like the street_cabinet approach better for these features, because at least most of these garbage sheds I know around here are just barely high enough for the actual waste/recycling containers (like this example). For a building=shed I would have expected that it should be large enough for a person to stand in. The obvious downside of this tagging is that many of these are not actually located on or near a street. :unamused:

Yeah, I realized that as well after checking out the original community.osm.org thread again (see my edit above). Sorry for the confusion.

yes, noticed it but I decided to leave image (may be useful for others and I spend 6 minutes looking for well visible garbage shed :) )

Mapping it as separate elements would also have the additional benefit that one can easily use the (e.g. recycling) preset's fields to map details like the type of waste which is being collected.
FWIW, one of my previous apartments had a similar "garbage site" which was however not roofed, but just fenced off (seen on this mapillary image). Mico-mapping it as separate objects would be directly applicable here as well (by replacing the building=shed with a barrier=fence).

FWIW, one of my previous apartments had a similar "garbage site" which was however not roofed, but just fenced off (seen on this mapillary image). Mico-mapping it as separate objects would be directly applicable here as well (by replacing the building=shed with a barrier=fence).

This was the main thing I was going to say - covered & uncovered (but often still lockable) - "bin stores" are common here on commercial sites. The uncovered ones usually have a solid wall.
These are a special case of a generic storage area or compound (sheds, just covered by a roof or uncovered): on my local university site there are quite a few other uses: gas cylinder stores are particularly common.

In the U.S., these sheds are also common at individual fast food restaurants, hotels, pharmacies, and so on – anywhere they don’t want people to lose their appetite or don’t want non-employees dumping their trash.

tyrasd added the wontfix

is it intentional that it remains open?


Image caption field in Media Library

Thanks for all the great work on Static CMS, very much enjoying using it!
Wondering if there is a plan to have a caption field along with individual media objects in the Media Library. Since it is possible to select multiple pictures with the image widget, I'm looking to build a gallery/lightbox section on a website but need the ability to show individual image captions, as well as needing it as an alt= attribute for accessibility purposes.
If there is a better approach to this, I'd be keen to try it.
Thanks again and all the best.

Wouldn't it be easier to make a list, with each Item containing an image field, a caption field and an alt text field?


ignore some more irrelevant entries

no idea what they do but they seem very irrelevant and just spam the logs with warnings

Thanks! I have not checked, but tutorial_game_entry sounds like something, that might be relevant, if that is in any way related to the tutorial a new player has to go through, since IIRC you can only switch to quests after you finished the expedition tutorial. Might be some completely unrelated thing though, I don't know and since it was ignored previously, it can stay ignored. I just have to keep this in mind for later. Looks good


Support dynamic theming

Bug, feature request, or proposal:
Feature request. In angular material 1 it is possible to generate/swap themes dynamically.
The design guide of angular material 2 only mentions static theming.
However, for multi-tenant systems, where each tenant has a custom theme, this dynamic theming is very useful.
What is the expected behavior?
Similar to angular material 1
What is the current behavior?
Only static theming is possible, where you have to generate your css files from sass in advance.
What is the use-case or motivation for changing an existing behavior?
Multi-tenant systems.

This use case not quite common and should be supported.
@sebakerckhof I was also thinking about creating a node js webservice that compiles the sass files, so i would only have to pass some parameters, let it compile and then include the correct compiled css file for each tenant. Not sure if the theme would really have to be generated at runtime.

Any updates on this? My team is also looking for a way to theme components for a multi-tenant application so this would be incredibly helpful.

@james-knerr Have a look at the multple themes section in docs. With a simple host binding you can easyly add a theme based on the tenant

@mbeckenbach
What do you mean with host binding?
The way I understand that section is that you would need to include all the CSS for all the tenants. This is exactly what we want to avoid.

tenants can usually be dynamically added/changed. This is still a build step, so not something we can modify at runtime.
Maybe tenants can choose their theme colors which are then stored to the databse. All of these use cases are neatly handled in angular material 1.

Is there any update on this? The theming documentation is fairly vague and hasn't been updated in a couple of months. Specifically the @mixins talk. I'm unsure where to put what, and when I define multiple themes inside a file with classes I can't seem to dynamically switch them unless I add in some hacky ngIf statements into my component templates.

Any update on this? [2]

This is a "maybe someday" feature that we don't have any plans to work on in the near future.

I see a possible solution for those who absolutely need to generate themes at runtime, for example to allow users to tweak the colors themselves.
As per the official documentation, it is possible to:

node-sass src/unicorn-app-theme.scss dist/unicorn-app-theme.css
and then include the output file in your index.html.

So it should also be possible to

put together the theme.scss using the user's custom preferences,
then use sass.js to compile it in the browser
and finally just put the result into a

This approach works:
package.json:
    "dependencies": {
        ...
        "sass-js": "git://github.com/medialize/sass.js#master"
    }

.angular-cli.json:
            "assets": [
                ...
                {
                    "glob": "sass.worker.js",
                    "input": "../node_modules/sass.js/dist/",
                    "output": "./"
                },
                {
                    "glob": "_theming.scss",
                    "input": "../node_modules/@angular/material",
                    "output": "./"
                }
            ]

sass-test.ts:
declare const Sass: any;

const sass = new Sass();
/* build your dynamically generated custom theme here */
const scss = `@import 'theming';
              // Plus imports for other components in your app.

              // Include the common styles for Angular Material. We include this here so that you only
              // have to load a single css file for Angular Material in your app.
              // Be sure that you only ever include this mixin once!
              @include mat-core();

              // Define the palettes for your theme using the Material Design palettes available in palette.scss
              // (imported above). For each palette, you can optionally specify a default, lighter, and darker
              // hue.
              $candy-app-primary: mat-palette($mat-pink);
              $candy-app-accent:  mat-palette($mat-indigo, A200, A100, A400);

              // The warn palette is optional (defaults to red).
              $candy-app-warn:    mat-palette($mat-red);

              // Create the theme object (a Sass map containing all of the palettes).
              $candy-app-theme: mat-light-theme($candy-app-primary, $candy-app-accent, $candy-app-warn);

              // Include theme styles for core and each component used in your app.
              // Alternatively, you can import and @include the theme mixins for each component
              // that you are using.
              @include angular-material-theme($candy-app-theme);`;

sass.preloadFiles('', '', ['_theming.scss'], () => {
    sass.compile(scss, result => {
        const css = result.text;
        const head = document.head;
        const style = document.createElement('style');
        style.type = 'text/css';
        style.appendChild(document.createTextNode(css));
        head.appendChild(style);
    });
});

Please beware that this solution is about as elegant and efficient as this:

how about doing that on the server side ? thats what i'm trying to do.... I was wondering if all I need to change a theme is simply include a new theme.css file to index.html ?

I am trying to achieve using css custom variables
on my theme service I get the primary,  accent colours from my api;
then
 var style = document.createElement('style');
style.type = 'text/css';
style.innerHTML = ':root { --primary: '+reasult.primary+'; --accent:'+reasult.accent+'}';
document.getElementsByTagName('head')[0].appendChild(style);

Now on my theme.scss
i was trying to read it using css variable like
$primary: var(--primary);
if I set this variable to any any of my class it sets properly
but unable to dynamically set up the color palette
What we need to do is
$primary: mat-palette(#{$mat}-var(--primary));
$accent: mat-palette($mat-orange);
$warn: mat-palette($mat-red);
$theme: mat-light-theme($primary, $accent, $warn);
i tried with sass functions as well but no luck. may be i am doing something wrong.
nearly spent good 5 hours to solve but not able to achieve.
but works well with this
on the same file
.topbar.mat-toolbar {
box-shadow: none;
background: var(--primary); / toolbar background color to blue because this blue comes from my db
color: mat-contrast($primary, 600) !important;
}

I achieved it in a different way to avoid the time delay of saas compilation, I built the colour json file something like below. But this is a little bit of manual work.
this is not the best approach but it not causing any delay for me. but you need to override the colours every single component.
{
"theme": {
"50": {
"background-color": "#FFEBEE",
"color": "#000000"
},
"100": {
"background-color": "#ffcdd2",
"color": "#000000"
},
"200": {
"background-color": "#ef9a9a",
"color": "#000000"
},
"300": {
"background-color": "#e57373",
"color": "#000000"
}
}

Read my primary, accent, warning colours from database. and wrote it as a css variable. Follow this step for all there colours.
palette += ':root{';
for (var key in data.theme) {
if (data.theme.hasOwnProperty(key)) {
palette += '--mat-primary-background-' +key +':' +data.theme[key]["background-color"]+';';
palette += '--mat-primary-color-' + key + ':' + data.theme[key]["color"] + ';';
////        console.log(key + "->"+this.theme[key]["background-color"]);
}
}
palette += '}';
const head = document.head;
const style = document.createElement('style');
style.type = 'text/css';
style.appendChild(document.createTextNode(palette));
head.appendChild(style);

and then override your
on your theme file use the variable.
@include angular-material-theme($theme); ////////////////////////Primary////////////////////////
//#TopToolbar//
.topbar.mat-toolbar {
box-shadow: none;
background: var(--mat-primary-background-600) !important;
color: var(--mat-primary-color-600) !important;
}

@USPTraining , that ain't half bad....
I wonder if dynamic theming could be a separate module which is included, similar to how we have to import modules per component; Maybe if you want dynamic theming, you have to import a "dynamic theming" module.

Still nothing for this?  For the heck of it, I tried building a SCSS file that had all 500 level combinations  of colors using the following code:
colorPalette: ColorPalette[] = [
  {colorName: 'red',         colorValue: 'red',     colorAbbreviation: 'Rd'},
  {colorName: 'pink',        colorValue: 'pink',    colorAbbreviation: 'Pi'},
  {colorName: 'purple',      colorValue: 'purple',  colorAbbreviation: 'Pu'},
  {colorName: 'deep-purple', colorValue: '#673ab7', colorAbbreviation: 'DpPu'},
  {colorName: 'indigo',      colorValue: 'indigo',  colorAbbreviation: 'In'},
  {colorName: 'blue',        colorValue: 'blue',    colorAbbreviation: 'Bl'},
  {colorName: 'light-blue',  colorValue: '#03a9f4', colorAbbreviation: 'LiBl'},
  {colorName: 'cyan',        colorValue: 'cyan',    colorAbbreviation: 'Cy'},
  {colorName: 'teal',        colorValue: 'teal',    colorAbbreviation: 'Tl'},
  {colorName: 'green',       colorValue: 'green',   colorAbbreviation: 'Grn'},
  {colorName: 'light-green', colorValue: '#8bc34a', colorAbbreviation: 'LiGrn'},
  {colorName: 'lime',        colorValue: 'lime',    colorAbbreviation: 'Lm'},
  {colorName: 'yellow',      colorValue: 'yellow',  colorAbbreviation: 'Ye'},
  {colorName: 'amber',       colorValue: '#ffc107', colorAbbreviation: 'Am'},
  {colorName: 'orange',      colorValue: 'orange',  colorAbbreviation: 'Or'},
  {colorName: 'deep-orange', colorValue: '#ff5722', colorAbbreviation: 'DpOr'},
  {colorName: 'brown',       colorValue: 'brown',   colorAbbreviation: 'Br'},
  {colorName: 'grey',        colorValue: 'grey',    colorAbbreviation: 'Gry'},
  {colorName: 'blue-grey',   colorValue: '#607d8b', colorAbbreviation: 'BlGry'}
];

/* following is used to generate mat-theme.scss entries */
developThemeClassText (){
  let theme-map = '';
  let themeAbbreviationCombination = '';
  let primaryColorName = '';
  // let primaryColorValue = '';
  let primaryColorAbbreviation = '';
  let accentColorName = '';
  // let accentColorValue = '';
  let accentColorAbbreviation = '';
  let warnColorName = '';
  // let warnColorValue = '';
  let warnColorAbbreviation = '';
  let foregroundColorValue = '';
  let foregroundColorAbbreviation = '';
  let backgroundColorValue = '';
  let backgroundColorAbbreviation = '';

  for ( let primaryCount = 0; primaryCount < this.colorPalette.length; primaryCount++) {
    primaryColorName = this.colorPalette[primaryCount].colorName;
    // primaryColorValue = this.colorPalette[primaryCount].colorValue;
    primaryColorAbbreviation = this.colorPalette[primaryCount].colorAbbreviation;
    for ( let accentCount = 0; accentCount < this.colorPalette.length; accentCount++) {
      accentColorName = this.colorPalette[accentCount].colorName;
      // accentColorValue = this.colorPalette[accentCount].colorValue;
      accentColorAbbreviation = this.colorPalette[accentCount].colorAbbreviation;
      for ( let warnCount = 0; warnCount < this.colorPalette.length; warnCount++) {
        warnColorName = this.colorPalette[warnCount].colorAbbreviation;
        // warnColorValue = this.colorPalette[warnCount].colorValue;
        warnColorAbbreviation = this.colorPalette[warnCount].colorAbbreviation;
        for ( let foregroundCount = 0; foregroundCount < this.colorPalette.length; foregroundCount++) {
          foregroundColorValue= this.colorPalette[foregroundCount].colorValue;
          foregroundColorAbbreviation = this.colorPalette[foregroundCount].colorAbbreviation;
          for ( let backgroundCount = 0; backgroundCount < this.colorPalette.length; backgroundCount++) {
            backgroundColorValue= this.colorPalette[backgroundCount].colorValue;
            backgroundColorAbbreviation = this.colorPalette[backgroundCount].colorAbbreviation;

            // tslint:disable-next-line:max-line-length
            themeAbbreviationCombination = primaryColorAbbreviation +  accentColorAbbreviation + warnColorAbbreviation + foregroundColorAbbreviation + backgroundColorAbbreviation;
            // tslint:disable-next-line:max-line-length
            theme-map += '$custom-' + themeAbbreviationCombination + '-ThemeMap:(primary: $' + primaryColorName + ', accent:$' + accentColorName + ', warn:$' + warnColorName + ', foreground-color: "' + foregroundColorValue +'", background-color: "' + backgroundColorValue + '");\n'
            // tslint:disable-next-line:max-line-length
            theme-map += '$custom-' + themeAbbreviationCombination + '-Theme: create-wonky-theme($custom-' + themeAbbreviationCombination + '-ThemeMap);\n'
            theme-map += '.custom-' + themeAbbreviationCombination + '-Theme {\n';
            theme-map += '  @include angular-material-theme($custom-' + themeAbbreviationCombination + '-Theme);\n';
            console.log('}\n';
          }
        }
      }
    }
  }
}

It created about a 748MB file, and I don't think that's a good size for the user to open a page with 😃   Why can't an Angular Material switch the container backgrounds more dynamically?  You can do the primary, accent, and warn, "fairly" easily, but getting a background and other items is really involved.  If I'm not mistaken, simple JS can do the background-color switch without much trouble, but maybe that's a lot of overhead to deal with.
Maybe it's just a future wish and hopefully not a pipe dream.

is there a way to make this work with css vars.
try this https://github.com/angular/material2/issues/4352#issuecomment-475755403

sorry forgot this wonderful item to enter in the scss:
@function create-wonky-theme($wonkyThemeSettings)
{
  $background: (
    background: unquote(map-get($wonkyThemeSettings, background-color))
  );

  $foreground: (
    base: unquote(map-get($wonkyThemeSettings, foreground-color)),
    text: unquote(map-get($wonkyThemeSettings, foreground-color))
  );

  @return (
    primary: map-get($wonkyThemeSettings, primary),
    accent: map-get($wonkyThemeSettings, accent),
    warn: map-get($wonkyThemeSettings, warn),
    is-dark: false,
    foreground: $foreground,
    background: $background,
  );
}

Any chance of switching the theme system to use css variables with a fallback to a single default theme? This would support ie11 + everything else and give an easy way to switch themes in a modern way.
https://caniuse.com/#feat=css-variables

This framework has gone backwards in some pretty fundamental ways. We serve our client to many different tenants, which have different themes.
So now I either have to do some hacky workaround, or build a bunch of different client apps that literally only differ by some css. wtf...

Did anyone here have success with their chosen work around?
I am in the same position where basically, only the colours change on a white label app.  I am not a CSS guy so forgive my ignorance.
When I generate a build,  I get dist/some.css.
I am aware how primitive my suggestion is, but, if I choose a hideous theme with unique colours and build,  can I ask the server to find/replace those colours before shipping /dist/some.css to the browser?
Would that magically work for now and if so, is the road ahead bleak for compatibility issues going forward?
I would appreciate anyones thoughts/experience.

css-variables seems pretty promising these days. even ie11 can work with it with a polyfill.
We override the colors with css variables  to support our simple theme solution in our company, and it actually works.
I used to create a solution with jss, which generate CSS dynamically, and created a package to override the theme from material. This also works and is much more powerful than css variable solution, but it's way more complex and maybe doesn't worth it.

I don't understand that this is a P5 feature request that has been open for quite some time. Whitelabeling a product is a common case and creating a separate theme file for each customer is not a scaleable approach as it required a new build for each new customer. It also makes the final css file way too large. Unless I didn't read the comments correctly, a proper workaround doesn't exists yet, am I correct?

@njifares Using css variables - see https://blog.angularindepth.com/build-truly-dynamic-theme-with-css-variables-539516e95837 - Works really good...

@maku Thanks!
I need to look into a bit further so apologies if my question is obsolete but would this allow me to fetch the  customer specific colors from a database and create a material theme with it?

@njifares
https://github.com/johannesjo/angular-material-css-vars  allows you to do what you are after too although still figuring it out personally.

@clark-stevenson awesome, many thanks!

Duplicate of #4352
Closing this as a duplicate of #4352 since our approach theming will eventually shift to CSS variables. We won't ever be going down the path of run-time theming like AngularJS Material.


feat: add postage stamp commands

Adds 3 commands:

stamp buy
stamp list
stamp show

Unfortunately, show does not provide additional info.
Also updates to new Pinning API.
Tests now begin with Jest environment setup buying one stamp, which is then available to tests via process.env.STAMP.
Other API changes (such as camelCase) are followed.
CI breaks because of using bee-js from branch.

we should unify later the postage stamp usage in our tests, but I liked your solution : )


Fix RemoveCHIRRTL for unused memory ports

This addresses #325.
@aswaterman
Memory port directions were not inferred during CInferMDir if not being used, which was not accepted in RemoveCHIRRTL.

Overridden by #355


[BUG] System.FormatException: Input string was not in a correct format.

Acknowledgement of preliminary instructions

[X] I have read the preliminary instructions, and I am certain that my problem has not already been addressed.
[X] I have thoroughly looked through the available Wiki articles and could not find a solution to my problem.
[X] I am using the latest version of Bloxstrap.
[ ] I did not answer truthfully to all the above checkboxes.

Bloxstrap Version
v2.8.1 / v2.8.0 - afnfork
What problem did you encounter?
When trying to install the latest forks, it comes up with this exception.

I do not know what this issue is exactly though. I have to use regular bloxstrap as a workaround for this., but it prevents me from being able to do most of Project Afternight's mechanics / features.
Bloxstrap Log
2024-10-31T21:49:01Z [App::OnStartup] Starting Bloxstrap v2.8.1
2024-10-31T21:49:01Z [App::OnStartup] Compiled Thursday, 31 October 2024 at 5:39:40 PM from commit aa6795aa1764874f45df92139a803aa9861b17c6 (branch/main)
2024-10-31T21:49:01Z [App::OnStartup] Loaded from %UserProfile%\Downloads\Bloxstrap-v2.8.1-afnfork.exe
2024-10-31T21:49:01Z [App::OnStartup] Temp path is %UserProfile%\AppData\Local\Temp\Bloxstrap
2024-10-31T21:49:01Z [App::OnStartup] WindowsStartMenu path is %UserProfile%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs
2024-10-31T21:49:01Z [Logger::Initialize] Initializing at %UserProfile%\AppData\Local\Temp\Bloxstrap\Logs\Bloxstrap_20241031T214901Z.log
2024-10-31T21:49:01Z [Logger::Initialize] Finished initializing!
2024-10-31T21:49:02Z [MainWindow] Initializing installer window
2024-10-31T21:49:02Z [HttpClientLoggingHandler::ProcessRequest] GET https://api.github.com/repos/Adrigamer278/bloxstrap/releases/latest
2024-10-31T21:49:02Z [HttpClientLoggingHandler::ProcessResponse] 200 OK https://api.github.com/repos/Adrigamer278/bloxstrap/releases/latest
2024-10-31T21:49:02Z [Utilities::CompareVersions] An exception occurred when comparing versions
2024-10-31T21:49:02Z [Utilities::CompareVersions] versionStr1=2.8.1 versionStr2=v2.8.1-afnfork
2024-10-31T21:49:02Z [App::GlobalExceptionHandler] An exception occurred
2024-10-31T21:49:02Z [App::FinalizeExceptionHandling] (0x80131537) System.FormatException: Input string was not in a correct format.
   at System.Number.ThrowOverflowOrFormatException(ParsingStatus status, TypeCode type)
   at System.Version.TryParseComponent(ReadOnlySpan`1 component, String componentName, Boolean throwOnFailure, Int32& parsedComponent)
   at System.Version.ParseVersion(ReadOnlySpan`1 input, Boolean throwOnFailure)
   at System.Version.Parse(String input)
   at System.Version..ctor(String version)
   at Bloxstrap.Utilities.CompareVersions(String versionStr1, String versionStr2)
   at Bloxstrap.UI.ViewModels.Installer.WelcomeViewModel.DoChecks()
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

Update, I opened the issue on the offical comms server for Project: Afternight, so it's being looked into.

Ok. Been told to close it as it was an issue from the fork itself by a developer.


0.10.0 DefinitelyTyped Types

Do you want to request a feature or report a bug?
Bug
What is the current behavior?
0.10.0 types are not included or available in https://github.com/benshope/DefinitelyTyped
which means the new syntax passed to new CompositeDecorator([ throws an error
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. You can use this jsfiddle to get started: https://jsfiddle.net/stopachka/m6z0xn4r/.
npm i --save<EMAIL_ADDRESS>What is the expected behavior?
It would be great if types were included in the package or updated in DefinitelyTyped - I feel uneasy about updating types in DefinitelyTyped myself
Which versions of Draft.js, and which browser / OS are affected by this issue? Did this work in previous versions of Draft.js?
N/A

Hi @benshope  please feel free to create an issue on the DefinitelyTyped repository itself.


Unable to manually register protocols and/or services

We manually register controllers and entities in our Ts.ED project and are unable to use glob patterns to automatically scan and register them due to our project structure. What would be the best way to manually register protocol and/or services instead of using the componentScan with the glob pattern?

Just import the services/protocols with a classic ES6 on server.ts

Do you mean like this?

Also. But ´import “./path/to/protocols/Protocol“ works

After importing it in Server.ts, do we add it to the configuration like this? Or is there a better way?

Is that documented? Couldn't find it anywhere I was looking.

just use ES6 import.
import “./path/to/protocols/BearerProtocol“;

@Configuration()

Ts.ED discover automatically import classes


using the --detail all and --detail_all commands

Hello,
I have a bash script that executes a gcalcli --nocolor agenda command. I am trying to add --detail all or --detail_all that I found in the user manual. Every time I try to add it however, it breaks the ability to display events.
I am using the bash script to format everything for display in Conky:  https://i.imgur.com/XIdifFi.png
Can anyone please help?

Please specify the exact gcalcli command used and exact output on command line, not what is transformed in your script.

Hello Michael,
Thank you for getting back to me. I am using the following bash script to
get 14 days of google calendar events:
#!/bin/bash
Fetch events and format the output
current_events=$(gcalcli --nocolor --details end agenda "$(date
+'%Y-%m-%d')" "$(date -d '+14 days' +'%Y-%m-%d')")
previous_events_file="/tmp/previous_events.txt"
Check if the previous events file exists
if [ -f "$previous_events_file" ]; then
# Compare current events with previous events
if ! diff <(echo "$current_events") "$previous_events_file" >
/dev/null; then
# If there are new events, play the sound
mpg123 /home/logansfury/.conky/gcal/cal_event.mp3
fi
fi
Update the previous events file with current events
echo "$current_events" > "$previous_events_file"
echo "${color1}${voffset 4}Today${voffset -12}" # Adjusted voffset
Get today's events
today_events=$(gcalcli --nocolor agenda "$(date +'%Y-%m-%d')" "$(date -d
'+1 day' +'%Y-%m-%d')")
if [[ -z "$today_events" || "$today_events" == "No Events Found" ]]; then
echo " "  # Print weekday abbreviation only
else
echo "$today_events" | while IFS= read -r line; do
echo "${color1}${goto 54}${voffset -15}${line:0:11}"  # Set
spacing for events
echo "${color0}${line:11}"
done
fi
echo "${color1}${voffset 14}Tomorrow${voffset -12}" # Adjusted voffset
Get tomorrow's events
tomorrow_events=$(gcalcli --nocolor agenda "$(date -d 'tomorrow'
+'%Y-%m-%d')" "$(date -d 'tomorrow +1 day' +'%Y-%m-%d')")
if [[ -z "$tomorrow_events" || "$tomorrow_events" == "No Events Found"
]]; then
echo " "  # Print weekday abbreviation only
else
echo "$tomorrow_events" | while IFS= read -r line; do
echo "${color1}${goto 84}${voffset -15}${line:0:11}"  # Set
spacing for events
echo "${color0}${line:11}"
done
fi
Fetch events and format the output for the next days
for i in {2..11}; do
day_date=$(date -d "+$i days" +'%Y-%m-%d')
day_events=$(gcalcli --nocolor agenda "$day_date" "$(date -d "+$((i +
1)) days" +'%Y-%m-%d')")
if [[ -z "$day_events" || "$day_events" == "No Events Found" ]]; then
echo "${color1}${voffset 10}$(date -d "$day_date" +'%a')${voffset
-12}"  # Print weekday abbreviation only
else
echo "$day_events" | while IFS= read -r line; do
# Print the first 11 characters and append the year
echo "${color1}${voffset -10}${line:0:11}"
# Print the remaining part of the line
echo "${color0}${line:11}${voffset -4}"
done
fi
echo " "  # Add a blank line for separation
done
The issue is in the line: current_events=$(gcalcli --nocolor --details end
agenda "$(date +'%Y-%m-%d')" "$(date -d '+14 days' +'%Y-%m-%d')")
I cant seem to find the correct syntax in this line to display the end time
of events.
Thank you again for taking the time to look this over :)
Sincerely,
Logan
On Mon, Nov 11, 2024 at 1:27 PM Michael Hoffman @.***>
wrote:

Please specify the exact gcalcli command used and exact output on command
line, not what is transformed in your script.
—
Reply to this email directly, view it on GitHub
https://github.com/insanum/gcalcli/issues/812#issuecomment-2469048405,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQPMP3SJLZ7H3FWHQR7N7RL2AEOMZAVCNFSM6AAAAABQUYP5OOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRZGA2DQNBQGU
.
You are receiving this because you authored the thread.Message ID:
@.***>

I am not able to go through your whole script. In the future please provide a single command that exposes your problem. In doing so you may find that the reason for the problem becomes more obvious to you.
You need to specify detail options after the subcommand. So here it would be gcalcli agenda --details end.

If that's the issue and --details was just silently ignored, maybe we could have it error or print a warning instead of ignoring.

Hello,
I have used the --details end option edited into the multi-day agenda
command every way I can think of, and I just can't get a display of event
end times.
On Fri, Nov 15, 2024 at 4:12 PM David Barnett @.***>
wrote:

If that's the issue and --details was just silently ignored, maybe we
could have it error or print a warning instead of ignoring.
—
Reply to this email directly, view it on GitHub
https://github.com/insanum/gcalcli/issues/812#issuecomment-2480190725,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQPMP3XQZMA5MOWHTQMJ4RL2A2EVDAVCNFSM6AAAAABQUYP5OOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOBQGE4TANZSGU
.
You are receiving this because you authored the thread.Message ID:
@.***>

@Logansfury Please supply the output of gcalcli agenda --details end here. You can change any sensitive information in event descriptions to [redacted].

If that's the issue and --details was just silently ignored, maybe we could have it error or print a warning instead of ignoring.

@dbarnett For me, it gives an error, so I suspect the problem is using it in a command substitution context where the error is hidden. That isn't a problem we can address though.

I am sorry I just now noticed the request to show the terminal output of
the gcalcli agenda --details end.
In terminal it seems to be working fine:
@.***:~$ gcalcli agenda --details end
Sat Nov 16           change patch
The Leonid meteor shower will reach its peak.
Mon Nov 18  10:00am - 12:00pm  timed event
Wed Nov 20           Ink Master S16E07
@.***:~$
The timed event I created for mon nov 18 shows start and end times.
However when using this in a bash script with a stated time range, it
doesnt work:
@.:~$ gcalcli agenda --nocolor --details end"$(date
+'%Y-%m-%d')" "$(date -d '+9 days' +'%Y-%m-%d')"
usage: gcalcli agenda [-h]
[--details
{calendar,location,length,reminders,description,url,conference,attendees,email,attachments,end,all}]
[--color-owner COLOR_OWNER]
[--color-writer COLOR_WRITER]
[--color-reader COLOR_READER]
[--color-freebusy COLOR_FREEBUSY]
[--color-date COLOR_DATE]
[--color-now-marker COLOR_NOW_MARKER]
[--color-border COLOR_BORDER]
[--color-title COLOR_TITLE] [--tsv] [--nostarted]
[--nodeclined] [--width CAL_WIDTH] [--military]
[--no-military] [--override-color]
[start] [end]
gcalcli agenda: error: argument --details: invalid choice: 'end2024-11-16'
(choose from 'calendar', 'location', 'length', 'reminders', 'description',
'url', 'conference', 'attendees', 'email', 'attachments', 'end', 'all')
@.:~$ gcalcli agenda --details end"$(date
+'%Y-%m-%d')" "$(date -d '+9 days' +'%Y-%m-%d')"
usage: gcalcli agenda [-h]
[--details
{calendar,location,length,reminders,description,url,conference,attendees,email,attachments,end,all}]
[--color-owner COLOR_OWNER]
[--color-writer COLOR_WRITER]
[--color-reader COLOR_READER]
[--color-freebusy COLOR_FREEBUSY]
[--color-date COLOR_DATE]
[--color-now-marker COLOR_NOW_MARKER]
[--color-border COLOR_BORDER]
[--color-title COLOR_TITLE] [--tsv] [--nostarted]
[--nodeclined] [--width CAL_WIDTH] [--military]
[--no-military] [--override-color]
[start] [end]
gcalcli agenda: error: argument --details: invalid choice: 'end2024-11-16'
(choose from 'calendar', 'location', 'length', 'reminders', 'description',
'url', 'conference', 'attendees', 'email', 'attachments', 'end', 'all')
@.***:~$
Is there something wrong with my syntax?
On Sat, Nov 16, 2024 at 5:26 AM Michael Hoffman @.***>
wrote:

If that's the issue and --details was just silently ignored, maybe we
could have it error or print a warning instead of ignoring.
@dbarnett https://github.com/dbarnett For me, it gives an error, so I
suspect the problem is using it in a command substitution context where the
error is hidden. That isn't a problem we can address though.
—
Reply to this email directly, view it on GitHub
https://github.com/insanum/gcalcli/issues/812#issuecomment-2480560311,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQPMP3Q66QLCCGMK4R76KAT2A5BX7AVCNFSM6AAAAABQUYP5OOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOBQGU3DAMZRGE
.
You are receiving this because you were mentioned.Message ID:
@.***>


DO NOT MERGE: Response metadata prototype

Codecov Report

Merging #490 into master will decrease coverage by 0.61%.
The diff coverage is 42.2%.

@@             Coverage Diff              @@
##             master     #490      +/-   ##
============================================
- Coverage     70.44%   69.83%   -0.62%
- Complexity      810      825      +15
============================================
  Files           166      169       +3
  Lines          3776     3915     +139
  Branches        289      299      +10
============================================
+ Hits           2660     2734      +74
- Misses          993     1054      +61
- Partials        123      127       +4

Impacted Files
Coverage Δ
Complexity Δ

...e/api/gax/rpc/ForwardingApiFutureWithMetadata.java
0% <0%> (ø)
0 <0> (?)

...m/google/api/gax/rpc/ForwardingMetadataFuture.java
0% <0%> (ø)
0 <0> (?)

...ain/java/com/google/api/gax/rpc/UnaryCallable.java
60% <0%> (-40%)
5 <0> (ø)

...ogle/api/gax/grpc/GrpcMetadataHandlerProvider.java
0% <0%> (ø)
0 <0> (?)

...m/google/api/gax/httpjson/HttpJsonCallContext.java
27.14% <27.77%> (-2.17%)
8 <3> (ø)

.../java/com/google/api/gax/grpc/GrpcCallContext.java
71.15% <61.9%> (-2.18%)
32 <5> (+2)

...va/com/google/api/gax/grpc/GrpcDirectCallable.java
90% <87.5%> (-2.31%)
3 <0> (ø)

...m/google/api/gax/httpjson/ApiMethodDescriptor.java
0% <0%> (ø)
0% <0%> (ø)
:arrow_down:

...i/gax/httpjson/ApiMessageHttpRequestFormatter.java
0% <0%> (ø)
0% <0%> (ø)
:arrow_down:

... and 3 more

Continue to review full report at Codecov.

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

Updated and added tests, PTAL

Addressed PR comments, PTAL


Fix MonitoringTest.testAddressSpaceRules test

Type of change

Test fix

Description
Prometheus configuration wasn't getting the rules.
Toggling the enmasse-operator deployment env ENABLE_MONITORING flag, caused prometheus to pick them up.
Checklist

[ ] Update/write design documentation in ./documentation/design
[ ] Write tests and make sure they pass
[ ] Update documentation
[ ] Check RBAC rights for Kubernetes / OpenShift roles
[ ] Try your changes from Pod inside your Kubernetes and OpenShift cluster, not just locally
[ ] Reference relevant issue(s) and close them after merging
[ ] Update CHANGELOG.md

@enmasse-ci run tests profile=isolated testcase=MonitoringTest#testAddressSpaceRules test_only

:heavy_check_mark: Test Summary :heavy_check_mark:
TEST_PROFILE: isolated
TEST_CASE: MonitoringTest#testAddressSpaceRules
TOTAL: 1
PASS: 1
FAIL: 0
SKIP: 0
BUILD_NUMBER: 121


Refactor encodeCall

Fix #421
Lib's encodeCall helper was failing for any hexadecimal strings that contained the character 'e'. It was interpreting these as scientific notation numbers (e.g. 1.5e9) and seeing their hexadecimal value parsed a decimal instead =S.
As a result, addresses like "0x39af68cF04Abb0eF8f9d8191E1bD9c041E80e18e" were being parsed as some weird exponential number and ending up as "0x0000000000000000000000000000000000000977" in EVM storage.
This PR goes quite far beyond simply fixing the bug; It rewrites the helper from the ground up, with type/value pair validation and adds tests for this particular helper. The validation involves comparing the expected type with its actual value and making sure that they are compatible. I.e. 'uint256' is not compatible with the value 'hello world', and 'address' is not compatible with the value '0x123'.

After discussion with @spalladino, we are closing this PR in favor of a new one that uses ethers.js/abi-coder instead of ethereumjs-abi in encodeCall, since it performs a lot of the validations that were being developed in this PR internally, and because it is what web3 is currently using.


Update Composer dependencies (2023-11-21-00-09)

Visual regression test passed!
View the visual regression test report


Fix typo referencing OpenAI instead of Ollama

Fix typo referencing OpenAI instead of Ollama

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


Prometheus monitoring break if using "" in client http string

Description:

If using a http client and the request url contains "" it breaks the monitoring.
for example:
var response = solrClient->get("/" +collectionName+ "/select?hl.fl=body&hl.simple.post=</highlight>&hl.simple.pre=<highlight>&hl=on&q=_text_:\"" + untaint queryString)+ "\"";
This is working:
var response = solrClient->get("/" +collectionName+ "/select?hl.fl=body&hl.simple.post=</highlight>&hl.simple.pre=<highlight>&hl=on&q=_text_:" + untaint queryString);
Steps to reproduce:
Use "" in client url
See this slack thread: https://ballerina-platform.slack.com/archives/C47EAELR1/p1551112024024900?thread_ts=1551098753.020800&cid=C47EAELR1
Affected Versions:
Ballerina 0.990.2 as far as tested

Hi @Tim-Schwalbe, thank you for reporting this. It seems quotes aren't valid characters for Prometheus metric names. Therefore, we have to escape invalid characters and replace them with underscores: https://prometheus.io/docs/instrumenting/writing_exporters/#naming
Fixed on:

master (https://github.com/ballerina-platform/ballerina-lang/pull/20582)
1.1.x (https://github.com/ballerina-platform/ballerina-lang/pull/20583)

great! Thanks a lot!


Some questions have no test cases

[208] Implement Trie (Prefix Tree)
https://leetcode.com/problems/implement-trie-prefix-tree

Medium (25.58%)
Total Accepted:    50086
Total Submissions: 195758
*** Testcase Example:  'search("a")'**

It will exception by using this example.

@gynet could you plz check if this issue is resolved?

Checked already, it works fine now.


Using Bit for Component Management and Documentation

Bit is an extension of Git, destructing repositories into discrete components and supports their lifecycle. Bit will automatically detect and manage all the components in a project, their dependencies, and documentation. Bit supports documentation in both markdown and JSDOS.
It lets you independently build, test, version, update and publish components in true isolation from the rest of the repository.
Follow directions in the bit quick start https://docs.bit.dev/docs/quick-start

I think we should still try to do this but aware of our bandwidth right now I'm going to say let's push right.
Closing as stale


What about etcd and flannel?

Having reviewed the source code, I haven't found any process, that is going to launch etcd and flannel containers and services.
How they are going to be launched?

etcd is launched by the kubelet on startup. The relevant manifests are in /etc/kubernetes/manifests/:
 ❱ kid up
Waiting for Kubernetes cluster to become available...
Kubernetes cluster is up. The Kubernetes dashboard can be accessed via HTTP at port 31999 of your Docker host.
 ❱ kubectl get pods --all-namespaces
NAMESPACE     NAME                                READY     STATUS    RESTARTS   AGE
default       k8s-etcd-<IP_ADDRESS>                  1/1       Running   0          4m
default       k8s-master-<IP_ADDRESS>                4/4       Running   3          5m
default       k8s-proxy-<IP_ADDRESS>                 1/1       Running   0          4m
kube-system   kubernetes-dashboard-canary-wufik   1/1       Running   0          5m
 ❱ kubectl exec k8s-master-<IP_ADDRESS> -- ls /etc/kubernetes/manifests
etcd.json
kube-proxy.json
master.json

Hyperkube uses host networking in a single node setup:
 ❱ kubectl exec -it k8s-master-<IP_ADDRESS> -- grep host /etc/kubernetes/manifests/
etcd.json:    "hostNetwork": true,
kube-proxy.json:    "hostNetwork": true,
master.json:  "hostNetwork": true,

Thank you for clarifying.


Doesn't Work!!

Thank you for providing umap module!
I installed it by pip3, and tried following example.
import umap
from sklearn.datasets import load_digits

digits = load_digits()

embedding = umap.UMAP().fit_transform(digits.data)

However, it doesn't work and error says that
 module 'scipy.sparse' has no attribute 'csgraph'

I reinstalled spicy but error remains to be left.
Could you deal with it?

I could deal with #39 , thanks.

I wish I knew what exactly what causing this issue. It seems unique to certain setups. Sorry it didn't work, hopefully #39 provided some interim solutions. I'll try to get to the bottom of the problem, but I can't reproduce the issue myself, so it's hard to track down.

Closing in favour of #39.


Databricks Swagger Changes for Double Encryption

MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Contribution checklist:

[x] I have reviewed the documentation for the workflow.
[ ] Validation tools were run on swagger spec(s) and have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

[ ] Service team MUST add the "WaitForARMFeedback" label if the management plane API changes fall into one of the below categories.

adding/removing APIs.
adding/removing properties.
adding/removing API-version.
adding a new service in Azure.

Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.

[ ] If you are blocked on ARM review and want to get the PR merged urgently, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.
Please follow the link to find more details on API review process.

/azp run automation - sdk

Can one of the admins verify this patch?

/azp run automation - sdk

@mvvsubbu can you fix the conflicts and CI error?

/azp run automation - sdk

@mvvsubbu can you fix the conflicts and CI error?

Fixed it

/azp run automation - sdk

/azp run automation - sdk

@mvvsubbu can you fix the conflicts and CI error?

@fengzhou-msft I have addressed conflicts and CI errors, can you review this


Save Program to JSON Error

For example,
migraphx_file_options options;
options.format = "json";
migraphx::save(p, output_file.c_str(), options);

Crashes with the following for every model I've tried:
MIGraphX Error: [json.exception.type_error.316] invalid UTF-8 byte at index 1: 0xA9
terminate called after throwing an instance of 'std::runtime_error'
  what():  Failed to call function
Aborted (core dumped)

Already fixed, @turneram to verify.

Fixed


ERROR when i build jaxlib from source

Description
python3.9.5
bazel6.1.2
numpy1.26.0
I execute ：python build/build.py --enable_cuda
BUG：
ERROR: /home/nkn/.cache/bazel/_bazel_nkn/b4d615bfc19ac426847a2ea815c61f11/external/local_config_python/BUILD:78:8: in outs attribute of genrule rule @local_config_python//:python_include: Genrules without outputs don't make sense
ERROR: /home/nkn/.cache/bazel/_bazel_nkn/b4d615bfc19ac426847a2ea815c61f11/external/local_config_python/BUILD:78:8: Analysis of target '@local_config_python//:python_include' failed
How can i solve it？
What jax/jaxlib version are you using?
jaxlib 0.4.16
Which accelerator(s) are you using?
GPU
Additional system info
WSL ubuntu20.04
NVIDIA GPU info
CUDA11.8   cudnn8.9.5

Can you try again at JAX head?
In addition, since this is a WSL build, can you instead just install JAX from pip, following the JAX on CUDA installation instructions? https://github.com/google/jax#instructions

Is it possible that there are network download restrictions in your region, and the required libraries might need to be specified as local paths during the build process?

There was no response; closing.


The implementation of the supervisor is based on a pre-defined BehaviorInterceptor.
When we define multiple interceptors for an actor, the code structure resembles a "callback hell," and it would be beneficial to flatten it for better readability and maintainability.
The same improvement also needs to be made in the definition of the supervisor.
  val initialBehavior: Behavior[Any] = ???
      val interceptor1: BehaviorInterceptor[Any, Any] = ???
      val interceptor2: BehaviorInterceptor[Any, Any] = ???
      val interceptor3: BehaviorInterceptor[Any, Any] = ???
      val interceptor4: BehaviorInterceptor[Any, Any] = ???
      val interceptor5: BehaviorInterceptor[Any, Any] = ???
      val interceptor6: BehaviorInterceptor[Any, Any] = ???

      // Definition-hell
      val finalBehavior = Behaviors
        .intercept(() => interceptor6)(Behaviors
          .intercept(() => interceptor5)(Behaviors
            .intercept(() => interceptor4)(Behaviors
              .intercept(() => interceptor3)(Behaviors
                .intercept(() => interceptor2)(Behaviors
                  .intercept(() => interceptor1)(initialBehavior))))))

      // Or define like this
      val behavior1 = Behaviors.intercept(() => interceptor1)(initialBehavior)
      val behavior2 = Behaviors.intercept(() => interceptor2)(initialBehavior)
      val behavior3 = Behaviors.intercept(() => interceptor3)(initialBehavior)
      val behavior4 = Behaviors.intercept(() => interceptor4)(initialBehavior)
      val behavior5 = Behaviors.intercept(() => interceptor5)(initialBehavior)
      val behavior6 = Behaviors.intercept(() => interceptor6)(initialBehavior)

      //It would be better that have a flattened definition
      val finalBehavior = Behaviors.intercepts(initialBehavior)
        .applyInterceptor(interceptor1)
        .applyInterceptor(interceptor2)
        .applyInterceptor(interceptor3)
        .applyInterceptor(interceptor4)
        .applyInterceptor(interceptor5)
        .applyInterceptor(interceptor6)

Need an immutable builder pattern for this.


Start icon on sim misaligned

To reproduce:
1, Load a project (not in beta)
2. Start sim (if not started already)
3. Stop sim
4. Hide sim
5. Open sim
6. Start sim (if not started already)
7. Stop sim
You see the start button is misaligned:

Duplicate of https://github.com/microsoft/pxt-arcade/issues/3444


[Identity] Disabling regional authority support

This PR removes regional authority support in a way that it is easy to add right after the GA.

API changes have been detected in @azure/identity. You can review API changes here
API changes
-     regionalAuthority?: string;
- export interface ClientSecretCredentialOptions extends TokenCredentialOptions, CredentialPersistenceOptions {
-     regionalAuthority?: string;
- }
+ export interface ClientSecretCredentialOptions extends TokenCredentialOptions, CredentialPersistenceOptions { }
- export declare enum RegionalAuthority


[Android] Not recognized in 4.0.0-beta.1 Release

Environment

Tesseract Version: 4.0.0-beta.1 Release

Current Behavior:
I have developed a Android application and updated tesseract version to 4.0.0-beta.1
I fixed many build errors, but characters are not recognized,
Expected Behavior:
I read old issues lstm doesn't support Android.
https://github.com/tesseract-ocr/tesseract/issues/678
https://github.com/tesseract-ocr/tesseract/issues/1387
Android not supported since 4.0.0?
I want to know if you have a plan to support Android since 4.0.0.
Thank you,

Please use tesseract user forum for asking questions


fix error

Changes / Comments
Roll20 Requests
Comments are very helpful for reviewing the code changes. Please answer the relevant questions below in your comment.

[ ] Does the pull request title have the sheet name(s)? Include each sheet name.
[ ] Is this a bug fix?
[ ] Does this add functional enhancements (new features or extending existing features) ?
[ ] Does this add or change functional aesthetics (such as layout or color scheme) ?
[ ] If changing or removing attributes, what steps have you taken, if any, to preserve player data ?
[ ] If this is a new sheet, did you follow Building Character Sheets standards ?

If you do not know English. Please leave a comment in your native language.

Character Sheet Info Roll20 Internal Use only.

Does the pull request title have the sheet name?

Does the pull request title have the sheet name?

Shinobi_Gami_Chinese_Traditional/sheet.json


Mean Sizes

https://github.com/charlesq34/frustum-pointnets/blob/a40690f95a9438a01d781acd5e98324cbe3e3cec/sunrgbd/sunrgbd_detection/roi_seg_box3d_dataset.py#L15
How are the mean sizes of classes defined? How can I calculate it for my custom dataset?
Please let me know. Thanks a lot in advance.
Kind Regards
Pranjal Biswas

In order to close this thread, we can calculate the mean sizes using this file:

frustum-pointnets/sunrgbd/sunrgbd_data/cluster_box3d.py


[VS Code] Agent blocked by group policy

LiveShareLogs.zip
It keeps saying "agent terminated with exit code: 1 and singal null: This program is blocked by group policy. For more information, contact your system administrator." I am on a school computer without admin rights however it works on my mates computer who has the same right as me.
Thanks

Error: [Description of error message]
Steps to Reproduce:
1.
2.

Version Data

extensionName
VSLS

extensionVersion
1.0.419

protocolVersion
2.2

applicationName
VSCode

applicationVersion
1.30.2

platformName
Windows

platformVersion
10.0.14393

Thanks for the issue report, but I don't know if there is anything we can do about this. If group policy is blocking the Live Share agent from starting, I don't think we can get around that.

This issue has been closed due to inactivity. Thank you for reporting this issue. If you face problems with you current Live Share usage, please feel free to reopen this issue.
-Live Share team


initial vagrantfile and work in progress provisioning scripts

A simple PR to add a Vagrantfile for manual acceptance testing. This is a work in progress, the provision scripts should install the latest go instead of the distro default version (which is currently 1.13).

@Ms-Alex @cixel @contrast-jproberts This has been in PR a long time, should we close it?

Since there hasn't been any movement here and I'm not aware of anyone requesting this, I'm going to close the PR. We can reopen in the future if needed.


@skip, @include directives for objects

Related #5238

Thanks @gilgardosh , what about preResolveTypes? can you please add a test for it?

Thanks @gilgardosh , what about preResolveTypes? can you please add a test for it?

Thanks @gilgardosh . as discussed offline - please clean it a bit and then we can merge :)

Thanks @gilgardosh . as discussed offline - please clean it a bit and then we can merge :)

Awesome work. thank you @gilgardosh !

Awesome work. thank you @gilgardosh !


Authentication in Lumen

Hi, I cant find out how the authentication works for lumen. Can I ask a step by step on how the data will post to the API.
Thanks!

What have you tried? Sorry I'm too busy to be stepping everyone through how to configure certain things. Have you read the docs?


Issues with 3.9.2 due to missing binaries

Hello
FYI our builds started failing this morning, this is due to 3.9.2 being published to npm while other stuff (binaries) is not yet available on server
Compare:
https://github.com/sass/node-sass/releases/download/v3.9.0/darwin-x64-14_binding.node works
https://github.com/sass/node-sass/releases/download/v3.9.2/darwin-x64-14_binding.node 404
I'm not sure what is your release process, is it normal that you put binaries in releases later on, or it was overlooked?
In fact our issue is more due to gulp-sass not freezing the dependency https://github.com/dlmanning/gulp-sass/blob/master/package.json#L26 but depending on semver compliancy (as it's common in node world, though I dislike it), but I thought I would let you know
Regards
Jakub

The latest version bump commit is missing a version tag: https://github.com/sass/node-sass/commit/2c2f6a24478c253022b8e935012745674eedb320

v3.9.1 and v3.9.2 have been unpublished. If you clear your node_modules and npm install the issue should be fixed. We're release v3.9.3 to purge local caches but releases take an hour.

Would have been handy if this issue wasn't closed before it was actually fixed... I just got here by chance

As a rule of thumb always search closed issues. The repo search at the top of the page will do this by default. The GitHub work flow will close issues based on commit messages. This can happen long before a release.


Instructions fixes

name: Pull request template
about: GenderMag Recorders Assistant project

What does this implementation fix? Explain your changes.
Addresses issues related to unclear instructions or documentation.

Does this close any open issue? (Give issue id from issue tracker)
#97, #96, #95, #93, #92, #91

Did you test on Mac and Windows?
Only Mac.

Did you test the full GM process and verify that the code does not contribute any unexpected errors/bugs?
Yes.

If possible, provide a screenshot of the functionality.

Any other information?
I apologize that this also contains Diana's commit. I had trouble making a "clean" branch in our remote repo.

Thanks for doing this. Heads up: best practice for commits is make them small and often so that they're easier for a 3rd party to understand what was done. Commit messages are important too. An arbitrary example:
"Add submit buttons
There was previously no submit button so one was added in order to allow the form to submit properly"
(1st line as a header, rest of lines giving more details on the commit)

Thanks for your feedback! I'll keep this in mind in the future.


Simplify cargo metadata collection

It was previously a bit disparate and difficult to verify. This simplifies & unifies the code.
It builds on https://github.com/mitsuhiko/insta/pull/532, so that should merge first.
I'm still not 100% confident — ideally we'd have some integration tests with various workspace configurations...

I realize I forgot about this and re-implemented half of it in #532, apologies. Given it makes the code simpler and easier to review, I'll copy the improvements over to there and close this.


Does this work with threads?

I have a large file which is a binary array of structs that I want to process in parallel would this work with multiple threads reading from the memmapped file?

Yes. I personally do this with Maple2Tools.
Once you map the memory. It's just like any other page of memory and you can have multiple threads reading from it in parallel with no need for synchronization.

Great thank you.


Logo and Icon upload

New assets directory with official Candy logo

desktop.ini files removed, good catch


Task-Tracker app with React.js using hooks

Article checklist
Pre-submission checks

Please ensure that you have only one open topic suggestion (issue) + in-review article (linked pull request) at a time. This will ensure that we complete the review process in a timely manner from inception to publishing

If you have not already, please go over our Resources Page for more tips and tricks on how to improve your overall technical writing so reviews are swifter, increase the chance of a payout and provide more value to our readers.

For first-time contributors and for more details on our submission guidelines, see our Contributing Guidelines.

Formatting and structure checks

[x] Have you used the correct folder and file structure? - see Contribution Guidelines

[x] Is your article properly formatted in Markdown? - see Github Markdown guide

[x] Have you used our preferred heading structure? - H3 (###) and up

[x] Does your article follow any of the suggested structure formats? - see example formats

[x] Is your article over 750 words? - Tool: Wordcounter.net

[x] Is the article you are submitting an in-depth and unique article? Does it go beyond what is in the official docs and what is covered in other blog sites. See these articles as examples.

[x] Does your article provide enough value and detail about your topic? - Articles should be clear, accurate, and fully explained.

[x] Can your article be understood by beginners? - Assume the audience is smart but has no prior exposure to the common terminology in your article.

[x] Have you included a hero image that is 600x400 pixels and have the copyright to use it? - Tools: Pixlr Image Editor for resizing and Unsplash for Creative Commons images

Grammar & plagiarism checks

[x] Have you spellchecked and grammar checked your article? - Tools: Write&Improve - ProWritingAid - Grammarly
[x] Please place your article through a 3rd party plagiarism checker. We suggest using Quetext, this tool is free and has a daily limit. We typically accept articles with 10% or less.
[x] Have you checked your article for readability? - Tool: Hemmingway
[x] Have you added sources for quotes and images that aren't yours?

Technical checks

[x] Are your code snippets properly formatted for syntax highlighting - see Syntax guide
[x] Have you checked your code runs correctly and you've highlighted all necessary dependencies for installation?
[x] Are the software programs and packages you're highlighting in your article up to date, using current versions and not deprecated?

Topic suggestion this closes

Remove the backticks and add the issue number below to link and close your Topic Suggestion (issue) when your article has been published (PR has been merged). See this video for more details.

This closes #3010

Finally, delete the article checklist notes in blockquotes and submit your PR. We look forward to reviewing your article.

@prince-joel At first glance, it seems like the article is not properly formatted and the code snippets are not properly formatted/indented too. Please fix this.

@prince-joel we will reopen this PR when the changes are done!

@jumamiller  Hello, I have made the necessary changes, can you reopen this issue.
Thanks

@prince-joel
👍
Opening the PR up to upload the changes. If any more changes are needed - we will be closing the PR - any future changes will need to be submitted via a new PR.
cc @jumamiller

@prince-joel This has files that should not be a part of the PR.

@hectorkambow I have removed the unnecessary files. kindly inform me if there are any other issues.
thank you

Plagiarism check done.

@jumamiller
Not sure if you were reviewing this article.

Hi, work on a few suggestions I've pointed out. Also try as much as possible to breakdown long sentences into paragraphs where applicable!

waiting for updates!

@jumamiller
I have made the changes. Kindly let me know if there are any more changes required.
Thank you

Hi, attached is your article preview. Are you having problems with Markdown? I also asked you to make method names standout, for example, 'myName()' is not a valid English, to let readers differentiate that, we write it as follows :myName().
Kindly make changes at once. Multiple rounds of revision may lead to article closure!

Hi, thank you for your response. I have made the changes. Kindly let me know if there are any more changes required.
Thank you

@prince-joel
Good afternoon and thank you for submitting your topic suggestion. Not a problem but it seems that this PR is still quite a bit aways from being completed.
In an effort to be fair to our larger EngEd community as a rule of thumb - we can only accept content (pull requests) that are complete and fully polished articles/tutorial - meaning they are ready to be published.
All revisions and edits should be completed on your own forked repo (as to not take up room in the queue) - this allows all revisions to be done on your forked personal repo.
We will be closing this PR and please re-submit it when it is ready to be published as a new PR (and you can add the duplicate label) and ping the reviewer and myself. Be sure to go through the entire article again to proofread - and fix any issues that the reviewer may have missed.
Our Peer Reviewer and Content Moderator teams do NOT provide any revisions services. All revisions and edits should be completed on your own forked repo (as to not take up room in the queue) in order for our team to review them all in a timely manner. ANY ARTICLE SUBMITTED WITH GLARING ERRORS WILL BE IMMEDIATELY CLOSED.

NOTE: A duplicate PR will go back into the queue and will not receive any further major revisions. A duplicate PR should be 100% ready to be published, otherwise it will be closed immediately. We encourage our new contributors to go over our resources page and new contributor folder to be better familiar with the level of quality and style we are looking to publish.

Closing a PR does NOT mean the article can not be published (or fixed) it simply means that the edits, revisions, and fixes will happen outside of the queue.


[SuperEditor][mobile] Implement spellchecking support (Resolves #2353)

[SuperEditor][mobile] Implement spellchecking support. Resolves #2353
Our current spellchecker plugin only works on macOS. This PR adds support for spellchecking on Android and iOS on the spellchecker plugin.
Currently, the desktop implementation is showing the suggestions toolbar whenever the currently selection sits within a misspelled word with available suggestions. However, this wouldn't work for mobile because, on mobile platforms, the suggestions toolbar is displayed when tapping on a misspelled word, but not when dragging the handle over a misspelled word. This creates an implementation problem, because a gesture (tap up) should trigger the suggestions popover and we don't have an extension point for plugins to do that.
To solve this issue, this PR adds the ability for plugins to install a delegate for tap handlers. The plugin now has the opportunity to handle the tap the way it wants, preventing our gesture system for handling them.
The tap delegate shows/hides the suggestions popover by interacting with a SpellCheckerPopoverController, a class that exposes the spellchecker popover functionality, which uses a SpellCheckerPopoverDelegate (usually a document layer) to effectively display the popover toolbar.
This PR also add an option to temporarily disable selection handles. This is needed because, when tapping on a misspelled word, we want to select the whole word, but prevent the selection handles from being displayed.
On mobile platforms, the selection color is different when the suggestions popover is visible. Currently, we don't have an option to override the selection color. On our style pipeline, the selection styler is always last, so even if we use a custom style phase, the selection styler always resets the selection color.
To solve that, this PR exposes an appendedStylePhases property on SuperEditor, so we can add style phases that are positioned after the selection styler, adding the ability to override the selection color.
This PR adds default implementations for iOS-style and Android-style suggestions popovers.
https://github.com/user-attachments/assets/b5931600-cc61-4118-ab00-11a9036b94af
android_spellcheck.webm

@angelosilvestre - Is this the PR you wanted me to review? If so, there should still be a description explaining what you did and how you did it - that's what directs the PR review. Also, whenever you want a review, please tag me in the PR.

@angelosilvestre - Is this the PR you wanted me to review? If so, there should still be a description explaining what you did and how you did it - that's what directs the PR review. Also, whenever you want a review, please tag me in the PR.

This PR is meant to review the controller usage only. I should have added that to the description, sorry.

I did a partial review. Before reviewing the rest, I think we need to align on why this spell check controller was injected in the places that it was. When we talked about this online, I mentioned treating this spell check toolbar the same way we treat the mobile editing toolbars, but as far as I can tell, that's not what this PR is currently doing.

@matthew-carroll  I moved the controller to SuperEditorIosControlsController and SuperEditorAndroidControlsController. Can you take a look to see if that's how we should proceed?

@matthew-carroll This should wait on https://github.com/superlistapp/super_editor/pull/2397, because we will have some conflicts.

@matthew-carroll I also added the Android and iOS platforms to the spellcheck demo app.


ip does not have access to the server, but I do

Issue Type: Bug
I keep receiving this pop up saying your ip does not have access to the server, but I do have access, (probably vpn tunneling), I just close it and query again, and the query works, but this things keeps comming up, a lot, and it's quite annoying
Azure Data Studio version: azuredatastudio 1.39.1 (7553f799e175f471b7590302dd65c997b838b29b, 2022-08-30T01:11:13.047Z)
OS version: Windows_NT x64 10.0.22621
Restricted Mode: No
Extensions (6)

Extension
Author (truncated)
Version

admin-pack
Mic
0.0.2

agent
Mic
0.49.0

dacpac
Mic
1.10.1

import
Mic
1.5.0

kusto
Mic
0.5.4

profiler
Mic
0.11.0

Is that the firewall popup when connecting/refreshing connection with Azure?
Have you tried specifying subnet range?

Closing as inactive, and no repro information available.


NotSupportedException when using non-reactorui controls

Hello. Thank you for this library!
I'm trying to use CommunityToolkit views with Reactor.Maui:
class MainPage : Component<MainPageState> {
    public override VisualNode Render() {
        return new ContentPage {
            new ScrollView {
                new VerticalStackLayout {
                    new Button(State.Counter == 0 ? "Click me" : $"Clicked {State.Counter} times!")
                        .OnClicked(()=>SetState(s => s.Counter++))
                        .HCenter(),
                    new AvatarView {
                        Text = "ZS"
                    }
                }
                .VCenter()
                .Spacing(25)
                .Padding(20, 0)
            }
        };
    }
}

But I have a following exception:

Its also happens when using MAUI controls:

Maybe I need to write some kind of wrapper for these classes? For example:
class ReactorUIAvatarView: CommunityToolkit.AvatarView {
    override...
}

Yep. I tried this:
public class MyControl: View<CommunityToolkit.Maui.Views.AvatarView> {
}

Works fine.
BTW: Thank you for this awesome library!

Yeah, you can't directly put Maui controls under mauireactor elements, you need a wrapper.
MauiReactor includes a convenient source generator, please gett a look at this guide:
https://adospace.gitbook.io/mauireactor/components/wrap-3rd-party-controls
Said that, I'm probably going to provide a package with all the wrappers for common libraries like the Community toolkit

I think you just need to add this link to the readme.
Common libraries are updated very often and you may not keep up with them.

The link to the documentation is present in the readme


increased sensitivity to iron PMID:27886462

Not sure how we describe?
They used FeCl3 and FeSO4

sensitive to iron FYPO:0005825
edit file: b360b83b3f72fd8768b325716e4470ad2b1d99be
release: c32a451b2bda3a433bcb28614fb9f262a7d24a42


Packets out of order. Got: 1 Expected: 0

Describe the bug
I get an error: cfx> [mysql-async] [ERROR] Packets out of order. Got: 1 Expected: 0
To Reproduce
Every script that uses MySQL.
esx_society, esx_drp_garage, esx_addonaccount, esx_shops ETC
Expected behavior
??
Screenshots / Logs
[MySQL] [WARNING] [esx_society] [292ms] SELECT * FROM jobs : []
[MySQL] [ERROR] [esx_society] An error happens for query "SELECT * FROM jobs : []": Packets out of order. Got: 1 Expected: 0
[MySQL] [WARNING] [esx_boat] [282ms] UPDATE owned_vehicles SET stored = true WHERE stored = false AND type = ? : ["boat"]
[MySQL] [ERROR] [esx_boat] An error happens for query "UPDATE owned_vehicles SET stored = true WHERE stored = false AND type = ? : ["boat"]": Packets out of order. Got: 1 Expected: 0
[MySQL] [ERROR] [esx_shops] An error happens for query "SELECT * FROM shops LEFT JOIN items ON items.name = shops.item : []": Packets out of order. Got: 1 Expected: 0
[MySQL] [WARNING] [esx_datastore] [276ms] SELECT * FROM datastore : []
[MySQL] [ERROR] [esx_datastore] An error happens for query "SELECT * FROM datastore : []": Packets out of order. Got: 1 Expected: 0
[MySQL] [ERROR] [es_extended] An error happens for query "SELECT * FROM items : []": Packets out of order. Got: 1 Expected: 0
[MySQL] [ERROR] [es_extended] An error happens for query "SELECT * FROM jobs : []": Packets out of order. Got: 1 Expected: 0
[MySQL] [ERROR] [esx_joblisting] An error happens for query "SELECT name, label FROM jobs WHERE whitelisted = ? : [false]": Packets out of order. Got: 1 Expected: 0
[MySQL] [ERROR] [esx_addoninventory] An error happens for query "SELECT * FROM items : []": Packets out of order. Got: 1 Expected: 0
[MySQL] [WARNING] [esx_addonaccount] [282ms] SELECT * FROM addon_account : []
[MySQL] [ERROR] [esx_addonaccount] An error happens for query "SELECT * FROM addon_account : []": Packets out of order. Got: 1 Expected: 0
[MySQL] [ERROR] [esx_vehicleshop] An error happens for query "SELECT * FROM vehicle_categories : []": Packets out of order. Got: 1 Expected: 0
[MySQL] [ERROR] [esx_vehiclelock] An error happens for query "SELECT owner, plate FROM owned_vehicles : []": Packets out of order. Got: 1 Expected: 0
[MySQL] [ERROR] [esx_vehiclelock] An error happens for query "SELECT owner, plate FROM rented_vehicles : []": Packets out of order. Got: 1 Expected: 0
SCRIPT ERROR: @esx_society/server/main.lua:18: attempt to get length of a nil value (local 'result')

fn (@mysql-async/lib/MySQL.lua:226)
SCRIPT ERROR: @esx_shops/server/main.lua:8: attempt to get length of a nil value (local 'shopResult')
ref (@esx_shops/server/main.lua:8)
(@mysql-async/mysql-async.js:15543)
SCRIPT ERROR: @esx_addoninventory/server/main.lua:10: attempt to get length of a nil value (local 'items')
fn (@mysql-async/lib/MySQL.lua:226)
[MySQL] [ERROR] [esx_vehicleshop] An error happens for query "SELECT * FROM vehicles : []": Packets out of order. Got: 1 Expected: 0
SCRIPT ERROR: @esx_addonaccount/server/main.lua:9: attempt to get length of a nil value (local 'result')
fn (@mysql-async/lib/MySQL.lua:226)
SCRIPT ERROR: @esx_datastore/server/main.lua:9: attempt to get length of a nil value (local 'result')
fn (@mysql-async/lib/MySQL.lua:226)
SCRIPT ERROR: @es_extended/server/common.lua:35: attempt to get length of a nil value (local 'result')
fn (@mysql-async/lib/MySQL.lua:226)
SCRIPT ERROR: @esx_vehicleshop/server/main.lua:32: bad argument #1 to 'for iterator' (table expected, got nil)
ref (@esx_vehicleshop/server/main.lua:32)
(@mysql-async/mysql-async.js:15543)
[MySQL] [ERROR] [esx_property] An error happens for query "SELECT * FROM properties : []": Packets out of order. Got: 1 Expected: 0
SCRIPT ERROR: @esx_property/server/main.lua:69: attempt to get length of a nil value (local 'properties')
ref (@esx_property/server/main.lua:69)
(@mysql-async/mysql-async.js:15543)

Software:

OS: Windows 10
Version of the resource: 3.3.2
Database Version: 10.4.13-MariaDB-1:10.4.13+maria~bionic-log - mariadb.org binary distribution

Having the same issue

Me too...

me too


use (normalized) nash-sutcliffe as loss function

try using normalized nash-sutcliffe in loss function. I think this is a good idea to try b/c it is what I'm usually reporting for flow performance and it is the standard in the hydrology community (much more than rmse).

I will use normalized Nash-sutcliffe since it bounded:

https://en.wikipedia.org/wiki/Nash–Sutcliffe_model_efficiency_coefficient


Autorest should support a mixed JSON/XML client

Example: method 1 takes XML, and method takes JSON.
https://docs.microsoft.com/en-us/rest/api/storageservices/create-permission

Needs: https://github.com/Azure/msrest-for-python/issues/175
Once msrest is fixed, change code gen to add is_xml=True/False to each call that that an input (PUT, PATCH, etc.) if ShouldGenerateXmlSerialization is True.

is_xml should be True if the content type is application/xml
is_xml should be False if the content type anything else

Merged into azure-core branch


added translations for german language

You need to add the language in the language picker and also in this array


There's no default default toolchain

Multirust installs with no default toolchain configured, meaning every command fails. "multirust update" works, but when it tries to run rustc -vV for each installed toolchain, each one fails with the "no default toolchain configured" error.
Quick fix is to add "multirust default stable" to the install instructions. Better (IMO) would be to ship with stable as the default toolchain.

I don't think automatically installing stable is an acceptable option: the downloads are quite large, so if all you want is nightly, it would be quite irritating.
I will add this to the README, and possibly add a prompt to the install process to ask you what to use for the default toolchain.
rustc -vV should not be failing with that error even if no default toolchain is configured, since it should already be calling a specific toolchain, I'll look into that.

Installation now configures stable by default.

I'm seeing error: no default toolchain configured for NetBSD with the latest rustup.

I'm seeing error: no default toolchain configured for NetBSD with the latest rustup.

when i install the rust-init.exe on windows it shows "Error: no default toolchian configured.". How can i fix it?

How I can resolve this

@aurea1123 there's nothing to do to resolve it.  This bug was fixed several years ago.  If you're experiencing something similar to this with modern Rustup then please open a fresh issue which explains the situation so that we can help you investigate it.


chore(tests): Change tests to TypeScript for the greater good

Tests were previously in JS but relied on the awesome code complete in Visual Studio Code. This PR changes them to TS. This involved changing the build process to convert the files to CJS and then test.

Coverage increased (+0.6%) to 100.0% when pulling ccc708dc16f52aab95e4716b328e6267aa574793 on ts-tests into 8d43f4ce4d86470f42f6f3cffb37a55b3db0e275 on master.


Add juice theme

Juice is an intuitive, elegant, and responsive Zola™ theme for product sites.

Build for product sites
Simple and intuitive structure
Clean and elegant design
Responsive and mobile device compatible
Customize and extend friendly

https://juice.huhu.io

Looking good! I don't have a trademark on Zola though ;)

@Keats Thanks. I'll remove the trademark. Haha 😄

@Keats BTW, how can my theme will be shown in this page? https://www.getzola.org/themes/

Looks like there is an issue with the GH action that does PR, I'll have a look.


Update go.yml

@Crimeanwarth Please provide a changelog for your changes
https://keepachangelog.com/en/1.0.0/

@kaanyagci  Can you add it yourself?


toString() default base is not 10?

I see in the documentation that .toString() is supposed to be base 10, but when I test it on my application, the default isn't base 10.
Tested on google chrome with version 9.1.2
    console.log( BigNumber(10000000000000000000000).toString() ) //1e+22
    console.log( BigNumber(10000000000000000000000).toString(10) ) //<PHONE_NUMBER>0000000000000

1e+22 is the value in base 10, in exponential notation. The documentation at your link states:

If a base is not specified... then exponential notation is returned.

1e+22 means 1 x 10**22, which is the same as<PHONE_NUMBER>0000000000000.

1e+22 is the value in base 10, in exponential notation. The documentation at your link states:

If a base is not specified... then exponential notation is returned.

1e+22 means 1 x 10**22, which is the same as<PHONE_NUMBER>0000000000000.

I missed that. Thank you