Update choose-web-ui.md

Internal previews

📄 File
🔗 Preview link

aspnetcore/tutorials/choose-web-ui.md
Choose an ASP.NET Core web UI

@ribeirotomas1904 ... The official name is "Razor components." "Blazor components" is the unofficial name. The docs use the official name.


Rotation for UI elements (widgets to layouts)

Is your feature request related to a problem? Please describe.
I want to be able to specify that a UI elements should shown in a rotation of 90 degree increments.  To be able to show text  or images upside-down, or 4 players seated around a table (imagine an app on a tablet supporting four card players).
Could be a simple field in a styling data structure
enum RotationEnum {
    Normal,
    Right90,
    Rotated180,
    Left90,
}

There doesn't appear to be a way to display UI elements in any way other than right-side up, so if I have an image, like a playing card (which is currently a RetainedImage), that I want rotated, I would have to maintain 4 versions of it.  And if I want text to be rotated as well, there isn't a way to produce it (other than pre-rendering to an image without benefit of any egui features, and even then, only to a known rotation).
Current Issues which are more specific, but may be solved by a solution of this issue.
https://github.com/emilk/egui/issues/1646
https://github.com/emilk/egui/issues/1279
Describe the solution you'd like

I want to be able to set a style parameter on a UI element to have it treated as rotated some increment of 90 degrees.  This could include entire panels down to individual widgets.
Describe alternatives you've considered

I could have four versions of each playing card, or render each card to four images, but I don't see a way to do text or any other layout functions in a rotated way.
Additional context

And if I want text to be rotated as well, there isn't a way to produce it

You can render rotated text, TextShape has an angle field. However speaking from experience it's rather painful to use.

@xTibor Would you mind sharing an example?
Since the angle field is only directly available on the TextShape, and TextShape requiring a reference to the current galley to set up, it is indeed painful to use

Example as a widget:
https://github.com/xTibor/egui_extras_xt/blob/838692151ef0e63c793c6589e91bfb643dc4d544/egui_extras_xt/src/ui/rotated_label.rs#L25-L52
Example as a drawing primitive:
https://github.com/xTibor/egui_extras_xt/blob/838692151ef0e63c793c6589e91bfb643dc4d544/egui_extras_xt/src/common.rs#L357-L398


Add getting started link to all repo README

Users landing at github.com/topcoat are overwhelmed by the many repos. We should add a wiki page explaining how to get started as well as the modular approach then add a link to it to all of the repos. Adding another issue for topcoat.io

We'll have to circle back to documentation like getting started stuff as part of the next release.


Header furniture

Add dummy search and menu to content pages.

Use nhs_transaction_layout for transaction pages with no furniture, or use nhs_content_layout

Do not merge! Possible bug.


Export from overlay

Now nothing happens if to click on Export chat or Export prompt in Overlay (example, {SUB-PROJECT-1} ) -> issue

Verified that export of single/full structure for chat/prompt works fine in Overlay


Updating kubectl expose to extract ports from the service being cloned

Fixes https://github.com/GoogleCloudPlatform/kubernetes/issues/11392
Running:
$ kubectl.sh expose service frontend --name=frontend2

Before:
error: couldn't find port via --port flag or introspection: cannot extract ports from Service
see 'kubectl expose -h' for help.

Now creates the service.

cc @bgrant0607

So the error message was fine?

Nevermind. Saw the other PR.

Needs rebase, but LGTM.

Rebased

Rebased

TestTokenCreation failed in both builds. Is that failing in head?

Yes https://github.com/GoogleCloudPlatform/kubernetes/pull/11705 is fixing it

@k8s-bot ok to test

@k8s-bot ok to test.
Shippable's second run passed. The first one timed out. Rerunning.

@k8s-bot ok to test

@nikhiljindal please rebase to fix shippable

Rebased


GROOVY-7087: @TupleConsructor and @Builder should use defined setters ra...

...ther than the field directly

Hi Paul, can you rebase your PR onto master?


Port of googles pose/stance detection using knn filter.

Ported  this google android only example of pose/stance detection for use in flutter.
Don't expect it to be merged, but it was a really nice example that others may find usefull.

@emileswain : this is only improvements for the example app, right?

@emileswain : are you going to update this PR? or we will need to close it for inactivity


Improve examples around using repeated textures on 2d shapes

How can Bevy's documentation be improved?
Add an example that clearly indicates how to render repeated textures on 2d shapes. For my case I want to use it to render a repeated ground texture on islands that are 2d polygon meshes, but it might also be useful for backgrounds in scrolling games.
It seems to me like all the functionality is there, but the documentation and API to set SamplerDescriptor {  address_mode_u: AddressMode::Repeat, ... } to an image/texture is hard to understand.
An attempt at system that spawns a mesh with a tiled image as texture, based on the shader material example: https://bevyengine.org/examples/shader/shader-material/
pub fn spawn_map(
    mut commands: Commands,
    mut meshes: ResMut<Assets<Mesh>>,
    mut materials: ResMut<Assets<CustomMaterial>>,
    asset_server: Res<AssetServer>,
) {
    let texture = asset_server.load("dirt.png");

    // How can I assign the repeat setting for the image sampler?
    // Creating the sampler seems to be okay, but the API for
    // applying it to the image is less clear.
    texture.which_field_to_use? = ImageSampler::Descriptor(SamplerDescriptor {
        address_mode_u: AddressMode::Repeat,
        address_mode_v: AddressMode::Repeat,
        address_mode_w: AddressMode::Repeat,
        ..default()
    });

    commands.spawn(MaterialMesh2dBundle {
        mesh: meshes.add(shape::RegularPolygon::new(12.0, 6).into()).into(),
        material: materials.add(CustomMaterial { texture }),
        ..default()
    });
}

impl Material2d for CustomMaterial {
    fn fragment_shader() -> ShaderRef {
        "shaders/custom_material.wgsl".into()
    }
}

// This is the struct that will be passed to your shader
#[derive(AsBindGroup, TypeUuid, Debug, Clone)]
#[uuid = "b3c94a29-38e2-42be-97ca-9a22efbcc917"]
pub struct CustomMaterial {
    #[texture(0)]
    #[sampler(1)]
    texture: Handle<Image>,
}

The shader code:
@group(1) @binding(0)
var base_color_texture: texture_2d<f32>;
@group(1) @binding(1)
var base_color_sampler: sampler;

@fragment
fn fragment(
    #import bevy_pbr::mesh_vertex_output
) -> @location(0) vec4<f32> {
    return textureSample(base_color_texture, base_color_sampler, uv);
}

If this could even be done without any shader code it would be even better.

I actually found a way that seem a bit "hacky" using two systems, one that creates the mesh, and another one that runs continuously to check if the image has loaded and then updates the ImageSampler:
pub struct MapPlugin;

impl Plugin for MapPlugin {
    fn build(&self, app: &mut App) {
        app.add_plugin(Material2dPlugin::<CustomMaterial>::default());
        app.add_startup_system(spawn_map);
        app.add_system(load_texture);
    }
}

fn load_texture(
    mut textures: ResMut<Assets<Image>>,
    asset_server: Res<AssetServer>,
) {
    let texture = asset_server.load("dirt.png");
    let mut image = match textures.get_mut(&texture) {
        Some(i) => i,
        // Exit early as the texture has not yet loaded, try again the next time the system runs
        None => return,
    };

    image.sampler_descriptor = ImageSampler::Descriptor(SamplerDescriptor {
        address_mode_u: AddressMode::Repeat,
        address_mode_v: AddressMode::Repeat,
        address_mode_w: AddressMode::Repeat,
        ..default()
    });
}

fn spawn_map(
    mut commands: Commands,
    mut meshes: ResMut<Assets<Mesh>>,
    mut materials: ResMut<Assets<CustomMaterial>>,
    asset_server: Res<AssetServer>,
) {
    let texture = asset_server.load("dirt.png");

    commands.spawn(MaterialMesh2dBundle {
        mesh: meshes
            .add(shape::RegularPolygon::new(12.0, 6).into())
            .into(),
        material: materials.add(CustomMaterial { texture }),
        ..default()
    });
}

If there is another, more recommended way, hopefully a bit simpler as well, and you are open for adding more examples to the repo, I'll be happy to create a draft for that example.

This is unfortunately the right approach to this currently.
The main developer of Bevy, @cart is currently busy with a rework of the asset system which should make configuring assets much easier.
See #3972 for some discussion on the topic :)

@devil-ira thank you for the guidence. I'll use this solution for now then.
Maybe it is hard to create a proper example file for this repo for it just yet then as it is currently rather involved.
In case it might help anyone else seeking to do something similar here is a more generic plugin that I use for now, rough around the edges but seem to get the job done:
// tiled_material.rs

use bevy::{
    prelude::*,
    reflect::TypeUuid,
    render::{render_resource::*, texture::ImageSampler},
    sprite::*,
};

pub struct TiledMaterialPlugin;

impl Plugin for TiledMaterialPlugin {
    fn build(&self, app: &mut App) {
        app.add_plugin(Material2dPlugin::<TiledMaterial>::default());
        app.insert_resource(TiledMaterials::default());
        app.add_system(make_tiled);
    }
}

fn make_tiled(
    mut textures: ResMut<Assets<Image>>,
    mut tiled_materials: ResMut<TiledMaterials>,
    asset_server: Res<AssetServer>,
) {
    for path in tiled_materials.image_handles.clone() {
        // Exit early if material is already set to repeat
        if tiled_materials.completed.contains(&path.clone()) {
            continue;
        }

        let texture = asset_server.load(path.clone());
        let mut image = match textures.get_mut(&texture) {
            Some(i) => i,
            // Exit early as the texture has not yet loaded, try again the next time the system runs
            None => continue,
        };

        image.sampler_descriptor = ImageSampler::Descriptor(SamplerDescriptor {
            address_mode_u: AddressMode::Repeat,
            address_mode_v: AddressMode::Repeat,
            address_mode_w: AddressMode::Repeat,
            ..default()
        });

        tiled_materials.completed.push(path.clone());
    }
}

#[derive(Default, Resource)]
pub struct TiledMaterials {
    image_handles: Vec<String>,
    completed: Vec<String>,
}

impl TiledMaterials {
    pub fn load(
        &mut self,
        image_asset_path: &str,
        asset_server: Res<AssetServer>,
    ) -> Handle<Image> {
        self.image_handles.push(image_asset_path.into());
        asset_server.load(image_asset_path)
    }
}

impl Material2d for TiledMaterial {
    fn fragment_shader() -> ShaderRef {
        "shaders/tiled_material.wgsl".into()
    }
}

// This is the struct that will be passed to your shader
#[derive(AsBindGroup, TypeUuid, Debug, Clone)]
#[uuid = "b3c94a29-38e2-42be-97ca-9a22efbcc917"]
pub struct TiledMaterial {
    #[uniform(0)]
    pub scaling: f32,
    #[texture(1)]
    #[sampler(2)]
    pub texture: Handle<Image>,
}

// assets/shaders/tiled_material.wgsl

@group(1) @binding(0)
var<uniform> scaling: f32;
@group(1) @binding(1)
var base_color_texture: texture_2d<f32>;
@group(1) @binding(2)
var base_color_sampler: sampler;

@fragment
fn fragment(
    #import bevy_pbr::mesh_vertex_output
) -> @location(0) vec4<f32> {
    return textureSample(base_color_texture, base_color_sampler, uv * scaling);
}


chore(test,ci): add qe-reviewers to codeowners on specific paths in repo

What does this PR do?
dd qe-reviewers into e2e tests and ci parts of the repo.
Screenshot / video of UI

What issues does this PR fix or reference?
#2088

How to test this PR?

It looks like we need to add @containers/podman-desktop-qe-reviewers team to the repo. In the PR it says it is not visible that owner.

@benoitf I hope it is fixed now. Thanks!


Move static check from common to isv

The checks are usually skipped by support team so it doesn't make sense to have them in isv pipelines.

Apart from the misleading commit message, LGTM. I believe ISV-4831 together with ISV-4806 should resolve most, if not all, the issues we are seeing in the ISV pipeline, so perhaps we may want to wait before merging this. I've started doing some work on ISV-4831 here.

@mporrato The cert ops team is right about adding tests into isv pipeline without documenting it first in the official doc. Until we have it documented (it is currently part of FBC epic) I want to move it out of the isv space. We may reconsider adding it back after a discussion with cert ops.


Add custom file and preserve fields transformations

Checklist

[x] Appropriate branch selected (all PRs must first be merged to dev before they can be merged to master)
[x] Any modified or new methods or classes have helpful JSDoc and code is thoroughly commented
[x] The description lists all applicable issues this PR seeks to resolve
[x] The description lists any configuration setting(s) that differ from the default settings
[x] All tests and CI builds passing

Description
For testing, the back end PR can be found here: https://github.com/ibi-group/datatools-server/pull/536
Watch out for your mongo database once new transformations have been created you'll need to remove those when returning to run dev normally.
This PR supports two new transformations on the back end:
1. Preserve (or add) custom fields to existing GTFS files:
Allows a user to specify custom fields within existing GTFS tables which will be added after a new version is produced.
For example, certain producers include a platform_track field within the stop_times table. With this PR, that can be
specified using a mapping in the csv input data, and the custom field will be conditionally added to the final
stop_times file.
2. Add a custom file to the GTFS:
Allows a user to take csv data and dump it into a custom txt file in the final GTFS product. Essentially uses the
ReplaceFileFromString transformation but does not restrict the table to an existing GTFS table.

I agree with you on the text for the PreserveCustomField transformation. I changed it in https://github.com/ibi-group/datatools-ui/pull/950/commits/559673e3f23b9f554f92e81b4993ef1bf0389408 but I'm sure that's gonna create some new comments :)


DiscoveryClient is automatically configured if spring-cloud-starter-eureka is used

I've tried to build an app that uses service discovery in a Spring profile only. I have added spring-cloud-starter-eureka as dependency and see a DiscoveryClient now being created by default (complaining about no Eureka instance being available).
It looks like this is related to EurekaClientAutoConfiguration being enabled by default (due to @ConditionalOnProperty(value = "eureka.client.enabled", matchIfMissing = true). I could turn that off by setting the property to false but I was originally expecting the DiscoveryClient not being created unless I explicitly enable it using @EnableDiscoveryClient.

+1 on that!

/cc @jkschneider

+1


Package not loading in 0.172.0

I just installed this amazing looking atom package but I cant seem to get it to work at all in the latest version of Atom (0.172.0). I included two screen shots, one of the packages I also have installed and one of the main interface.

After finally getting the node.js modules installed that i was missing (theorist, htmltojsx) it seems to be working. The only issue i have now is that when I use Live Preview of HTML it doesn't seem to parse my CSS page.

fixed. Please check the latest version. Just to understand, did the htmltojx not get downloaded along with the module since it is part of bundledDependencies

No htmltojsx was not installed, in a long roundabout way i was able to get installed manually.

I have an updated version. I am closing assuming the new version took care of fixes. Please feel free to reopen/open new issues.


csv download is blank

for both : Data exporter - Time Tracking / Estimates.
It was working fine until last week

@parikh-d This should now be resolved on the 2.7.1 release. Can you help confirm?

Yes, it's resolved. Thanks a lot!
On Thu, 2 Nov 2023 at 23:36, Dannie Hansen @.***> wrote:

@parikh-d https://github.com/parikh-d This should now be resolved on
the 2.7.1 release. Can you help confirm?
—
Reply to this email directly, view it on GitHub
https://github.com/danniehansen/activity-timer/issues/127#issuecomment-1791278911,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BBUFGI6AOQGOYYTW7L73KJDYCPOJFAVCNFSM6AAAAAA62Z6VISVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOJRGI3TQOJRGE
.
You are receiving this because you were mentioned.Message ID:
@.***>


Improvements in the generation

Hi @HeliosZhao
After going through the complete code and experiments, I see the following issues.

Issues with the generation quality and long video generation.
Certainly some part of the background from the source video is missing in the target video though we are using the masks and editing only the protagonist.

Plans to improve:

Can we use temporalNet from ControlNet as a guidance to improve the consistency.
Can we use pretrained text to video models or train this architecture on videos dataset to better learn the patterns. As the current one used is T2I ( Text to Image) the frame-to-frame consistency is low compare to the source videos.
Can we use any other additional guidance for the better generation?
Can we use weighted temporal attention, I see we calculate the attention with single frame. Can we use moving weighted average so that the information is preserved ( RNN kind of architecture here).

Can you help answering these? Thanks in advance.

Following up, can we use motion vector for the consistent video generation.
https://arxiv.org/pdf/2306.02018.pdf - mentioned in this paper.

Hi @rakesh-reddy95 , thanks a lot for your questions and suggestions.

Can we use temporalNet from ControlNet as a guidance to improve the consistency.

Yes, you can also include ControlNet with temporal layers in the training.

Can we use pretrained text to video models or train this architecture on videos dataset to better learn the patterns. As the current one used is T2I ( Text to Image) the frame-to-frame consistency is low compare to the source videos.

The pre-trained generative model should be able to include visual information (CLIP image embedding). Currently, Stable UnCLIP is the only public model with this ability. If there exists a T2V model that can leverage visual information, you can also use it as initialization.

Can we use any other additional guidance for the better generation?

More ControlNet models (e.g., sketch) can be used.

Can we use weighted temporal attention, I see we calculate the attention with single frame. Can we use moving weighted average so that the information is preserved ( RNN kind of architecture here).

I am not familiar with the method you mentioned. Can you provide a paper using this?

Motion vector

Sure. Motion vector can be used as another control signal. You can train a ControlNet model with this signal and use it in training or inference.

@HeliosZhao
Thank you for the responses.
4. I didn't see any paper with this, but was just an idea.
Also, can you please provide the training scripts for controlnet training and saving only the controlnet weights. I see that the weights are provided and the training scripts is said to be released soon in the README.md. Also may I know the data you have used to train the depth controlnet model and pose controlnet model?

We are cleaning the code for ControlNet training and will release it soon.
We use COCO2017 training set to train the depth and pose model.

@HeliosZhao Hello, I'm getting below error while training the controlnet.
ValueError: class_labels should be provided when num_class_embeds > 0
I see we are not passing any class_labels in the training script of controlnet. While I see that in your inference pipeline. May I know what should I pass for class_labels while I'm training the depth/pose/edge models.

Hi @rakesh-reddy95 , we input zeros as class_labels to ControlNet and input the CLIP image embedding as class_labels to UNet.

@HeliosZhao Can you provide just that part of the script? initiating zeros for controlnet , and clip image embedding to UNet so that I can be able to pass?

The ControlNet training code is released HERE. Feel free to use.

Awesome, that helps for further experiments. Thank you.


Add sponsor:  Mistplay

Page to update:
https://www.pymc.io/welcome.html#sponsors
Source Page to update:
https://github.com/pymc-devs/pymc.io/blob/main/welcome.md
Logo:
https://github.com/pymc-devs/pymcon_web_series_website/blob/main/static/images/sponsors_logos/mistplay_label_dark.png
company url:
https://www.mistplay.com/
description:
The world's leading Loyalty Program for mobile gamers.
REF:
https://www.linkedin.com/company/mistplay/about/

@BhaswatiRoy
Are you interested in picking this up?

@SangamSwadiK
Are you interested in picking this up?

@SangamSwadiK
Thanks, I assigned the issue to you.


Hacker Style Theme Option

Can we add a default theme similar to Nang's favorite theme, Palm Synthwave?
https://github.com/RobertoGarc/palm-wave-ext
and make it built into PearAI?

I'd like to try this

Incredible by @andrewjhopkins


Some questions about weibull function

Hi, as a beginner to MMM, I try to use your great Robyn to learn MMM. I have a few questions here:
https://github.com/facebookexperimental/Robyn/blob/162449c1dcbf7a4e1983d6c323ef6e1c436a351f/R/R/transformation.R#L129
In Robyn/R/R/transformation.R, line 129, I don't quite understand why a cumprod function is used, as thetaVec seems to be the
value of adstock rate itself. Could there be some more explanation here?
Also，I'm not clear about the formula of weibull in https://facebookexperimental.github.io/Robyn/docs/features/#adstock
It seems to be unreasonble as alpha is not defined, and the scale, shape parameter don't show up.

Hi, good questions. Take geometric as example, when theta ==0.5, thetaVec is c(0.5, 0.5, 0.5, ...) and thetaVecCum is c(0.5, 0.25, 0.125, ...). For Weibull, it's a varying decay rate, so thetaVec is c(0.9, 0.8, 0.6, ...) and thetaVecCum is c(0.9, 0.72, 0.432, ...). Makes sense?
For the documentation, we'll check and update accordingly. @kylescotshank FYI

Thank you for your explanations! I've understood the function of cumprod.


Humanevalpack-c++ issue

Hi,
I always generate pass@1 = 0 when running Humanevalpack-cpp
Evaluating generations...
{
"humanevalsynthesize-cpp": {
"pass@1": 0.0
},
However, take #2 instances as an example, the reference & generations json file is shown as below. If I run it in the C++ compiler, the test case is passed. I'm not sure why I'm facing this issue only in C++, is there any syntax I should add when running this case?
references.json
#undef NDEBUG
#include<assert.h>
int main(){
 assert (truncate_number(3.5) == 0.5);
 assert (abs(truncate_number(1.33) - 0.33) < 1e-4);
  assert (abs(truncate_number(123.456) - 0.456) < 1e-4);
}

==================================================
generations.json
/*
Given a positive floating point number, it can be decomposed into
and integer part (largest integer smaller than given number) and decimals
(leftover part always smaller than 1).

Return the decimal part of the number.
>>> truncate_number(3.5)
0.5
*/
#include<stdio.h>
#include<math.h>
using namespace std;
float truncate_number(float number){
    return number - floor(number);
}

@Gene-su-GGN Maybe the problem would be execution using c++ environments. Could you separate the phrases of code generation and code execution, and then see what happens when executing the code? We would recommend to use colabe to evaluate the model since the environment is reproducible.


fixenable hadoop auto renew tgt

Proposed changes
pick from:
https://github.com/apache/doris/pull/34439
Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall


enhancements snippetize recursively

It would be a really interesting and helpful thing have further level of nested snippets, i mean have a snippets for any children inside a snippet.

Any news on this ?


Fix typo errors

Description
Found a few typos while looking through the source code.
Fixes/Implements: # (issue)

Fixes typos

New dependencies introduced?
N.A
Checklist:

[x] I have added tests that prove my fix is effective or that my feature works
[x] I have update README (If needed)

@boonwj Thanks for the PR. Really appreciated.


Error showing wide dataframes

I have a dataframe that is quite wide to display, and used to load just fine earlier. It loads fine now, but never returns. If I press ctrl-c, it gives me this, and I can continue working with it.
julia> @time vl = DataFrame(vl)
elapsed time: 0.559995546 seconds (173700240 bytes allocated)

^CEvaluation succeeded, but an error occurred while showing value of type DataFrame:
ERROR: interrupt

No longer an error, but still annoying -- new issue here: #760


A source for some more examples

Have a look at the introduction to Ken Shan's a static simulation of dynamic delimited control. He lists lots of cool uses of delimited control:

backtracking search [references 11, 23, 59, 76].
direct-style representations of monads [37-39].
CPS [22-24]
partial evaluation [6, 7, 10, 19, 29, 40, 46, 63, 82]
web interactions [45, 70]
mobile code (as I said before) [66, 74, 80]
linguistics [8, 75].

If Bauer's thesis is true (delimited control : handlers ~ goto : while loops), we should be able to do some, or most, or all!, of these using effect handlers, but in a much more structured way. If some of these examples seem interested to you, I'm keen to look further into this.

So far we've only implemented backtracking search but I have hopes of implementing other ideas too.


Add name change option in edit project functionality

Description
Now you can also change the project name while editing a project.
Fixes #556
Type of change

[x] Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?
Try editing an existing project
Test Configuration:
Windows 10

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] My changes generate no new warnings
[x] New and existing unit tests pass locally with my changes

@carpecodeum Hello! Could you please review this?


unicorn version mismatch

Since the unicorn version is not specified, 5.5.0 is automatically selected.
So I think remine does not go up I need to specify an older version of unicorn.

Looks like there was a bug introduced in 5.5.0
https://bogomips.org/unicorn-public/20190307022859.mxz7m3mbspujo4c2@dcvr/
I tested his patched version and it works.
Set unicorn version in Gemfile
gem "unicorn", "~> <IP_ADDRESS>.g6836"
And ran @bundle update unicorn


Update README.md

Make sure set the target branch to develop
What is the purpose of the change
XXXXX
Brief changelog
XX
Verifying this change
XXXX
Follow this checklist to help us incorporate your contribution quickly and easily. Notice, it would be helpful if you could finish the following 5 checklist(the last one is not necessary)before request the community to review your PR.

[x] Make sure there is a Github issue filed for the change (usually before you start working on it). Trivial changes like typos do not require a Github issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[x] Format the pull request title like [ISSUE #123] Fix UnknownException when host config not exist. Each commit in the pull request should have a meaningful subject line and body.
[x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[x] Write necessary unit-test(over 80% coverage) to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add integration-test in test module.
[x] Run mvn -B clean apache-rat:check findbugs:findbugs checkstyle:checkstyle to make sure basic checks pass. Run mvn clean install -DskipITs to make sure unit-test pass. Run mvn clean test-compile failsafe:integration-test  to make sure integration-test pass.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

Codecov Report

Merging #1 (25be11a) into develop (44f1eae) will increase coverage by 0.00%.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##             develop       #1   +/-   ##
==========================================
  Coverage      43.40%   43.41%
- Complexity      8831     8832    +1
==========================================
  Files           1090     1090
  Lines          76617    76617
  Branches       10006    10006
==========================================
+ Hits           33259    33263    +4
+ Misses         39204    39199    -5
- Partials        4154     4155    +1

Impacted Files
Coverage Δ

...ache/rocketmq/broker/client/ConsumerGroupInfo.java
69.29% <0.00%> (-3.51%)
:arrow_down:

...he/rocketmq/broker/controller/ReplicasManager.java
44.40% <0.00%> (-2.62%)
:arrow_down:

...a/org/apache/rocketmq/filter/util/BloomFilter.java
60.43% <0.00%> (-2.20%)
:arrow_down:

.../apache/rocketmq/controller/ControllerManager.java
71.87% <0.00%> (-2.09%)
:arrow_down:

...cketmq/broker/schedule/ScheduleMessageService.java
56.91% <0.00%> (-1.14%)
:arrow_down:

...e/rocketmq/namesrv/routeinfo/RouteInfoManager.java
63.43% <0.00%> (-0.33%)
:arrow_down:

...ent/impl/consumer/DefaultLitePullConsumerImpl.java
68.06% <0.00%> (ø)

...main/java/org/apache/rocketmq/store/CommitLog.java
65.23% <0.00%> (+0.10%)
:arrow_up:

...e/rocketmq/client/impl/consumer/RebalanceImpl.java
31.56% <0.00%> (+0.21%)
:arrow_up:

...mq/client/impl/producer/DefaultMQProducerImpl.java
46.41% <0.00%> (+0.24%)
:arrow_up:

... and 7 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


support GKE release channels

We'd like to be able to test on the newest version of GKE clusters, therefore we have to support the so called "release channels":
See release_channel definition here: https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/container_cluster

It looks like it's not that complicated: When we always select the release_channel "RAPID", GKE supports all the versions. So there is no distinction required and we do not need to broaden the interface of the cluster definition.


Add NASA Langley CAPABLE BSRN site

Larry Berg and Matt Wiley use this site.
https://capable.larc.nasa.gov/data/
https://cove.larc.nasa.gov/BSRN/LRC49/
Data from December 2014 to present.
1 month of data per file. Appears to be uploaded in the first few days of the following month. 1 minute intervals.
Another fun fixed width file. Entries like:
  1  987   1003 -99.9 -999 -999    975 -99.9 -999 -999
             72 -99.9 -999 -999    287 -99.9 -999 -999     19.9  37.2 1026
  1  988   1006 -99.9 -999 -999    977 -99.9 -999 -999
             72 -99.9 -999 -999    290 -99.9 -999 -999     19.8  36.9 1026

  1 1438     22 -99.9 -999 -999      0 -99.9 -999 -999
             21 -99.9 -999 -999    307 -99.9 -999 -999     17.7  57.9 1023
  1 1439     21 -99.9 -999 -999      0 -99.9 -999 -999
             20 -99.9 -999 -999    307 -99.9 -999 -999     17.6  56.8 1023

The first number is the day of the month. The second is the minute of the day. Times appear to be in UTC.
I believe the ordering is:

CM22 pyranometer GHI (upper left)
CM31 pyranometer DHI (lower left)
CH1 pyrheliometer DNI (upper right)
PIR infrared (lower right)

I'd need to write the parser and plot it to be sure.
CAPABLE Site Coordinates:
Latitude:  37.1038
Longitude:  -76.3872
Elevation: 3 m ASL

with #604, now just waiting on data parsing procedures before implementing fetch


add llcreader module

This is a big new module with a completely new approach to reading data.

Codecov Report

Merging #152 into master will decrease coverage by 26.45%.
The diff coverage is 16.27%.

@@             Coverage Diff             @@
##           master     #152       +/-   ##
===========================================
- Coverage   94.03%   67.57%   -26.46%
===========================================
  Files           4       10        +6
  Lines         989     1499      +510
  Branches      224      295       +71
===========================================
+ Hits          930     1013       +83
- Misses         31      458      +427
  Partials       28       28

Impacted Files
Coverage Δ

xmitgcm/llcreader/llcutils.py
0% <0%> (ø)

xmitgcm/llcreader/shrunk_index.py
0% <0%> (ø)

xmitgcm/llcreader/llcmodel.py
18.86% <18.86%> (ø)

xmitgcm/llcreader/known_models.py
4.41% <4.41%> (ø)

xmitgcm/llcreader/__init__.py
77.77% <77.77%> (ø)

xmitgcm/llcreader/stores.py
9.09% <9.09%> (ø)

... and 2 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 5eba013...6fb6755. Read the comment docs.


Fix horisontal scroll

Don't know why overflow-x: hidden in #449 doesn't work on iOS Safari, so problem #448 still not solved. I tried to move width: 100% from #mobile-nav-dimmer to .mobile-nav-on:#mobile-nav-dimmer, worked fine on me.
Can anyone have a check on this? I don't have much experience on css, hope not to cause another problem, thanks ;)

This issue can be reproduced at macOS Safari. LGTM.
@0x5e Thank you so much for you contribution.


Request to make a property for animation properties

I really have not figured out how to do pull requests... but there is one line of code that would be helpful to add.  We would like to dynamically change properties before looping an animation.  If we could get access to the properties and values being animated then we can.  We are doing this in ZIM right now with a customized version of CreateJS.  Here is where we made the one line update:
if (inject = this._injected) {
	this._injected = null;
	this._appendProps(inject, step, false);
}
this.step = step; // inserted by Dan Zen to help dynamically adjust tweens

This has been added https://github.com/CreateJS/TweenJS/commit/6df2b9ce7e68d3d824cc490b67cab2bc3204810a


Screen reader not announcing errors on Web forms

When some required fields are left empty on a form and I press submit the screen reader in JAWS does not automatically read
the heading: The form could not be submitted because 2 errors were found.
I must first press the arrow down key once at which point it will read it. If should read it as soon as the form is submitted.
It works correctly here https://wet-boew.github.io/wet-boew/demos/formvalid/formvalid-en.html but not when WET is loaded via CTDS
Thanks
<EMAIL_ADDRESS>

Hello, I'll investigate this. Do you have a link to a site that has this issue?

Hello Ahmad
Here is a sample: https://www.sac-isc.gc.ca/eng/1585664064807/1585678941114
I am running JAWS version 2023.2311.34
When I leave the two fields empty and press submit I see the error message but I need to press the arrow down key once to hear the heading: The form could not be submitted because 2 errors were found
However when I go to the WET examples here: https://wet-boew.github.io/wet-boew/demos/formvalid/formvalid-en.html#wb-cont
The screen reader reads the error out right away. "The form could not be submitted because 9 errors were found."
This is affecting all our Internal forms.
Thanks
<EMAIL_ADDRESS>

Thank you

Hi Ahmad
I have sent the links to our visually impaired employee to review each of the three links. As soon as I hear back I will reply with the results
Thanks!

Hi Ahmad
From what I told the links you provided have not rectified the issue
I had a visually impaired user test it and one of the developers too
The dev provided a video recording of what he hears - https://www.youtube.com/watch?v=cR26Pw4GV24
The dev created a hack to fix this for our Intranet so if you wanted to know more about what he did please let me know

The fix I put in was moving the icon INTO the H2 as it is in base WET.
We only implemented it on ALERT-DANGER as it was the most urgent one for screen readers hoping it would get fixed at CDTS but here is the quick fix we added to out custon css file.
/* Eric - 2024-05-30  */
.alert-danger::before {
all: unset !important;
}
.alert-danger>:first-child:before {
    color: #d3080c;
    content: "\e101";
    margin-top: 3px;
    margin-left: -1.7em;
}

This moves the icon into the H2.

In CDTS it appears that you have moved the ICONS (exclamation mark for example) outside the H2.
CDTS

BASE WET

I then positioned the icon so it looks like CDTS VS base WET.
CDT look

WET LOOK

MY LOOK

Hello
Do you have any questions on what we provided? Any update on when this may be fixed?

Apologies for the late response. Yes, this should be fixed as part of our next release. Due to the holidays, our next release should happen early next month.

Great thanks
We will check a few weeks into January
Regards
bsw2112


Support KHR_texture_basisu

This PR supports KHR_texture_basisu extension of Gltf2.0.

@KaYaF When do you try this? Let's reschedule.

I will try this after March. Where do I need to describe the schedule?


expecting the source code

Are you planning to release the source code and the models trained?

Thanks for having an interest in our work! We will release the code soon, so stay tuned!

We released the code! Thank you.


Milestone1: Initialize components

In this milestone I:

Setup a new React application using Create React App
Created a directory for your reusable components and initialized the necessary components
Setup my routers

Hi @isume295 The link to your licence is broken also the link to the issue is broken. Can you fix Them right now? I'm available on slack.


Error with mongoose 4rc-3

Here is an error stack:
https://gist.github.com/whitecolor/877afbce9bdc9bb2bba2
and related mongoose issue
https://github.com/LearnBoost/mongoose/issues/2739

Your connect-mongo is too old!

Thanks. My bad.


Selecting . on windows causes it to use the last file format instead

Compilation Environment

OS: Windows 10
Compiler: MSVC 2019
Build directory used: cmake
Have I attempted to reproduce the problem on the devel branch? Yes

Describe the bug
nfdchar_t* path = nullptr;
auto result = NFD_SaveDialog("mp4;mkv;webm", nullptr, &path);
if (result == NFD_OKAY) {
    std::cout << "Selected path is: " << path << std::endl;
    free(path);
}

This will create a file dialog with 4 options, *.mp4, *.mkv, *.webm and *.*
The first three work fine, however, picking *.* will append .webm to the path instead of not appending anything

This change to nativefiledialog-extended fixes a similar bug for me, so I think you'd just need to call SetDefaultExtension(L"") if you don't want it to append a default extension.
However, I think on Windows users expect some extension to be appended to any file (at least that seems to be the case for my programs on Windows), so in my opinion the proper behaviour should be to append some default extension.


Enhancements to make demo setup easier

Hi @cmoberg - here are a few of the things that I added to my fork to make life a bit easier.  Feel free to merge if you think they are useful.
The only change that would have any material impact on the demo would be https://github.com/kecorbin/nso-ansible-demo/commit/ff6afa967a5e60b554bc021cb284a5aefb672582 this was an issue I encountered when executing against real devices instead of netsim. In the spirit of this demo, these keys should be inconsequential.
I also added a requirements in to address #2 for now, but as the target version is still moving, will need to be updated once things shake it.
HTH,
Kevin

They all look really useful. May want to think about a more elegant solution for the json2yaml script over time (command line option perhaps), but this is a definite improvement for now.

And, if that wasn't clear: THANKS!


console: add interactive sorting

this branch adds support for sorting tasks in the top tasks view. tasks can
be sorted by their task ID, total runtime, busy time, idle time, and
number of polls, and the sorted column can be selected using the left
and right arrow keys (similar to top(1)). the sort direction
(ascending/descending) can be inverted using the i key.
in order to add sorting, it was necessary to add rudimentary plumbing
for interactivity by setting up crossterm's input-handling utilities
and handling keypress events. we can add mouse support later.
here's a quick demo of sorting tasks:

closes: #4

Awesome :+1:


datepicker without input

Hi. Is it possible to hide input and show only button with icon? When I push the button, datepicker is opening. When I chouse date, it disbpayed on button.
Example - http://jsfiddle.net/516zsh7b/390/

You can access the datepicker's methods by using a ref attribute.
<datepicker ref="myDatepicker"></datepicker>
...
this.$refs.myDatepicker.showCalendar()

OP wants to hide input tag. can you tell me how to do that? I tried ` on Demo.vue from this repository. this still shows input textbox.


Range Error when trying to formate dates using calendar other then gregory or iso8601

Given this example test:
const dateTimeUTCString = "20201001T090000Z"; // UTC date-time

const dateTimeUTC = Temporal.Instant.from(
      dateTimeUTCString
    ).toZonedDateTime({
      timeZone: "UTC",
      calendar: "gregory", // <-- test success depends on this
});

expect(iCalendarTimeFormat(dateTimeUTC)).toBe("090000"); // <-- fails if calendar is other then gregory or iso8601

where iCalendarTimeFormat is as follows:
export function iCalendarTimeFormat(date: Date | DateTime): string {
  return date
    .toLocaleString("us-EN", {
      hour12: false,
      hour: "2-digit",
      minute: "2-digit",
      second: "2-digit",
    })
    .split(":")
    .join("");
}

the test fails is we change the calendar property of the ZonedDate to anything other then gregory or iso8601 throwing the following error:
RangeError: cannot format ZonedDateTime with calendar [inserted calendar] in locale with calendar gregory

Tested with values like: islamic-umalqura, japanes, chinese, coptic etc..
If it helps, here is the part of the code that is responsible for throwing the error
My question is why this is failing and what does the error actually mean?

Fixed the tests by changing iCalendarTimeFormat implementation to this:
export function iCalendarTimeFormat(date: Date | DateTime): string {
  return date
    .toLocaleString("us-EN", {
      hour12: false,
      hour: "2-digit",
      minute: "2-digit",
      second: "2-digit",
      ...(date instanceof Temporal.ZonedDateTime ||
      date instanceof Temporal.PlainDateTime
        ? { calendar: date.calendarId }
        : {}),
    })
    .split(":")
    .join("");
}

But still want to understand the error meaning and why it's hapenning

The error is because the date's calendar doesn't match the locale's calendar. The thinking goes, if you have a non-ISO8601 calendar (a 'human' calendar) then that's probably intentional and you want it formatted in that calendar. At the same time, locales have a human calendar associated with them as well, either explicitly or as a default, and it's surprising if you are formatting dates in that locale and they end up in a completely different calendar.
So since it's not clear which calendar should 'win' in that case, we throw, so that the programmer knows they have to make an explicit choice.
More precisely:

The date's calendar must match the locale's calendar; or
The date must be in the ISO 8601 calendar, in which case the locale's calendar wins.

So if you want the locale's calendar to always win, do this:
date.withCalendar("iso8601").toLocaleString(...);

If you want the date's calendar to always win, then the workaround you posted above is the correct one.
More info: https://github.com/tc39/proposal-temporal/issues/262#issuecomment-687281748

Thank you for the explanation. it's clear to me.


DO NOT MERGE. debugging ci timeout

Copy of #8241 which is failing on the 32bit tests, but with the -v flag added at test time to try and identify the test(s) that is/are stuck!


Do not change abstract class ctors to protected

Fix for #420

Ah crud, didn't think to run core tests.  Will update that...

Hmmm... @latkin - I wonder why we emitted "protected" on constructors for abstract classes though - there must have been some reason why we do that.  Does C# really never do it?
thanks
don

I chatted w/ @vsadov yesterday and he says C# never alters the accessibility in this case.  Quick peek at compiled assembly confirms.
I don't know if F# compiler makes some assumptions elsewhere that rely on conversion to protected.  Compiler tests ran ok with the change.
    public abstract class A
    {
        internal A(string x) { }
        public A(int x) { }
        private A(float x) { }
        protected A(double x) { }
        internal protected A(byte x) { }
    }

.class public auto ansi abstract beforefieldinit CSConsoleApp1.A
	extends [mscorlib]System.Object
{
	// Methods
	.method assembly hidebysig specialname rtspecialname
		instance void .ctor (
			string x
		) cil managed
	{ ... }

	.method public hidebysig specialname rtspecialname
		instance void .ctor (
			int32 x
		) cil managed
	{ ... }

	.method private hidebysig specialname rtspecialname
		instance void .ctor (
			float32 x
		) cil managed
	{ ... }

	.method family hidebysig specialname rtspecialname
		instance void .ctor (
			float64 x
		) cil managed
	{ ... }

	.method famorassem hidebysig specialname rtspecialname
		instance void .ctor (
			uint8 x
		) cil managed
	{ ... }

} // end of class CSConsoleApp1.A

Updated core surface area tests, things are green now

LGTM :+1:


Defining profiles for Lottie

Lottie has multiple libraries that support the format. The official libraries which are in general more feature rich, have active support, or have been around for a longer time. And also the so called "unofficial" ones.  Here is a list of some of  them.
Each library focuses on their own set of features depending on their interests, priorities and capabilities.
We're interested in defining a set of profiles to which each library can be attached to and help animators, designers and all interested parties to easily identify what they can use depending on their target players.
This is not as straightforward as it may seem since not all libraries have the same features supported and they generally have partial support for some and full support for others.
One option is building a single core profile that any library should support in order to be considered official. And set the remaining list of features detached from any profile, that any library could indicate whether they support them or not.
Embedded systems might be an exception to this core profile, since, because of their capabilities, they might need to support a smaller subset of it.

Maybe the specification can be split into "modules" and libraries can specify which of them they implement


[bug] When opening women's category for first time it doesn't load

Hello contributors, there is a bug this react.js project, if you click on the women's category first, without opening any other category, it doesn't load products, but it does if you do after, this minor bug may be in bootstrap or react states.

I want to work on this issue..Do assign me.

I want to work on this issue..Do assign me.

Hey @web-dev-kushal, Any update ?


Support for multiple segments

Currently Talc is only able to allocate from a single continuous segment of memory. Are there any plans to add support for allocating from multiple disjoint segments?
I am currently using Talc as an allocator for executable memory for a JIT engine. For this I am using mmap to allocate chunks of memory from the OS, but this limits me to a fixed initial allocation (code cannot be moved once allocated since it can be used by other threads). I would like to hook the OOM handler to allocate a new disjoint segment of memory with mmap when the initial block is full.

Hi! Thanks for giving Talc a shot.
I gather MAP_FIXED isn't a reliable option, and you probably don't want to be using sbrk.
I'll gladly get it implemented, but it's going to incur a few significant API and behavior changes and a bump to v3. Not really an issue though; I think it's a good feature.
Probable changes:

32-bit systems will now round up allocation sizes to the next 8 bytes (instead of 4, minor ouch, but I need an extra bit for metadata to keep track of chunk boundaries when there's no single heap to check against.)
extend and truncate now take an old_arena and a new_arena so that any arena segment can be resized (more unsafe as we put more trust in the user, but it is what it is I guess)
Other miscellaneous API changes similar to the above I assume.

As a side note, the allocator will fail to create arenas until one big enough to store the allocator metadata (1KiB) gets created.
I don't think that's too bad. Hopefully I'm not forgetting something critical and this only takes a few days :)

v3 is out with support for multiple memory segments. Please open another issue if you run into any further roadblocks!
(32-bit systems still have their normal allocation size granularity, as I didn't need the extra bit; I came up with a different solution.)

Thanks! Works like a charm!


chore: fix the openapi schema

example is not a valid attribute.
Refer to https://spec.openapis.org/oas/v3.1.0#example-object

:rofl:  it seems make swag always generates new changes...

Test failed.


Chatcraft hangs webpage

This is a bugreport from twitter. I've noticed similar weird behavior where chrome seemingly freezes while streaming responses.
I found a UI bug on chatcraft. Asked: "What is apache apisix?" using the free models in auto mode. And I got a response repeating APACHE APACHE APACHE after a normal sentence. The UI bug is not the model response, but that that some JavaScript code hangs the Firefox tab, until Firefox ask to stop the JS code running there. Sorry, I didn't found any feedback option on the website.
Note, it only hangs on a saved conversation, not on a clean one, or one that repeats the same questions (two unrelated ones)

Sometimes  it displays the repeated APACHE words faster., it may be a Firefox redisplay issue, I switched this time to another tab and back and the words where shown at the end of the video
Screencast from 2024-05-07 08-47-23.webm
The stack trace after Firefox ask for the script being stopped is:
Script terminated by timeout at:
oR@https://chatcraft.org/assets/index-Dl5d8yCF.js:603:53627
yFe@https://chatcraft.org/assets/index-Dl5d8yCF.js:603:55638
Bze@https://chatcraft.org/assets/index-Dl5d8yCF.js:609:8007
Fze@https://chatcraft.org/assets/index-Dl5d8yCF.js:609:8441
Pze/e.prototype.sweep@https://chatcraft.org/assets/index-Dl5d8yCF.js:609:5822
l5t@https://chatcraft.org/assets/index-Dl5d8yCF.js:1073:63873
compute/<@https://chatcraft.org/assets/index-Dl5d8yCF.js:603:8626
compute@https://chatcraft.org/assets/index-Dl5d8yCF.js:603:8582
Pt@https://chatcraft.org/assets/index-Dl5d8yCF.js:603:15281
cR@https://chatcraft.org/assets/index-Dl5d8yCF.js:613:1225
onData@https://chatcraft.org/assets/index-Dl5d8yCF.js:1073:127315
O@https://chatcraft.org/assets/index-Dl5d8yCF.js:586:327
lae/V<@https://chatcraft.org/assets/index-Dl5d8yCF.js:586:995

@robmv I can't reproduce (yet).  Do you see this in Chrome as well?

it's rate limited for long responses :)
but you should be able to do a synthetic custom provider that generate similar messages

This seems to be an issue with us incrementally updating too much, which causes markdown to get reparsed-rerendered.
 from a similar situation. We should add some throttling to incremental updates

Not sure if the fix is already deployed on the website, but I think it is better now. The long example URL was streamed to the page, you can see the URL growing without the browser struggling to process that. the Apache question got the response fast, without hanging and repeating APACHE.
I will test tomorrow on the low bandwidth connection I tested previously, just to be careful it isn't because I an currently on a fast one.

Yeah the fix @tarasglek wrote is live.  Glad you're seeing improvements!


Can't call toDataURL() on canvas element

index.js
var jsdom = require('jsdom');
var Canvas = require('canvas');

jsdom.env({
  url: 'http://www.w3schools.com/html/html5_canvas.asp',
  done: function(err, window) {
    if (err) console.log(err);
    console.log('Loaded W3schools Canvas page');
    var canvas = window.document.getElementById('myCanvas');
    console.log(canvas.toDataURL());
  }
});

Running this gives me
Error: invalid arguments at Canvas.toDataURL

So I pass in 'image/png' to toDataURL(). But then I get an empty image.
What am I doing wrong?
Further details here http://stackoverflow.com/questions/34433198/how-do-i-use-jsdom-to-grab-an-image-from-a-canvas-element

That fixes the error, but the resulting data URI is still an empty image.
What was I doing wrong? Or is this just not supported by jsdom?

You are not enabling on-page scripts, so nothing is drawing on the canvas. See https://github.com/tmpvar/jsdom#external-resources.


The website doesn't load on Mac Chrome

The website doesn't load on Google Chrome (Mac)
Detailed description
The website loads fine the first time, however, when I come back, it returns a black screen.  If I open it in an incognito window, it loads fine.
I tried refreshing the page, clearing cache, and doing a hard refresh, but it still doesn't solve the issue.  I'm running the latest Google Chrome (Version 90.0.4430.85 (Official Build) (x86_64))  on Mac 10.12.6.
Steps to reproduce the issue

Open the website on Mac using Google chrome
Restart Mac.  Google Chrome will relaunch with the previous page(s) open.

Additional information

Screenshots of revisited site

Screenshot of the website opened in an incognito window

@anyav77 Try a hard refresh that normally does the trick.

Hold down Shift and click the Reload button. Or Hold down Command, Shift and click the 'R' key

This solution works for the development environment.  However, I would like to use Carbon Design Theme for the live website, and the target audience is not technical pros.  So, I can't rely on this for a live site.
Do you have a better solution?
Is it a Javascript cookie issue?  Are you planning to fix this bug?


Event Grid docs point to old libs

Describe the bug
This doc: https://docs.microsoft.com/en-us/dotnet/api/overview/azure/eventgrid
References old libs.
Expected behavior
Should ref new libs.

//cc: @spelluru

Hi @jsquire - Thank you. I am back to work. I have updated the index page in this PR . Instead of showing the code on this page, I just linked to the readme page that gives an overview along with the sample code. Thanks.

@spelluru:  There was one minor comment that I left about a link;  otherwise, looks good to me.    Give me a yell when you're comfortable and would like me to merge.

@jsquire - Fixed the link. Please merge when you get a chance. Thanks.

All merged in.   Thanks, @spelluru!
@jongio:  I'm going to close this issue out; changes should flow in with the next docs sync.


addRequestProcessingDelay doesn't work after request then reset

I'm having a problem where addRequestProcessingDelay isn't having any effect if it follows a request to the wiremock server and then a reset.
See https://github.com/notclive/wiremock-reset-delay-bug/blob/master/src/test/java/WiremockResetDelayBugTest.java for a reproducing test.
If the expectTimeoutDueToRequestProcessingDelay test is run alone then it passes.
If both tests are run then the request in expectTimeoutDueToRequestProcessingDelay doesn't timeout as expected.

I just ran your test with a tcpdump trace running. It looks like in the first test your HTTP client is creating a TCP connection then caching it and re-using in the second test. Because addRequestProcessingDelay applies the delay before syn/ack, if you already have a live connection there won't be any delay at all.
You might want to try switching your Jersey client to be backed by the Apache HTTP client and explicitly disable connection pooling in that.

Thanks for your time, I'll close this issue.
Would it be reasonable for the wiremock server to disable persistent connections?

It's probably technically possible (e.g. by sending Connection: close headers) but generally IMO this is the sort of thing you'd configure client side. Most of the time you'd want pooled connections for performance, so I wouldn't want to prevent this from being possible.

Any news about this feature?

Any news about this feature http://one.wiremock.org/simulating-faults.html


Add bathroom/appliances/amenities icons

Related to #1451, #1454 and #1461.
shave-face (shavers only socket) related to #1250.

Faucet would be great as well 🚱🚰

Nice icons, but as per usual, can you please provide some use cases for these?
Some of them are pretty specific to a single item (e.g. towel-rack-heater) and I cannot really see any legit use cases for them, apart from being used as a terribly particular product category on an equally specialized shopping website, but Lucide, as an open source icon set, has always been more about providing icons for generic UI needs than being tailored for single-use icons, I think people developing a bathroom appliance web store should bloody well make their own damn icons. 😄

Nice icons, but as per usual, can you please provide some use cases for these?
Some of them are pretty specific to a single item (e.g. towel-rack-heater) and I cannot really see any legit use cases for them, apart from being used as a terribly particular product category on an equally specialized shopping website, but Lucide, as an open source icon set, has always been more about providing icons for generic UI needs than being tailored for single-use icons, I think people developing a bathroom appliance web store should bloody well make their own damn icons. 😄

@karsa-mistmere I’m sure there are more… but that particular obscure use case hadn’t occurred to me! I had in mind the much more obvious use of displaying available amenities when e.g booking accommodation (a frequent problem when travelling, especially with a female! 😅 These would save a lot of back-and-forth!), and given that travel is a distinct category…

Related to #1451, #1454 and #1461.

can you please provide some use cases for these?

terribly particular product category on an equally specialized shopping website

developing a bathroom appliance web store

@karsa-mistmere I’m sure there are more… but that particular obscure use case hadn’t occurred to me; I had in mind the much more obvious use of displaying available amenities when e.g booking accommodation (a frequent problem when travelling, especially with a female! 😅 These would save a lot of back-and-forth!), and given that travel is a distinct category…
Maybe towel-rack-heater is slightly too specific though…

Related to #1451, #1454 and #1461.

Same reasoning.

the much more obvious use of displaying available amenities when e.g booking accommodation…

I don't think I have never in my life seen a heated towel rack listed as an amenity on any booking site, but I think this use case is equally specific. The request still stands, however, can you please provide some use cases for all of these icons?

What's blocking this PR from being merged? I'd love to use these in one of my projects.

What's blocking this PR from being merged? I'd love to use these in one of my projects.

The same thing as many other pending icon PRs: not all icons meet the standards of our design guidelines, see the discussions above.

This PR is merged to the lab branch. This PR does not match our PR template, which requires valid use cases. To move on we merged this PR to the lab branch, which will be moved to a separate repo in the future.


Live Feed Logic Update

Per Conversation with Aaron. here are our thoughts on what loads in the live stream..   Feel free to poke holes in it or suggest insight we are not thinking of.
On initial load, grab the last 60 objects and stream them down 1 per second.   Then grab whats new in the stream for the last minute:

[x] IF there is more than 60 items, just grab the most recent 60 and stream them out.
[x] IF there is less than 60 items, space them out within that 60 seconds as appropriate (example, only 30 new events, then load a new one every 2 seconds.      if only 10 new events, then load a new one every 10 seconds).

This will give us the best feel for both wow factor for the 1st minute, and reality factor that this is really a real time map of what is going on... both in slow times and fast ones.

[x] Also, Avoid duplicate event display...  for example. if we showed that RA viewed case Y22, then don't  show that very same event again.. at least not back to back.

In reality there may be a valid case event going on here.. but to the user... they will just think its broken and double counting...

Yes. I think this is right.

Live feed breaking if no issues present..

[ ] on first load grab back from as far as you need and fire those off.
[ ] on next load DONT clear those off, just append your next set from the fresh stuff.  if there is none.. sit tight.

@tabiodun    forgive me for re-opening this..     the only thing to confirm is that once the initial load of events is done, and you switch to the realtime events (even if there was zero events in the last few minutes) the existing list you just ran in at the beginning should not clear.    it should just always append the new stuff and keep pushing the list down.   From what I could test, at the end the list cleared.

[ ] dont clear the list after initial load.

Also, you probably know.. but when playing on live.. its like EVERYTHING compounded with each event and refreshed like crazy.. so much so, that all the pew's even drew at the same time in slow motion.  This may be related to the spamming of event data to the donut chart or other chart stuff... so crossing my fingers this magically goes away tonight if @BradenM  and @deepanchal  can fix that.


WIP: Fix jaas integration test

Description
Update how microk8s.config is provided to the tests to allow the TestAcc_ResourceKubernetesCloud to run.
Type of change

Github action updated

QA steps
In the Integration-JAAS action, TestAcc_ResourceKubernetesCloud should not fail due to lack of micrko8s config.

/merge

this work is getting picked up in #641


Consumer stops consuming messages and lag increase

Description

In our production environment, when the message production speed is much greater than the consumption speed, consumers will stop consuming every 3-4 days and the consumer offset will continue to rise. I did a test to simulate the impact of slow consumption and found that the consumer stopped consuming after 1-2 hours. In my test environment, because the production speed is very fast, the topic will delete expired files in about 1-2 hours.Then I checked kafka's log during this time and found that kafka was deleting files. I don’t know the impact of kafka deleting files on consumption. I would like to ask whether kafka will delete the corresponding data files during the consumer consumption process, and what impact will it have on sarama consumers?
Related issues: https://github.com/IBM/sarama/issues/2621
Versions

Sarama
Kafka
Go

v1.41.2
2.6.0
1.19

Configuration

kafkaConfigs:
  brokers:
    - "localhost:9092"
  group.id: default
  consumerConfig:
    auto.offset.reset: "latest"
  topicConfig:
    retention.ms: 1440000

Logs

In the attached file, kafka.txt is the log of kafka, stop_consumption_log.txt is the log of the test program, and then test_stop_consumption.go is the code of the test program.
logs: CLICK ME

Additional Context

stopconsumption.zip

I captured packets from kafka in the test environment and found that no fetch_reqeust was initiated for the abnormal topic origdata_log_http, but fetch_request was sent to other topics.

I think I have found the cause of the problem. I read the source code of sarama. When multiple shards of a topic return ErrOutofRange, the brokerConumer.subscriptions will eventually become empty, resulting in no more consumption of messages. It should be on the client Handle the OutOfRange error and restart the kafka consumer.

@PatrickZhao12 Can you link to the sarama code in question? Also, do you mean that sarama should handle the OutOfRange error? Or our code should handle it? Thx!

I think sarama should handle this OutOfRangeError, because for users, they don't know how to handle this error, but the final result is that consumers stop consuming. If the user sets Consumer.Offsets.Initial = OffsetNewest, then the sarama library should ensure that the latest messages are consumed, even if kakfa is deleting expired or exceeding disk space messages. Because this bug is very hidden, this problem can only be triggered when the consumption speed is much slower than the production speed and after consumption for a period of time. At least for me, this problem is difficult to troubleshoot.


consider map scaling

See Restaurants with A grades. Currently, all maps are 'internally scaled' - with mins and maxes that reflect that year's min and max.
RwAG has a clear trend over time of improvement. Scaling the min and max across years would let a time browse of the map communicate this more clearly.
Ideas:

Allow uploading user to set mins and maxes (drawbacks: requires manual intervention
Create additional metadata flag in indicators.json that tells the code to get mins and maxes for the measure across all years - and applies that
Allow uploading user to set the min and max from a specified year
Or - create another view that's designed to communicate change over time.

Preference is for an approach that doesn't require a lot of manual control over parameters, so that we don't create an application that has too much refined customization or can create a lot of messy edge cases.

Adding to #240 and closing till we decide to tackle.


[Task]: Investigate additional space being added to divider

theappsmith.slack.com/archives/C0293DVQACW/p1693246318677089?thread_ts=1693195050.352919&cid=C0293DVQACW

This estimate includes QA time


✨ 9.03 Support

Added offsets for FW 9.03. Gadgets are mostly found by @zecoxao.
I dedicate this one to our friend @903jailbreak 😂

I need testers btw

I’ll test here in a bit I have a PS4 Pro on 9.03

I would love to test this out but im on 9.04 xD

I need testers btw

I have a fat 9.03 I can test now

PPPwn903.zip
precompiled by me

@DJTOMATO here

I wanted to test it in 9.03, PS4 pro too Can anyone share the compiled files? I cannot compile on windows, neither on my rpi/arm

Am willing to test as well!

im on 10.50 :/

im on 11.50 :(

I have 10.00, if you need a tester for that one, I could try to help you.

im on 11.50 :(

you can leave...
not to be rude

[+] args: interface=eth0 fw=903 stage1=stage1/stage1.bin stage2=stage2/stage2.b
in

[+] STAGE 0: Initialization
[*] Waiting for PADI...
[+] pppoe_softc: 0xffffec1b077b4800
[+] Target MAC: 2c:cc:44:3d:xx:xx <= Double checked and it's ps4 pro MAC, so it finds it properly
[+] Source MAC: 07:48:7b:07:xx:xx
[+] AC cookie length: 0x4e0
[*] Sending PADO...
[*] Waiting for PADR...

CE-33984-7 Cannot obtain an ip adderss within the time limit

Maybe the next one will be 10.71? :)

how are you getting the offsets? and how are you getting them if you dont have a 9.03 ps4?

i got further

I get to the same place using the 10.01 offsets

UPDATE got it to here and froze my PS4

will continue brute forcing lol

Also got to the stage1
 and PS4 froze (9.03) firmware

@iMrDJAi Seems to continually get stuck at "Waiting for stage1 to resume..."
I've tried probably 50 times and this is as far as it gets
Hope this helps!!

what I've seen so far with my console (PS4 Fat)

7/10 times fails to find corrupted object
2/10 times gets stuck waiting for LCP configure object
1/10 times gets stuck waiting for stage 1 to resume after getting to stage 3 (causes ps4 to hard freeze, controllers to disconnect, and must be unplugged to reset)

from what I can determine, seems to be an offsets issue. wish I knew how to dump my kernel

The only thing that I haven't double check is the gadgets. I'm going to search for them again using https://github.com/JonathanSalwan/ROPgadget.

what are the gadgets?

offsets 10.00??

offsets 10.00??

nobody is working on them rn but that fw can be jailbroken

just a note here that the gadgets from 9.03 are identical to the ones on 9.04

Doesn't work my console this freeze

Just tested, works great

Please do the 10.70

Just tested, works great

what PS4 version do you have exactly,
can you please give the exact steps you did?

Just tested, works great

HOW?

I have B03 FAT PS4

you mean 9.03 right?

Yes 😂

what happens when you run the script

what happens when you run the script

what I've seen so far with my console (PS4 Fat)

7/10 times fails to find corrupted object
2/10 times gets stuck waiting for LCP configure object
1/10 times gets stuck waiting for stage 1 to resume after getting to stage 3 (causes ps4 to hard freeze, controllers to disconnect, and must be unplugged to reset)

Hey I want to test it out on my PS4 but I'm unsure how to, any help appreciated.

Also got to the stage1 a couple of times and PS4 froze (9.03 pro) firmware

Same for me using ps4 slim (9.03)

Need testers ^^^^^

Can you send me the decompile files I can't decompile them stage 1 and 2

Need testers ^^^^^

[+] STAGE 0: Initialization
[] Waiting for PADI...
[+] pppoe_softc: 0xffffb72d07e84a00
[+] Target MAC: 0c:fe:45:45:97:c1
[+] Source MAC: 07:4a:e8:07:2d:b7
[+] AC cookie length: 0x4e0
[] Sending PADO...
[] Waiting for PADR...
[] Sending PADS...
[] Sending LCP configure request...
[] Waiting for LCP configure ACK...
[] Waiting for LCP configure request...
[] Sending LCP configure ACK...
[] Sending IPCP configure request...
[] Waiting for IPCP configure ACK...
[] Waiting for IPCP configure request...
[] Sending IPCP configure NAK...
[] Waiting for IPCP configure request...
[] Sending IPCP configure ACK...
[*] Waiting for interface to be ready...
[+] Target IPv6: fe80::efe:45ff:fe45:97c1
[+] Heap grooming...done
[+] STAGE 1: Memory corruption
[+] Pinning to CPU 0...done
[] Sending malicious LCP configure request...
[] Waiting for LCP configure reject...
[] Sending LCP configure request...
[] Waiting for LCP configure ACK...
[] Waiting for LCP configure request...
[] Sending LCP configure ACK...
[] Sending IPCP configure request...
[] Waiting for IPCP configure ACK...
[] Waiting for IPCP configure request...
[] Sending IPCP configure NAK...
[] Waiting for IPCP configure request...
[] Sending IPCP configure ACK...
[+] Scanning for corrupted object...found fe80::092f:4141:4141:4141
[+] STAGE 2: KASLR defeat
[*] Defeating KASLR...
[+] pppoe_softc_list: 0xffffffffcf7f19f8
[+] kaslr_offset: 0x4b408000
[+] STAGE 3: Remote code execution
[] Sending LCP terminate request...
[] Waiting for PADI...
[+] pppoe_softc: 0xffffb72d07e84a00
[+] Target MAC: 0c:fe:45:45:97:c1
[+] Source MAC: 6f:e8:de:cd:ff:ff
[+] AC cookie length: 0x514
[] Sending PADO...
[] Waiting for PADR...
[] Sending PADS...
[] Triggering code execution...
[*] Waiting for stage1 to resume...
does not work for me it is completely buggy the console menus impossible to turn it off in part by unplugging the console

Can confirm this behaviour

I've got the same bug, console menu is buggy, no sound and after a while it crash.

POP_R8_POP_RBP_RET is cursed! Anyway...
People on 9.03/9.04 please test again. Sorry again.

POP_R8_POP_RBP_RET is cursed! Anyway...
People on 9.03/9.04 please test again. Sorry again.

Does not work when the console is completely turned off

@Bryan-De We got a new imposter in this case. Getting back to work...

First time it failed 2nd time system shut off, I’ll keep testing

@Bryan-De We got a new imposter in this case. Getting back to work...

should we decompile stage 1 and 2 with each new update?

can anyone precompile for 9.03?

I’ll be waiting :)

@Bryan-De We got a new imposter in this case. Getting back to work...

should we decompile stage 1 and 2 with each new update?

Every time a fix Is dropped I delete my old files and redo everything just to be safe, it take like 5 sec

Willing to test this,
I just need the steps apart from the ones listed in here: https://github.com/TheOfficialFloW/PPPwn

@Bryan-De We got a new imposter in this case. Getting back to work...

should we decompile stage 1 and 2 with each new update?

Every time a fix Is dropped I delete my old files and redo everything just to be safe, it take like 5 sec

windows or linux ???

@Bryan-De We got a new imposter in this case. Getting back to work...

should we decompile stage 1 and 2 with each new update?

Every time a fix Is dropped I delete my old files and redo everything just to be safe, it take like 5 sec

windows or linux ???

I am using Linux mint

ps4 slim 9.03
system shutoff, tried many times

@Bryan-De We got a new imposter in this case. Getting back to work...

should we decompile stage 1 and 2 with each new update?

Every time a fix Is dropped I delete my old files and redo everything just to be safe, it take like 5 sec

windows or linux ???

I am using Linux mint

I have an error

@Bryan-De We got a new imposter in this case. Getting back to work...

should we decompile stage 1 and 2 with each new update?

Every time a fix Is dropped I delete my old files and redo everything just to be safe, it take like 5 sec

windows or linux ???

I am using Linux mint

I have an error

seems ur freebds-headers are empty, freebsd-headers , u need them and it will work

@Bryan-De We got a new imposter in this case. Getting back to work...

should we decompile stage 1 and 2 with each new update?

Every time a fix Is dropped I delete my old files and redo everything just to be safe, it take like 5 sec

windows or linux ???

I am using Linux mint

I have an error

Make sure to follow the guide, I had this error and I just used the git command instead of downloading it and it fixed it.. git clone --recursive https://github.com/iMrDJAi/PPPwn.git

Also I have to type FW900 if I type FW903 it will say invalid firmware

ps4 slim 9.03
system shutoff, tried many times

Do a git pull and then do a gh Cl

ps4 slim 9.03
system shutoff, tried many times

Wrong reply lol

Willing to test this,
I just need the steps apart from the ones listed in here: https://github.com/TheOfficialFloW/PPPwn

Do git pull then gh cl this authors changes

Damn my system still crashing

Also I have to type FW900 if I type FW903 it will say invalid firmware

@dxcool222 What? this is wrong, you gotta type --fw=903.

Can anyone build the files please? I can't on my RPI (ARM64) and windows just won't work

ps4 slim (9.03) i got PPPwned too
Thanks and GN

Someone please upload the final compiled version,
As well as some steps on how to get to work

I've recompiled the files again but i still get stuck here
[+] Target MAC: 2c:cc:44:3d:xx
[+] Source MAC: 07:84:b2:28:xx
[+] AC cookie length: 0x4e0
[*] Sending PADO...
[*] Waiting for PADR...

I'm getting this:

While trying to run "make -C stage1 FW=903 clean && make -C stage1 FW=903"

I'm getting this:
While trying to run "make -C stage1 FW=903 clean && make -C stage1 FW=903"

Me too

I'm getting this:
While trying to run "make -C stage1 FW=903 clean && make -C stage1 FW=903"

Me too

You have to install the original from here: https://github.com/TheOfficialFloW/PPPwn
Right after installing, install gh (apt-get),
Then run these:
cd PPPwn
gh auth login
then follow the steps to login into your github account, you can use the browser, make sure to copy the login code before.
then run the following:
gh pr checkout 15
it should work normally after this, make sure to replace 1100 with 903 for all the remaining steps.

I am using a different USB adapter and now I get stuck here, no pop-up/notification.
What could it be?

Has anyone encountered their console freezing when the exploit reaches "Waiting for stage1 to resume..."?
(PS4 Fat)

Confirmed working on ps4 pro, 9.03
Works best when made on test internet connection AFTER setting up
"Ethernet 2" won't work as parameter when using a USB adapter, it's best to disable all other interfaces

Got it working on 9.04 after about 10 attempts

Got it working on 9.04 after about 10 attempts

Man that’s a lot of tries I wonder what the best stable firmware for this exploit, guess we will find out

It works on my 9.03 PS4 Pro. For me it worked 3 out of 4 attempts, i once get an error scanning for corrupted object.

work for me thanks for the job !

This version works with windows too or only linux?

@TheOfficialFloW Forgot to update README 💀

@TheOfficialFloW Forgot to update README 💀

yeah

Yeah

@kaz2700 are you on latest?

I've tested this to my fw9.04 PS4 and I can't make it display PPPwned.
Sometimes fails to find corrupted object,
sometimes gets stuck waiting for LCP configure object, and once in a while getting to stage 4 and crash the console when the stage2.bin is successfully injected.

it's normal that it fails to find the corrupted object on windows. it happens to me a lot as well, sometimes it finds it after 3 tries, sometimes after one try, sometimes after 10 or 20 tries.

it's normal that it fails to find the corrupted object on windows. it happens to me a lot as well, sometimes it finds it after 3 tries, sometimes after one try, sometimes after 10 or 20 tries.

But once it succeeded and proceed to stage 4 and sends payload to my PS4, my PS4 turns off

it's normal that it fails to find the corrupted object on windows. it happens to me a lot as well, sometimes it finds it after 3 tries, sometimes after one try, sometimes after 10 or 20 tries.

But once it succeeded and proceed to stage 4 and sends payload to my PS4, my PS4 turns off

compile stage1 and stage2 properly and you will have no issues


502 Bad Gateway

I am getting an issue that looks like issue #13 Bad Gateway. When I do 'docker-compose up -d'
The netbox-worker container exits with Exit 1. The error in logs says that the configuration file is not present. The netbox-worker log explicitly states that the Configuration file is not present.
docker-compose logs -f netbox-worker
Output of docker-compose logs -f netbox-worker
netbox-worker_1 | File "/opt/netbox/netbox/netbox/settings.py", line 14, in <module> netbox-worker_1 | "Configuration file is not present. Please define netbox/netbox/configuration.py per the documentation." netbox-worker_1 | django.core.exceptions.ImproperlyConfigured: Configuration file is not present. Please define netbox/netbox/configuration.py per the documentation. netboxdocker_netbox-worker_1 exited with code 1

I tried changing versions to 2.4.4 using an environmental variable but I ran into the same issue.
Debug Information
docker-compose version
[root@docker netbox-docker]# docker-compose version

docker-compose version 1.18.0, build 8dd22a9
docker-py version: 2.6.1
CPython version: 3.4.9
OpenSSL version: OpenSSL 1.0.2k-fips 26 Jan 2017

docker version
[root@docker netbox-docker]# docker version

Client:
Version: 1.13.1
API version: 1.26
Package version: docker-1.13.1-74.git6e3bb8e.el7.centos.x86_64
Go version: go1.9.4
Git commit: 6e3bb8e/1.13.1
Built: Tue Aug 21 15:23:37 2018
OS/Arch: linux/amd64
Server:
Version: 1.13.1
API version: 1.26 (minimum version 1.12)
Package version: docker-1.13.1-74.git6e3bb8e.el7.centos.x86_64
Go version: go1.9.4
Git commit: 6e3bb8e/1.13.1
Built: Tue Aug 21 15:23:37 2018
OS/Arch: linux/amd64
Experimental: false

git rev-parse HEAD
[root@docker netbox-docker]# git rev-parse HEAD

HEAD 968bb9f10fb6440cd319642037e71e0a678594a1

docker-compose up -d
[root@docker netbox-docker]# docker-compose up -d

netboxdocker_postgres_1 is up-to-date
netboxdocker_redis_1 is up-to-date
Starting netboxdocker_netbox-worker_1 ... done
netboxdocker_netbox_1 is up-to-date
netboxdocker_nginx_1 is up-to-date

docker-compose ps
[root@docker netbox-docker]# docker-compose ps

Name Command State Ports
netboxdocker_netbox- python3 /opt/netbox/netbox Exit 1
worker_1 ...
netboxdocker_netbox_1 /opt/netbox/docker-entrypo Up
...
netboxdocker_nginx_1 nginx -c /etc/netbox-nginx Up 80/tcp,
... <IP_ADDRESS>:32773->8080/tcp
netboxdocker_postgres_1 docker-entrypoint.sh Up 5432/tcp
postgres
netboxdocker_redis_1 docker-entrypoint.sh sh -c Up 6379/tcp

docker-compose logs -f nginx
[root@docker netbox-docker]# docker-compose logs -f nginx

Attaching to netboxdocker_nginx_1
nginx_1 | 2018/09/13 02:24:18 [notice] 1#1: using the "epoll" event method
nginx_1 | 2018/09/13 02:24:18 [notice] 1#1: nginx/1.15.3
nginx_1 | 2018/09/13 02:24:18 [notice] 1#1: built by gcc 6.4.0 (Alpine 6.4.0)
nginx_1 | 2018/09/13 02:24:18 [notice] 1#1: OS: Linux 3.10.0-862.11.6.el7.x86_64
nginx_1 | 2018/09/13 02:24:18 [notice] 1#1: getrlimit(RLIMIT_NOFILE): 1048576:1048576
nginx_1 | 2018/09/13 02:24:18 [notice] 1#1: start worker processes
nginx_1 | 2018/09/13 02:24:18 [notice] 1#1: start worker process 5
nginx_1 | 2018/09/13 02:48:10 [error] 5#5: *1 connect() failed (111: Connection refused) while connecting to upstream, client: <IP_ADDRESS>, server: , request: "GET / HTTP/1.1", upstream: "http://<IP_ADDRESS>:8001/", host: "<IP_ADDRESS>:32773"
nginx_1 | 2018/09/13 02:48:10 [error] 5#5: *1 connect() failed (111: Connection refused) while connecting to upstream, client: <IP_ADDRESS>, server: , request: "GET /favicon.ico HTTP/1.1", upstream: "http://<IP_ADDRESS>:8001/favicon.ico", host: "<IP_ADDRESS>:32773", referrer: "http://<IP_ADDRESS>:32773/"

Please format your issue so that it is readable.

Please post the output of docker-compose logs netbox.
If you don't have data you must preserve, please also try:
docker-compose down -v --remove-orphans
docker-compose pull
docker-compose up

docker-compose logs netbox.txt
Looks like it's just looping. Fails on
django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet.
I did the following, output is attached as well
docker-compose down -v --remove-orphans docker-compose pull docker-compose up
docker-compose- down -v.txt

Thank you for the full logs.
You seem to have a problem with your local setup. It's a very clear error in your logs:
PermissionError: [Errno 13] Permission denied: '/etc/netbox/config/configuration.py'

Are you perhaps on an old clone of this repo? Have you tried git pull?
Can you check if you disabled the mounts in docker-compose.yaml, i.e. on line:
https://github.com/ninech/netbox-docker/blob/master/docker-compose.yml#L17

You may also turn off all mounts from the host filesystem by commenting them out the following lines in the docker-compose.yml:
https://github.com/ninech/netbox-docker/blob/d8285b05f254163de9d883a63a3c102b072e1e89/docker-compose.yml#L15-L17


Unable to use multiple #load in CSX file

Using the latest dev build, create a folder, 3 CSX files and an empty project.json (to get OmniSharp to load).
File 1 - A.CSX
class ClassA{}

File 2 - B.CSX
class ClassB{}

File 3 - C.CSX
#load "A.CSX"
#load "B.CSX"
ClassA A = new ClassA();
ClassB B = new ClassB();

Intellisense shows that ClassA could not be found.

After swapping the #load around so that C.CSX looks like this (and restarting OmniSharp):
#load "B.CSX"
#load "A.CSX"
ClassA A = new ClassA();
ClassB B = new ClassB();

Intellisense would show that ClassB could not be found instead.

I am not able to figure out why this is happening. Is this behavior expected? Or am I doing something wrong?
Thanks!

thanks - will look into what's happening

when this is implemented https://github.com/OmniSharp/omnisharp-roslyn/pull/659#issuecomment-259746769, it should be fixed

fixed by github.com/OmniSharp/omnisharp-roslyn/pull/760


Remove type attributes from generated script and link tags as they aren't needed in HTML5

Would be nice if this could be configured, or was off by default.
Gotta save those bytes where we can :)

Any ideas why these are present again now? I'd like to get rid of them if possible.

They are there because I added them in 2.0.  It's not possible to remove them and I do not plan on adjusting the way that we do links anytime soon (if at all) because regardless of whether HTML5 supports them or not, I do not feel the need to mess with browsers that might be quirky for the sake of shaving a few negligible bytes.

It's not like HTML5 supports them or not, but the fact that those are the defaults in HTML5 and are the ones applied if they're absent, so they're redundant/not needed.
If you people are going to use any other doctype (which I doubt in almost 2017) they can just specify the attribute and that's it. It'd be really nice to be able to give people at least the option to make their code more optimal.

Would you accept a pull request for this?

@bomberstudios @intemperie I would, as long as it's configurable (even if it defaults to being off and not showing up.)

Awesome, will try to get something working next week 👍


Decouple /metrics endpoint from generic apiserver

Prometheus-adapter /metrics endpoint exposes metrics about the adapter health and these metrics are currently entirely coming from the generic apiserver implementation which installs the metrics handler on the same server as the one used to serve the metrics API to the apiserver.
This becomes problematic when we want to add authz/authn to metrics scraping since one would have to be authorized by the apiserver in order to access prometheus-adapter's server as well as having the permission to get the /metrics endpoint. Whereas if we were to decouple the /metrics endpoint from the generic API server, the scraper would only have to be authorized to scrape metrics in order to get prometheus-adapter metrics.
If we were to add authz/authn today without decoupling, we would have to add a kube-rbac-proxy in front of the /metrics and point the scraper to the proxy. It works fine when the request goes from the scraper to the proxy, but from the proxy to the /metrics endpoint, the proxy needs to forward the bearer token used by the apiserver in order to be authorized and this is not in the scope of kube-rbac-proxy which is expected to forward requests to applications without kubernetes awareness.
To decouple the /metrics endpoint from the generic apiserver, there is a field called EnableMetrics in the apiserver config to prevent it from creating a metrics handler. Then, we would need to bring our own registry and server to serve the metrics that we previously added by the apiserver.
FWIW, there was a similar effort in metrics server, and I would expect us to do something similar: https://github.com/kubernetes-sigs/metrics-server/pull/587.

cc @prashbnair

/assign prashbnair

/remove-lifecycle stale

To solve this issue we can set --authorization-always-allow-paths=/metrics to disable authorization on the metrics endpoint.


Error when attempting to update Do not show as Full Text available in CDI even if active in Alma

Updating the value for Do not show as full text in CDI even if active in Alma fails. Here's the error message:
ID<PHONE_NUMBER>0001701 could not be updated: Unrecognized field "is_suppressed_from_cdi" (class com.exlibris.alma.ws.jaxb.electroniccollection.ElectronicCollection), not marked as ignorable (44 known properties: "resource_metadata", "license", "alternative_title", "is_selective", "public_note", "number", "process_type", "group_setting", "interface_override", "language_override", "cdi_only_full_text_activation", "is_local", "language", "authentication_note", "id", "url_override", "public_name", "public_name_override", "portfolios", "creator", "category_override", "proxy", "description_override", "expected_activation_date", "type_override", "note", "po_line", "access_type", "activation_date", "interface", "internal_description", "library", "description", "category", "free_override", "counter_platform", "source", "do_not_show_as_full_text_available_in_cdi_even_if_active_in_alma", "free", "url", "proxy_enabled", "type", "cdi_search_activation_status", "link"]) at [Source: java.io.ByteArrayInputStream@657e01a; line: 1, column: 1122] (through reference chain: com.exlibris.alma.ws.jaxb.electroniccollection.Electronic
Stacie Traill (University of Minnesota)

Hi- thanks for you question. It looks like support for this field is brand new from the February 2021 release! So you can try it out now in your sandbox or in your production instance from February 8.
Let us know how it works for you.

Hi- thanks for you question. It looks like support for this field is brand new from the February 2021 release! So you can try it out now in your sandbox or in your production instance from February 8.
Let us know how it works for you.

Closing- please reopen if there's still an issue.


ipythonnotebook template gone?

The README joe ls example lists ipythonnotebook, but I'm not seeing it:
$ joe u && joe ls
Updating gitignore files..
183 supported .gitignore files:
actionscript, ada, agda, android, anjuta, ansible,
appceleratortitanium, appengine, archives, archlinuxpackages,
autotools, bazaar, bricxcc, c, c++, cakephp, calabash, cfwheels,
chefcookbook, clojure, cloud9, cmake, codeigniter, codekit,
commonlisp, composer, concrete5, coq, craftcms, cuda, cvs, d, dart,
darteditor, delphi, dm, dreamweaver, dropbox, drupal, eagle, eclipse,
eiffelstudio, elisp, elixir, elm, emacs, ensime, episerver, erlang,
espresso, expressionengine, extjs, fancy, finale, flexbuilder,
forcedotcom, fortran, fuelphp, gcov, gitbook, go, godot, gpg, gradle,
grails, gwt, haskell, idris, igorpro, java, jboss, jdeveloper, jekyll,
jenv, jetbrains, joomla, julia, kate, kdevelop4, kicad, kohana,
kotlin, labview, laravel, lazarus, leiningen, lemonstand, libreoffice,
lilypond, linux, lithium, lua, lyx, macos, magento, matlab, maven,
mercurial, mercury, metaprogrammingsystem, microsoftoffice, modelsim,
momentics, monodevelop, nanoc, netbeans, nim, ninja, node, notepadpp,
objective-c, ocaml, opa, opencart, oracleforms, otto, packer, perl,
phalcon, playframework, plone, prestashop, processing, purescript,
python, qooxdoo, qt, r, rails, redcar, redis, rhodesrhomobile, ros,
ruby, rust, sass, sbt, scala, scheme, scons, scrivener, sdcc, seamgen,
sketchup, slickedit, smalltalk, stata, stella, sublimetext, sugarcrm,
svn, swift, symfony, symphonycms, synopsysvcs, tags, terraform, tex,
textmate, textpattern, tortoisegit, turbogears2, typo3, umbraco,
unity, unrealengine, vagrant, vim, virtualenv, visualstudio,
visualstudiocode, vvvv, waf, webmethods, windows, wordpress, xcode,
xilinxise, xojo, yeoman, yii, zendframework, zephir

I thought it might have been replaced by, say, jupyter, but that doesn't seem to exist either.

fwiw, The latest https://github.com/github/gitignore has jupyternotebooks


deploy-ca.yaml not working

Hello,
The ansible script looks for files/certs/master-02.cnamts.dev.key but I have only files/certs/master-02.key.
We need to generate keys on files with fqdn name
failed: [master-02] (item=key) => changed=false
ansible_loop_var: item
item: key
msg: |-
Could not find or access 'files/certs/master-02.cnamts.dev.key'
Searched in:

@taabich thank you for your contribution to TDP!
In a fully open-source approach, all Issues/Pull Requests are fairly examined for integration.
Discussions are in progress in order to review this issue. We will reach out to you as soon as possible.
Thank you again for your contribution to TDP.

Hi,
The orginal of bug is:
In the file of python ansible_roles/collections/ansible_collections/tosit/tdp/plugins/filter/access_fqdn.py, The var access_fqdn is evaluted by inventory_hostname
Or
ansible_roles/collections/ansible_collections/tosit/tdp_extra/roles/ansible-ca/tasks/deploy-certs-to-hosts.yml
you use ansible_fqdn
The best way perhaps is evalute access_fqdn  to ansible_fqdn
Best regards

The problem is resolved by evaluting access_fqdn to ansible_fqdn


Support for semantic completion with Microsoft Python Language Server

Is it possible to use this LSP backend https://github.com/microsoft/python-language-server
instead of Palantirs?

Hey @tsoernes ,
Yes it is- see the instructions under https://www.tabnine.com/semantic
Do note that if you are using VSCode or Jetbrains' products you do not need to enable semantic completions and they make zero difference in the suggestions you get from Tabnine.

Does this look reasonable?
[language.python]
command =
"/home/torstein/doom-emacs/.local/etc/lsp/mspyls/Microsoft.Python.LanguageServer"

On Wed, Mar 31, 2021 at 9:54 AM Boaz Berman @.***>
wrote:

Hey @tsoernes https://github.com/tsoernes ,
Yes it is- see the instructions under https://www.tabnine.com/semantic
Do note that if you are using VSCode or Jetbrains' products you do not
need to enable semantic completions and they make zero difference in the
suggestions you get from Tabnine.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/codota/TabNine/issues/367#issuecomment-810821959, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABTX3RB5I6XMOMRNIVYEEEDTGLBLJANCNFSM42B3D4DA
.

I think so, not sure about how to run the Microsoft python language server.

How to check if  its working?
On Sun, Apr 4, 2021 at 4:32 PM Boaz Berman @.***> wrote:

I think so, not sure about how to run the Microsoft python language server.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/codota/TabNine/issues/367#issuecomment-813033846, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABTX3RDHVY73Y7V3I2M37WLTHBS7ZANCNFSM42B3D4DA
.


changing text

Hey there,
Thanks a lot for your great work!
Do you think you could make the text configurable for the next release?
It will help a lot for multilingual sites.
If you don't have time right now I will make a pull request in few days.
Thanks !

I will try to release a release with that implementation in record time.
Thanks a lot for your feedback

I hope the new release will fix your issue. Let me know if not

Perfect thanks!
On Tue, Jan 31, 2017 at 11:13 PM, Andrea SonnY<EMAIL_ADDRESS>wrote:

I hope the new release will fix your issue. Let me know if not
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/andreasonny83/angular2-cookie-law/issues/3#issuecomment-276510062,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABsFfN52WVuP7ivH2qAVIxqMIR2KmTTRks5rX7H5gaJpZM4Ly0vL
.

Let me know if you need more features or changes or just raise a pull request, that would be awesome. Thanks again


Adds content-type message header to support other content-types such HTML

Closes #112
Closes #250
I use http.DetectContentType(data []byte) method to
automatically detect the type from the message's body.
This seems to work pretty good, especially for simple cases as HTML.
I prefer this solution as it does not need any extra info from the client.
However the implementation can be tuned, to use a value provided by the client.
Also, this patch does not perform any changes regarding Content-Transfer-Encoding.

The build seems to have failing tests..However locally all tests pass..I will check again

Try running make unit-test and it will do a full test run of all packages.

@robdefeo, still no errors locally..

I can't make a change to your branch on my machine so had to do a couple of changes through the UI. The problem was that they lines were being terminated by a LF rather than an CRLF. There is a mode you can change in your editor, or you can copy the simple file and change everything except the final line ending. Take a look at the changes and build and tell me if you have any questions.

A quick note on why this is important, Mailchain uses a SHA3-256 hash of the message bytes to generate a secure hash which is stored on the blockchain. Even if the file looks visually the same a change in a single byte causes a completely different hash result. This is a a characteristic of the hash function make it more secure.

It seems that git changes crlf to lf automatically on my machine (linux).
I am trying to configure it.

Ok fixed! I have added a .gitattributes file with this *eml text eol=crlf.
That way we ensure that this won't happen again on .eml files regardless
which OS.


Docker-compose 'version is unsupported'

Attempting installation on new Ubuntu 18.04 image; installed docker and docker-compose, but failed to build.
ERROR: Version in "./docker-compose.yml" is unsupported. You might be seeing this error because you're using the wrong Compose file version. Either specify a supported version (e.g "2.2" or "3.3") and place your service definitions under the `services` key, or omit the `version` key and place your service definitions at the root of the file to use version 1.
For more on the Compose file format versions, see https://docs.docker.com/compose/compose-file/

Hi,
please upgrade docker-compose and docker on the machine you attempt to install AIDE.
You need at least:

docker version 18.06.0
docker-compose version 1.22.0

Jarek

Thank you, my docker-compose was 1.21 and installing fine with latest. Thank you!


Question: Any interest in putting together a premium version for sale on SugarKubes?

Hi @sloria , congrats on the traction! Would you be interested in putting together a premium version of this repo to sell on SugarKubes? It's a code and container marketplace I'm putting together.

No thank you, I have no interest in monetizing this project. Thanks anyway for reaching out.

no worries, thanks for the response. If you do have other projects in mind I'd love to hear about the use cases!