Attempting to fix modules' indirect depedencies on master

If a server.SimpleService is built locally with our current master branch, the go.mod file looks like this:
require (
    github.com/NYTimes/gizmo v1.2.2-0.20190225181548-11877ba5aa85
    github.com/NYTimes/gziphandler v1.0.1 // indirect
    github.com/NYTimes/sqliface v0.0.0-20180310195202-f8e6c8b78d37 // indirect
    github.com/go-sql-driver/mysql v1.4.1 // indirect
    github.com/gorilla/websocket v1.4.0 // indirect
    golang.org/x/crypto v0.0.0-20181203042331-505ab145d0a9 // indirect
)

I ended up blowing away the existing go.mod and go.sum in the base of the repo and rebuilding everything. With these changes, it's back to simply importing gizmo:
require github.com/NYTimes/gizmo v1.2.2-0.20190225192859-9d0764c8f4cd
I'm still yet to find the cause of the gopherjs packages popping up in our go.sum, but I'm starting to think it has something to do with a test framework used by one of our depedencies.
Unfortunately, despite our latest module changes, even building the simplest of simple servers still yields the same results when running go list as mentioned in #188.  I'm open to suggestions if anyone has any.
If anyone is willing to take a shot, I'm using this server as my control during experiments:
func main() {
	server.Init("hello", nil)
	err := server.Register(&service{})
	if err != nil {
		log.Fatal(err)
	}
	err = server.Run()
	if err != nil {
		log.Fatal(err)
	}
}

type service struct{}

func (s *service) Prefix() string {
	return ""
}

func (s *service) Middleware(h http.Handler) http.Handler {
	return h
}

func (s *service) Endpoints() map[string]map[string]http.HandlerFunc {
	return map[string]map[string]http.HandlerFunc{
		"/": {
			"GET": hello,
		},
	}
}

func hello(w http.ResponseWriter, r *http.Request) {
	io.WriteString(w, "hello!")
}

go mod graph can help you track down why things are landing in go.sum.

Coverage remained the same at 47.063% when pulling 9d0764c8f4cd6d2a2d7a8401afe640cbf7810e7b on more-module-cleanup into 11877ba5aa8541d19ed6e8583588d99c4e5790dc on master.

Coverage remained the same at 47.063% when pulling 9d0764c8f4cd6d2a2d7a8401afe640cbf7810e7b on more-module-cleanup into 11877ba5aa8541d19ed6e8583588d99c4e5790dc on master.

From the graph output, it looks like gopherjs may be coming from github.com/smartystreets/goconvey, but it just says that Gizmo is indirectly using that.
go mod why shows up with: ```╰─➤  go mod why github.com/smartystreets/goconvey/convey
github.com/smartystreets/goconvey/convey
github.com/NYTimes/gizmo/config/aws
github.com/aws/aws-sdk-go/aws/credentials
github.com/go-ini/ini
github.com/go-ini/ini.test
github.com/smartystreets/goconvey/convey```
Which led me to poking around the AWS libs but that appears to be a dead end. :(


launcher: fix virtIONet prohibited func

What this PR does / why we need it:
This PR exports the isVirtIOProhibited into a function.
It also changes the code to invoke this from within the CreateDomainInterfaces function.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Release note:

NONE

/sig network

/uncc @mhenriks
/uncc @marceloamaral
/cc @EdDev
/cc @AlonaKaplan

/approve


getCommit and getRef missing?

Hi,
in the README you provide the functions getCommit and getRef but I can't find it in the code.

They are created here:
https://github.com/rvagg/ghrepos/blob/e5ff8fded0fb421d4cc0610c1f84d5cc242c0dc0/ghrepos.js#L40-L73

Thank you for the quick response!
Then I need to check again why it is not working, I thought because of the missing functions 😄


Add missing require in eval mode for stn

Fix #8
The only drawback is that when using the --eval mode with a network containing a Spatial Transformer, the --st must also be specified otherwise the network will not be loaded properly. This could be prevented by doing a pcall on the torch.load and retry it after requirering stn but it does not feel like the right thing to do.

Thanks!


What about an option to automate it all

I think thats a great idea. Whats your take on that?!

YES
Fantastoc


Flag to enable Hide network messages

Would it be possible to add a flag to toggle Hide network messages in Chrome at puppeteer's launch?
In Chrome, this is how to toggle it:
DevTools -> Settings -> General -> Console -> Hide network messages
Thanks in advance!

@Annihil what do you mean by "hide network messages"? Puppeteer doesn't print any messages anywhere.

Right, puppeteer itself does not, but I'm redirecting chrome's console logs using
page.on('console', consoleMessage => console.log(consoleMessage.text()));

and each time chrome sends an XHR and there is a failure, it outputs
Failed to load resource: the server responded with a status of XXX (Reason)

Right, puppeteer itself does not, but I'm redirecting chrome's console logs using

I'd filter out these message from your page.on('console') callback; this should work quite well for your usecase.


SQL Server 2017 and 2019

Are these two versions still unsupported or is the documentation out of date?

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

ID: a2e7af17-5daf-eebf-92b4-433eca93d328
Version Independent ID: cce235ca-d882-4f70-cacc-b3c2c7feae13
Content: Copy data to and from SQL Server - Azure Data Factory
Content Source: articles/data-factory/connector-sql-server.md
Service: data-factory
GitHub Login: @linda33wj
Microsoft Alias: jingwang

@VitalyMCT thanks for the feedback. These two versions are supported. I've corrected the doc.
#please-close


Update scalajs-dom to 2.2.0

Updates org.scala-js:scalajs-dom from 2.0.0 to 2.2.0.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Files still referring to the old version number
The following files still refer to the old version number (2.0.0).
You might want to review and update them manually.
package-lock.json

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scala-js", artifactId = "scalajs-dom" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequest = { frequency = "@monthly" },
  dependency = { groupId = "org.scala-js", artifactId = "scalajs-dom" }
}]

labels: library-update, early-semver-minor, semver-spec-minor, old-version-remains, commit-count:1

Superseded by https://github.com/scala-js/scala-js-macrotask-executor/pull/55.


Loading extension via args: [] does not work

Trying to load an extension via args: [] doesn't work.
example:
const  { page, browser} = await connect({

    headless: 'no',

    args: [		`--disable-extensions-except=${this.extensionPath}`,
      			`--load-extension=${this.extensionPath}`],

    customConfig: {},

    skipTarget: [],

    fingerprint: false,

    turnstile: true,

    connectOption: {},

    fpconfig: {},

})

Looking into it, it appears the the way the turnstile extension is injected over writes this.
I made a work around by adding my extension to this line:
chromium.js, line 71:
const EXTENSION_PATH = `${dirPath}/extension/,${process.cwd()}/my extension/`;

The library has been updated. This issue should be resolved. Please test with the latest version 1.3.0. I'm closing this issue for now. If the problem persists, please send me a message through this issue and I'll reactivate it.


Fix hard-coded static path issue

Purpose
Having hard-coded absolute paths is poor practice, resolving them dynamically is less likely to fail if anything is changed
Changes

Make collect_static() resolve dependencies when collecting
Template once hard-coded static files

Side Effects
collect_static() takes slightly longer to run

There is a lot of code for templating the static assets here; I'm wondering if it can be made simpler and more general; for example, why only allow {{STATIC_PATH}}? Why not pass the whole mfr config object (could use a templating language like Jinja or Mako), e.g. {{ mfr.config.STATIC_PATH}}?
Holding off on merging this for now. Will just fix the hardcoded paths until we have more time to implement a better solution for templating assets.


[integration-cli] [--net none] Fix TestPullImageOfficialNames

Fix TestPullImageOfficialNames so it will still be a functional test, but will pass when the test container has --net none.
Use the local registry in the container to pull an image.
Error output when tests are run with --net none:
--- FAIL: TestPullImageOfficialNames (0.32s)
	docker_cli_pull_test.go:120: pulling the 'docker.io/hello-world' image from the registry has failed: exit status 1
	docker_cli_pull_test.go:120: pulling the 'index.docker.io/hello-world' image from the registry has failed: exit status 1
	docker_cli_pull_test.go:120: pulling the 'library/hello-world' image from the registry has failed: exit status 1
	docker_cli_pull_test.go:120: pulling the 'docker.io/library/hello-world' image from the registry has failed: exit status 1
	docker_cli_pull_test.go:120: pulling the 'index.docker.io/library/hello-world' image from the registry has failed: exit status 1

@jfrazelle I have renamed the test to use local registry and also changed code to load a saved registry image. Few issues - 1. Where do we download the registry image from(over 150MB, docker pull registry && docker save registry | gzip > integration-cli/registry.tar.gz)? 2. docker load takes time and starting the V1 registry server is slow and I had a sleep to make the test pass.
Tried building the registry locally from source code and that is time consuming and have dependencies that may need network.
Please let me know your suggestions.

might @tianon's #11119 help here?

@ahmetalpbalkan I have tries two path here, 1) download docker_registry v1 and then build like we do busybox, this  takes lots of time. 2) have saved image checked in into integration-cli (because we do not have network), the image is 150MB if it is zipped and github does not allow it to be checked in unless we split it. But at the same time I want to know if we really want to check this in.
Once I have clarity I can issue PR.

might @tianon's #11119 help here?

Yes, yes, yes -- we definitely do not want to check in the registry v1 code, but #11119 would let us download it directly from the Hub in a deterministic way as-is instead.


Feature request: event_handler Resolver ability to return http response

Use case
A lambda function URL response with a http redirect.
Solution/User Experience
ResponseBuilder.build method to return direct route function result when is a dict with statusCode, body attributes
Alternative solutions
No response
Acknowledgment

[X] This feature request meets Powertools for AWS Lambda (Python) Tenets
[ ] Should this be considered in other Powertools for AWS Lambda languages? i.e. Java, TypeScript, and .NET

Hello @jordital! Thank you for opening this issue. Can you help me better understand the problem here? Maybe providing a code snippet to understand the challenge and how we can help you with this?

Hello, @jordital! Just wanted to check if you still need help with this. Please let us know.

Closing this issue! Please feel free to reopen.


Unexpected panic for malformed URI with brackets

Doing some fuzzing I encountered this:
    let uri = "http://[]@[";
    let uri = uri.parse::<http::Uri>().unwrap(); // is ok
    uri.host(); // panics

The panic is parsing should validate brackets and come from here: https://github.com/hyperium/http/blob/v0.2.1/src/uri/authority.rs#L486
I expect this to surface as an Err and panic on .unwrap().

Yep, this looks wrong. Thanks for reporting!


fix: corrected ParseServiceData data length check

Problem
The ParseServiceData function was broken. The length check was utilizing a length of 7 which caused the function to always return None.
Change overview
The correct length of the data parameter is 8. I have made this a constant at the top of the file to also remove the use of a magic number.
Testing
Manually tested against both Darwin and Linux Python controller applications.

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


Reading just the RGB camera data from L515

Before opening a new issue, we wanted to provide you with some useful suggestions (Click "Preview" above for a better view):

Consider checking out SDK examples.
Have you looked in our documentations?
Is you question a frequently asked one?
Try searching our GitHub Issues (open and closed) for a similar issue.

All users are welcomed to report bugs, ask questions, suggest or request enhancements and generally feel free to open new issue, even if they haven't followed any of the suggestions above :)

Required Info

Camera Model
{ L515}

Firmware Version
(Open RealSense Viewer --> Click info)

Operating System & Version
{Linux (Ubuntu 18)

Kernel Version (Linux Only)
(e.g. 4.14.13)

Platform
NVIDIA Jetson

SDK Version
{ 2.0 }

Language
{python }

Segment
{others }

Issue Description
I'm currently trying to read just the RGB camera and not the LIDAR data from L515 into Jetson Nano.  My question is can I do this with the existing code samples.
Any pointers or references to the existing documentation would be great. As I could not find any examples on how to read just the RGB camera

Hi,
There isn't an example that does this specifically, but it's fairly straightforward to request different frames. If you look at this example:
https://github.com/IntelRealSense/librealsense/tree/master/examples/hello-realsense
simply replacing the calls/data for depth_frame get_depth_frame() with video_frame get_color_frame() should accomplish that.
Thanks

Thanks for the reply will try the mentioned approach.


Adding Wars

Make the war number sequential based on the number of wars currently in the database. This leaves less room for error

This doesn't allow for wars to be added in the past very easily, and in general is just bad programming


inference code

Hi, @jfzhang95
it's a very good repository. I am a new at deep learning research. And how to only use this repository to infer 1 image ? if possible, can anyone share the inference code?
thank you very much.
best regards,
Albert

@jfzhang95 please take a look at the request.

Here is a very simple code for inference. Note that you need to have downloaded the checkpoint ""deeplab-resnet.pth" before and put it in the same directory (url availabe in git readme).
from PIL import Image
import numpy as np

import torch
import torchvision.transforms as tr

from modeling.deeplab import DeepLab
from dataloaders.utils import decode_segmap

device = torch.device('cuda:0' if torch.cuda.is_available() else 'cpu')

checkpoint = torch.load("deeplab-resnet.pth")

model = DeepLab(num_classes=21,
                backbone='resnet',
                output_stride=16,
                sync_bn=True,
                freeze_bn=False)

model.load_state_dict(checkpoint['state_dict'])
model.eval()
model.to(device)

def transform(image):
    return tr.Compose([
        tr.Resize(513),
        tr.CenterCrop(513),
        tr.ToTensor(),
        tr.Normalize(mean=(0.485, 0.456, 0.406), std=(0.229, 0.224, 0.225))
        ])(image)

torch.set_grad_enabled(False)

image = Image.open('image2.jpg')
inputs = transform(image).to(device)
output = model(inputs.unsqueeze(0)).squeeze().cpu().numpy()
pred = np.argmax(output, axis=0)

# Then visualize it:
decode_segmap(pred, dataset="pascal", plot=True)

I just test the code ,found the result is not so satisfying.

Thank you @theevann for the response. Actually i have finished write the inference code by my self .
Below is the sample code that i used.
############################################################################
import argparse
import os
import numpy as np
import torch
import cv2
from modeling.sync_batchnorm.replicate import patch_replication_callback
from modeling.deeplab import *
from dataloaders.utils import decode_segmap
numClass={'pascal':21,
'coco':21,
'cityscapes':19}
parser = argparse.ArgumentParser(description="PyTorch DeeplabV3Plus Training")
parser.add_argument('--backbone', type=str, default='resnet',
choices=['resnet', 'xception', 'drn', 'mobilenet'],
help='backbone name (default: resnet)')
parser.add_argument('--out-stride', type=int, default=16,
help='network output stride (default: 8)')
parser.add_argument('--dataset', type=str, default='cityscapes',
choices=['pascal', 'coco', 'cityscapes'],
help='dataset name (default: pascal)')
parser.add_argument('--sync-bn', type=bool, default=None,
help='whether to use sync bn (default: auto)')
parser.add_argument('--freeze-bn', type=bool, default=False,
help='whether to freeze bn parameters (default: False)')
parser.add_argument('--weightPath', type=str, default=None,
help='put the path to resuming file if needed')
parser.add_argument('--imgPath', type=str, default=None,
help='put the path to resuming file if needed')
parser.add_argument('--outPath', type=str, default=None,
help='put the path to resuming file if needed')
parser.add_argument('--no-cuda', action='store_true', default=
False, help='disables CUDA training')
args = parser.parse_args()
args.cuda = not args.no_cuda and torch.cuda.is_available()
nclass = numClass[args.dataset]
model = DeepLab(num_classes=nclass,
backbone=args.backbone,
output_stride=args.out_stride,
sync_bn=args.sync_bn,
freeze_bn=args.freeze_bn)
if args.cuda:
model = torch.nn.DataParallel(model, device_ids=[0])
patch_replication_callback(model)
model = model.cuda()
weight_dict=torch.load(args.weightPath)
model.module.load_state_dict(weight_dict['state_dict'])
model.eval()
image = cv2.imread(args.imgPath)
image = image.astype(np.float32) / 255.
means = [0.485, 0.456, 0.406]
stds = [0.229, 0.224, 0.225]
image = image[:, :, ::-1]
for i in range(3):
image[:, :, i] = image[:, :, i] - means[i]
image[:, :, i] = image[:, :, i] / stds[i]
oriDim = image.shape
image = cv2.resize(image, dsize=(513,513))
image = torch.from_numpy(image.transpose((2, 0, 1)).astype(np.float32)).float().unsqueeze(0)
if args.cuda:
image = image.cuda()
with torch.no_grad():
output = model(image)
output = output.data.cpu().numpy()
prediction = np.argmax(output, axis=1)
segmap = decode_segmap(prediction[0], dataset=args.dataset)
segmap = (segmap*255).astype(np.uint8)
segmap = cv2.resize(segmap,dsize=(oriDim[1],oriDim[0]))
segmap = segmap[:, :, ::-1]
cv2.imwrite(args.outPath,segmap)
##############################################################################

@theevann Thanks for your inference code, it is very useful. But when I run your code, here comes the error:

size mismatch for decoder.last_conv.8.weight: copying a param of torch.Size([19, 256, 1, 1]) from checkpoint, where the shape is torch Size([21, 256, 1, 1]) in current model.
Note that I use the pretrained model "deeplab-resnet.pth", and keep all the params just as you are.

@linkAmy This is a problem with the number of class. You are using a checkpoint with 19 classes, so you should change the num_classes parameter in the call to instantiate the model :
model = DeepLab(num_classes=19, # Change this line
                backbone='resnet',
                output_stride=16,
                sync_bn=True,
                freeze_bn=False)

Here is a very simple code for inference. Note that you need to have downloaded the checkpoint "deeplab-resnet.pth" before and put it in the same directory (url availabe in git readme).
from PIL import Image
import numpy as np
import torch
import torchvision.transforms as tr
from modeling.deeplab import DeepLab
from dataloaders.utils import decode_segmap
device = torch.device('cuda:0' if torch.cuda.is_available() else 'cpu')
checkpoint = torch.load("deeplab-resnet.pth")
model = DeepLab(num_classes=21,
backbone='resnet',
output_stride=16,
sync_bn=True,
freeze_bn=False)
model.load_state_dict(checkpoint['state_dict'])
model.eval()
model.to(device)
def transform(image):
return tr.Compose([
tr.Resize(513),
tr.CenterCrop(513),
tr.ToTensor(),
tr.Normalize(mean=(0.485, 0.456, 0.406), std=(0.229, 0.224, 0.225))
])(image)
torch.set_grad_enabled(False)
image = Image.open('image.jpg')
inputs = transform(image).to(device)
output = model(inputs.unsqueeze(0)).squeeze().cpu().numpy()
pred = np.argmax(output, axis=0)
Then visualize it:
decode_segmap(pred, dataset="pascal", plot=True)
Note that this is a code for a model trained on the Pascal Voc dataset. If you want to use it with another dataset, you need to change the num_classes parameter and the normalization.
For example, for Cityscapes, use num_classes=19, and change the normalization to:
tr.Normalize(mean=(0.2838, 0.3251, 0.2869))
For visualization, you then need: decode_segmap(pred, dataset="cityscapes", plot=True)

Here is a very simple code for inference. Note that you need to have downloaded the checkpoint "deeplab-resnet.pth" before and put it in the same directory (url availabe in git readme).
from PIL import Image
import numpy as np
import torch
import torchvision.transforms as tr
from modeling.deeplab import DeepLab
from dataloaders.utils import decode_segmap
device = torch.device('cuda:0' if torch.cuda.is_available() else 'cpu')
checkpoint = torch.load("deeplab-resnet.pth")
model = DeepLab(num_classes=21,
backbone='resnet',
output_stride=16,
sync_bn=True,
freeze_bn=False)
model.load_state_dict(checkpoint['state_dict'])
model.eval()
model.to(device)
def transform(image):
return tr.Compose([
tr.Resize(513),
tr.CenterCrop(513),
tr.ToTensor(),
tr.Normalize(mean=(0.485, 0.456, 0.406), std=(0.229, 0.224, 0.225))
])(image)
torch.set_grad_enabled(False)
image = Image.open('image.jpg')
inputs = transform(image).to(device)
output = model(inputs.unsqueeze(0)).squeeze().cpu().numpy()
pred = np.argmax(output, axis=0)
Then visualize it:
decode_segmap(pred, dataset="pascal", plot=True)
Note that this is a code for a model trained on the Pascal Voc dataset. If you want to use it with another dataset, you need to change the num_classes parameter and the normalization.
For example, for Cityscapes, use num_classes=19, and change the normalization to:
tr.Normalize(mean=(0.2838, 0.3251, 0.2869))
For visualization, you then need: decode_segmap(pred, dataset="cityscapes", plot=True)

hello! I have run your code and find it very useful,thank you! but i find the output image is cropped,how can i get a result with the same size of my input!thank yooo very much!!!

Just remove these two lines:
tr.Resize(513),
tr.CenterCrop(513),

@theevann Hi, theevann thank you for providing the useful code.
I want to finetune on my own dataset with only 3 classes. How shold I do it?
Thanks

You should replace the last convolution layer of the decoder by a convolution layer with 3 channels.
Something like :
self.model.decoder.last_conv[-1] = nn.Conv2d(256, 3, kernel_size=1, stride=1)

@theevann Thanks a lot!

@theevann  it works great before but i have a error now after change something ( i have no idea )
Exception has occurred: UnpicklingError
A load persistent id instruction was encountered,
but no persistent_load function was specified.
File "/home/seg/pytorch-deeplab-xception/infer.py", line 12, in
checkpoint = torch.load("/home/seg/pytorch-deeplab-xception/checkpoint.pth.tar")
even i use "deeplab-resnet.pth" , same error occured. Do you have any idea ?


Intermittent circe-java8 failure

Possibly related to #275.
[info] - Codec[ZonedDateTime].codec.roundTrip *** FAILED ***
[info]   GeneratorDrivenPropertyCheckFailedException was thrown during property evaluation.
[info]    (Discipline.scala:14)
[info]     Falsified after 5 successful property evaluations.
[info]     Location: (Discipline.scala:14)
[info]     Occurred when passed generated values (
[info]       arg0 = 2705-12-05T17:49:07Z[GMT0]
[info]     )
[info]     Label of failing property:
[info]       (Left(DecodingFailure(ZonedDateTime, List())) ?== Right(2705-12-05T17:49:07Z[GMT0])) failed

Looks like ISO_ZONED_DATE_TIME cannot always parse its own output :)
scala> val original = ZonedDateTime.parse("2001-02-03T04:05:06Z")
original: java.time.ZonedDateTime = 2001-02-03T04:05:06Z

scala> val ok1 = ZonedDateTime.parse(original.toString)
ok1: java.time.ZonedDateTime = 2001-02-03T04:05:06Z

scala> val hki = original.withZoneSameInstant(ZoneId.of("Europe/Helsinki"))
hki: java.time.ZonedDateTime = 2001-02-03T06:05:06+02:00[Europe/Helsinki]

scala> val ok2 = ZonedDateTime.parse(hki.toString)
ok2: java.time.ZonedDateTime = 2001-02-03T06:05:06+02:00[Europe/Helsinki]

scala> val gmt0 = original.withZoneSameInstant(ZoneId.of("GMT0"))
gmt0: java.time.ZonedDateTime = 2001-02-03T04:05:06Z[GMT0]

scala> val bad = ZonedDateTime.parse(gmt0.toString)
java.time.format.DateTimeParseException: Text '2001-02-03T04:05:06Z[GMT0]' could not be parsed, unparsed text found at index 20
…

JDK bug: JDK-8138664. From what I can tell it'll be fixed in Java 9?

Ugh. Thanks for figuring this out, @liff. I guess we should add a filter to the Arbitrary instance?


chore: Upgrade minimum Dart & Flutter versions

Description

Upgrade min Dart to v2.7.0
Upgrade min Flutter to v3.0.0

Checklist

[x] The title of my PR starts with a [Conventional Commit] prefix (fix:, feat:, docs:, chore: etc).
[x] I have read the [Contributor Guide] and followed the process outlined for submitting PRs.
[ ] I have updated/added tests for ALL new/updated/fixed functionality.
[ ] I have updated/added relevant documentation and added dartdoc comments with ///, where necessary.
[ ] I have updated/added relevant examples in [example].

Breaking Change
Don't exactly know if this counts as breaking as it more depends on the environment than on the code itself..., maybe.

[ ] Yes, this is a breaking change.
[x] No, this is not a breaking change.

Related Issues
#1352

@spydon I only checked lints and the enums. Feel free to push any improvements to this branch!


Add Dismissible Widget to the Widget Catalog

Dismissible Widget needs to be implemented in the Widget Catalog. Make sure to include the description of the widget in the Description tab and add an argument to include link to the official docs of the widget (Refer to any example in homepage.dart for better understanding. Showcase various implementations of the widget including different background colors, onDismissed property, secondary background, direction property, etc. You can showcase this on ListTiles.
Please attach a screen recording of the same once done in your PR.

Hi pls assign this to me

Hi pls assign this to me

Sure, good luck!


Android - rotate screen -> disconnect

running latest release (installed from Google pla) .
When I rotate the screen (rotate the phone), the connection gone (Disconnect and back to connect screen)

closing due to lack of updates.
If still an issue with master please reopen.


WITHOUT ROWID support?

Any way to have without rowid table in sqlite-net?

No simple way.
Of course you can always Execute "CREATE TABLE" yourself.

I think it would be great if we had access to the basic Sqlite methods beside automated methods in library.
For example having a function to get a row without any class defined like what @tofutim has done here #82

@mohammadomt You do have access to everything. Use the Handle property and the Sqlite3 class to do whatever you want.
I have reopened #82

Added an implementation in my fork by adding the TableAttribute with a new WithoutRowId property. The CreateTable method reads this property and adds without rowid to the create table – pretty straight forward.
What do you think?


Outline flashes when editing with markers enabled

Type: Feature Request

"markdown.validate.enabled": true
Open a md file and introduce some errors, such as [no such]
Open the outline
Start typing in the document

Bug
The outline flickers. This is most noticable for the outline items that have error highlighting on them
VS Code version: Code - OSS Dev 1.78.0 (Commit unknown, Date unknown)
OS version: Darwin x64 22.3.0
Modes:
Sandboxed: No

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.76.2. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Enable check-param-names

Trying to reduce the amount of stuff that often gets called out in PRs
https://github.com/gajus/eslint-plugin-jsdoc#eslint-plugin-jsdoc-rules-check-param-names
Ensures that parameter names in JSDoc match those in the function declaration.
Not enabling this for all core code since a ton of the VS Code stuff fails this check currently.
Will be following up with other rules, such as https://github.com/gajus/eslint-plugin-jsdoc#require-param to require that all params are included (this rule just checks that if they are declared they actually exist in the function)

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 48.282%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
14766

Relevant Lines:
29039

💛  - Coveralls


Misleading Bingo prompt and missing prompt in chat box

There are just two small bugs I've noticed with bingo.
When bingo resets It says you have 24 hours to complete Bingo instead of 12.
When you complete Bingo it does not announce that you received the random shiny, but it does put it in your PC
I guess there might be a third bug, but unsure if it's intended with the new bingo system, but it no longer announces the exact time you have left to complete bingo.  It will always just show you how many hours you have left.
To Reproduce
Steps to reproduce the behavior:
For Bug 1

Wait for Bingo to Reset
See Error: "You have 24 hours to complete your bingo"

Bug 2

Complete Bingo
See Error: Does not announce the acquisition of random shiny despite it going into PC

Bug 3 (unsure if bug)

Let bingo reset or type /bingo wgule working on bingo.
See you have X hours left to complete bingo.

Expected behavior
For Bug 1, I expect to see "You have 12 hours to complete your bingo"
For Bug 2, I expect to see a prompt for me receiving a shiny.
For Bug 3, if it is a bug, I expect to see the the exact time you have left for completing your bingo instead of the closest hour rounded up, like prior bingos used to.
Screenshots
If applicable, add screenshots to help explain your problem.
Centuron
Titan
Logs:
Where needed, please find your logs with the method down below. Make sure to include the file, or better yet, use a site like https://pastebin.com/ to add it to the ticket without copy pasting all the contents of the file.
For the Minecraft Launcher : C:\Users\USER\AppData\Roaming.minecraft\logs
For the Technic Launcher: C:\Users\USER\AppData\Roaming.technic\modpacks\pixelmon-reforged\logs
For the ATLauncher: C:\Users\USER\AppData\Roaming\ATLauncher\Instances\PixelmonCraft\logs
For the Twitch Launcher: C:\Users\USER\Documents\Curse\Minecraft\Instances\PACK\logs
Additional context
Add any other context about the problem here.

Fixed bugs 1 and 2, 3 is intended! Closing


Enumerator for matches (wip)

Retain memory of Vector/ulong searches as they can find multiple per search
Example use is function ValidateCompileTimeEnumeratorUse
Performance may be terrible
/cc @KrzysztofCwalina

Added some tests; MatchesEnumerator is much larger than I was aiming for 😢

Is there a way of limiting what the PerHarness runs; rather than running everything?

Is there a way of limiting what the PerHarness runs; rather than running everything? It seems to be working so would like to test vs indexOf & vector IndexOf

Is there a way of limiting what the PerHarness runs; rather than running everything? It seems to be working so would like to test vs indexOf & vector IndexOf

The temporary workaround for now:
You could comment out the other assemblies here and only have your assembly (which contains only your perf tests) to run:
https://github.com/dotnet/corefxlab/blob/master/scripts/PerfHarness/PerfHarness.cs#L34
We already have an ask for the xunit.performance team to enable us to run perf tests by class type/name.

cc @shiftylogic
Would it be better to have a more general purpose API? e.g.
// returns true if delimiter (stopAt) not hit
bool IndexesOf(ReadOnlySpan buffer, ReadOnlySpan value, Span indexes, out int foundCount, ReadOnlySpan stopAt)?
Headers could be parsed as follows:
var indexes = stackalloc Span<byte>(20);
while(buffer.IndexesOf("\r\n"u8, indexes, out var found, "\r\n\r\n"u8)){
    for(int i=0; i<foundCount; i++){
        yield return buffer.Slice(indexes[i], indexes[i+1] - indexes[i]);
    }
}

yield would box though IEnumerable? so couldn't use spans?

Sorry. I did not mean that the calling code would literally yield and/or use spans. i.e. I don't known what the calling code would want to do, and it's the whole point of the more general API. If the code wanted to implement (on top of the more general API) an enumerable, it could. If it wanted to materialize strings and add them to a dictionary, it could. If it wanted to just record the indexes/ranges for later, it could. etc.

Param Span indexes would be ref and found not needed? So:
bool IndexesOf(ReadOnlySpan buffer, ReadOnlySpan value, ref Span foundIndexes, ReadOnlySpan stopAt)?

Max to find specified by ingoing length and number found specified by out coming length? Or that confusing?

Max to find specified by ingoing length and number found specified by out coming length? Or that confusing?

I am confused.

buffer.Length before the call would indicate maximum number of indexes to find. buffer.Length after the call would indicate the number of indexes found.
I do think such API is a bit more difficult to understand what's going on, but if the perf benefit is there, we should consider.

Was me that was confused; forgot you could update a Span's data without passing it by ref; have been mixing too many concepts in too many PRs 😆

@benaadams close?


⚠ Anthelion has degraded performance

In e8b7f73, Anthelion ($ATH) experienced degraded performance:

HTTP code: 200
Response time: 2417 ms

Resolved: Anthelion performance has improved in c9fbd5c after 412 days, 12 hours, 22 minutes.


page links to panes in multi-nav not working

not sure if this is already a know issue but we've noticed it on a future teacher resource and I've now tested in 3.10 and develop and it does seem this has stopped working.
e.g. multi-nav set to tabs with 3 panes tab 1, tab 2, tab 3
page links in the page text to each of the tabs which show in the page links menu as -tab 1, -tab 2, -tab 3
I think this did work but now doesn't?

@ronm123 It's taken me ages to recreate this as it only seems to be when the tabs are named numerically. See this example: Link example where the links to tabs A,B,C work but the links to tabs 1,2,3 aren't right.
Does this fit with your examples where you've seen the links not working correctly?

There are two bugs with links to tabs:

[ ] Links to tabs with numeric names don't work (see link above)
[ ] Links to tabs on the same page don't work

@ronm123 could you see if this fixes it for you? I haven't looked at the additional bug I found yet, so make sure your tabs don't just have a number as their name when testing. Thanks

Thanks for checking this @FayCross and sorry it took you ages to find the issue with numeric names. That wasn't the issue I noticed even though I referred to creating tab1 tab2 etc to test because the FT resource where I first noticed this didn't have numeric names. However it was the issue with the links being on the same page rather than a previous or later page and those links on previous or later pages do work. I'll pull down your partial fix but as we discussed I can't help thinking this did work and is a result of a change and I'm pretty sure that once I tested links on the same page previously I used it in other places too. Trouble is I'm not sure I still have any older installs to verify that.

@ronm123 no problem. If it did work previously then it's probably the work I did sometime ago to get the url to reflect page changes that broke it as that rewrote a lot of the linking code. I think I have a fix for the other bug too so will commit shortly after testing

@FayCross just tested and yes thanks that fixes the same page issue which is great. I'll update xenith in the FT install where I noticed this and add the links back in. Actually I might wait until you've checked and committed the numeric name fix too.

@ronm123 second issue should also now be fixed


Incorrect RNN documentation

In the tensorflow.python.ops.rnn.rnn docs:

Dynamic calculation returns, at time t:
(t >= max(sequence_length)
? (zeros(output_shape), zeros(state_shape))
: cell(input, state)

But if we look at _dynamic_rnn_step, what seems more reasonable is happening: the old state gets passed through unaltered if t >= max(sequence_length).

okay I've just had the same problem haha so I'll continue here.
It seems the older version of tensorflow uses the unreasonable 0 everything approach in rnn.rnn
but the newer version of tensorflow uses the reasonable approach in _dynamic_rnn_step, and it has yet to go back to rnn to change its comments
I've discovered this by trying to use the rnn and upgrading tensorflow from an old version to 0.6.0 just now.
would be nice to have an official clarification though

Documentation should be fixed in the next sync


Params inlay hints for vim

I hope in the future vim will support this feature like VSCode, it really helpful.

Just to be clear here: You are talking about Skip<Args> in the picture? And that is not really in that line? That sounds like the virtual-text feature from neovim? Or are you talking about something different? Please provide a bit more detail here.

Duplicate of #7553.


How to detect hardlinks?

We would like to use dfind in combination with dwalk to find hardlinks.
The dfind command line tool does not provide this option as of now.
I am wondering how difficult it would be to add this feature?
As far as I can tell, dwalk uses stat to retrieve information about a file/directory which is used for some filters (gid, atime, etc).
Is the entire stat struct stored in the binary output of dwalk ? (the text output does not contain it)

Unfortunately, we don't record the hard link information from stat in the binary file from dwalk either.  In fact, we don't even have an interface for hard links in our mfu_flist, which is a fundamental data structure that all of the tools are built around.  That means adding full and proper support would take time and require a new binary file format.
Can you describe in more detail the operation you'd like to do?

Thanks for the quick reply.
We are dealing with a storage migration where the source filesystem might have symlinks and hardlinks. Dsync will properly snyc the symlinks however the hardlinks are dereferenced on the target filesystem.
Coreutils cp has the --preserve=link or -a flag to deal with this.
My assumption was that even if mpifileutils cannot deal with hardlinks, we could at least filter out the hardlinks from the source and then copy them over using the regular coreutil cp tool or rsync.

Thinking about this more.  It would take a lot of work (time) to add full support for hard links into the library, but one might be able to create a one-off filtering tool relatively quickly.  It would require stat'ing each file twice.  One could do a full mfu_flist_walk to get an initial list, then each process could stat each of its items within its local list.  The process checks the hard link count of each item, and either copies the item into an output list or drops the item.  Finally, the resulting filtered list is written out.

@adammoody
That would be actually a good workaround. So basically one would write a new CLI tool that takes the output of dwalk and runs stat every file again and then outputs the hardlinks or the list without hardlinks.
I haven't done any C code for a long long time but I will have a look. Probably makes sense to take the code from dfind as a base and adapt it ?

I can likely hack up something to help get you started.  Will do that in a bit.

Here is a branch with a one-off tool:
https://github.com/hpc/mpifileutils/tree/hardlink
You can grab the source here and see the buildme script for the compile line:
https://github.com/hpc/mpifileutils/tree/hardlink/src/dhardlink
This finds all regular files with more than one hardlink count and adds those to a subset list.  It prints the summary of hardlinked and non-hardlinked files.  You can also have it output the list to a file.
This could be extended in a few ways.  For example, there are sort and remap functions that could help if you wanted to list the set of files that all refer to the same inode.  Given that, you could do a full copy of a directory (which would make multiple copies of hardlinked files), then send extras to drm to be deleted, and finally write another tool to hardlink those files again.
Feel free to submit PRs to this branch or I can help iterate on it with you.

@adammoody WOW thanks a lot ! That's awesome.
I would maybe first extend the CLI parameters so that one can output both the list of hardlinks and the other lists at the same time as the code maintains both lists.
This way we could for example copy the non hardlinks with dsync and then copy the other ones using coreutils cp with the preserve links option (as a workaround).
I will also have a look at the sort and remap functions.  I guess they are in the mfu library directory ?
Also I found https://github.com/hpc/mpifileutils/blob/master/src/common/mfu_io.c#L233 so I could use that function to re-create the hardlinks ?

@adammoody I wonder if this can move forward? dsync(dcp) copies hardlink files as the regular file is still an big limitation today... it doesn't make "sync" between exact src and dst tree.

FYI, note that Lustre has a mechanism to fetch the hard links to a file in O(1).  The "trusted.link" xattr contains the parent directory FID and the filename for hard links to a file (subject to space limitations in the xattr, up to 160 links AFAIR).
The llapi_fid2path() function can iterate over all of the links in the "trusted.link" xattr and return the various pathnames to the file.


ERROR: [facebook]: No video formats found!

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm reporting that yt-dlp is broken on a supported site
[X] I've verified that I have updated yt-dlp to nightly or master (update instructions)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[ ] I've read about sharing account credentials and I'm willing to share it if required

Region
No response
Provide a description that is worded well enough to be understood
Attempting to download a Facebook (public) reel throws up the error indicated in the subject of this issue. The error pops up regardless of the proxy option to the command. Additionally, I cannot use the command without overriding the certificate check.
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[ ] If using API, add 'verbose': True to YoutubeDL params instead
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
[debug] Command-line config: ['--proxy', 'localhost:3128', '-U', '--no-check-certificates', '-v', 'https://www.facebook.com/reel/1704841553648926']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>from yt-dlp/yt-dlp-nightly-builds [914af9a0c] (darwin_legacy_exe)
[debug] Python 3.10.5 (CPython x86_64 64bit) - macOS-10.9.5-x86_64-i386-64bit (OpenSSL 1.1.1n  15 Mar 2022)
[debug] exe versions: ffmpeg N-101508-ge93403b (setts), ffprobe N-101508-ge93403b
[debug] Optional libraries: Cryptodome-3.21.0, brotli-1.1.0, certifi-2024.08.30, mutagen-1.47.0, requests-2.32.3, sqlite3-3.37.2, urllib3-2.2.3, websockets-13.1
[debug] Proxy map: {'all': 'localhost:3128'}
[debug] Request Handlers: urllib, requests, websockets
[debug] Loaded 1839 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp-nightly-builds/releases/latest
Latest version<EMAIL_ADDRESS>from yt-dlp/yt-dlp-nightly-builds
yt-dlp is up to date<EMAIL_ADDRESS>from yt-dlp/yt-dlp-nightly-builds)
[facebook:reel] Extracting URL: https://www.facebook.com/reel/1704841553648926
[facebook] Extracting URL: https://m.facebook.com/watch/?v=1704841553648926&_rdr
[facebook]<PHONE_NUMBER>648926: Downloading webpage
ERROR: [facebook]<PHONE_NUMBER>648926: No video formats found!; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
Traceback (most recent call last):
  File "yt_dlp/YoutubeDL.py", line 1625, in wrapper
  File "yt_dlp/YoutubeDL.py", line 1781, in __extract_info
  File "yt_dlp/YoutubeDL.py", line 1840, in process_ie_result
  File "yt_dlp/YoutubeDL.py", line 2846, in process_video_result
  File "yt_dlp/YoutubeDL.py", line 1122, in raise_no_formats
yt_dlp.utils.ExtractorError: [facebook]<PHONE_NUMBER>648926: No video formats found!; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U

duplicate of #11337
run yt-dlp --update-to master or wait an hour and update to the latest nightly

Why?

because this is a duplicate issue that has already been fixed. update to nightly/master


count deprecated

in Typescript ICollection.count is marked as deprecated but use countDocuments internal

PR Fix in #331 .

PR Fix in #331 .


[1259] Rename institution_code to provider_code

Context
This is needed to match the frontend with the backend API V2. See https://github.com/DFE-Digital/manage-courses-backend/pull/249
Changes proposed in this pull request
Just rename all mentions of institution_code to provider_code, no other changes were needed.
Guidance to review

https://trello.com/c/bPZDnJjy


Update README.md

Purpose

...

Does this introduce a breaking change?

[ ] Yes
[ x] No

Pull Request Type
What kind of change does this Pull Request introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[x ] Documentation content changes
[ ] Other... Please describe:

How to Test

Get the code

git clone [repo-address]
cd [repo-name]
git checkout [branch-name]
npm install

Test the code

What to Check
Verify that the following are valid

...

Other Information

Allow to index on Azure Code Samples

Any updates?


font-subset should run natively on Apple Silicon arm machines

The bin/cache/artifacts/engine/darwin-x64/font-subset artifact only contains a x64 slice, so runs with Rosetta on an arm64 Mac.  Ship a native arm64 variant to run on Apple Silicon host machines.
https://github.com/flutter/engine/blob/82c2a5dcfa8c9cac6cc39898b808797f0bc43f47/tools/font-subset/BUILD.gn

@zanderso

@dnfield

Fixed by https://github.com/flutter/flutter/pull/110291


SREP-1143: Prep for CI pipeline

Adds config/config.go (for openshift/osd-operators-registry)
"Standardizes" Makefile (with helpers)
"Standardizes" Dockerfile

Remove extraneous build/bin pieces

Signed-off-by: Lisa Seelye<EMAIL_ADDRESS>@jharrington22 does this change interfere with app-sre bits?

@lisa re: breaking app-sre, looks like yes:
https://ci.ext.devshift.net/job/openshift-aws-account-operator-gh-pr-check/6/console
make: *** No rule to make target `docker-build'.  Stop.

Recommend update Makefile to have a target for this.
.PHONY: docker-build
docker-build: build

ALSO need OWNERS file: https://github.com/openshift/dedicated-admin-operator/blob/master/OWNERS

Done...

/hold for james review

/hold cancel

/approve

/lgtm

/lgtm


Avoid deepcopying defaults for containers in stage1

@kosack @LukasNickel had to merge, please re-approve

@kosack @HealthyPear I adressed the comments, please re-review


add one line comment for the config

add the comment to indicate the reader that this line is not necessary and show the default behavior which I think can help enhance the understanding.

Sorry for the delay. Thanks for your contribution 👍


Overhaul of docs

It's worth reviewing this one commit at a time.
I've pushed the results to http://googlecloudplatform.github.io/gcloud-dotnet

LGTM


Should we add x-common versions to our non-generated exercises?

Putting the x-common version in all of our generators gives us a benefit: We can easily detect when our tests go out of date, so we know when to rerun the generators.
Until we finish #605, we have non-generated exercises. Let's say #605 will take a few months to complete, and/or we decide that there are some exercises we don't want to generate (how to generate react???).
Would it help if we added an x-common version for all currently non-generated exercises? That would help us determine which non-generated exercises are out of date. That can help:

Prioritise which exercises most urgently need a generator (which will automatically get them up to date)
Or maybe signal to us that if we don't think we will get a generator soon, at least maybe we can evaluate the x-common change and see if it's worth it to add the new tests by hand until we get a generator.

If the xgo tests are a superset of x-common for some version of x-common, there will be comment "// x-common version: x.y.z" just like in our generated files, and also note which tests are xgo-specific.
Otherwise, there will be the comment "// x-common version: none". The presence of the comment shows that it's been looked at but no suitable x-common version was found. (Or is it OK not to have the comment at all?)
If y'all think this is a good idea, I volunteer to do it.

Sounds helpful. We can add a script in xgo/bin which does a report on generator vs. canonical versions to get a summary.
So, IIUC, the new comment will be located in the .meta/gen.go of each exercise, and the version x.y.z will agree with the x-common version that is shown in the cases_test.go which was "just generated" or previously generated.  Correct ?

xgo tests are a superset of x-common for some version of x-common, there will be comment "// x-common version: x.y.z" just like in our generated files

I am not quite getting the "superset" idea here. If the comment said "// x-common version: x.y.z + additional tests; see below", then it makes sense to me. Meaning that the original tests were from x-common x.y.z but more were added manually in different test case data.

So, IIUC, the new comment will be located in the .meta/gen.go of each exercise, and the version x.y.z will agree with the x-common version that is shown in the cases_test.go which was "just generated" or previously generated. Correct ?

So, IIUC, the new comment will be located in the .meta/gen.go of each exercise, and the version x.y.z will agree with the x-common version that is shown in the cases_test.go which was "just generated" or previously generated. Correct ?

Yeah something like that! This is already happening for the generated exercises. This proposal just says I'll add them by hand to the non-generated exercises, until they get a generator.

I am not quite getting the "superset" idea here. If the comment said "// x-common version: x.y.z + additional tests; see below", then it makes sense to me.

Ah, yeah, that could be done. In my mind the purpose of marking the xgo-specific tests is just to make sure that when we create a generator that we consider whether we want to delete the test or make sure they're retained even after generation. If we'd rather wait to perform the check, I suppose I don't need to mark them.

This is already happening for the generated exercises

Oh, you must mean the x-common version comment in the generated cases_test.go.

add them by hand to the non-generated exercises, until they get a generator

Oh, in that case .meta/gen.go won't exist yet.
So, what file is best to place the x-common comment inside  in this case ?

make sure they're retained even after generation

So, the added tests are placed such that re-generation retains both the canonical tests and the added ones.

This is already happening for the generated exercises

Oh, you must mean the x-common version comment in the generated cases_test.go.

👍

add them by hand to the non-generated exercises, until they get a generator

Oh, in that case .meta/gen.go won't exist yet.
So, what file is best to place the x-common comment inside in this case ?

I'd say to place them near the test cases in the*_test.go file. This way we will very likely remember to remove the comment (to avoid duplicate information) when we make a generator.

So, the added tests are placed such that re-generation retains both the canonical tests and the added ones.

Yeah, if we decide we want to keep some of them. alternatives of course are to no longer have them (match x-common) or to get them accepted to x-common.

Very good.  Understand the approach now.

For planning:
The list of such unversioned exercises is:
                   acronym: 0.0.0 -> 1.0.0
             all-your-base: 0.0.0 -> 1.0.0
                 allergies: 0.0.0 -> 1.0.0
                   anagram: 0.0.0 -> 1.0.1
             atbash-cipher: 0.0.0 -> 1.0.0
                 beer-song: 0.0.0 -> 1.0.0
             binary-search: 0.0.0 -> 1.0.0
              bracket-push: 0.0.0 -> 1.1.0
           circular-buffer: 0.0.0 -> 1.0.0
             crypto-square: 0.0.0 -> 2.0.0
                   diamond: 0.0.0 -> 1.0.0
     difference-of-squares: 0.0.0 -> 1.0.0
                       etl: 0.0.0 -> 1.0.0
                food-chain: 0.0.0 -> 1.0.0
                    grains: 0.0.0 -> 1.0.0
                   isogram: 0.0.0 -> 1.1.0
       kindergarten-garden: 0.0.0 -> 1.0.0
               minesweeper: 0.0.0 -> 1.0.0
                 nth-prime: 0.0.0 -> 1.0.0
          nucleotide-count: 0.0.0 -> 1.0.0
               ocr-numbers: 0.0.0 -> 1.0.0
                   pangram: 0.0.0 -> 1.0.0
          pascals-triangle: 0.0.0 -> 1.0.0
           perfect-numbers: 0.0.0 -> 1.0.1
                 pig-latin: 0.0.0 -> 1.0.0
                       pov: 0.0.0 -> 1.1.1
             prime-factors: 0.0.0 -> 1.0.0
              queen-attack: 0.0.0 -> 1.0.0
                     react: 0.0.0 -> 1.0.0
           robot-simulator: 0.0.0 -> 1.0.0
             saddle-points: 0.0.0 -> 1.0.0
                       say: 0.0.0 -> 1.0.0
          secret-handshake: 0.0.0 -> 1.0.0
                     sieve: 0.0.0 -> 1.0.0
          sum-of-multiples: 0.0.0 -> 1.0.0
                tournament: 0.0.0 -> 1.3.0
                  triangle: 0.0.0 -> 1.0.0
  variable-length-quantity: 0.0.0 -> 1.0.0
               word-search: 0.0.0 -> 1.0.0
                     wordy: 0.0.0 -> 1.0.0

I've decided it's not necessary to put these (#670, #671) in a student visible place. The goal of this was to tell us which exercises are most out of date and therefore would benefit the most from a generator. This can be achieved by simply reporting the information I found.
 Feel free to continue commenting if you have extra information to about how up-to-date we are.


Sync vertical scrolling between Markdown editor and viewer

What would you like to be added:
In the Markdown editor and viewer mode, when working with a split-screen layout where the left side is the Markdown editor and the right side is the Markdown viewer, it would be beneficial to synchronize the vertical scroll between the two panels. This means that when scrolling vertically in either the editor or the viewer, the other panel should also scroll in sync to maintain consistent visibility and context.
Why is this needed:
Currently, when editing Markdown and viewing the corresponding rendered output, users may need to scroll vertically separately in the editor and viewer panels. This can be inconvenient and disrupt the viewing experience, especially when navigating through lengthy documents. By implementing this enhancement, users will be able to seamlessly scroll through the content in both panels, improving overall navigation and readability.:
Additional Information:

We have used a method that calculates and synchronizes the scroll percentage vertically, but it doesn't seem like a good approach. We need a different, new approach.

@easylogic Do you have any idea about this problem?

When creating a markdown viewer, create an element by entering an id for each element.
If you find the element that appears at the top of the screen in the markdown editor and scroll to find the ID of the element in the viewer on the right.


add support for incremental S3 uploads

fix for issue #44

After looking a bit I found that the etag method on s3 objects returns the ms5 sum (plus quotes, which I stripped). Added an incremental flag to turn the feature on/off.

Thanks! Have you been able to verify that this works?

I'm using it with a test copy of my little blog I'm trying to get working in octopress 3, it only uploads changed files. It's muuuch faster to just pass metadata than push all files over my connection (DSL), especially some of the larger images I have in blog entries.

Thanks for the update. I'm going to give this a whirl and if it looks good I'll merge it. Thanks for your work on this!

Thanks! I merged it in and released 1.1.0.

Does merging this resolve issue #44? Can it be closed?

@magikid I believe so. Thanks for the heads up.


Update Heading Docs - East-Based Origin

Description
Updated relevant comments to correct north-based headings to east-based
Unsure if this is all that is required for this issue, but figured it was at least a start
Issue number and link
Fixes #11523
Author checklist

[X] I have submitted a Contributor License Agreement
[X] I have added my name to CONTRIBUTORS.md
[X] I have updated CHANGES.md with a short summary of my change
[x] I have added or updated unit tests to ensure consistent code coverage
[x] I have update the inline documentation, and included code examples where relevant
[X] I have performed a self-review of my code

Thanks for the PR @jaredwebber!
I can confirm we have a CLA on file for you.
These changes look good to me!
I've updated your branch with the latest from main. I've also removed your bullet from CHANGES.md, as we typically do not track documentation-only changes.


Why is prev_samples = 2 * dequantized ?

https://github.com/deepsound-project/samplernn-pytorch/blob/master/model.py#L203
What is the purpose of multiplying by 2?

It's so that dequantized samples are from the [-2, 2] interval. According to the autors, it's "a reasonable range to pass as inputs to the RNN". See the original implementation in Theano: https://github.com/soroushmehr/sampleRNN_ICLR2017/blob/master/models/two_tier/two_tier.py#L250

Does it need to be multiplied by 2 even while reconstruction, then?

Yes, it's so that the RNN learns better in the early stages of training. I'm not sure what's the reasoning behind this specifing value of the scaling factor, but I can say that the standard deviation of the sine wave on [-2, 2] interval is sqrt(2) / 2 ~= 1.4, so the std of the typical input should probably be somewhere between 0 and that value (we typically want the std of the input to be around 1).


Listview.builder example hangs documentation page

The documentation for Scrollview.builder, has an in page example that will hang the page.
To reproduce:

Make sure you don't have any unsaved work open in chrome, I'm not sure how long this will make your browser hang
Visit https://docs.flutter.dev/cookbook/lists/long-lists#interactive-example
Run the example app
Start scrolling in the list, so the scrollbar appears
grab the scroll bar
pull it all the way to the bottom of the view
Chrome will go unresponsive.

Details

This hang seems to happen because scrolling a long list requires Listview.builder to calculate the height of every row. So every row in the list needs to be built along the way to the new location.
I chatted with @Piinks about this and she enlightened me that in cases where we know the height of each element, we can avoid this penalty by setting the itemExtent on the ListView.

Proposal
It might be helpful to set an itemExtent in that interactive example, and describe how it helps the ListView perform better while scrolling

CC @johnpryan


added some badges in the README

Description
I have added some badges with the links related to them in the README.md file, now after clicking on the badges the user will be redirected to the related section/web page.
This fixes #15
Files changed/modified
README.md
Screenshots
Original

Updated

Hey @Umesh-01 that's some decent badges you have added..!! I'd appreciate if you can add any badges to each individual sections and beautofy a bit.

If possible add a folder structure section and let me know if you need any data regarding it.. Thanks for your contributing !! Once you get done with these we will get your PR merged 👍

@Ash-exp did you mean to add badges in each sub-directory of this repository??
Can you explain a little bit more, I didn't get it??

@Ash-exp did you mean to add badges in each sub-directory of this repository??
Can you explain a little bit more, I didn't get it??

No not in sub directory but for each headings and sub headings in the readme file if you can add any related badges to it, it would be appreciated 👍

@Ash-exp did you mean to add badges in each sub-directory of this repository??
Can you explain a little bit more, I didn't get it??

No not in sub directory but for each headings and sub headings in the readme file if you can add any related badges to it, it would be appreciated 👍

okk, I will try but we can't link all these sections like I have done for the badges present at the top of README
that means after clicking on those badges they will look like this--

and will not redirect the user to any related webpage or sections as it doesn't exist...

@Ash-exp did you mean to add badges in each sub-directory of this repository??
Can you explain a little bit more, I didn't get it??

No not in sub directory but for each headings and sub headings in the readme file if you can add any related badges to it, it would be appreciated +1

okk, I will try but we can't link all these sections like I have done for the badges present at the top of README
that means after clicking on those badges they will look like this--

and will not redirect the user to any related webpage or sections as it doesn't exist...

Yeah I got you point but that's not what I meant !! I actually needed an decent formatting and along with some non-redirected badges to beautify the readme a bit !! We can still merge your PR, the badges you added are already useful !! Mention if you can decorate the readme individual sections a bit or else we'll proceed an merge it


Improved Hungarian provider

What's a Male Ne? Could you please add a description?

It's a special name form for wives. Like Mrs. title in English. For example: if Kiss Piroska (female) marries Kovács József (male) then she has the choice of changing her name to Kovács Józsefné. As you can see, the wife is called on the husband's name, but with a -né suffix. It's a bit old-fashioned nowadays, but still many women do this after marriage.

Thanks.


Enhance instructions for testing local changes

Add instructions for testing individual roles with molecule
Add instructions to test local changes via ansibleee using NFS

i took a slightly different approach to this type of testing in the nova operator by the way.
the normal workflow given the nova operator create the playbooks as a config map by reading them from disk when it starts was just run the operator then watch it reconsile.
that is fine but it does not actually allow you to write tests for the playbook functionality.
to speed up operator development and improve testing i also create a moldecue scenario to emulate the way they are exctuted
https://github.com/openstack-k8s-operators/nova-operator/tree/main/molecule/default
so that creates 2 vms one to act as the AEE/DAtapalen operator and one to ack as the edpm node.
the workflow in the converge playbook was pretty simple
first we stage everything in the AEE VM
https://github.com/openstack-k8s-operators/nova-operator/blob/main/molecule/default/converge.yml#L2-L50
then we did the minium amount of prep on the edpm VM to fullfle the requirement of our playbook
https://github.com/openstack-k8s-operators/nova-operator/blob/main/molecule/default/converge.yml#L52C1-L75C1
and finally we just run the AEE container with the playbook our play vai podman
https://github.com/openstack-k8s-operators/nova-operator/blob/main/molecule/default/converge.yml#L77-L102
so basically you could molecule converge and that would create the dev env to allow you to develop a playbook/role using the local content and would execute it against the edpm VM.
this could be simply recreated by doing molecule destroy and molecule converge to start clean if needed and you could ssh in and inspect the ndoes with molecule login.
i also added a verification plybook so you could test the role with molecule test https://github.com/openstack-k8s-operators/nova-operator/blob/main/molecule/default/verify.yml
and some test helpers.
The procedure in this pr is useful  if you want to test using the dataplane operator but i also belive we could improve the use of molecule in the roles directly and not require the dataplane operator at all.

i took a slightly different approach to this type of testing in the nova operator by the way.

I think this is a case of "different horses for different courses." I feel I have a decent environment for molecule testing, and want a way to test my edpm_changes in something approaching a "real world" environment. All of these approaches are valid, and it might be useful to document yours as an alternative to mine.

i took a slightly different approach to this type of testing in the nova operator by the way.

I think this is a case of "different horses for different courses." I feel I have a decent environment for molecule testing, and want a way to test my edpm_changes in something approaching a "real world" environment. All of these approaches are valid, and it might be useful to document yours as an alternative to mine.

I'm starting on a new edpm_libvirt role currently and i plan to use the vagrant VM approach for its molecule even when I'm porting the playbook form the nova operator into a role.
so can can serve as a reference i think.
i was not suggesting we don't document your approach by the way i just wanted to share what i did incase it was useful to others.

recheck


run: handle /etc/localtime not being a symlink

Should fix https://github.com/appc/acbuild/issues/132

I'm second-guessing this now: https://github.com/coreos/rkt/pull/226#discussion_r21409759
Perhaps we should just fix the readlink bug but not copy.


Allow attributes as state

Hi , Not sure it's actually possible, or my "Title" is wrong
But i just love your new "icon changes" with the state-value !
However i would love to be able to "fetch" the attribute "rssi" from domain/entity "device_tracker" ( As not all devices uses attribute-signal_strenght )
I can get "Domain: Device_tracker" in auto-entities, and sort by "rssi" , but it seems impossible to get a great look as your new icons for signal_strength
So basically my FR is something like above, if you understand ( Attaching a pic from my autoentities
Device_tracker is the only "component" which "expose" the same attributes for all WiFi-devices, i.e "signal_strength" ... rssi

BR , And Happy New Year :)

I don't use auto-entities card so I won't help you with it but all what you have there should be achievable with battery-state-card by itself.
The below listing is just an example which I think/hope should work (I haven't tested it). You would need to adjust the color/icon values
type: custom:battery-state-card
icon: "mdi:signal-cellular-{state|abs()|greaterthan(69,outline)|greaterthan(59,1)|greaterthan(49,2)|greaterthan(2,3)}"
valu_override: "{attributes.rssi}"
colors:
  steps:
    - value: 26
      color: blue
    - value: 36
      color: green
    - value: 45
      color: yellow
    - value: 60
      color: red
sort:
  by: state
  desc: true
unit: dBm
filter:
  include:
    - name: entity_id
      value: device_tracker.*

Yes  i understand, it was wrong of me to show that "example", however your "suggestion" doesn't work, and i've tried a few other , in Battery-state-card, with no luck
The state of the battery is home/not_home, so it's the attribute "rssi" i need to get the "value" of, .. it either says NaN or Home/Not_home (latest with your example)
And there is No, colors of any kind
It take the "entities" with the "Signal_Strength" just fine, but all device_trackers shows "NaN", and are all grey

Ok there are few things:

Dummy typo in my example: there should be "value_override" not "valu_override"
Instead of using the "state" in value_override in your listing you should be using "attributes.rssi". This is the reason why the state shows up (Home/ Not at home" instead of RSSI
If the state is not being produced right you cannot expect the icons/colors to look right
You cannot use both entity types in the filters as one has the value in the state and second one in the RSSI attribute. So one or the other wont be working

Please try the below listing

  - type: custom:battery-state-card
    secondary_info: '{last_changed}'
    icon: >-
      mdi:signal-cellular-{attributes.rssi|abs()|greaterthan(70,outline)|greaterthan(65,1)|greaterthan(50,2)|greaterthan(2,3)}
    filter:
      include:
        - name: entity_id
          value: device_tracker.*
    sort:
      by: state
      desc: true
    bulk_rename:
      - from: ' Signal'
      - from: ' strength'
      - from: ' Rssi'
      - from: ' numeric'
    value_override: '{attributes.rssi|abs()}'
    colors:
      steps:
        - color: '#00ff00'
          value: 50
        - color: '#ffff00'
          value: 65
        - color: '#ff0000'
          value: 100
      gradient: true

Finally ! Thx alot for your help , i've been struggling with these device_trackers, hope they eventually can become a "domain"
I have a group for the wired-device-trackers ( old style ) in yaml, no unique_id , but i couldn't figure out to exclude those
It got it working, however i couldn't figure out how to "exclude" the bunch i could with auto-entities, but it made me clean up in a bunch of "unknown, unavailable etc.", (even thou they were "disabled" they turned up here, same ofcause with all the Wired-Devices ( even thou they didn't have an attribute "rssi"
either, so i just added them all 12 to exclude
Maybe the value_override: '{attributes.rssi|abs()}' was the reason, as that was what the "statei" showed  ( '{attributes.rssi|abs()}' ) :)
had to remove 23 of these :)

Now it looks great, just have to use the same colors-scheme as my Batteries, and maybe "play a little" with the icn change.

Im so pleased with this now ... was actually thinking about making template-sensors, from each device_trackers, as many integrations/devices don't show either rssi or signal_strength ... but then i saw your latest post ...and started cleaning up :)

If attribute is missing then it just prints the exact value which you have used in the value_override.
To exclude such entities use the filter:
I wanted to suggest to use the exclude filter but I have realized that there is no option like "doesnt_exist" / "not_exists". I will create an issue to add it.
But you can do something else which may solve your problem. Instead of adding all device_trackers you can add only the entities which do have this attribute using the below filter:
filter:
  include:
    - name: attributes.rssi

This way you won't need to remove anything I hope

filter:
  include:
    - name: attributes.rssi

...  yes it works,  i had trying to "play" with that ( include device_trackers with attribute.rssi ! ) etc-, but thought that...  "going through every entities" to find an attribute, would create "alot usage" larger than finding just the entity_id (device_tracker) .. well it does create A-lot usage ! ( i have 30 times more entities, and hundred times more attributes ) than , just entity_id: device_tracker* ( again, here comes my wishes in regards to "native groups, with unique_id", for device_trackers in HA )

" not_exists " removed the 12 entities, And future "unwanted" bunch of "curious/bogus" "device_trackers !
Final Code:
type: custom:battery-state-card
icon: >-
  mdi:signal-cellular-{attributes.rssi|abs()|greaterthan(70,outline)|greaterthan(65,1)|greaterthan(50,2)|greaterthan(2,3)}
filter:
  include:
    - name: entity_id
      value: device_tracker.*
  exclude:
    - name: attributes.rssi
      operator: not_exists
sort:
  by: state
  desc: true
value_override: '{attributes.rssi|abs()}'
colors:
  steps:
    - color: '#00ff00'
      value: 50
    - color: '#ffff00'
      value: 65
    - color: '#ff0000'
      value: 100
  gradient: true

well not "FINAL" , as i haven't got time to ajust colors/icons and "integrate" it in it's View-context


Order of options matters

Took me a while to diagnose, but the order of the options in the constructor matters. I  am using a .indicatorViewInset(0) to implement this design:

If the indicatorViewInset comes after the cornerRadius option, the cornerRadius setter will update the indicatorView.cornerRadius using the default indicatorViewInset.
indicatorView.cornerRadius = newValue - indicatorViewInset

Hmm that shouldn't be the case.
Will look into it.

This should now be fixed as part of https://github.com/gmarm/BetterSegmentedControl/pull/121.


Document Level Security

I have ODFE 1.2.0 set with internal users. I have disabled mult-tenancy mode as I am hitting some other issue when enabling it.
Considering multi-tenancy is disabled, I want to configure following DLSQ:
{ "bool": { "must": { "match": { "roleFilter": "${attr.internal.roleFilter}" } } } }
As soon as I add this to my role, following error is thrown when I login with respective user:
[config:7.2.0]: version conflict, document already exists (current version [2]): [version_conflict_engine_exception] [config:7.2.0]: version conflict, document already exists (current version [2]), with { index_uuid=\"rwRJS4kqQTWcp0p5_vTiHQ\" & shard=\"0\" & index=\".kibana_1\" }
If I remove DLSQ (without changing anything else), it starts working again. Also, there is no additional log shown in either Kibana/ES logs.
Any pointers to resolve this?

Hi, I'd recommend asking this on the repo for the Security plugin itself: https://github.com/opendistro-for-elasticsearch/security/issues


ncgn cxfnfcn

Code of Conduct

[X] I have read and agree to the GitHub Docs project's Code of Conduct

What article on docs.github.com is affected?
vc cv
What part(s) of the article would you like to see updated?
ncv v
Additional information
vc cv cv

Unprescribe
On 6/23/23, docubot @.***> wrote:

Closed #26189 as completed.
--
Reply to this email directly or view it on GitHub:
https://github.com/github/docs/issues/26189#event-9613785376
You are receiving this because you are subscribed to this thread.
Message ID: @.***>


ceph-infra: Open prometheus port

The Prometheus porrt 9090 isn't open in the firewall configuration.
Also the dashboard task on the grafana node was not required because
it's already present on the mgr node.
Signed-off-by: Dimitri Savineau<EMAIL_ADDRESS>

jenkins test pipeline


Support for diverge/tree path.

I am using this lib to improve performance of my app by reducing number of DB queries.
It wold be great to split features of collector to two methods:

collect -  current implementation - used to collect associations
fetch/load - allows to fetch associations to reduce number of queries. (returns void)

Why to split:
collect, because it has to return results need to accept 'single path' like `car->engine->parts) where each of elements is child of previous one.
fetch in opposite side should allow to handle 'tree' path:
$paths = [
    'engine' => ['parts'],
     'fuel'
];

As a result it will fetch:

engine of car (and used parts)
fuel type of car

I think that there will not be any way to optimize it (at least I dont know how) , so under the hood it may just do
$collector->collect($car, ['engine', 'parts'];
$collector->collect($car, ['fuel'];

Do you think it may be a 'common/practice' use case, to be worth to add to library?

Classes used in example
class Car
{
    protected $engine;
    private $fuel;
    public function __construct(Engine $engine = null, Fuel $fuel = null)
    {
        $this->engine = $engine;
        $this->fuel = $fuel;
    }
    public function getEngine()
    {
        return $this->engine;
    }
    public function getFuel()
    {
        return $this->fuel;
    }
}

class Engine
{
    public $parts;
    public function __construct(array $parts)
    {
        $this->parts = $parts;
    }
}

class Fuel
{
    protected $name;
    public function __construct(string $name)
    {
        $this->name = $name;
    }
    public function getName(): string
    {
        return $this->name;
    }
}

This is an idea that I also had in mind, but just didn't get to it yet - so I'm all for it. However you should keep in mind that it will only skip collecting of the leaf entities, i.e. the last association in each path. The preceding entities need to be collected to fetch the next level. Hopefully I will get to implementing it in the near future.


podfile not commit?

Hello, @liuzhongyi1988.
I didn't get it. What do you mean?
If you ask where is Podfile, it was removed after recent changes. The project migrated to Swift Package Manager.

@Karambirov
I guess problems are:

project doesn't build
read.me file asks to pod install to build project ( maybe it just need to be updated)

@Karambirov
I guess problems are:

project doesn't build
read.me file asks to pod install to build project ( maybe it just need to be updated)


Update metrics-overview.md

Hey @mirnawong1 . I learned recently that "meta" as a field on it's own (not under config) was deprecated, and instead we need to add a "meta" under config for metric, kind of like here with semantic-model.
  - name: semantic_model_name
    config:
      meta: {<dictionary>}

We haven't added it yet, so for now I just removed meta. Once we add it under "config", we can add an example back and also explain in the table how to use "meta" under the config block. cc: @Jstein77
What are you changing in this pull request and why?

Checklist

[ ] Review the Content style guide so my content adheres to these guidelines.
[ ] For docs versioning, review how to version a whole page and version a block of content.
[ ] Add a checklist item for anything that needs to happen before this PR is merged, such as "needs technical review" or "change base branch."

Adding or removing pages (delete if not applicable):

[ ] Add/remove page in website/sidebars.js
[ ] Provide a unique filename for new pages
[ ] Add an entry for deleted pages in website/static/_redirects
[ ] Run link testing locally with npm run build to update the links that point to deleted pages

hey @rpourzand - thanks so much and will take a look at this tomorrow!

hey @rpourzand , do you mean add metric here


Managing AWS IAM roles/users/groups and their policies

I've been trying to think of a way to manage the users/groups/roles for instances and service accounts in a more automated fashion.  Obviously some things like Virtual MFA tokens and access keys won't be as automatable, but the contents of the permissions in a group should be..
As for roles, they have a weakness where they can't use groups - so any attempts to use them as a coarse grained authorization control to other AWS resources leads to a lot of copy and pasting.

This is the only use case we have for CloudFormation and would greatly aid in adopting this puppet module locally.

I would like this as well. Specifically, I'd like to create many fine-grained IAM policies based on logic I already have in puppet, for example to restrict a given host's access to an S3 bucket path based on a puppet fact about that node.

+1

:+1: @diranged @siminm

Is anyone actively working on this?

A PR has been opened to support this: https://github.com/puppetlabs/puppetlabs-aws/pull/316

This is quite an old issue, but I believe it was addressed by #316. Can I close?

Yes, this has been merged in.


Wrong property name logoutPath -> logoutEndpoint

Issue description

Hello,
In the table with the properties for the logout configuration it's written logoutPath and in the rest of the document is logoutEndpoint.
Feedback Type (Optional)
outdated information
Page Title on SAP Help Portal (prefilled)
logout
Page URL on SAP Help Portal (prefilled)
https://help.sap.com/docs/btp/sap-business-technology-platform/logout

Thank you for your feedback! You're right, the correct property name is logoutEndpoint. The correction will appear in the next update of the documentation.


fix: No items displayed in FluentAppBar after upgrade to 4.10.3

🐛 Bug Report

💻 Repro or Code Sample
I updated from 4.10.1 to 4.10.3 and the items in FluentAppBar are no longer visible. I just see ... menu option:

🤔 Expected Behavior
Should work like it did in 4.10.3.
😯 Current Behavior
Just ... menu option visible.
💁 Possible Solution

🔦 Context

🌍 Your Environment

OS & Device: [e.g. MacOS, iOS, Windows, Linux] on [iPhone 7, PC]
Browser [e.g. Microsoft Edge, Google Chrome, Apple Safari, Mozilla FireFox]
.NET and Fluent UI Blazor library Version [e.g. 8.0.2 and 4.4.1]

PR: https://github.com/dotnet/aspire/pull/6228

Are you sure it is not a stale script being cached. Have you tried a hard refresh?

I retried with an empty cache + hard refresh. No difference.
Dev tools console is clean:

This problem is due to a change in the name of the class we use in this component. @vnbaaij it would be better to document that this is a Breaking change in our documentation.
So, you need to adapt your MainLayout.razor.css replacing nav-menu-container with fluent-appbar (lines 56 and 168)
Before:

After

Sorry 🙈! My bad...


[Regression] Restore the ability to start searching before a document has loaded, and ignore searches for previously opened documents (PR 10099 follow-up)

Please refer to the individual commit messages.
/cc @timvandermeij Sorry to bother you, but do you have time to review this?

/botio-linux preview

Thank you for spotting and fixing this!


gsagh-163 flat srf elem2d from brep

Codecov Report

Merging #247 (b916a3f) into main (5bb1758) will decrease coverage by 0.38%.
The diff coverage is 18.85%.

@@            Coverage Diff             @@
##             main     #247      +/-   ##
==========================================
- Coverage   56.11%   55.73%   -0.39%
==========================================
  Files         221      222       +1
  Lines       27217    27496     +279
==========================================
+ Hits        15274    15324      +50
- Misses      11943    12172     +229

Flag
Coverage Δ

gsagh
42.44% <17.71%> (-0.24%)
:arrow_down:

integration
43.08% <17.42%> (-0.27%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

GsaGH/Helpers/GH/RhinoConversions.cs
30.51% <0.00%> (-5.71%)
:arrow_down:

GsaGH/Parameters/2_Geometry/GsaElement2d.cs
61.31% <0.00%> (-2.64%)
:arrow_down:

GsaGH/Parameters/2_Geometry/GsaMember1d.cs
90.40% <0.00%> (-1.87%)
:arrow_down:

GsaGH/Components/2_Geometry/Elem2dFromBrep.cs
22.72% <13.79%> (-2.11%)
:arrow_down:

...mponents/GraveyardComp/Elem2dFromBrep2_OBSOLETE.cs
24.83% <24.83%> (ø)

GsaGH/Parameters/1_Properties/GsaProp3d.cs
66.25% <28.57%> (+2.39%)
:arrow_up:

GsaGH/Parameters/1_Properties/GsaProp2d.cs
86.44% <66.66%> (+0.72%)
:arrow_up:

GsaGH/Parameters/1_Properties/GsaSection.cs
82.30% <66.66%> (+0.35%)
:arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


any plan to support extensions for DuckDB?

we use httpfs to access parquet files in s3.

added DuckDB config extensions flags in new release v0.2.1


CDNjs: No versionless URL, using very old version

As the title says, the version of Prism on cdnjs is super old and there’s no versionless URL one: https://github.com/cdnjs/cdnjs/tree/master/ajax/libs/prism
Anyone has five minutes to fix this? Thanks!!

they support auto updating but require an npm package with semver.

Damn, I really have to do that at some point :(

It seems to work now! :)


React Native Discord

Here is the link to the React Native Discord.
https://discord.gg/NxUGuvKB
Let's schedule a community wide meeting to get to know each other as developers.
Let's also learn about how we have created some cool things with React Native Health.
I also would like to have a discussion on the direction that we can take React Native Health with the recent updates to
Apple Healthkit.

Duplicated with https://github.com/agencyenterprise/react-native-health/issues/234


When i change the tab and return to it the process starts from the begging (this in React client)

When i change the tab and return to it the process starts from the begging (this in React client)

SSE (Server-Sent Events) has mechanisms to handle page visibility and reconnection after interruptions. If you switch away from the page during an active request and then return, SSE might re-establish the connection, causing the request to be repeated.

This shouldn't happen

We'll resolve this issue in upcoming iterations


Datastructs n runfunctions

Inclusion of a state struct with new datatype.
Simplifies function calling quite a lot.

Codecov Report

Merging #21 (31ab0c0) into master (ea7d318) will increase coverage by 1.35%.
The diff coverage is 91.74%.

@@            Coverage Diff             @@
##           master      #21      +/-   ##
==========================================
+ Coverage   92.39%   93.74%   +1.35%
==========================================
  Files          10       10
  Lines         999     1023      +24
==========================================
+ Hits          923      959      +36
+ Misses         76       64      -12

Impacted Files
Coverage Δ

src/initialize.jl
66.66% <ø> (+1.96%)
:arrow_up:

src/moments.jl
78.57% <0.00%> (ø)

src/simulate.jl
86.71% <89.54%> (+2.69%)
:arrow_up:

src/equilibrium.jl
100.00% <100.00%> (ø)

src/forcing.jl
100.00% <100.00%> (ø)

src/measures.jl
100.00% <100.00%> (ø)

src/pressure.jl
100.00% <100.00%> (ø)

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 ea7d318...31ab0c0. Read the comment docs.


Generalization

Oh, you trained on Google trend but predict on Tesla trend. Ya, you can't. the model doesn't have a good generalization between two different trends. It need to train real time, if trained on Google, it only can predict on Google.
Maybe you can try to train more than 10 different trends, and try to predict 11th trend, let see how is good the model generalization. Never tested this theory. Problem with reinforcement learning, let say the agent trained to play DOOM shooting game. After that you put the agent on different shooting game, counter strike. Even both are shooting game, but the agent never learn how to adapt inside counter strike environment. I never saw a reinforcement learning agent able to adapt different environment to test in any research papers, correct me if I am wrong, cited with paper link.
Originally posted by @huseinzol05 in https://github.com/huseinzol05/Stock-Prediction-Models/issues/5#issuecomment-475859801
Referencing this reply you made, what we need now is to generalize to other datasets/timeframes. Here is a working version with parameters automatically passed: https://github.com/TensorTom/Stock-Prediction-Models/blob/master/agent/evolution-strategy-bayesian-agent.ipynb
Feel free to merge but still will be better if we can generalize.

What exactly do you mean by generalize?

Understood various of environments and able to survive, like Jack of all trades, master of none. It can do well but not really high score compared to an agent only trained a single trend

I shouldn't have posed the issue this way. Will reopen with more specific.


The Log doesn't seem to consistently record the departure and arrival airports. For most flights it says "CustD" & "CustA".

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Application version:

Visible in the "Info / About" dialog
Version [e.g. 0.5.0]

Additional context
Add any other context about the problem here.

Hello,
Thank you for bringing up this issue.
Sky Dolly records the departure and arrival airport as reported by MSFS via SimConnect. This implies that you need to have an active flight plan loaded prior to starting and recording the flight, as typically done on the „world view menu“. I don‘t know if this works at all when you enter / load a flightplan when the flight has already started.
When you don‘t have a flightplan active then MSFS simply reports „custom departure/arrival“ waypoints, or in other words: Sky Dolly does not try on its own - given the GPS coordinates and some (possible) database with airport information - to determine the actual waypoints (airports). Possible, but not implemented (and not really on my mind just yet ;)).
I hope my answer clarifies this issue a bit.
Happy flying!

Hi again,
Just a follow-up.
It worked perfectly, just as you suggested.
Thank you!
Richard
P.S.
BTW, I have tried the other recorders and I truly think yours is the best!
Really appreciate your efforts on this!
On Mon, Aug 7, 2023 at 1:54 AM Oliver Knoll @.***>
wrote:

Closed #116 https://github.com/till213/SkyDolly/issues/116 as completed.
—
Reply to this email directly, view it on GitHub
https://github.com/till213/SkyDolly/issues/116#event-10019678038, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/BBXB4WCP6TWZXHZXUUFQS63XUB7KBANCNFSM6AAAAAA3ELRMCA
.
You are receiving this because you authored the thread.Message ID:
@.***>

Thank you for your feedback, very much appreciated. And thanks for the flowers, too ;)


Add getProperty.org.bouncycastle.pkcs12.default to plugin-security.policy

Description
Fixes issue related to bouncycastle upgrade where starting up a node with security plugin installed resulted in:
Caused by: java.lang.InternalError: cannot create instance of org.bouncycastle.jcajce.provider.keystore.PKCS12$Mappings : java.security.AccessControlException: access denied ("java.security.SecurityPermission" "getProperty.org.bouncycastle.pkcs12.default")
	at org.bouncycastle.jce.provider.BouncyCastleProvider.loadServiceClass(Unknown Source) ~[?:?]
	at org.bouncycastle.jce.provider.BouncyCastleProvider.loadAlgorithms(Unknown Source) ~[?:?]
        ...

Category

Maintenance
Check List

[X] New functionality includes testing
[X] New functionality has been documented
[X] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Thanks @cwperks !

@reta Opened a backport to 2.x as well: https://github.com/opensearch-project/security/pull/4266
This needs to go into 2.x first for the bwc tests to work.


Write output collapsed files & flamegraphs in utf-8

This combats failures I've seen in the tests: https://github.com/Granulate/gprofiler/runs/6954306861?check_suite_focus=true
Anyway it makes sense to write in utf-8 because symbols may have non-ascii letters.
This is extracted from https://github.com/Granulate/gprofiler/pull/380

The errors of the tests here are fixed by https://github.com/Granulate/gprofiler/pull/380

Failure is solved by another PR. Merging


Port to python3

Closes #152
For this pull request, I started from an existing support-python3 branch in
the upstream repository, and need to do a few other changes.

closing in favor of #194


Top Game Owners: Awkward wording in page description

http://i.imgur.com/vZOvrht.png
You have: "Lookup a profile using our Steam calculator to update it, and a chance to appear in this list."
It looks awkward, and the feeble minded users may (incorrectly) be led to believe that this list boils down chance.
Alternative wording example: "Lookup a profile in our Steam calculator to update its badge levels."
OR
Alternative wording example: "Badge levels are cached. Update a profile by looking it up in our Steam calculator."

:ship:

:astonished:


Is it possible to merge  a input tensor with a layer?

I want to merge a input tensor and a sequential model. Do you have any idea of how to implement it?
Here is my code, but it doesn't work as keras cannot merge a tensor with layer:
model1 = Sequential()
model1.add(Dense(8))
model1.add(Activation('relu'))
input2=Input((3,))
model_merged=Sequential()
model_merged.add(Merge([model1, input2], mode='concat'))
model_merged.add(Dense(8))
model.add(Activation('relu'))
......
The error is :
AttributeError: 'Tensor' object has no attribute 'get_output_shape_at'.
If there is no way to merge the tensor object with layers, could I make the input tensor as a layer so that it becomes a task of merging two layers? How to do that?
Great thanks~
Please make sure that the boxes below are checked before you submit your issue. Thank you!

[x] Check that you are up-to-date with the master branch of Keras. You can update with:
pip install git+git://github.com/fchollet/keras.git --upgrade --no-deps

[ ] If running on Theano, check that you are up-to-date with the master branch of Theano. You can update with:
pip install git+git://github.com/Theano/Theano.git --upgrade --no-deps

[ ] Provide a link to a GitHub Gist of a Python script that can reproduce your issue (or just copy the script here if it is short).

Oh, I figured it out. I can use the Model API to do it. Here is the doc: https://keras.io/getting-started/functional-api-guide/ , the 'Multi-input and multi-output models' section is useful for my question.

@Wenhao-Jin what was your model that you ended up using?

@naisanza  What do you mean by model? The deep learning model I'm using? Or the model API?

@Wenhao-Jin the deep learning model that you're using


rebar generate's bug ? with otp 17

bash-3.2# rebar compile generate
==> rel (compile)
==> exemplar (compile)
Compiled src/exemplar_app.erl
Compiled src/exemplar_sup.erl
==> rel (generate)
ERROR: generate failed while processing /Users/bai/exemplar/rel: {'EXIT',{{badmatch,{error,"Module 'ELDAPv3' potentially included by two different applications: eldap and tsung."}},
[{rebar_reltool,generate,2,
[{file,"src/rebar_reltool.erl"},{line,53}]},
{rebar_core,run_modules,4,[{file,"src/rebar_core.erl"},{line,490}]},
{rebar_core,execute,6,[{file,"src/rebar_core.erl"},{line,415}]},
{rebar_core,maybe_execute,8,
[{file,"src/rebar_core.erl"},{line,299}]},
{rebar_core,process_dir1,7,[{file,"src/rebar_core.erl"},{line,258}]},
{rebar_core,process_each,5,[{file,"src/rebar_core.erl"},{line,348}]},
{rebar_core,process_dir1,7,[{file,"src/rebar_core.erl"},{line,250}]},
{rebar_core,process_commands,2,
[{file,"src/rebar_core.erl"},{line,90}]}]}}

And is the ELDAPv3 module included by two different applications, eldap and tsung? Because if so, that's not really a bug.

Yea, this is a bug in processone's eldap and tsung applications, not a bug in rebar.

Thank you!  tsloughter  is right!


Additional code examples be added to the 'Add an IP access list'

IP Access list.
Can the following additional code examples be added to the 'Add an IP access list'
Python:
 import requests
import json url = "https://api/2.0/ip-access-lists"
data = {
    "label": "office",
    "list_type": "ALLOW",
    "ip_addresses": [
        "<IP_ADDRESS>",
        "<IP_ADDRESS>/21"
    ]
}
headers = {'Content-type': 'application/json'}
response = requests.post(url, data=json.dumps(data), headers=headers)
Powershell:
$url = "https://api/2.0/ip-access-lists"
$data = @{
    "label" = "office"
    "list_type" = "ALLOW"
    "ip_addresses" = @("<IP_ADDRESS>","<IP_ADDRESS>/21")
}
$response = Invoke-WebRequest -Uri $url -Method POST -Body (ConvertTo-Json $data) -ContentType 'application/json'

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

ID: fb833fb7-abf9-432d-ab67-8b94c445407d
Version Independent ID: 082b9e2c-aabd-1ff2-6782-1014ecfaa5ba
Content: IP access lists - Azure Databricks
Content Source: databricks/security/network/ip-access-list.md
Service: azure-databricks
GitHub Login: @mssaperla
Microsoft Alias: saperla

@DarrenTurchiarelli
Thanks for your feedback! We will investigate and update as appropriate.

@DarrenTurchiarelli
Thanks for your feedback! We have assigned the issue to author who will provide further updates.

Thanks for your dedication to our documentation. We've created an internal work item (DOC-7760) to address your feedback. The timeline for resolution varies based on resourcing. We are closing this issue for now, but feel free to comment here as necessary.
#please-close

#please-close


Update scan

Fix for remote ZAP scan
Was an issue with the Host file but ZAP uses Host URL

Before I fix this, can you update the README.md as well to indicate that this is a bug that was fixed?


Add option to detect unused using.

It would be really nice, at least to me, if it was possible to detect the unused using directives, I'm tired of seeing lots of unused usings in the proyects I work with and I would like to force the rule on the PRs...

Sorry I didn't realize this is a deprecated repo, I just posted in the current one.


No outline available

Description

I'm receiving an error message:
No outline available
This is likely an error with the language package.

Atom 1.27.0
ide-html 0.4.2

@tarikkavaz Thanks for report.
Would FAQ no.2 solve this issue?