Exclude controllers methods from docs without using the Obsolete attribute #90

If i want to Individual Method in Controller instead of whole Controller Ignore what can I do?

Swashbuckle is built on top of WebApi's built-in metadata layer - ApiExplorer. If you decorate a controller or action with the following attribute:
[ApiExplorerSetttings(IgnoreApi=true)]
public class MyController : ApiController

then this will ultimately cause the entire controller or individual action to be omitted from the Swagger output

I have a scenario where I have a BaseController which each API inherits. I want to hide this BaseController. The moment I put the below line all controllers are hidden from the documentation.
[ApiExplorerSettings(IgnoreApi = true)] //Making sure this does not appear in the documentation
How do we handle this?

+1 for hiding just the BaseController.

+1 for ability to hide specific method

@Misiu 👍
Your solution works well! I just want to add that you need specify in SwaggerConfig class the following:
c.DocumentFilter<HideInDocsFilter>();

Hello,
This doesnt work for me.
apiDescription.Route.RouteTemplate
is always
api/{controller}/{id}
Therefore, it can not remove it. How do I fix it? I dont want to manually define a new routemap for each controller.
Thank you.

If it was possible to do the opposite from defaults - include only controllers that are decorated with specific attribute. If app has multiple controllers that are not needed in docs and only some that are needed.

@SlyNet
Take a look at the comment from Misiu:
https://github.com/domaindrivendev/Swashbuckle/issues/153#issuecomment-213342771
With a custom IDocumentFilter you can hide or show anything you want.

@SlyNet
Here is an example where we hide ALL and only leave some
        private class ApplyDocumentVendorExtensions : IDocumentFilter
        {
            public void Apply(SwaggerDocument swaggerDoc, SchemaRegistry schemaRegistry, IApiExplorer apiExplorer)
            {
                var paths = new Dictionary<string, PathItem>(swaggerDoc.paths);
                swaggerDoc.paths.Clear();
                foreach (var path in paths)
                {
                    if (path.Key.Contains("foo"))
                        swaggerDoc.paths.Add(path);
                }
            }
        }

For someone that comes across this and is using ODataControllers and not API Controller, I had to update the assigning of route as below.  This might also work for the problem @ahmettahasakar ran into.
var route = "/" + apiDescription.RelativePath.TrimEnd('/');

I did something a little different for OData.  The solution above was removing more than one method of the controller, often a GET and POST at the same time.  I adjusted this a bit so it'll work on the methods it's attached to.  If there is a more condensed version that someone can think of, that'll be great.
public class HideInSwaggerDocumentFilter : IDocumentFilter
    {
        public void Apply(SwaggerDocument swaggerDoc, SchemaRegistry schemaRegistry, IApiExplorer apiExplorer)
        {
            foreach (var apiDescription in apiExplorer.ApiDescriptions)
            {
                if (!apiDescription.ActionDescriptor.ControllerDescriptor.GetCustomAttributes<HideInSwaggerAttribute>().Any() && !apiDescription.ActionDescriptor.GetCustomAttributes<HideInSwaggerAttribute>().Any()) continue;
                var route = "/" + apiDescription.RelativePath.TrimEnd('/');

                if (apiDescription.ActionDescriptor.ActionName.ToLower() == "post")
                    swaggerDoc.paths[route].post = null;
                else if (apiDescription.ActionDescriptor.ActionName.ToLower() == "get")
                    swaggerDoc.paths[route].get = null;
                else if (apiDescription.ActionDescriptor.ActionName.ToLower() == "patch")
                    swaggerDoc.paths[route].patch = null;
                else if (apiDescription.ActionDescriptor.ActionName.ToLower() == "delete")
                    swaggerDoc.paths[route].delete = null;
                else
                    swaggerDoc.paths.Remove(route);
            }
        }
    }

@Cloudmersive Don't forget Swashbuckle is OpenSource!
Wanna make it less harder to use? create a fork send a pull request...
...you know, walk the walk or better yet code the code

Did you read the first response to this issue? What’s your problem with the ApiExplorerSettings attribute?

Might have missed the point that it can be added to individual actions @domaindrivendev ?

To hide a custom BaseController, you can make it abstract.
public abstract class BaseController : ApiController

@rvdb2 abstract class doesn't hide the an custom controller. I'm trying in Azure Service Fabric ASP.NET Core Stateless service.

@waqasdilawar I retried it using a new Web API project in VS2015, with 2 empty controllers: public abstract class CustomBaseController : ApiController, and public CustomController : CustomBaseController. CustomBaseController has one concrete method: public Get(int id), while CustomController is empty.
If I run the project in VS2015 (using IIS), CustomBaseController.Get is unaccessible and hidden in documentation, while the inherited CustomController.Get is accessible and visible.
If I make CustomBaseController non-abstract, its Get method becomes accessible and visible.
Hopefully this makes it reproducible for you.

@Misiu 👍
Your solution works well! I just want to add that i had to change your code from:

var route = "/" + apiDescription.Route.RouteTemplate.TrimEnd('/');
to
var route = "/" + apiDescription.RelativePath.TrimEnd('/');

otherwise RouteTemplate is always

api/{controller}/{id}

Here is a sample ShowInSwagger implementation:
using System.Web.Http;
using Swashbuckle.Application;
using System;
using System.Reflection;
using System.IO;
using System.Linq;
using Swashbuckle.Swagger;
using System.Web.Http.Description;
using System.Collections.Generic;
public class SwaggerConfig
{
	public static void Register(HttpConfiguration config)
	{
		config.EnableSwagger(c =>
			{
				c.DocumentFilter<ShowInSwaggerAttributeFilter>();
				c.SingleApiVersion("v1", "MyName");
				var baseDirectory = AppDomain.CurrentDomain.BaseDirectory;
				var commentsFileName = Assembly.GetExecutingAssembly().GetName().Name + ".XML";
				var commentsFile = Path.Combine(baseDirectory, "bin", commentsFileName);
				c.IncludeXmlComments(commentsFile);
			})
		.EnableSwaggerUi(c =>
		{
			c.DisableValidator();
		});
	}
}

[AttributeUsage(AttributeTargets.Method | AttributeTargets.Class)]
public class ShowInSwaggerAttribute : Attribute
{
}

////https://github.com/domaindrivendev/Swashbuckle/issues/153
public class ShowInSwaggerAttributeFilter : IDocumentFilter
{
	public void Apply(SwaggerDocument swaggerDoc, SchemaRegistry schemaRegistry, IApiExplorer apiExplorer)
	{
		var filteredApis = apiExplorer.ApiDescriptions.Where(a => a.GetControllerAndActionAttributes<ShowInSwaggerAttribute>().Any());

		var paths = new Dictionary<string, PathItem>(swaggerDoc.paths);

		swaggerDoc.paths.Clear();

		foreach (var apiDescription in filteredApis)
		{
			var route = "/" + apiDescription.RelativePathSansQueryString();
			if (paths.Any(p => p.Key == route))
			{
				var path = paths.FirstOrDefault(p => p.Key == route);
				swaggerDoc.paths.Add(path);
			}
		}
	}
}

To use just add the [ShowInSwagger] attribute to the controller class or method.

Improvement to take verb (GET/POST/etc) into consideration:
`    ///
/// Filter out hidden routes
///
public class HideInDocsFilter : IDocumentFilter
{
public void Apply(OpenApiDocument swaggerDoc, DocumentFilterContext context)
{
foreach (var contextApiDescription in context.ApiDescriptions)
{
var actionDescriptor = (ControllerActionDescriptor)contextApiDescription.ActionDescriptor;
            if (actionDescriptor.ControllerTypeInfo.GetCustomAttributes(typeof(HideInSwaggerAttribute), true).Any() ||
                actionDescriptor.MethodInfo.GetCustomAttributes(typeof(HideInSwaggerAttribute), true).Any())
            {
                var key = "/" + contextApiDescription.RelativePath.TrimEnd('/');

                var operation = (OperationType)Enum.Parse(typeof(OperationType), contextApiDescription.HttpMethod, true);

                swaggerDoc.Paths[key].Operations.Remove(operation);

                // drop the entire route of there are no operations left
                if (!swaggerDoc.Paths[key].Operations.Any())
                {
                    swaggerDoc.Paths.Remove(key);
                }
            }
        }
    }
}`

Use  @ApiExcludeEndpoint(true) for NestJS

I have a scenario where I have a BaseController which each API inherits. I want to hide this BaseController. The moment I put the below line all controllers are hidden from the documentation.
[ApiExplorerSettings(IgnoreApi = true)] //Making sure this does not appear in the documentation
How do we handle this?

I had the same issue.  Set your BaseController access modifier to "Protected" instead of "Public".  This will hide the Controller showing up in Swagger.  It worked for me.

I had similar issue, where i want to show only 1 controller in documentation out of 80+ Controller with 400+ action methods.
my approach is to keep  [ApiExplorerSettings(IgnoreApi = true)] on my "ApiBaseController : ApiController" which inherit by all Controllers and then keep [ApiExplorerSettings(IgnoreApi = false)] to that single controller which i want to show in documentation.
Hope this work for you.

You can add the following attribute to Controllers and Actions to exclude them from the generated documentation:
[ApiExplorerSettings(IgnoreApi = true)]


Update due to an error during the npm install

Error in terminal:
npm WARN retry will retry, error on last attempt: Error: fetch failed with status code 404
npm ERR! fetch failed https://github.com/cloudhead/less.js/tarball/1.5.0-wip

:+1:


[vm] Fix complex DenseElementsAttr serialization

DenseElementsAttr with complex type elements are encoded like vector<2xfN>. We should be able to directly use the raw data.
Also need to be careful when calling getElementTypeBitWidth(): it requires the precondition of integer or floating-point element types.
Progress towards https://github.com/openxla/iree/issues/13784

@benvanik: I couldn't find which file to add a test for this? Any pointers?


Release workflow fails but no P1 is opened

https://github.com/pulumi/pulumi-aws/actions/runs/7851401108 it seems that the intent to release AWS didn't work because the release workflow failed. However no P1 was opened.

I believe the root cause of this is fixed in https://github.com/pulumi/home/pull/3355


Are there any ways to get all connected gamepads?

Yeah, the following program will make a Vec of all connected gamepads, and print out their names and ids:
use pasts::prelude::*;
use stick::{Event, Gamepad, Port};

async fn event_loop() {
    let mut port = Port::new();
    let mut gamepads = Vec::<Gamepad>::new();
    'e: loop {
        match port.fut().await {
            (_, Event::Connect(gamepad)) => {
                println!(
                    "Connected p{}, id: {:X}, name: {}",
                    gamepads.len() + 1,
                    gamepad.id(),
                    gamepad.name(),
                );
                gamepads.push(*gamepad);
            }
           _ => {}
        }
    }
}

fn main() {
    pasts::ThreadInterrupt::block_on(event_loop())
}

Is that what you were looking for?  I suppose one thing this can't do, is break out of the loop after all gamepads have been added to the Vec.  Do you think that would be a useful feature?

It's weird, but stick can't find my DirectInput gamepad

stick looks in /dev/input/by-id/ for files ending in "-event-joystick".  When I plug in an XBox controller the following files appear:

/dev/input/event15
/dev/input/js0
/dev/input/by-id/usb-Performance_Designed_Products_Wired_Controller_for_Xbox_360_069CAAEF-event-joystick
/dev/input/by-id/usb-Performance_Designed_Products_Wired_Controller_for_Xbox_360_069CAAEF-joystick
/dev/input/by-path/pci-0000:00:14.0-usb-0:2.1:1.0-event-joystick
/dev/input/by-path/pci-0000:00:14.0-usb-0:2.1:1.0-joystick

Other people have reported stick not being able to see their controller, so I'd like to fix it.  I think the most useful thing for me to fix it would be an ls of /dev/input, /dev/input/by-id and /dev/input/by-path before and after plugging in your DirectInput gamepad.

@AldaronLau  Hi, thanks for late reply! My OS is Windows, not a Linux one.

It can't find both of DInput(Maxfire Grandias 12V) and XInput(X360 controller)

@DuckerMan stick doesn't support Windows yet, but I already made an issue for it: https://github.com/libcala/stick/issues/1!  The reason it compiles is because it's using a "dummy" implementation that does nothing.  Hopefully, I can get it working soon!  Closing, unless you think it should be open for another reason.

Thank you!


How to obtain the material and texture maps

Thanks for your excellent work on this project. I have been exploring your implementation and successfully got it running. However, I am a bit unclear about one particular aspect:
Are there any specific configurations or scripts I should focus on to extract the texture and material map?
Thank you in advance for your help! I look forward to your guidance.

@angieAAAAA may I ask how did you resolve it?

I noticed that lines 194-201 in the render.py mentioned the BRDF-map, and I found a BRDF image in the output folder, which is a combination of the albedo, roughness, and metallic maps.


Document all locations that variable substitution is available

Changes
Fixes #2605 , adding a table to docs/variables.md with locations in our CRDs where variables will be successfully interpolated into.
Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:

[n/a] Includes tests (if functionality changed/added)
[Y] Includes docs (if user facing)
[Y] Commit messages follow commit message best practices
[Y, deleted ] Release notes block has been filled in or deleted (only if no user facing changes)

See the contribution guide for more details.
Double check this list of stuff that's easy to miss:

If you are adding a new binary/image to the cmd dir, please update
the release Task to build and release this image.

Reviewer Notes
If API changes are included, additive changes must be approved by at least two OWNERS and backwards incompatible changes must be approved by more than 50% of the OWNERS, and they must first be added in a backwards compatible way.

/kind documentation

/release-note-none

@psschwei please squash three commits into one 🙏

/test pull-tekton-pipeline-unit-tests

Oh, also, do you plan to include Pipeline locations in this PR as well?  Or prefer to merge as-is and tackle Pipeline locations separately?

This is a very useful improvement, thank you! I think this just needs to have commits squashed into 1 and then I'll approve.

Thanks for the great review! Made it really easy for me. :)

Oh, also, do you plan to include Pipeline locations in this PR as well? Or prefer to merge as-is and tackle Pipeline locations separately?

I was planning to do them both in the same PR, but I can split them up if that's easier. Let me know which you'd prefer.

I was planning to do them both in the same PR, but I can split them up if that's easier. Let me know which you'd prefer.

Together in the same PR would be great.

Together in the same PR would be great.

Will get the pipeline subs in later this week. Sorry for the delay in completing this!

/assign @pritidesai

/lgtm
Fantastic, thanks for taking this on.


Garm v4 without v1beta1 not supported

Description
on Garm v4.0.0, v1beta1 is no longer supported.
Type of change

[ ] Bug fix
[ ] New feature
[ ] Refactoring (no functional changes, no api changes)
[ ] Non-code changes (update documentation, pipeline, etc.)

Flags

[X] Breaks backward compatibility
[ ] Requires a documentation update
[ ] Has untestable code

Related issue/PR
Delete this section if there are no issues or pull requests that relate to this pull request.

Fixes #issue
Closes #PR

Checklist

[ ] Followed the guidelines in the CONTRIBUTING document
[ ] Added prefix [skip ci]/[ci skip]/[no ci]/[skip actions]/[actions skip] in the PR title if necessary
[ ] Tested and linted the code
[ ] Commented the code
[ ] Made corresponding changes to the documentation
[ ] Passed all pipeline checking

Checklist for maintainer

[ ] Use Squash and merge
[ ] Double-confirm the merge message has prefix [skip ci]/[ci skip]/[no ci]/[skip actions]/[actions skip]
[ ] Delete the branch after merge

No TODOs found


Typed GDScript doesn't infer the type of function parameters with a default value

Godot version:

Godot master https://github.com/godotengine/godot/commit/4b549faaab40f09756b644d4ad4d9d63e3b5e70c
OS/device including version:

Windows 10
Issue description:

Didn't add this one, but it could be added.


How to enage 3D rotation in Tellurium Notebook

In Tellurium IDE it is possible to display 3D graphs and rotate them using the mouse. The 3D graphs in Tellurium Notebook appear to be static.
Can Tellurium Notebook support interactive 3d graphs?
Code below will draw two 3D graphs.

It looks like you may have forgotten to attach the code snippet you mentioned. If the graphs are drawn via Plotly, they will be interactive & rotatable. If they're drawn via matplotlib, they will be static images. I need to add a utility function for 3d plotting.

How do I plot via plotly? Does this mean I have to use different code in
the notebook and ide to plot?
Here is the script:
import tellurium as te
import roadrunner
from mpl_toolkits.mplot3d import Axes3D
import numpy as np
import matplotlib.pyplot as plt
def plotConcentrationControlIn3D (r, upperLimit=1, lowerLimit=-1):
import matplotlib.colors as colors
import matplotlib.pyplot as plt
import matplotlib.cm as cm
fig = plt.figure()
ax = fig.add_subplot(111, projection='3d')

hist = r.getScaledConcentrationControlCoefficientMatrix()

xedges = np.arange (float (hist.shape[0]) + 1)
yedges = np.arange (float (hist.shape[1]) + 1)

# Construct arrays for the anchor positions
# Note: np.meshgrid gives arrays in (ny, nx) so we use 'F' to flatten

xpos,
# ypos in column-major order. For numpy >= 1.7, we could instead call
meshgrid
# with indexing='ij'.
xpos, ypos = np.meshgrid(xedges[:-1] + 0.25, yedges[:-1] + 0.25)
xpos = xpos.flatten('F')
ypos = ypos.flatten('F')
zpos = np.zeros_like(xpos)
# Construct arrays with the dimensions for the 16 bars.
dx = 0.5 * np.ones_like(zpos)
dy = dx.copy()
dz = hist.flatten()

offset = dz + np.abs(dz.min())
fracs = offset.astype(float)/offset.max()
norm = colors.Normalize(fracs.min(), fracs.max())
colors = cm.YlOrRd (norm(fracs))

ax.set_zlim3d(lowerLimit, upperLimit)
ax.set_zlabel('Control Coefficient')
ax.set_xlabel('Species')
ax.set_ylabel('Enzymes')
ax.w_xaxis.set_ticks(np.arange (float (hist.shape[0]) + 1))
ax.w_xaxis.set_ticklabels(r.getFloatingSpeciesIds())
ax.w_yaxis.set_ticks(np.arange (float (hist.shape[1]) + 1))
ax.w_yaxis.set_ticks(ypos + dy/2.)
ax.w_yaxis.set_ticklabels(r.getReactionIds())

ax.bar3d (xpos, ypos, zpos, dx, dy, dz, color=colors, zsort='average')

def plotFluxControlIn3D (r, upperLimit=1, lowerLimit=-1):
import matplotlib.cm as cm
import matplotlib.colors as colors
fig = plt.figure()
ax = fig.add_subplot(111, projection='3d')

hist = r.getScaledFluxControlCoefficientMatrix()

xedges = np.arange (float (hist.shape[0]) + 1)
yedges = np.arange (float (hist.shape[1]) + 1)

# Construct arrays for the anchor positions
# Note: np.meshgrid gives arrays in (ny, nx) so we use 'F' to flatten

xpos,
# ypos in column-major order. For numpy >= 1.7, we could instead call
meshgrid
# with indexing='ij'.
xpos, ypos = np.meshgrid(xedges[:-1] + 0.25, yedges[:-1] + 0.25)
xpos = xpos.flatten('F')
ypos = ypos.flatten('F')
zpos = np.zeros_like(xpos)
# Construct arrays with the dimensions for the 16 bars.
dx = 0.5 * np.ones_like(zpos)
dy = dx.copy()
dz = hist.flatten()

offset = dz + np.abs(dz.min())
fracs = offset.astype(float)/offset.max()
norm = colors.Normalize(fracs.min(), fracs.max())
colors = cm.YlOrRd (norm(fracs))

ax.set_zlim3d(lowerLimit, upperLimit)
ax.set_zlabel('Control Coefficient')
ax.set_xlabel('Fluxes')
ax.set_ylabel('Enzymes')
ax.w_xaxis.set_ticks(np.arange (float (hist.shape[0]) + 1))
ax.w_xaxis.set_ticklabels(r.getReactionIds())
ax.w_yaxis.set_ticks(np.arange (float (hist.shape[1]) + 1))
ax.w_yaxis.set_ticks(ypos + dy/2.)
ax.w_yaxis.set_ticklabels(r.getReactionIds())

ax.bar3d (xpos, ypos, zpos, dx, dy, dz, color=colors, zsort='average')

def plotFloatingSpecies (r, width=12, height=6):
import matplotlib.pyplot as plt
xlabels = r.getFloatingSpeciesIds()
concs = r.getFloatingSpeciesConcentrations()
plt.figure(figsize=(width,height))
plt.bar(xlabels, concs, label=xlabels)
plt.xticks(range (len (xlabels)), xlabels,  ha='right', rotation=45)

r = te.loada("""
$Xo -> S1; k1Xo - k11S1;
S1 -> S2;  k2S1 - k22S2;
S2 -> S3;  k3S2 - k33S3;
S3 -> S4;  k3S3 - k44S4;
S4 -> S5;  k4S4 - k44S5;
S5 -> S6;  k5S5 - k55S6;
S6 -> S7;  k4S6 - k44S7;
S7 -> S8;  k3S7 - k33S8;
S8 -> ;    k4*S8;
  k1 = 0.3; k11 = 0.26;
  k2 = 0.5; k22 = 0.41;
  k3 = 0.27; k33 = 0.12;
  k4 = 0.9; k44 = 0.56
  k5 = 0.14; k55 = 0.02
  Xo = 10;

""")
r.steadyState()
#plotFloatingSpecies (r, width=6,height=3)
plotConcentrationControlIn3D (r)
plotFluxControlIn3D (r, lowerLimit=0)
Herbert
On Sun, Oct 22, 2017 at 9:37 PM, Kyle Medley<EMAIL_ADDRESS>wrote:

It looks like you may have forgotten to attach the code snippet you
mentioned. If the graphs are drawn via Plotly, they will be interactive &
rotatable. If they're drawn via matplotlib, they will be static images. I
need to add a utility function for 3d plotting.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/sys-bio/tellurium/issues/275#issuecomment-338545900,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABAZDrSym4CX_dqUDPsg2uweEYasmPCfks5svBgmgaJpZM4QBUES
.


Fixed ValidationError: 2 validation errors for StructuredRefineResponse answer

Bug Description
While using response synthesizer in below way -:
response_synthesizer = get_response_synthesizer(service_context=service_context, refine_template=DEFAULT_REFINE_PROMPT, structured_answer_filtering=True, use_async=True, verbose=True)
where I am passing structured_answer_filtering=True I am getting below error for few queries for others it works -:
ValidationError: 2 validation errors for StructuredRefineResponse answer field required (type=value_error.missing) query_satisfied field required (type=value_error.missing)
it gets answer from few nodes but in later chunks it is not getting required field like query satisfied, so we should have flag, when this error comes whatever response has been generated that should be given, because it is failing due to some reason in after few nodes traversing, ideally it should have found at least some context.
I am not much aware about the behind the scene functionality of structured_answer_filtering param, but keeping it True gives meaningful response for few queries for others the error is given.
And if I do not use this the answer which I get is not meaningful, so need to see if there is a fix I can do to it.
Steps to Reproduce
Pass structured_answer_filtering param as True, and for few queries where data retrieved is large than this issue occurs since it stops in between, and some required params which pydantic is expecting like query_satisfied is not given.
Relevant Logs/Tracbacks
File "pydantic/main.py", line 549, in pydantic.main.BaseModel.parse_raw
File "pydantic/main.py", line 526, in pydantic.main.BaseModel.parse_obj
File "pydantic/main.py", line 341, in pydantic.main.BaseModel.init
pydantic.error_wrappers.ValidationError: 2 validation errors for StructuredRefineResponse
answer
field required (type=value_error.missing)
query_satisfied
field required (type=value_error.missing)
Open issue -: https://github.com/jerryjliu/llama_index/issues/7521

Detailed reasoning is also present in issue open -: https://github.com/jerryjliu/llama_index/issues/7521

Thanks @Shubham-Jain-09 !


Add type support

Adds type support through the type attribute, which just gets passed to
reCaptcha.  Possible values are 'audio' and 'image' (per reCaptcha
docs). README was also update to show this attribute.

Thanks @TheSharpieOne!! You're on :fire: today :smile:

I figure I owe @xaprb


remove pom.xml's

once the showcase build works

removed all pom.xml files
modified build.gradle in wicked-charts-showcase-wicket7
modified build.gradle in showcase(parent)

wicked-charts-showcase-wicket7 now runs using Spring Boot.
To build and run the showcase:
gradlew.bat build wicked-charts-showcase-wicket7:bootRun


[relay][frontend] Return module from frontend parsers

#3346
This PR returns Module instead of Expr from the frontend converters because:

As we move to pass manager the optimizations should usually be Module to Module
If the converters need to work on modules, i.e. containing more than one functions, returning Expr could be error-prone. Or we should really return a function with closures. Returning module should be more convenient.

Necessary changes are made in various executors to take both module and expr.
Covered converters:

[x] TensorFlow

[x] TFLite

[x] Keras

[x] Caffe2

[x] MXNet

[x] Darknet

[x] CoreML

[x] ONNX

cc @icemelon9 @jroesch @wweic @tqchen @yongwww @yzhliu, plz review.

please rebase against the current master

@zhiics please rebase against the latest master

Thanks, @jroesch @zhiics @icemelon9 , this PR is now merged


use monkeypatch fixture to set app config servername

@RonnyPfannschmidt, as I understand your issue related to live_server fixture, right?


Automated cherry pick of #4809: sku domain filter bugfix

Cherry pick of #4809 on release/2.14.
#4809: sku domain filter bugfix

Codecov Report

:exclamation: No coverage uploaded for pull request base (release/2.14@c138c60). Click here to learn what that means.
The diff coverage is 0%.

@@              Coverage Diff               @@
##             release/2.14   #4811   +/-   ##
==============================================
  Coverage                ?   6.86%
==============================================
  Files                   ?     523
  Lines                   ?   89173
  Branches                ?       0
==============================================
  Hits                    ?    6119
  Misses                  ?   82546
  Partials                ?     508

Flag
Coverage Δ

#aFlag
6.86% <0%> (?)

Impacted Files
Coverage Δ

pkg/compute/models/dbinstance_skus.go
3.34% <0%> (ø)

pkg/compute/models/skus.go
1.22% <0%> (ø)

pkg/compute/models/elasticcache_skus.go
3.9% <0%> (ø)

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 c138c60...5a1fc8e. Read the comment docs.

/lgtm

/approve

/approve


have a clear folders layout

As a new comer to this project I failed to find the logic behind the folders layout, which makes it harder to contribute.
If there is a logic - let's document it and publish it in README.
Else -  I suggest finding a good standard layout, ie:
.
+-- [src]
+-- [test]
|   +-- [unit]
|   +-- [integration]
|   +-- [scripts] (?)
+-- [libs] / [includes]
+-- [examples]

And reorder the project accordingly

Yeah, this has somewhat grown organically and gone through a few phases.
The latest thinking, I think, is to use src and test and to use language at the top level src/java or src/scala and then standard naming of path based on package.
It would be fine to do the moves to standardize that if you are interested.

I see there is actually a suggested layout in bazel docs:
https://bazel.build/versions/master/docs/skylark/deploying.html#what-a-rule-repository-should-contain

It does not mention where to put non-skylark code that supports the rules,
which at this point is the bulk of our code.
On Wed, Mar 8, 2017 at 00:29 Or Shachar<EMAIL_ADDRESS>wrote:

I see there is actually a suggested layout in bazel docs:
https://bazel.build/versions/master/docs/skylark/deploying.html#what-a-rule-repository-should-contain
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/bazelbuild/rules_scala/issues/160#issuecomment-285005091,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAEJds8HdMKNVdKB95rlq551-DX7VAOzks5rjoMKgaJpZM4MTbDG
.


[serving] IPC framework between cpp and python

Goal
To provide a framework for calling python method in user custom scripts. Python code is executed in a separate process rather than embeded in cpp process. The CPython interpreters are run on a per-thread basis to avoid GIL contention.
Design

Control plane via gRPC and unix domain socket between cpp and python;
Data plane via either gRPC for small data and shared memory for large data;
Model packaged with customized python venv and user scripts;
For each cpp compute thread, run a CPython interpreter process with user entry script;
Provide an async iterator style interface for python.

Superseded by #94


CPU inference under 8gb(Q4/Q8).

@vikhyat, Hi, I'm trying to run moondream-2 on a raspberry PI5 for our robotics team, but CPU currently takes fp32, which sends ram usage to 9.1g (testing on kaggle), and we would max out at 7.5G, 500mb being used overall to run, and prefer to keep some space 6-7G and below. a Q4/Q8 version, which you mention on another issue #54 , even if low accuracy, would be great to use. Any instructions on running it/good quants?

You can load it in low precision by installing bitsandbytes and passing load_in_4bit=True when instantiating the model - this uses the quantization support built into the transformers library. But it's inaccurate enough that I don't really think it's useful. Working on getting better quantization going.


[WIP] Launch mojibar at startup

:wave:  @muan!
This is an experimental attempt to make mojibar start up automatically after a system restart using auto-launch. I followed the basic setup instructions and it is indeed launching at startup, but instead of seeing the mojibar icon in the menubar, I see the vanilla electron window:

Maybe one of the auto-launch maintainers like @4ver or @adam-lynch can help us figure it out?

Update! It did actually work.
What's happening is that the electron app is registering itself when I run npm run app, and the mojibar app is registering itself when I npm run build && open Mojibar-darwin-x64/Mojibar.app

The question now is, how do we update the auto-launch code to only run in the built version of the app, and not the development version?

Maybe this would work: https://github.com/atom/electron/issues/4945

@zeke yep, I'd check the app name.

@muan I got this working so it only sets up auto-launch for the packaged app, and not the development app
If you think this is a feature you'd like added, let me know and I can work on adding a checkbox for enabling it here:

If you think this is a feature you'd like added, let me know and I can work on adding a checkbox for enabling it here:

:wave: sorry about the late response Zeke. I'd love to add this. :heart:
Just to clarify, is a checkbox in the app all that's necessary? would the user not need to go in and check a box in the system settings?

Hey @muan! I'm on paternity leave so I might not get back to this for a bit, but I will eventually. Here's Cosmos (wearing a GitHub shirt) and his new little brother Rowan: https://cloudup.com/cal71msQfOw

is a checkbox in the app all that's necessary? would the user not need to go in and check a box in the system settings?

Correct. A checkbox in the app is all that's required!

@zeke interested in finishing this? :star::heart:

Yes! Revived the branch this evening. Should be ready soon.

This is ready! The option is disabled by default.

@muan what do you think? Good to go?

Thanks @zeke! sorry for the delay.

🎉


Update docs to install 2.2 version

I signed it!

The best way is not to specify version at all, so the latest could be installed.

Hi @siburny 👋
Thanks for the suggestion and maybe it is superfluous but we want to have the context there that it is not versions 1 or 3.

I should've been more clear why I proposed this change. If you run the exact command from the docs
composer require google/apiclient:^2.0

composer will install version 2.0.0. However, the latest one is 2.2.2 (at the moment).
If you prefer not to specify the minor (.x) version in the docs, then we should use the following:
composer require google/apiclient:2.*

My php and composer versions
c:\Downloads\>php -v
PHP 7.2.8 (cli) (built: Jul 18 2018 10:03:02) ( NTS MSVC15 (Visual C++ 2017) x64 )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
    with Xdebug v2.7.0alpha1, Copyright (c) 2002-2018, by Derick Rethans

c:\Downloads\>composer -V
Composer version 1.7.1 2018-08-07 09:39:23

Just so we are on the same page what does the following output?
mkdir testdir
cd testdir
..\composer require google/apiclient:^2.0
..\composer show

Of course. Here is the output on my dev machine:
c:\Downloads\testdir>composer require google/apiclient:^2.0
./composer.json has been created
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 12 installs, 0 updates, 0 removals
  - Installing psr/http-message (1.0.1): Loading from cache
  - Installing guzzlehttp/psr7 (1.2.3): Loading from cache
  - Installing guzzlehttp/promises (v1.3.1): Loading from cache
  - Installing guzzlehttp/guzzle (6.2.0): Loading from cache
  - Installing phpseclib/phpseclib (2.0.11): Loading from cache
  - Installing psr/log (1.0.2): Loading from cache
  - Installing monolog/monolog (1.23.0): Loading from cache
  - Installing firebase/php-jwt (v3.0.0): Loading from cache
  - Installing google/apiclient-services (v0.64): Loading from cache
  - Installing psr/cache (1.0.1): Loading from cache
  - Installing google/auth (v0.8): Loading from cache
  - Installing google/apiclient (v2.0.0): Loading from cache
phpseclib/phpseclib suggests installing ext-libsodium (SSH2/SFTP can make use of some algorithms provided by the libsodium-php extension.)
phpseclib/phpseclib suggests installing ext-mcrypt (Install the Mcrypt extension in order to speed up a few other cryptographic operations.)
phpseclib/phpseclib suggests installing ext-gmp (Install the GMP (GNU Multiple Precision) extension in order to speed up arbitrary precision integer arithmetic operations.)
monolog/monolog suggests installing aws/aws-sdk-php (Allow sending log messages to AWS services like DynamoDB)
monolog/monolog suggests installing doctrine/couchdb (Allow sending log messages to a CouchDB server)
monolog/monolog suggests installing ext-amqp (Allow sending log messages to an AMQP server (1.0+ required))
monolog/monolog suggests installing ext-mongo (Allow sending log messages to a MongoDB server)
monolog/monolog suggests installing graylog2/gelf-php (Allow sending log messages to a GrayLog2 server)
monolog/monolog suggests installing mongodb/mongodb (Allow sending log messages to a MongoDB server via PHP Driver)
monolog/monolog suggests installing php-amqplib/php-amqplib (Allow sending log messages to an AMQP server using php-amqplib)
monolog/monolog suggests installing php-console/php-console (Allow sending log messages to Google Chrome)
monolog/monolog suggests installing rollbar/rollbar (Allow sending log messages to Rollbar)
monolog/monolog suggests installing ruflin/elastica (Allow sending log messages to an Elastic Search server)
monolog/monolog suggests installing sentry/sentry (Allow sending log messages to a Sentry server)
google/apiclient suggests installing tedivm/stash (For caching certs and tokens (using Google_Client::setCache))
Writing lock file
Generating autoload files

c:\Downloads\testdir>composer show
firebase/php-jwt          v3.0.0 A simple library to encode and decode JSON Web Tokens (JWT) in PHP. Should confor...
google/apiclient          v2.0.0 Client library for Google APIs
google/apiclient-services v0.64  Client library for Google APIs
google/auth               v0.8   Google Auth Library for PHP
guzzlehttp/guzzle         6.2.0  Guzzle is a PHP HTTP client library
guzzlehttp/promises       v1.3.1 Guzzle promises library
guzzlehttp/psr7           1.2.3  PSR-7 message implementation
monolog/monolog           1.23.0 Sends your logs to files, sockets, inboxes, databases and various web services
phpseclib/phpseclib       2.0.11 PHP Secure Communications Library - Pure-PHP implementations of RSA, AES, SSH2, S...
psr/cache                 1.0.1  Common interface for caching libraries
psr/http-message          1.0.1  Common interface for HTTP messages
psr/log                   1.0.2  Common interface for logging libraries

Also, here is the content of the created composer.json (notice the missing caret symbol):
{
    "require": {
        "google/apiclient": "2.0"
    }
}

This just hit me this morning.
Let's change this to add a note that DOS users need to escape the escape character: composer require google/apiclient:^^2.0

Unfortunately, composer require google/apiclient:^^2.0 command produces the same results:
firebase/php-jwt          v3.0.0 A simple library to encode and decode JSON Web Tokens (JWT) in PHP. Should confor...
google/apiclient          v2.0.0 Client library for Google APIs
google/apiclient-services v0.64  Client library for Google APIs
google/auth               v0.8   Google Auth Library for PHP
guzzlehttp/guzzle         6.2.0  Guzzle is a PHP HTTP client library
guzzlehttp/promises       v1.3.1 Guzzle promises library
guzzlehttp/psr7           1.2.3  PSR-7 message implementation
monolog/monolog           1.23.0 Sends your logs to files, sockets, inboxes, databases and various web services
phpseclib/phpseclib       2.0.11 PHP Secure Communications Library - Pure-PHP implementations of RSA, AES, SSH2, S...
psr/cache                 1.0.1  Common interface for caching libraries
psr/http-message          1.0.1  Common interface for HTTP messages
psr/log                   1.0.2  Common interface for logging libraries

So after trial and error, I found the right command: you need to include "quotes" around version number
composer require google/apiclient:"^2.0"

which will produce correct results:
firebase/php-jwt          v5.0.0 A simple library to encode and decode JSON Web Tokens (JWT) in PHP. Should confor...
google/apiclient          v2.2.2 Client library for Google APIs
google/apiclient-services v0.64  Client library for Google APIs
google/auth               v1.3.2 Google Auth Library for PHP
guzzlehttp/guzzle         6.3.3  Guzzle is a PHP HTTP client library
guzzlehttp/promises       v1.3.1 Guzzle promises library
guzzlehttp/psr7           1.4.2  PSR-7 message implementation that also provides common utility methods
monolog/monolog           1.23.0 Sends your logs to files, sockets, inboxes, databases and various web services
phpseclib/phpseclib       2.0.11 PHP Secure Communications Library - Pure-PHP implementations of RSA, AES, SSH2, S...
psr/cache                 1.0.1  Common interface for caching libraries
psr/http-message          1.0.1  Common interface for HTTP messages
psr/log                   1.0.2  Common interface for logging libraries


🐞[Bug]: Service page is not mobile responsive

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug
the service page is not mobile responsive
Expected behavior
the contents are supposed to be aligned when viewed in mobile view
Add ScreenShots
No response
What browsers are you seeing the problem on?
No response
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I have starred the repository

Please assign this issue to me @varshith257 @Anishkagupta04


Hierarchy Markdown

"This hierarchy is reflected in the structure of a YAML file like:
Pipeline
    Stage A
        Job 1
            Step 1.1
            Step 1.2
            ...
        Job 2
            Step 2.1
            Step 2.2
            ...
    Stage B
        ...

"
This part is written with markdown and is probably confusing to the reader. Should probably either say it's markdown or be a code block.

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

ID: b85d6c05-acc7-53ec-e452-b0f45c584d62
Version Independent ID: b85d6c05-acc7-53ec-e452-b0f45c584d62
Content: pipeline definition
Content Source: content/pipeline.md
Service: azure-devops-pipelines
GitHub Login: @steved0x
Microsoft Alias: sdanie

Created a pull request that would solve the issue I saw.

@Rolami -- Robin, thank you for your contribution of https://github.com/MicrosoftDocs/azure-devops-yaml-schema/pull/264.


use proper bullet list in Dialect javadoc (H6)

Use a proper bullet list in the Javadoc for Dialect.

Thanks!


Added Stork Longevity Stats and Refactored Code

Added Stork Longevity Stats and Refactored Code
What this PR does / why we need it:
It will push longevity stats for Stork Triggers to Aetos
Which issue(s) this PR fixes (optional)
Closes #PTX-21932
Special notes for your reviewer:
Getting triggers stats like below in Aetos -

@gejain Please rebase with master branch before merging.


DKCamera AVCapturePhotoCaptureDelegate error

Hi, you have a great camera! I'm facing an issue, sometimes I catch errors while using the camera: DKCameraError: (Error: Cannot Record).
It occurs randomly, I did not find any system. It occurs in class DKCameraPhotoCapturer in both functions photoOutput.
Search on the Internet did not give any results of this error, what can it be? Why this error occurs? Have you any ideas?

Hi @Kzier I cannot reproduce it :(

Me too. This is a very rare error.
Thanks for the answer.


Sugar for adding concept references

Allow typing [[ link ]] and even having auto complete to add references (similar to how Foam works)

it will be a little weird, because in Foam etc, each concept reference is not "this whole document has a concept refeernce, and highlight all things that reference it" but rather "this right here is a link"


Version 0.3

Reference Issues/PRs
close #5
What does this implement/fix? Explain your changes.
Version 0.3
Any other comments?

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (a8d8858) 99.16% compared to head (45f3204) 96.66%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##              dev      #33      +/-   ##
==========================================
- Coverage   99.16%   96.66%   -2.50%
==========================================
  Files           4        4
  Lines         120      120
  Branches       12       12
==========================================
- Hits          119      116       -3
- Misses          0        2       +2
- Partials        1        2       +1

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Hey @sepandhaghighi
Would you please nava version 0.3 pull-request?
Don't need to merge, I will continue the release process once you reviewed at 01/31.


Sort origin to the top of remotes in quick picks by default

Usually I want to, for instance, copy the URL to a commit on the origin, even if I have other remotes from forks

Great idea!
Also note, if you set a particular remote as the default, then all the remote commands will use that rather than showing a quick pick:


Update .mailmap

Change-Id: I139809347d7e59d85758e3696a01f2e2e8329c91
Signed-off-by: David Pursehouse<EMAIL_ADDRESS>

Note sure what the policy is here, but I find it confusing to have Gerrit's Change-Id in the commit message body (BTW, it's a pity that GitHub still doesn't let me add review comments to lines of commit messages). Similarly for the Sign-off-by, this project does not require it, but is it ok to leave it in?

@sschuberth I have the Gerrit hook installed in my templates so it gets added on all new clones.  I could manually remove it, but meh.  If project owners don't like it they remove it (see commits on facebook/buck for example) and I'm fine with that.

@dpursehouse I just checked, given that your previous commits with both Change-Id and Sign-off-by were accepted, I guess this is fine, too :-)

No 100% absolute concrete evidence, but the commit with this name seems to
be from Rick.
On Wed, 19 Oct 2016 00:20 Taylor Blau<EMAIL_ADDRESS>wrote:

@ttaylorr commented on this pull request.
In .mailmap https://github.com/github/git-lfs/pull/1593:

Rick Olson<EMAIL_ADDRESS>rick<EMAIL_ADDRESS>Rick Olson<EMAIL_ADDRESS>risk danger olson<EMAIL_ADDRESS>+Rick Olson<EMAIL_ADDRESS>Your Name<EMAIL_ADDRESS>
👍 . Cool, thanks for clarifying!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/github/git-lfs/pull/1593, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAzDSg8FF5orMe8UJoV3g-Q_0ans6fsFks5q1OPOgaJpZM4KZXcy
.


New Structure Proposal 01: Tag Based Approach

I tried to create an as minimal as possible POC for the ideas discussed on #861
Here is a list of changes and ideas:

PopulateArgs is called so all Args can be populated with default values or the provided usage data.
Each Arg can have a tag for specifying the usage schema with the following format: key_name,default_value,description,iac_1,iac_2,...

This way:
A. The infracost-usagefile provider will just call the PopulateArgs and won't override anything.
B. Other IACs can override whatever fields they want
C. The usagefile can be autogenerated
D. Each IAC can filter few usagefile keys based on the supported fields.

Hi! I've been away from development for few weeks and couldn't;t keep up with the changes. I wanted to continue where I left so is there any changes in plans or priorities?

@aliscott @tim775 Here are all the required codes that I can think of for a POC, there is missing logic but the whole flow is complete and tests pass. I believe we can do some code reviews and discussion on this PR now to see if it's our way or not.
Btw, I will ping you on the parent issue so we can keep track of all possible solutions there and probably have multiple PRs.

I'm still hesistant about using tags as opposed to defining the schema in a map like Terraform does: https://github.com/hashicorp/terraform-provider-aws/blob/main/aws/data_source_aws_nat_gateway.go. My main hesitation is any changes in the future, it's easier to add an optional field to a struct than a tag in this format.
One idea I've had if we want to use tags is to structure them more like the gorm tags (https://gorm.io/docs/indexes.html#Index-Tag) so we declare the keys, which means we can add more and the order doesn't matter as much. Something like this:
`json:"region,omitempty" infracost_usage:"name:region,default:us-east1,description:Region where gateway is located"`

@aliscott Your suggestion about named tags is awesome! I've never thought of that.
Btw, to be honest I believe that tags are risky as you said. I will try to create a POC based on using structs in 1-2 days so we can see how it turns out.

Trying to also think of things that might come up in the future, that might be worth keeping in mind for just now since this will be a big refactor. Here's what I have so far:

Custom validations
Deprecating attributes
Categorizing the attributes
Required attributes

Could you please explain "Categorizing the attributes"?

Could you please explain "Categorizing the attributes"?

We might want to add metadata (tags/labels or categories) to group them in the usage file or generated docs in the future.

I also think the struct way of handling usage schema that @tim775 worked on seems more elegant and we can continue on that path.
The thing that I think we can discuss here is how we can automate the link between schema and args, currently we have sth like this:
args.MonthlyWriteRequestUnits = u.GetInt("monthly_write_request_units")
args.MonthlyReadRequestUnits = u.GetInt("monthly_read_request_units")
args.StorageGB = u.GetInt("storage_gb")
args.PitrBackupStorageGB = u.GetInt("pitr_backup_storage_gb")
args.OnDemandBackupStorageGB = u.GetInt("on_demand_backup_storage_gb")
args.MonthlyDataRestoredGB = u.GetInt("monthly_data_restored_gb")
args.MonthlyStreamsReadRequestUnits = u.GetInt("monthly_streams_read_request_units")

Any ideas?
I personally think we can have a tag in args that specifies the key name for the usage data. I believe that would be a clean use of tags.

Ok so then we're talking about replacing https://github.com/infracost/infracost/pull/839/files#diff-71ed323ee96294a7b798471f490d0ecde86fa1b63763f1e023d4bf93e40dc21eR48-R86 with something based on tags?  That makes a ton of sense to me since that's the most tedious part.  I think then the minimum we need is the name (since type can be inferred from the struct)?
So maybe we start with:
type NATGatewayArguments struct {
	Address *string `infracost_usage:"address"`
	Region  *string `infracost_usage:"region"`

	MonthlyDataProcessedGB *float64 `infracost_usage:"monthlyDataProcessedGB"`
}

Yes, that's exactly what I was thinking about. I'll try to do some refactoring in this PR as soon as possible and apply this structure.
Also, we probably have to think about how we will handle nested usage data.

Closing this since the ideas have been incorporated to other PRs.  Thanks @sinabakh!


Remove version: CiderCollective.Cider version 1.6.2

It return 404 in GitHub Action, and the project has been archived.

Replace #198939

Microsoft Reviewers: Open in CodeFlow

/dup of 198936

URL: https://github.com/ciderapp/Cider/releases/download/v1.6.2/Cider-Setup-1.6.2.exe
Response Error: The remote server returned an error: (404) Not Found.
(Automated message - build 924)

Hi @DuckDuckStudio,
This manifest has the highest version number for this package. Is it available from another location? (This might be in error if the version is switching from semantic to string, or string to semantic.)
(Automated response - build 931.)

[Policy] Reset Labels
[Policy] Reset Feedback


[WIP] message_flags: Use select for update with order by in do_mark_all_as_…

…read.

Fixes https://github.com/zulip/zulip/issues/19054

In general, this is the kind of change that would really benefit from more comments and/or an extended commit message, explaining how you verified that it fixes the bug in question. Generally the rule I'd have is that the commit message explains why this change fixes the bug, whereas the comments should explain why the code is correct.

In general, this is the kind of change that would really benefit from more comments and/or an extended commit message, explaining how you verified that it fixes the bug in question. Generally the rule I'd have is that the commit message explains why this change fixes the bug, whereas the comments should explain why the code is correct.

Noted, will change my commit message.

This is great, merged after rewriting the commit message to give a bunch more of the context from the original issue, and making the small coding style adjustment noted above.


Pi stopped logging telemetry, battery seems drained

Possibly something got corrupted in git directory, prevented from sleeping?
pi@raspberrypi:~/dev/timelapse$ ./scripts/startup.sh
~/dev/timelapse/scripts ~/dev/timelapse
++ ping -c 1 -W 1 venari.co.nz
PING venari.co.nz (<IP_ADDRESS>) 56(84) bytes of data.
64 bytes from cdn-185-199-108-153.github.com (<IP_ADDRESS>): icmp_seq=1 ttl=64 time=45.0 ms

--- venari.co.nz ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 44.955/44.955/44.955/0.000 ms
+++ date
++ echo Tue Feb 8 08:09:17 NZDT 2022
++ echo 'network interface seems to be up'
++ echo
++ date
++ /usr/bin/python3 coreScript.py
++ echo
++ date
++ echo '> git pull'
++ /usr/bin/git pull
error: object file .git/objects/a5/1a81f3a886a96db64ee8dcb36e3a369cd98f6a is empty
fatal: loose object a51a81f3a886a96db64ee8dcb36e3a369cd98f6a (stored in .git/objects/a5/1a81f3a886a96db64ee8dcb36e3a369cd98f6a) is corrupt
+++ date
++ echo Tue Feb 8 08:09:17 NZDT 2022
++ echo 'startup script finished'
++ popd
~/dev/timelapse
pi@raspberrypi:~/dev/timelapse$ ls -la .git/objects/a5/
1a81f3a886a96db64ee8dcb36e3a369cd98f6a  b6644c957c2a3c7abec189d66305666ecb702f
9a60b893059f9b05b70d89519a3102f5be9bd9  cc9b9f36113f688209d4f4937a49b51bc76266
pi@raspberrypi:~/dev/timelapse$ ls -la .git/objects/a5/1a81f3a886a96db64ee8dcb36e3a369cd98f6a
-r--r--r-- 1 pi pi 0 Feb  7 22:10 .git/objects/a5/1a81f3a886a96db64ee8dcb36e3a369cd98f6a
pi@raspberrypi:~/dev/timelapse$

Replaced git directory. Possibly shutting down too quickly?


Memory Leak when using Data Bindings

JSBin: http://jsbin.com/coxurivaya/3/edit?html,js
JSFiddle: http://jsfiddle.net/twzm53ep/
The code is creating a new object every millisecond and sets it to a polymer elements property. The property is bound in a template. The objects will never get collected by the GC.
I'm using
Polymer 0.5.2
Windows 8.1 x64
Chrome 39.0.2171.99
Steps to reproduce:

Open sample site
Take Heap Snapshot (Chrome Dev Tools -> Profiles)
Wait 30 sec and take another snapshot
Compare two snapshots with the comparison function ("Objects allocated btw. snapshot 1 and 2")

not reproduceable in Polymer 0.8


Release version 0.5.0.dev0

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


Should automatically lint *.mjs files

ES6 module support is coming to Node.js. That means a new file extension (*.mjs) that denotes an ES6 module file. standard should automatically lint this file extension, since that's what users will expect.

Sounds reasonable.
Side note tho: from talking to TSC members, this may change in the future.
My understanding is that the
.mjs extension was brought in place so the module spec could be
implemented and tested, but now
that that's happened, they'll be digging into ergonomics, which means
figuring out compat with just a .js
extension. It's unsure what will come from it, but yeah it might be prone
to change. Kinda just sharing
what I've overheard in recent weeks (:
On Tue, Oct 31, 2017 at 5:39 AM Feross Aboukhadijeh <
<EMAIL_ADDRESS>wrote:

ES6 module support is coming to Node.js. That means a new file extension
(*.mjs) that denotes an ES6 module file. standard should automatically
lint this file extension, since that's what users expect.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/standard/standard/issues/1009, or mute the thread
https://github.com/notifications/unsubscribe-auth/ACWlehhJsMq-oQLwoPffDzX6epxVFN9Oks5sxqSZgaJpZM4QMMtq
.

Yeah they've made a big of a mess

@yoshuawuyts Cool, thanks for sharing. I've just started playing around with --experimental-modules. We'll keep an eye on this!

Only one repo started failing from this change (merge2) and it was because they had lint errors in their .mjs files and weren't manually running standard on them. So, this is a great change!
This will ship in standard 14.

I just remembered that .cjs files are also coming to Node, so I'll add those by default too.


Endpoint Support

[x] Endpoint trait support
[x] Basic AWS endpoint implementation
[x] endpoints.json dynamic resolver generation
[ ] Design endpoint discovery
[ ] Endpoint discovery implementation

Any workaround for now?
We want to insert records to Timestream using rust SDK.

Where to start if I want to implement endpoint discovery?

https://awslabs.github.io/smithy/1.0/spec/aws/aws-core.html#client-endpoint-discovery
We'd probably need some sort of custom middleware stage, I'd probably start with an RFC.

The work tracked in this issue has been superseded by #1784.


Flutter hot reload not working in Android studio 3.5

I have problems with hot reload. It doesn't work on cmd+s or from toolbar.
Hot restart works fine.
Please, could you give some input how to solve this. What to look or where to look.
Here is the flutter doctor output:
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, v1.9.1+hotfix.2, on Mac OS X 10.14.6 18G95, locale en-HR)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 10.3)
[✓] Android Studio (version 3.5)
[✓] Connected device (1 available)

• No issues found!

@devoncarew terribly sorry for the inconvenience but the bug on my side.

Hi @budo385 ,
I have same kind of problem , hot reload is disabled on my android studio 3.5.
I'm using Android Studio and recently installed Flutter but the hot reload button disabled on Windows 10.
I deleted android studio also Flutter plugin and reinstall them again but still not working
I'm creating a mobile application and running it on android real devices.
Flutter Doctor is also saying no issues. Any expert opinion?

@ZahidRamzan check out these:
https://github.com/flutter/flutter/wiki/Workarounds-for-common-issues#hot-reload-not-working
#23442
#16881
like in my comment above

How to use Flutter Hot Reload in a StatelessWidget inside Android Studio 3.6.2 and Flutter v1.12.13+hotfix.9 on Linux ... inside main.dart file:
import 'package:flutter/material.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  // StatelessWidget turns this class into a widget
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Text('Hello'),
    );
  }
}

Doesn

How to use Flutter Hot Reload in a StatelessWidget inside Android Studio 3.6.2 and Flutter v1.12.13+hotfix.9 on Linux ... inside main.dart file:
Make sure in Android Studio > File > settings > Languages & Frameworks > Flutter > check "Perform hot reload on save"!!!
Use the code below -> change the 'Hello' -> save it -> see the hot reload result
import 'package:flutter/material.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  // StatelessWidget turns this class into a widget
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Text('Hello'),
    );
  }
}

This issue is still there in AndroidStudio version 3.6.3. And I already have Hot Reload Enabled!.
"Performing Hot Restart..." just keeps running and never succeeds!
While VS code is just working like a charm!.

Am having the same issue on Windows on Android Studio version 3.6.3.
Oddly, same version on Linux @ Ubuntu 16.04 LTS does not have this issue -- hot reload works without issue.

Sadly I'm having same issue about hot reload on Android Studio version 3.6.3

I am too facing the same issue no options for using hot reload in android studio 3.4.1.

Same too for me. No problem on VS code. But having problem in Android Studio.

If you are seeing a similar issue, please file a new issue with full reproduction steps. Thanks!


New package: TestParticleMakie v0.1.0

Registering package: TestParticleMakie
Repository: https://github.com/henry2004y/TestParticle.jl
Created by: @TCLiuu
Version: v0.1.0
Commit: acdfd8560a640893c00f547853315f0d4898312d
Reviewed by: @TCLiuu
Reference: https://github.com/henry2004y/TestParticle.jl/issues/49#issuecomment-1293405560
Description: Test particle tracing in electromagnetic field

@TCLiuu please see the message above.  Once you fix the automerge issues you can register again the new revision without changing the version number and this pull request will be automatically updated.
[noblock]


auto gen CDDL lost details

conway era CDDL now auto generated has lost lots of details and explanations of various components. Is there a new place where they are documented?
eg. see Babbage CDDL - https://github.com/IntersectMBO/cardano-ledger/blob/master/eras/babbage/impl/cddl-files/babbage.cddl

@nc6 is there a way we can add back the comments that explained what each of the transaction body fields are? 2: coin is much less useful than 2: coin   ; fee etc.


Add more packages to dependency trimming

There is not a list of packages built into the runtime anywhere I could find. I had tested these in a console app and thought they were not included in the runtime, but upon further investigation, these packages can be removed as well.

/azp run net - core - tests

/azp run net - core - tests


KYLIN-4383 Fix reflection error

Check https://issues.apache.org/jira/browse/KYLIN-4383.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@d0d817c). Click here to learn what that means.
The diff coverage is 0%.

@@           Coverage Diff            @@
##             master   #1115   +/-   ##
========================================
  Coverage          ?     25%
  Complexity        ?    6228
========================================
  Files             ?    1443
  Lines             ?   88142
  Branches          ?   12337
========================================
  Hits              ?   22042
  Misses            ?   63934
  Partials          ?    2166

Impacted Files
Coverage Δ
Complexity Δ

.../kylin/source/hive/HiveMetaStoreClientFactory.java
0% <0%> (ø)
0 <0> (?)

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 d0d817c...2d42910. Read the comment docs.

Pull Request Test Coverage Report for Build 5646

0 of 1 (0.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.003%) to 27.468%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

source-hive/src/main/java/org/apache/kylin/source/hive/HiveMetaStoreClientFactory.java
0
1
0.0%

Totals

Change from base Build 5645:
0.003%

Covered Lines:
24211

Relevant Lines:
88142

💛  - Coveralls


Help button should assign correct categories to forum posts

In our old platform, clicking "ask for help" would help you create a forum post with the category "JavaScript" or "HTML-CSS" depending on what type of challenge you were solving.
We want for the new platform to do this, too.
Currently it just labels all questions with the "help" label.

@QuincyLarson, i am interested in taking this up.

@quincylarson totally stoked! how can i help here

i want to help

@QuincyLarson Any way I could take up this issue?

@AT1452 @apurva5297 @jeffersonnnn  Yes - we would welcome your help with it. Could one of you dive in and tackle it, then open a pull request?


how to set the weather of simulation in BeamNG by BeamNGpy

I find weather.lua in BeamNG，but i dont find art/defaults.json
My BeamNG version is <IP_ADDRESS>

how can i set the preset in this api? set_weather_preset 's first parameter is path of preset file?

Hi, this is a duplicate of https://github.com/BeamNG/BeamNGpy/issues/242, please find the answer there.


vscode shutdwon

hi,after my pc audate .the vscode shutdown
and here is the wrong message:
./code: row35:  3998 date wrong               (core is transfor)ELECTRON_RUN_AS_NODE=1 "$ELECTRON" "$CLI" "$@"

pc:
Linux archlinux 4.17.14-arch1-1-ARCH #1 SMP PREEMPT Thu Aug 9 11:56:50 UTC 2018 x86_64 GNU/Linux

@proudlily Do you mean VS Code got crashed after your PC got updated and restarted?

yes.i dont know why.and i dont know how to offer the need info.so i dont add the info.if you need.please tell me .@sandy081

what the info do u need.thanks very much !

@proudlily do I understand it correctly that you start VSCode from the command line and it just crashes?

Can you please follow the steps in https://github.com/Microsoft/vscode/wiki/Native-Crash-Issues to get at more details around the crash and attach the result here? Thanks!
This smells a bit like https://github.com/Microsoft/vscode/issues/51917

@bpasero thanks. i am doing the project now.so may have  no time to deal it .but when i have time ,i will do it .actually,it will takes me some time.:-)

@proudlily let's move this into https://github.com/Microsoft/vscode/issues/55934 I am sure its the same underlying issue.


fix: asg - move cc instance size to ec2 instance type validation from…

The validation for cc instance size to ec2 instance type has been moved from the pre-deployment macro to the asg template as a Rule.

@apandit13 please let us know once you have validated the fix

@smone77 , @jmolnar-zscaler please review and +1 for the P0 by today if possible

Closing this in lieu of branching from main


Refactor loops to use for case & if case syntax

The catDecoded functions ignore the Failure case, so we don’t need to
pattern match for Failure.

Is there a reasoning behind this change? Or is it purely cosmetic?

Mainly cosmetic, but thought it was worthwhile to remove a few lines of code.

Personally, I actually like the full switch here. It makes it explicit that there are only two options.
Thanks so much for working on this! However, I don't think we're going to make this change.


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-target_84b1a619-09c6-4666-89d5-d2d50b7f6529/pull/1 is merged into live branch.
Auto archive content to https://github.com/VSC-Service-Account/docs-archive-test-target_84b1a619-09c6-4666-89d5-d2d50b7f6529.git

Docs Build status updates of commit bf371ad:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error-ServiceAccountCannotAccessRepository] Your repository https://github.com/VSC-Service-Account/docs-archive-test-source has enabled Docs Build service account. It seems that at least one of the accounts, e2ebd4, does not have Read permission to the repo. Please ask your repo admin to grant correct permission to service accounts (refer to this document: https://review.docs.microsoft.com/en-us/engineering/projects/ops/engdocs/how-to-grant-service-account-permission-in-your-repository?branch=master#ops-e2e-ppe) and then retry the build. Don't know who to contact? Refer https://repos.opensource.microsoft.com/VSC-Service-Account/repos/docs-archive-test-source/permissions/ to get admin list of the repo if the repo is in one of the organizations Microsoft owns.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


RFC: Strings

When Parable was first developed, strings were zero terminated. With the recent changes allowing slices to track their lengths, is this still necessary, or should strings become reliant on the slice length to determine their end?

my opinion is that unnecessary things should be discarded.

On 15-06-02, at 11:19 , Charles Childers<EMAIL_ADDRESS>wrote:
When Parable was first developed, strings were zero terminated. With the recent changes allowing slices to track their lengths, is this still necessary, or should strings become reliant on the slice length to determine their end?
—
Reply to this email directly or view it on GitHub.


DarkTheme.css: fix white screen when no person card is displayed

Fix white screen when no person card is displayed (when find command returns no result and when the address book is cleared) as per issue mentioned in Slack.

Coverage remained the same at 92.139% when pulling d6c5590ea587cbedb752d1c872713ba5afe1579a on jelneo:master into cd11f638b3397aa696fbe2e0fbeda790b8de6924 on CS2103AUG2017-T17-B1:master.


Small menu option

Possibility to make menu smaller by adding attribute "app:menuSize="small".
Default size is "app:menuSize="normal".

Thanks for contributing.


Refactor - kobman-main.sh

To raise a new Pull Request, the following prerequisites need to be met. Please tick before proceeding:

[ ] a conversation was held in the appropriate channel.
[x] a Github Issue was opened for this feature / bug.
[ ] test coverage was added .

This addresses Issue https://github.com/hyperledgerkochi/KOBman/issues/141 https://github.com/hyperledgerkochi/KOBman/issues/139

@EtricKombat  Please raise the pull request to hyperledgerkochi.


Can't access nanopolish     -bash: .nanopolish: command not found

I'm using a Mac, I've used this:
git clone --recursive https://github.com/jts/nanopolish.git
cd nanopolish
make
But it keeps on saying -bash: .nanopolish: command not found.
I've tried putting it in the path using echo, ./nanopolish and export NANOPOLISH_PATH=my path to nanopolish. But it continues to say it.
I also encounter this error and warning when installing:
clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated]
clang: error: unsupported option '-fopenmp'
Is there anything else I can consider doing.

Hi,
The error message indicates the compilation failed. The clang compiler does not support openmp, which nanopolish uses, so you'll have to install gcc to build this.
Jared


Unable to Open .eml/.msg Files Using "Open in App" from SharePoint or OneDrive

Steps to reproduce
When attempting to open .eml or .msg files from SharePoint or OneDrive using the "Open in App" option, the action fails, resulting in unexpected behavior. Instead of opening the file in a compatible mail application (like Outlook), either:

A file explorer window appears for a minute, followed by an error message.

The file opens in Notepad, displaying binary data or unreadable characters.

This issue affects the ability to seamlessly open email files directly from SharePoint or OneDrive, resulting in a poor user experience.
Steps to Reproduce:

Upload an .eml or .msg file to any location on SharePoint or OneDrive.

Right-click the file and select "Open in App" from the context menu.

Observe the behavior:

File explorer may open and eventually lead to an error message.
Alternatively, Notepad may open with strange or unreadable content.
Screenshots:

Expected behavior
The .eml/.msg file should open in the associated email application (such as Outlook), allowing the user to view the email content.
Actual behavior
A file explorer window opens and after a minute, an error message is displayed.

In some cases, the file opens in Notepad with unreadable content, which is not the expected behavior for email files.

Error details
No response

We are mainly responsible for Microsoft Teams app development related issues. Based on the description your issue does not seem related to Teams app dev.
For general questions about Microsoft 365 and Office, please post your question on Microsoft 365 and Office
Community.


Units for Total Duration

I'm not sure that a unit is needed here ("m" for "minutes"). It confused me a bit when I made a short screen recording and it said "Total Duration 0:00:12.345 m" and I thought "there is no way that recording is 12.345 minutes long".
Actually, because the first field is the hours (even though hard-coded to zero) there is some argument that the units are "hr". And the last part is seconds, so the unit could be "sec".
So I think best to not mention any unit of measure.

Oh, that's a little bug, the 0: was supposed to be part of the string format syntax, meaning that it's the first parameter. A second parameter would use "1:" and so on...
The resulting text should be 00:00:000 or mm:ss:fff, that's why the "m".

Sorry, a correction:
That's not a bug, the app displays correctly the values "00:00:000" as minutes/seconds/milliseconds.

Yes, sorry. You are correct. There is no "hours" field. It displays 00:00.000 mm:ss.nnn
So I guess the "m" is correct as the unit of the first field there. Now I am not sure how to make it totally clear, because I know I had to look a bit when I first saw it. Writing "min:sec.msec" as the units would be too long and would confuse people more anyway!

Maybe optional values? I could edit the format to display only the fields bigger than zero. Not sure how yet.

890 ms
1.2 s
2:03.5 m


[MAJOR] WIP: First round of refactoring

Package changes:

Dropped Support for Symfony2
Updated Twig to 2.0
Updated our PHPCS tool to the latest version
Upgrade PHPUnit to the latest version

Internal code changes:

Booleans are no longer valid options for the Generate-annotation
Ran PHPCBF and fixed leftover PHPCS issues by hand
Added typehints were easily possible
Split elseif workflows were possible to make it more clear
Made some exceptions extend from \RuntimeException instead of the super generic \Exception
Removed pointless = null statements from private variables
Updated all tests to use proper TestCase and return typehints

Twig template changes:

None

There is still some work left, for example, over hundred tests currently use @expectedException instead of $this->expectException(), which I'll do in another PR (or in this one, depends on how long it takes me).
I highly recommend using the split-diff view (since this is a big PR, sorry).

this PR is just way too big. Things that are change that I noticed:

copyright
declare strict
typehints
moving of Enumerator to a different namespace
phpunit base class

And there are propably more. I cannot properly review this in the current state. I recommand splitting it in seperate PRs for each change.


Unshaded zones on window resize

Hi!
If I narrow the size of active window/buffer/split, a newly opened part of inactive window appears to be unshaded.
I guess, some autocmd needs to be added to reshade inactive windows/buffers/splits on every resize

That should already be in place.
How is it you're resizing splits? It works here with mouse dragging the separator, and with the <c-w> controls.

I'm using these keymaps to resize with Ctrl+Arrows
local keymap = vim.api.nvim_set_keymap
local nrmaps = { noremap = true, silent = true }

-- Resize with arrows
keymap("n", "<C-Up>", ":resize +2<CR>", nrmaps)
keymap("n", "<C-Down>", ":resize -2<CR>", nrmaps)
keymap("n", "<C-Left>", ":vertical resize -2<CR>", nrmaps)
keymap("n", "<C-Right>", ":vertical resize +2<CR>", nrmaps)


PDF/A conversion: Whitespaces randomly appearing and disappearing

Hi,
I have a very strange problem. I'm using gotenberg to make PDF files PDF/A compatible. During the conversion process, randomly a whitespace is inserted - sometimes.
This is part of the input file (original attached):

Now, part of the conversion result:

Interestingly, there is a new whitespace in registerD[ ]ispute at the bottom of the diagram.
Besides that, the money bags are moved a bit.
Any idea what's happening here???
Attachments:

pre-convert.pdf
post-convert.pdf

Hello @MatthiasLohr 👋
Currently, it’s the LibreOffice module that handles the PDF archive conversions ; it might outputs slightly different PDF as its parser is:

Definitely not the best out there.
Different from the original PDF writer.

Not much I can do with Gotenberg, alas.


Windows and OSX Support

This pull request introduces the changes required for Rez to work on OSX and Windows.  The main changes are:

fix the install process.
complete the Windows specitific system and platform_ implementations.
replace the Windows stub shell implementation with cmd for the Windows Command Prompt.
move the prompt setting from rezconfig to the individual shell implementations (as it is shell specific).
create a rezconfig.py for easier cross-platform configuration within the same Rez install.
update the resource location code.
update the unit tests.

A bit more detail...

Colour in stdout/stderr messages is explicitly disabled.  Although it should work, it doesn't.  I have been unable to determine why (according to the Colorama documentation we are doing everything right).
In the context of config.py the os.path.expanduser implementation is a bit dangerous.  This method is implemented differently on Windows which caused problems with weak references in the implicit packages list.  I have created a custom (although slightly limited) version of expanduser for this purpose which is sufficient for our needs.  This is documented.
Creating rezconfig.py was necessary to be able to support cross-platform configuration in the same file, as suggested by Chad in issue #55 and inline with other open source projects.  Currently both the yaml and .py file are support (for backwards compatibility) but dropping the yaml longer term would reduce code complexity.
Where Windows doesn't explicitly support a feature (such as os.chmod for forwarding scripts etc.) I've blcoked this out with a comment and if/else.  Perhaps there are other cross-platform solutions we can use here, but I don't know what they are.
The changes to the resource system where subtle - essentially escaping a regex and removing a to_posixpath translation.  Otherwise this was the easiest thing I had to change (where I initially thought it the most complex).
There is a method called _keytoken in Rex which I had to extend (with get_key_topken) and make shell specific as it was assuming ${THIS} for variable reference.  I don't fully understand why it's necessary - especially in the python context - but it is.
As the command prompt is shell specific I've moved this configuration from rezconfig into the plugins themselves.
The inheritence between Shell, UnixShell and the other implementations is a bit broken - or at least the Shell API is not clearly defined.  I've tidied this up a little bit (but not very much).  More work could be done here to improve readability.  This area feels a bit brittle.
No automatic shell detection is performed.  If you are on Windows you use the Windows Command Prompt and that's it.  This could be extended in the future, but as this is sufficient for my needs I've not investigated further/other shells.
Generally the changes to the tests where to support \ instead of '/' and are pretty straight forward.  The thing to remember here is the context - in some cases even if the test is running on Windows it's comparing against a hardcoded value in the fixtures and so / is required.  Therefore the changes might look inconsistent but they are correct.
I'm a little disappointed with my changes to test_shells.py - I've had to skip a lot of the tests.  This is in part due to some tests exercising features of the Windows Command Prompt that aren't support.  More could be done here.
Binding and forwarding scripts don't work.  This is due to the way Windows recognises executables (with the PATHEXT environment variable) and the lack of support for shebang lines.  It should be possible to support them, but I need to better understand how Windows handles this area.  Suggestions?
The string escaping in Rex has caused some problems and is incompatible with the Windows Command Prompt.  In general I haven't handled escaping in this shell due to issues that Federico has raised.  But the current implementation seems a bit too much and you'll see I'm explicitly replacing the " in the set command.  Longer term this is probably incorrect - but I think changes to Rex are required first.

This branch was made from 2.0 and not resources2 - I realise this is probably an issue - however I had already started work before resources2 was created/finished.  The sheer number of changes in the resources2 branch (which go beyond directly improving the resource system) is going to make this hard to integrate.  I don't have time to tackle this immediately - but I do need Windows support now - so took the path of least resistance.

Closing - we have now merged this PR with resources2.


No implementation found for method setAccelerationSamplingPeriod

E/flutter (23178): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: MissingPluginException(No implementation found for method setAccelerationSamplingPeriod on channel dev.fluttercommunity.plus/sensors/method)
E/flutter (23178): #0      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:332:7)
E/flutter (23178): <asynchronous suspension>
E/flutter (23178):

The issue has been resolved. The accelerometer setup is now functioning as expected. Closing the issue.
Additionally, package updates have been made, likely due to outdated dependent packages. Structural changes were also implemented, and a new major version has been released. Everything is now working correctly, and soon all formal testing will be performed.


Does not work with Edge

HI,
on my Windows 10 machine the sample app does not work with Microsoft Edge. It seems that none CSS are applied as the page does only contain texts.

There are no errors in the log.
BR,
Juri

Duplicate of https://github.com/SAP/ui5-webcomponents-sample-react/issues/4

Hey @juriz889
We already have an issue for adding that support.
Until we get it done in the applications, you can read out answer in:
https://github.com/SAP/ui5-webcomponents/issues/160
It should be working fine for React app as well.


Add troubleshooting guide callout to operator page

Notes for Reviewers
This PR fixes #11430
Signed commits

[x] Yes, I signed my commits.

Operator Documentation:
Added a callout to the troubleshooting guide in the Meshery Operator architecture documentation.
Meshsync Documentation:
Added a callout to the troubleshooting guide in the Meshsync architecture documentation.
The PR fixes #11430

🚀 Preview for commit e973602f923fa8bcfd43cac3fdb0dd945d602249 at: https://66a0fb9220914622354b6dee--meshery-docs-preview.netlify.app

@Shubhf
Let's discuss this on the Meshery dev meeting starting 7:30 PM IST today. Adding it as an agenda item to the meeting minutes.

🚀 Preview for commit dd9cad242a84e7270c3d5bf7aed6b00d06e0aab8 at: https://66a1518227d684263362f7cc--meshery-docs-preview.netlify.app

As I am a newcomer , whatever I could do.I have tried to integrate as per
your guidance Pls suggest any necessary changes. And I am very well open to
all the suggestions and guidance
Thanking You
Shubh
On Thu, Jul 25, 2024 at 12:40 AM l5io @.***> wrote:

🚀 Preview for commit dd9cad2
https://github.com/meshery/meshery/commit/dd9cad242a84e7270c3d5bf7aed6b00d06e0aab8
at: https://66a1518227d684263362f7cc--meshery-docs-preview.netlify.app
—
Reply to this email directly, view it on GitHub
https://github.com/meshery/meshery/pull/11456#issuecomment-2248724071,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A5WMIMUCVGFFSWWLX75ZJCLZN733PAVCNFSM6AAAAABLMOCRZ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBYG4ZDIMBXGE
.
You are receiving this because you were mentioned.Message ID:
@.***>

🚀 Preview for commit 6c96a017cb09730713e1185214a51e1106afcf52 at: https://66a16a706c7a623b1bee3357--meshery-docs-preview.netlify.app

@leecalcote I think changes are incorporated Pls check it out in both operator and meshsync

Pls check it out

I think it's perfect!
On Thu, Jul 25, 2024 at 2:15 AM Lee Calcote @.***>
wrote:

As I am a newcomer , whatever I could do.I have tried to integrate as per
your guidance Pls suggest any necessary changes. And I am very well open to
all the suggestions and guidance Thanking You Shubh
… <#m_8733046871019690605_>
On Thu, Jul 25, 2024 at 12:40 AM l5io @.> wrote: 🚀 Preview for commit
dd9cad2
https://github.com/meshery/meshery/commit/dd9cad242a84e7270c3d5bf7aed6b00d06e0aab8
<dd9cad2
https://github.com/meshery/meshery/commit/dd9cad242a84e7270c3d5bf7aed6b00d06e0aab8>
at: https://66a1518227d684263362f7cc--meshery-docs-preview.netlify.app
https://66a1518227d684263362f7cc--meshery-docs-preview.netlify.app —
Reply to this email directly, view it on GitHub <#11456 (comment)
https://github.com/meshery/meshery/pull/11456#issuecomment-2248724071>,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A5WMIMUCVGFFSWWLX75ZJCLZN733PAVCNFSM6AAAAABLMOCRZ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBYG4ZDIMBXGE
https://github.com/notifications/unsubscribe-auth/A5WMIMUCVGFFSWWLX75ZJCLZN733PAVCNFSM6AAAAABLMOCRZ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBYG4ZDIMBXGE
. You are receiving this because you were mentioned.Message ID: @.>
Great. I offered feedback, which is ready for incorporation.
—
Reply to this email directly, view it on GitHub
https://github.com/meshery/meshery/pull/11456#issuecomment-2248868313,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A5WMIMV4R4LAWSJ73NIVICDZOAHAFAVCNFSM6AAAAABLMOCRZ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBYHA3DQMZRGM
.
You are receiving this because you were mentioned.Message ID:
@.***>

🚀 Preview for commit 7531ada2acd13943bca77a773015fe582228511a at: https://66a1f12d7f5682bc6961b617--meshery-docs-preview.netlify.app

🚀 Preview for commit 9f93d4b8888c11b11fbfe343f603ad1b7b4a4ac1 at: https://66a357441c1731558318f92b--meshery-docs-preview.netlify.app

@Shubhf, let's discuss this PR during the Meshery dev meeting call, if you would. Please add it as an agenda item to the meeting minutes.


Safari problem

You know I used modified version on your web server, I received some complains from people who are unable to use it on Iphone, decided to investigate, and it do not work, reasons are unknown to me. On my modified version tried to debug it and here is the error:
PANIC: unprotected error in call to Lua API (attempt to yield across metamethod/C-call boundary)
unfortunately no line where error occur specified.
first I decide that I was one who mess the things up while modify it, downloaded your version, run it on safari (old windows version), not worked too, but error is specified:
PANIC: unprotected error in call to Lua API (web.lua:7: attempt to index a nil value)
suspect it is a headers/data parsing problem, but i'm not skilled in that direction to fix it.

suspect it is a headers/data parsing problem

Most likely so it also is.
Does the problem appear on all versions of the safari?
I need to create a situation to eliminate it.

investigating further, If I turn off authentication with another browser and then use safari, it is able to open html files, but when it goes to javascript json data it restart device. CSS and some HTML content is not shown also. Going to find a way to test it on latest safari somehow.

Today tried to check, but I do not have apple devices for the test, tomorrow I download the emulator and will check it on it.

The problem is related to POST requests, the apple does not have everything like people.
And the most interesting is that the problem with the mobile version of safari and desktop is manifested in different ways.
In the mobile version, the POST data is transmitted not in the body of the first request, but separately by the second (without a header)
The desktop version does not send POST data at all.
The difficulty is that the tests did on the emulator and on the old 4S phone, so it will take some time to properly solve this problem.
While I can offer to use in the place of POST, GET request or use a normal browser chrome or firefox.
  function jsonToQueryString(json) {
    return '?' +
      Object.keys(json).map(function(key) {
        return encodeURIComponent(key) + '=' + encodeURIComponent(json[key]);
      }).join('&');
  }

  function send(page, date, callback) {
   var req = new XMLHttpRequest();
   page = page+jsonToQueryString(date);
   req.open("GET", page, true);
   req.addEventListener("load", function() {
    if (req.status < 400) {
     callback(req.responseText)
    } else {
     callback(false)
    }
   });
   req.send(null);
  }

Тhank you got the reply. If I change scrips to be that way, will your web server web_control.lua work peoperly?

On Sun, 5/20/18, Роман<EMAIL_ADDRESS>wrote:
Subject: Re: [bondrogeen/DoT] Safari problem (#12)
To: "bondrogeen/DoT"<EMAIL_ADDRESS>Cc: "nedoskiv"<EMAIL_ADDRESS>"Author"<EMAIL_ADDRESS>Date: Sunday, May 20, 2018, 8:28 PM
The problem is related to POST
requests, the apple does not have everything like people.
And the most interesting is that the problem with the mobile
version of safari and desktop is manifested in different
ways.
In the mobile version, the POST data is transmitted not
in the body of the first request, but separately by the
second (without a header)
The desktop version does not send POST data at all.
The difficulty is that the tests did on the emulator and
on the old 4S phone, so it will take some time to properly
solve this problem.
While I can offer to use in the place of POST, GET
request or use a normal browser chrome or firefox.
function jsonToQueryString(json) {
return '?' +
Object.keys(json).map(function(key) {
return encodeURIComponent(key)

'=' + encodeURIComponent(json[key]);
}).join('&');
}
function send(page, date, callback) {
var req = new
XMLHttpRequest();
page = page+jsonToQueryString(date);
req.open("GET", page,
true);
req.addEventListener("load", function() {
if (req.status < 400) {
callback(req.responseText)
} else {
callback(false)
}
});
req.send(null);
}

—
You are receiving this because you authored the thread.
Reply to this email directly, view
it on GitHub, or mute
the thread.

Yes.

sorry to bother you again,  I noticed something wrong. When I try to save stuff using that get method, it change variables. here is the example:
This is request URL, so I guess everything with javascript is ok:
[ WEB_REQUEST ] /web_control.lc?init=save&f=1&k=1234567890abcdef&mu=100&md=1&ss1=8&ss2=13&bg=2&dg=1&dov=1&dcv=0&ob=13&odt=7&cnt=0&nm=%D0%9C%D0%B0%D1%85%D0%B0%D0%BB%D0%B0%D1%82%D0%B0%20%D0%B1%D0%BB%D0%BE%D0%BA%2021%20%D0%B2%D1%85.1&w_id=r-control.eu&w_pass=88888888&w_phy=3&w_mode=ST&auth_pass=adm1n&auth_login=admin&auth=1
That is variables passed to server as array:
ss1	8
id	r-control.eu
f	1
dg	1
k<PHONE_NUMBER>abcdef
cnt	0
mu	100
bg	2
md	1
dcv	0
odt	7
phy	3
nm	ÐœÐ°Ñ…Ð°Ð»Ð°Ñ‚Ð° Ð±Ð»Ð¾Ðº 21 Ð²Ñ….1
ob	13
dov	1
ss2	13
pass	adm1n
login	admin
mode	ST
auth	1
(I made init=nil, so it is not displayed here)
I suspect parser cut off everything before "_"

Sorry that did not answer quickly, was busy.
Change the line 8 of the file "web_request.lua" to this line
local k, v = kv: match ("(. *) = (. *)")
Check and please let me know about the result.

Your mail somehow go into my spam folder ........ Thank you for the fix, I change all my scripts not to use variables contain "_" meanwhile :)
BTW I modified a little file_list()  function to be able to send array in portions, so now large number of files is possible to be handled. Until now I was able to handle max 280 files before script go out of memory now this problem is gone. If you need that for somewhere take look at this:
https://github.com/nodemcu/nodemcu-firmware/issues/2440#issuecomment-408605402

On Wed, 7/18/18, Роман<EMAIL_ADDRESS>wrote:
Subject: Re: [bondrogeen/DoT] Safari problem (#12)
To: "bondrogeen/DoT"<EMAIL_ADDRESS>Cc: "nedoskiv"<EMAIL_ADDRESS>"Author"<EMAIL_ADDRESS>Date: Wednesday, July 18, 2018, 1:56 PM
Sorry that did not answer quickly, was busy.
Change the line 8 of the file "web_request.lua"
to this line
local k, v = kv: match ("(. *) = (. *)")
Check and please let me know about the result.
—
You are receiving this because you authored the thread.
Reply to this email directly, view
it on GitHub, or mute
the thread.


Example from asn1c-usage.pdf doesn't work.

I'm using asn1c version 0.9.28 on macOS.
The example calls for running:
asn1c -no-gen-example rectangle.asn

But when I do so, I'm greeted with the help text, instead of getting something compiled.

Hi @xfbs,

I'm using asn1c version 0.9.28 on macOS.
The example calls for running:
asn1c -no-gen-example rectangle.asn

But when I do so, I'm greeted with the help text, instead of getting something compiled.

Most probably you are reading the manual asn1c-usage.pdf downloaded from the master branch while you are using the older version 0.9.28 where the  -no-gen-example option is not available.
In the asn1c-usage.pdf from v0.9.28 tag this example is without   -no-gen-example as its not present there.
Is there any particular reason to use v0.9.28 instead of current master?

Ah! That makes sense. Yeah, I cloned the repo for the documentation — but I'm using the asn1c 0.9.28 from Homebrew. Managed to got it working regardless!


When buffering multiple geometries, get a TypeError

Uncaught TypeError: Cannot set property 'properties' of undefined

If you have the geojson data that caused the error, open an issue on turf-buffer, and we can add a test fixture.

@svmatthews Can you post an example of an offending file to a gist and link in here?

Hm, I posted this a while ago and can't seem to recreate. I'll make sure to bring it up if it happens again!

@svmatthews okay, no problem, I was thinking that it may be related to this similar issue that I was running into: https://github.com/Turfjs/turf-buffer/issues/22 .  Upgrading turf-buffer seemed to do the trick.
Forward thinking note: I think it's going to be import for this project to quickly identify whether an issue is a drop-n-chop issue or a turf.js issue and post issues accordingly.  Maybe, if a turf.js is is identified within drop-n-chop, it could be noted with this repo but only point to the issue in the appropriate turf.js repo?


Heterogeneous Graph Masked Autoencoders

I would like to request this paper as a method for OpenHGNN:
https://arxiv.org/abs/2208.09957
Best,
Nicolai

Thanks for your advice. We will take this paper into consideration.


Add 777 Gaming to app page

I added the 2 image files and added 777 info to the bottom of the .json file

There doesn't seem to be much of an on-chain component to this.

We use OSMO as the primary currency on the platform.


[Feat] Implement Search Bar

Description
I propose adding a Search Bar feature to enhance user experience by allowing users to search for specific content, products, or information on the platform. This feature will streamline the navigation process and make it easier for users to find what they are looking for efficiently.
Screenshots

The search Bar will be implemented in this navbar.
Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I'm a GSSoC'24-Extd contributor
[X] I'm a Hacktoberfest'24 contributor
[X] I am willing to work on this issue (optional)

Heyy @Anwishta search bar will not fit properly in navbar  you can work on some other issue and make sure to star our Repo.


merge_update() not merging nested dictionaries or lists

Does this make sense? I need it for myself, but maybe it's not box' responsibility.
(venv) > ipython
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug  1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Type 'copyright', 'credits' or 'license' for more information
In [1]: import box

In [2]: box.__version__
Out[2]: '7.0.1'

In [3]: d1 = {'app': {'S3': {'S3Service': [{'bucket': 'bucket001'}]}}}

In [4]: d2 = {'app': {'S3': {'S3Service': [{'expirationDate': '2099-10-25'}]}}}

In [5]: box1 = box.Box(d1)

In [6]: box1.merge_update(d2, box_merge_lists='extend')

In [7]: box1
Out[7]: Box({'app': {'S3': {'S3Service': [{'expirationDate': '2099-10-25'}]}}})

I was expecting:
In [9]: box1
Out[9]: Box({'app': {'S3': {'S3Service': [{'bucket': "bucket001'"}, {'expirationDate': '2099-10-25'}]}}})

Can anyone help me?

Thanks for bringing this up, fixed in 7.1.0!


Rewrite matlab reading into python

Rewrite Matlab reading Skiymet meteor data (mdp) position files into python.

It may be nice to use Xarray Backend API as here.


Minor grammar correction in faq.html

Just added some missing words.

Thank you for your contribution. The /docs repo uses the .md files to statically generate the .html so any changes need to be made to the .md file. I have created PR#48 to incorporate your change.


Add support for X-WWW-Authenticate header (IDFGH-10936)

I also need the support for the http header X-WWW-Authenticate in my application

Hello @0xFEEDC0DE64
As a part of esp-idf, by default, only the standard HTTP headers are supported. Adding the support X-WWW-Authenticate cannot be done in the way it is done in this PR. But I understand that users should have some method to support custom headers as well.
I am sharing a patch with you which have support for custom authentication headers. You can use the new API introduced in the patch to set the auth data. You have to call the new API in event handler:
case HTTP_EVENT_ON_HEADER:
            if (strcasecmp(client->current_header_key, "X-WWW-Authenticate") == 0) {
                        esp_http_client_set_auth(event->client, event->data, event->data_len);
            }
            break;

Can you try this patch and let me know if this works for you?
Thanks!

Hello @0xFEEDC0DE64
Have you tried the patch shared above? Please let know if it works for you.


Update Set-CsTeamsEventsPolicy.md

Add new recording and transcription params for Teams Events Policy

@SarinaMS please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
@microsoft-github-policy-service agree [company="{your company}"]

Options:

(default - no company specified) I have sole ownership of intellectual property rights to my Submissions and I am not making Submissions in the course of work for my employer.

@microsoft-github-policy-service agree

(when company given) I am making Submissions in the course of work for my employer (or my employer has intellectual property rights in my Submissions by contract or applicable law). I have permission from my employer to make Submissions and enter into this Agreement on behalf of my employer. By signing below, the defined term “You” includes me and my employer.

@microsoft-github-policy-service agree company="Microsoft"

Contributor License Agreement

@microsoft-github-policy-service agree company="Microsoft"

@SarinaMS , please add the parameters to the syntax portion of the documentation as well


Enhance Behavior With Action and Validation

Tutorial URL: https://developers.sap.com/tutorials/abap-environment-behavior-action.html
Hi there,
all steps are working fine. I just would like to know how can I debug in the behavior implementation class. I set a breakpoint in the methods and try to create a new travel in the app. An error message appears as expected for incorrect customer ID, but the breakpoint and debugger is not started.
Much appreicate if you can show how to debug the class and it would help to improve the understanding of the coding a lot.
Thanks and kind regards,
Qingli Wang

have found the way to lauch the debugger. Hence close the report. Thanks!


Upgrade to SONiC 202205

This PR has following changes -

Use community SAI library
Fix compilation and bootup related issues

Note - SONiC 202205 version used is based on Harsha's work (changes until 06/22), yet to migrate to the latest code of 202205.

@ishidawataru - Could you please review and commit this to 202205 branch.

@ksandeep-palc Sorry for the delay. I'll take a look. Thanks a lot for your work!