Teams Functional Testing

💡 Summary
As part of Halibut release, to ensure that the tool's update is accurate, detailed functional testing has been planned. Each policy will be functionally tested to check that all pass/fail scenarios have been correctly processed by the tool using existing automated functional test plans.
This issue functionally tests each policy of Teams product of ScubaGear tool. The main objective is to test Teams policies and ensure that ScubaGear tool is providing the correct result for each possible configuration option.
Motivation and context
This functional testing ensures that ScubaGear results of pass/fail are accurate based on the latest version of the code.
Implementation notes
For each Teams policy do the following:

[ ] Configure the automated testing and run against each tenant type for which a variant testplan is present.  Run the automated test plans (e.g. regular, g5, etc.) and note the results.
[ ] For each test failure, investigate and note the cause of the failure and log any new issues needed to resolve

For details on how to use and execute the functional tests, please see the Testing documentation in Testing/Readme.md  or reach out to the dev team via other channels.
Acceptance criteria

[ ] All existing test plan variants for the product have been successfully run
[ ] Test plan results have been reviewed and any issues resolved or reported as new issues (Link created issues below)

Did ran full functional test suites for teams product on G5, E5, G3 and GCCHIGH tenants and all tests passed. Ran both generic teams.testplan.yaml and teams.e#.testplan.yaml (where applicable) using ScubaGear v1.3.0rc1 build. A few screenshots from completed test plans are pasted below:
E5-tenant-generic-testplan:

G5-tenant-generic-testplan:

G3-tenant-generic-testpln:

GCC-HIGH:

(note the warning about invalid teams environment is not related to the scope of ScubaGear and has an existing issue to suppress it in a future release).


Fixes weird mismatch with libreoffice and libreoffice-unwrapped.

Additionally fixes description on wrapped packages.
Motivation for this change
As far as the attributes are concerned, I believe it's confusing how libreoffice-unwrapped doesn't point to the same version than libreoffice would (even though it's not really to be used!).
I'm not 100% confident on the implementation, is there any reasons for the previous implementation compared to the current implementation? Furthermore, it's more about all the unwrapped than specifically libreoffice, but would it make sense to make a move to make them less accessible so new users are less confused by an internal thing? Unless I misunderstood something about libreoffice-*-unwrapped, they are mostly there as an internal thing, right?
This bring an incompatible change where a user using libreoffice-unwrapped hoping to use fresh would now be inadvertently be using still.

And for the description, well, that's an obvious net gain, whether the other change is desired or not.
From:

To:

Things done

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

✔ NixOS
⬜ macOS
⬜ other Linux distributions

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

cc @7c6f434c as maintainer of libreoffice.

Well, it was a story of «OK will it make the situation better or worse», then ideas to check ran out and I forgot to consider what is the most reasonable layout. And I just forgot about meta, my bad.


refactor MapTask family and other extensions

included basic unitest for MapTask and TryMapTask
try to move extension method to own namespace to prevent possible conflict
use Swift 5.9 as minimum target
add tests to verify MultiMapTask
refactor MapTask Family for more readability

Since Swift does not allow running Task in undispatched manner like UNDISPATCHED.
MapTask and TryMapTask does not work well with PassthroughSubject and CurrentValueSubject. So needs to wrap it with FlatMap.


musical drum added

please accept it as my contribution under hacktober fest

is any issue coming in merging it , please let me know

@TKirtan is any issue coming in merging it , please let me know


Quick fix for local dev - fixing local well known JWKS

We have a local, well-known JWKS file to avoid fetching the real one and to be able to locally accept tokens generated by the local KMS. However, the local JWKS shall also include the key for tokens generated for the dev environment so that they can work on local dev.
The dev JWKS changed after migration to the new region: https://dev.interop.pagopa.it/.well-known/jwks.json
In this PR I update the local one to include the same key from the dev one plus the entry for the local KMS key.

Superseded by #926


Create binary image from output json

I need the binary version of a large svs format cell image. I am using run_infer.py because it generates a mask. However the output in mask is a binary image at  the maximum zoomed out level whereas I need a binary for the maximum "zoomed in" level. The other option I'm exploring is to use the output json and use contour information to build a binary image.
Is there some other way to directly get a binary? If not, is there a possibility of there being a feature in the future?
I also tried modifying the infer/wsi.py code to produce a mask for each magnification level as seen below:
    for mag in self.wsi_handler.metadata["available_mag"]:
            print("Processing for mag ",str(mag))
            # if msk_path is not None and os.path.isfile(msk_path):
            #     self.wsi_mask = cv2.imread(msk_path)
            #     self.wsi_mask = cv2.cvtColor(self.wsi_mask, cv2.COLOR_BGR2GRAY)
            #     self.wsi_mask[self.wsi_mask > 0] = 1

            log_info(
                "WARNING: No mask found, generating mask via thresholding at " + str(mag) + "!"
            )

            from skimage import morphology

            # simple method to extract tissue regions using intensity thresholding and morphological operations
            def simple_get_mask(mag):
                wsi_thumb_rgb = self.wsi_handler.get_full_img(read_mag=mag)
                gray = cv2.cvtColor(wsi_thumb_rgb, cv2.COLOR_RGB2GRAY)
                _, mask = cv2.threshold(gray, 0, 255, cv2.THRESH_OTSU)
                # mask = morphology.remove_small_objects(
                #     mask == 0, min_size=16 * 16, connectivity=2
                # )
                # mask = morphology.remove_small_holes(mask, area_threshold=128 * 128)
                mask = morphology.binary_dilation(mask, morphology.disk(16))
                return mask

            self.wsi_mask = np.array(simple_get_mask(mag), dtype=np.uint8)
            # self.wsi_mask = np.array(simple_get_mask(mag) > 0, dtype=np.uint8)
            print(self.wsi_mask.size,np.sum(self.wsi_mask))
            print(self.wsi_mask.size == np.sum(self.wsi_mask))
            if np.sum(self.wsi_mask) == 0:
                log_info("Skip due to empty mask!")
                return
            if self.save_mask:
                rand_multi = self.wsi_mask * 255
                print(255 * rand_multi.size == np.sum(rand_multi))
                print(rand_multi.size,np.sum(rand_multi))
                cv2.imwrite("%s/mask/%s_mag%d.png" % (output_dir, wsi_name,mag), rand_multi)
                print("Saved mask for mag ",str(mag))

Though the binaries for the 3 lower magnification levels look good, the one for magnification 40 is completely black(after removing the remove_small_holes and remove_small_objects function calls) or completely white. Basically cells are not being identified. Can you point out what I'm doing wrong here or as the comment says this piece of code is meant for generating tissue level binaries only?

Hi,
So the mask that is generated during inference is the tissue mask. You shouldn't try and modify that to get the binary cell output. Like you already suggested, you should be able to use the json file output to binarise the image if you wish. Everything will be there that you need. However, you should note that saving the image at 40x will take up a lot of memory and there may be issues. This is why we have saved the output as json. Alternatively you can process image tiles and then binarisation may be a bit more straight forward. Let me know if you need more assistance.

Thanks for the prompt reply!  I used the tutorial here: https://github.com/vqdang/hover_net/blob/master/examples/usage.ipynb to get the binary file. The code I used is below for anyone who has a similar use case.
from misc.viz_utils import visualize_instances_dict
import numpy as np
import json
from skimage import io
import cv2
import zarr

f = open('/mnt/ibm_sm/home/snigdha/TSP14 UB B2.json’)
data = json.load(f)
type_info = {"0" : ["nolabe", [255,255,255]]} # all white

for i in data['nuc']:
	contour = data['nuc'][str(i)]['contour']
	x_s = [a_tuple[0] for a_tuple in contour]
	y_s = [a_tuple[1] for a_tuple in contour]
	coords = np.empty((len(x_s),2))
	coords[:,0] = x_s
	coords[:,1] = y_s
	tile_info_dict[i] = {'contour': np.int0(coords), 'type':'0’}

# shape of the max mag level in svs
r_mask = np.zeros((67343, 143424), np.uint8)
overlaid_output = visualize_instances_dict(r_mask, tile_info_dict, type_colour=type_info,line_thickness=cv2.FILLED)
zarr.save('example.zarr',overlaid_output)

Saving as a png was taking a lot of time and it was also very huge. So I saved it as a zarr instead and this really helped me save space and time!


[BUG] Misalignment of curser and pen.

Describe the bug
A curser is having a lag from the pen that is drawing items in a clipboard.

i was unable to show my curser in this screenshot as it is getting hidden but you can try yourself.
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.
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]

Additional context
Add any other context about the problem here.

@hrishabhpatel09 Are you an GSSOC or SSOC contributor?

Can you assign this issue to me?

@shreyarao9 GSSOC or SSOC?

@singodiyashubham87 SSOC


GLTFSCN: Seeing [SceneKit] Error: SCNSkinner: there must be the same number of bone weights and bone indices on some models

When loading certain models into GLTFSCN I get the error [SceneKit] Error: SCNSkinner: there must be the same number of bone weights and bone indices. The model loads without a skinner, and is not animatable.
I am on the current master branch of GLTFKit df82
The model passes the Khronos GLTF Validator, and the model loads and the animation plays fine in Babylon.js, and in GLTFMTL (I checked it with the GLTFViewer Mac).
I've zipped an example model here:
castle-guard-gltf.zip
The models in question all came from Adobe Mixamo, via the Blender Kupoman GLTF exporter. I'm using the Kupoman exporter rather than the Khronos one because it supports multiple animations in one GLTF file. This workflow is described in this tutorial: https://www.donmccurdy.com/2017/11/06/creating-animated-gltf-characters-with-mixamo-and-blender/

The weird thing is, if I log submesh.accessorsForAttributes[GLTFAttributeSemanticWeights0] and submesh.accessorsForAttributes[GLTFAttributeSemanticJoints0], they look identical, the count is the same. So I'm a bit stumped as to why SceneKit reckons there's a mismatch.

Yeah, I'm looking at this now as well and just noticed the same thing. Strange that it only fails on the Mixamo+Kupoman models...

Can Mixamo export to COLLADA (or something that can be converted to COLLADA)? I'm wondering if we can get this to reproduce in SceneKit without glTF involved...

Yes, Mixamo does have DAE export. I should have time later today to try that
The other thing to try I suppose, would be the Khronos Blender GLTF exporter


feat: head request support

Warning: do not merge this
Hack project fix for the /bytes endpoint to support HTTP HEAD requests.

This change is

superseded by #3027


[Flatpak][Wayland] GTK theme is not being used

Describe the bug
When installed from Flatpak and running on Wayland, GTK theme (Matcha-sea) is not being used.
To Reproduce
Steps to reproduce the behavior:

flatpak install flathub dev.alextren.Spot
flatpak run dev.alextren.Spot

Expected behavior
GTK theme is being used.
Screenshots

General information:

Distribution: Manjaro
Installation method: installed from Flathub
Version: 0.1.8
Device used: desktop

Stack trace:
N/A
Additional context
N/A

Hi! :) This is not a bug, Flatpak requires that themes be installed for flatpak as well. In your case, you'll have to install org.gtk.Gtk3theme.Matcha-sea. Hope this helps!

Please reopen this. That theme is already installed, but it's not being used.

For the DConf option to work on Wayland the application must also be configured to have DConf access.

https://docs.flatpak.org/en/latest/desktop-integration.html#applying-themes

Hmm... Looks like there's no org.gtk.Gtk3theme.Matcha-dark-sea available.
I'm curious what's different in @kleinHeiti's case (as seen in #69)? Are you using X11?

For some reason:
$ flatpak run --command=gtk-query-settings dev.alextren.Spot | grep dark
                     gtk-theme-name: "Matcha-dark-sea"
  gtk-application-prefer-dark-theme: FALSE

Hello,
no, I have a Wayland session. Yesterday also came the update for the Flatpak GTK theme (see #69). How did you install the theme? I used this command:
flatpak install flathub org.gtk.Gtk3theme.matcha

Ah, I see the problem: the Matcha-sea-Theme is not available as a dark variant:
Similar refs found for ‘org.gtk.Gtk3theme.matcha’ in remote ‘flathub’ (system):

   1) runtime/org.gtk.Gtk3theme.Matcha-dark-azul/x86_64/3.36
   2) runtime/org.gtk.Gtk3theme.Matcha-sea/x86_64/3.22

Maybe you have to use Matcha-dark-azul

@kleinHeiti But in #69 you mentioned you're using Matcha-sea. Haha... So I thought it worked for you.

Ups - my fault. Sorry

https://github.com/vinceliuice/Matcha-gtk-theme/issues/143

Workaround for now:
$ flatpak override --env=GTK_THEME=Matcha-sea:dark --user

Thank you for your investigations!

Can we close this? :) @teohhanhui


Support "protocol" option

Support the proposed protocol option to allow logstash to send traffic to StatsD over tcp.

No still merge in the master repository ?

TCP protocol is now supported by #30 and released in version 3.2.0


Cleanup pre-212 CaretVisualAttributes compatibility code

Now that the base supported IntelliJ version is 213, this PR will remove the compatibility code for CaretVisualAttributes that supported the pre-212 shapes API. It removes the helper reflection code, and refactors the CaretVisualAttributesHelper code. No logic changes other than refactoring.

Cleaning old code is always good. Thank you!


Docker build failed for v2.3.1-mocha

Summary of Bug
Docker build of v2.3.1-mocha (v2.3.1) has failed:
https://github.com/celestiaorg/celestia-app/actions/runs/11596682377/job/32288367347
https://github.com/celestiaorg/celestia-app/actions/runs/11596682388/job/32288320222
https://github.com/celestiaorg/celestia-app/actions/runs/11596682377/job/32288353173
Version
v2.3.1-mocha
Steps to Reproduce
Auto build failed

Correct, there is no image :)


Civ 243 translation

@Nishanthh Also I'm curious, do you know why almost all of the repo files are change detected?

@Nishanthh I have a similar question as Manzur


Update js-yaml

Update js-yaml to fix https://nodesecurity.io/advisories/788

This should fix #254


Missing link to the diagram

The article is missing a link to download the diagram in Visio or PowerPoint
[Enter feedback here]

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

ID: 600321a5-3245-b82b-1fe7-76f9406d83b2
Version Independent ID: 440ab4ea-39d4-bbcc-b54f-8d46b70fec44
Content: Integrate IBM mainframe and midrange message queues with Azure - Azure Example Scenarios
Content Source: docs/example-scenario/mainframe/integrate-ibm-message-queues-azure.yml
Service: architecture-center
Sub-service: example-scenario
GitHub Login: @EdPrice-MSFT
Microsoft Alias: askhande

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

Just adding to this, the Storage image (https://learn.microsoft.com/en-us/azure/architecture/example-scenario/mainframe/integrate-ibm-message-queues-azure#storage) - has the old Azure logo.

Thank you for your feedback.  It appears the Visio link has been added.  If you still need assistance, please feel free to re-open with additional information.

#please-close


refactor: remove duplicate Withdrawal type

What was wrong?
we defined the same type for Withdrawals twice
How was it fixed?
removed the redundant code

I am closing these because some of our tests uses serde_yaml which depend on validator_index, well execution layer structures apparently depend on camal case? Anyways I don't think this issue is important enough for me to look to deep into it, so I am closing this PR keeping this sad reality in mind


"Error while retrieving notebooks" if delete a notebook with a note insided

I found that when I delete a notebook with a note insided, the django-joplin-vieweb will return "Error while retrieving notebooks".  The notebook is actually deleted and sync to joplin server, but django-joplin-vieweb cannot access all notebooks until I restart the joplin-terminal-xapi container.
This problem doesn't exist if I delete the notebook via joplin terminal inside the joplin-terminal-xapi container.
In the joplin-terminal-xapi container, I found below "SQLITE_ERROR".
joplin-vieweb-joplin-terminal-xapi-1
date,stream,content
2024/09/28 19:05:02,stdout,    stderr:
2024/09/28 19:05:02,stdout,
2024/09/28 19:05:02,stdout,Deleted remote items: 2. Fetched items: 2/2. Completed: 28/09/2024 11:05 (736ms)
2024/09/28 19:05:02,stdout,Downloading resources...
2024/09/28 19:05:02,stdout,Deleted remote items: 1.
2024/09/28 19:05:02,stdout,Starting synchronisation...
2024/09/28 19:05:02,stdout,    stdout: Synchronisation target:  (9)
2024/09/28 19:05:02,stdout,    status: 2024-09-28T11:05:02.875Z
2024/09/28 19:05:02,stdout,Synch finished: return code: 0
2024/09/28 19:00:56,stderr,Node.js v18.19.0
2024/09/28 19:00:56,stderr,
2024/09/28 19:00:56,stderr,}
2024/09/28 19:00:56,stderr,  code: 'SQLITE_ERROR'
2024/09/28 19:00:56,stderr,    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
2024/09/28 19:00:56,stderr,    at rejected (/app/joplin/lib/node_modules/joplin/node_modules/@joplin/lib/database.js:6:65)
2024/09/28 19:00:56,stderr,    at Generator.throw ()
2024/09/28 19:00:56,stderr,    at JoplinDatabase. (/app/joplin/lib/node_modules/joplin/node_modules/@joplin/lib/database.js:135:36)
2024/09/28 19:00:56,stderr,    at JoplinDatabase.sqliteErrorToJsError (/app/joplin/lib/node_modules/joplin/node_modules/@joplin/lib/database.js:34:30)
2024/09/28 19:00:56,stderr,    at DatabaseDriverNode.sqliteErrorToJsError (/app/joplin/lib/node_modules/joplin/node_modules/@joplin/lib/database-driver-node.js:23:18)
2024/09/28 19:00:56,stderr,"Error: Error: SQLITE_ERROR: no such column: undefined: SELECT id,title,is_todo,todo_completed,todo_due,parent_id,encryption_applied,order,markup_language,is_conflict,is_shared,share_id,updated_time,user_updated_time,user_created_time FROM notes WHERE is_conflict = 0 AND parent_id = ?
Sorry for my bad reactivness...
I can reproduce. But... I really don't know how to fix.
I think it's a joplin data API bug... I've asked on discord...
I let you know the progress here.

Waiting for a fix in joplin product.


Ensure features are deleted with their docs

It's rare to delete a Document, and presumably likewise for offsite links and topical events, but it does happen from time to time and we should ensure that these ghost docs are no longer considered featured.
Adds dependent destroy from Document, OffsiteLink, and TopicalEvent, to Feature.

@thomasleese I'm not against the idea but it's not part of mysql I've used before.  Is there prior art in the current DB?

Hmm, actually, it looks like Whitehall doesn't really use foreign keys https://github.com/alphagov/whitehall/blob/3ad5e0fa6ba63ce694a203b650908aa329101fa3/db/schema.rb#L1207-L1208 and it's hard to add new ones without database downtime, so probably not worth it for this PR.

@thomasleese That was my assumption, but assumptions are there to be challenged :)


Lack of './pretrained_models/sintel.pth'

Hi, all
When I tried to execute example, I encountered with this issues.
Could you please share this file with me?

Hi,
please see Issue #3 (https://github.com/lukas-blecher/Deep-Flow-Guided-Video-Inpainting/issues/3#issuecomment-636317366)
The weights are linked in the README


controller service account lacks permissions to interact with k8s network policies

Hey all, Thanks for this tool!
When I create a FQDN network policy, the controller-manager pod logs the following error:
failed to list *v1.NetworkPolicy: networkpolicies.networking.k8s.io is forbidden: User "system:serviceaccount:fqdnnetworkpolicies-system:fqdnnetworkpolicies-controller-manager" cannot list resource "networkpolicies" in API group "networking.k8s.io" at the cluster scope

I was able to work around this by adding the following rule to the fqdnnetworkpolicies-manager-role ClusterRole:
- apiGroups:
  - networking.k8s.io
  resources:
  - networkpolicies
  verbs:
  - create
  - delete
  - get
  - list
  - patch
  - update
  - watch

I'm running this on a fresh GKE cluster (created from the UI) with:

version 1.25.6-gke.1000
dataplane v2
NodeLocal DNS cache
otherwise default settings

Have I made a mistake somewhere?

repro'd on a rancher cluster using 0.3


ignore public/* stuff

example: /public/mix-manifest.json

Lints for /Users/loganhenson/Sites/sweet-test/public/js/app.js
! File should end with a new line
38755 : /******/ });
Lints for /Users/loganhenson/Sites/sweet-test/public/mix-manifest.json
! File should end with a new line
4 : }


add videos and other small fixes

Adds videos to the main page

self merging, please review

Merged, thanks.


Add support for Caddy

Documentation:
-> redir: https://caddyserver.com/docs/redir
-> import: https://caddyserver.com/docs/import

Description
This PR adds support for Caddy HTTP Server, by redirecting to 444 an referer, if matched.
Motivation and Context
Enables who is relying on Caddy as HTTP server to use this referrer list.
How Has This Been Tested?
I generated the file, and I try to import the generated output on top of my caddy http configuration file ( see comments on top of the generated .caddy file.
Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.

Hi Julian, thanks for your contribution! ;-) I'll try to add some documentation to the README.MD later..

Thank you! Indeed I forgot to do it, but feel free to ping me in case I can help :)
Best regards


ambiguity on hierarchical levels for management groups

[Enter feedback here]
under RBAC scopes below is the definition for Management groups

Hierarchical containers, up to eight levels, to organize Azure subscriptions.
but on page https://docs.microsoft.com/en-us/azure/governance/management-groups/overview under https://docs.microsoft.com/en-us/azure/governance/management-groups/overview#important-facts-about-management-groups
it has been mentioned as below
A management group tree can support up to six levels of depth.
This limit doesn't include the Root level or the subscription level.

Kindly clarify on the below

hierarchical /depth limit for management groups is 6 or 8
hierarchical /depth limit for root level

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

ID: aad949ac-60ff-a5d4-9c69-338557a4b57d
Version Independent ID: beaec67f-9d32-c3b0-68b3-e1c38a0a7995
Content: Understand and work with Azure Cost Management scopes
Content Source: articles/cost-management-billing/costs/understand-work-scopes.md
Service: cost-management-billing
Sub-service: cost-management
GitHub Login: @bandersmsft
Microsoft Alias: banders

Hi @erbalaji , thanks for the feedback! I have assigned the issue to the content author to evaluate and update this doc as appropriate

@erbalaji Hi there. Sorry for the delay. I'm updating the article for clarity, based on your issue.
https://github.com/MicrosoftDocs/azure-docs-pr/pull/182104
Here's the update:

Management groups - Hierarchical containers, used to organize Azure subscriptions. A management group tree can support up to six levels of depth. The limit doesn't include the Root level or the subscription level.

#please-close


[Connectors] Table upserts moved to front upsert queue

Description

Risk

Deploy Plan

Can we add to Olympus a task to add a multi-part file upload endpoint to use in conjunction of upserts :pray:


[FLINK-9180] [conf] Remove REST_ prefix from rest options

What is the purpose of the change
Remove REST_ prefix from rest options
Brief change log
Update RestOptions.java for removing prefix rest_
Verifying this change
This change is a trivial rework / code cleanup without any test coverage.

Sorry. @zentol . I misunderstand. Will update.

Let us wait the CI ending.

merging.


Sonatype move

Due to the demise of Bintray the plan is to move this library to Sonatype. It seems like a good time to finally choose a better name than effect-utils and after some discussion we picked natchez-extras which isn't perfect but does a much better job of describing the lib than effect-utils did.
This draft PR does the renaming of everything, if everyone is happy I'll proceed setting up Sonatype.

Sounds good 👍🏻 You might also want to rename the repo.


Environment variables in logback.xml not working in native

Variables in logback.xml are being replaced fine from application.properties but not from environment variables.
Works in JVM mode but not in native mode.

Could be related to https://github.com/quarkusio/quarkus/issues/37273

Or https://github.com/quarkusio/quarkus/issues/37444

@stuartwdouglas Have you found time for this issue? :)

Workaround is to supply this environment variable during build time.
In order to do it for container build, you need to pass quarkus.native.additional-build-args

export QUARKUS_NATIVE_ADDITIONAL_BUILD_ARGS="-J-Dlg.pre=LOGBACK"
quarkus.native.additional-build-args=-J-Dlg.pre=LOGBACK in application.properties
etc.


Training for my own custom data

Hello, I am going to get 3D bounding box from only one single image.
I have been suggested to use this repository for my aim.
And then, I have little knowledge about this repository.
Could anyone help me with my question?
Is this repository suitable for my aim? That is, can I generate 3D bounding box using this repository?
If yes, how can I make training dataset from only images dataset and how can I train them?
Thank you in advance.

We are using the PSMNet model here which does disparity prediction on stereo images. If you read the pseudolidar paper linked here: https://arxiv.org/pdf/1812.07179.pdf, you will find that the researchers talk about models that do disparity estimation and pseudo-lidar generation on single images. After getting pseudo-lidar generation from monocular image, you will have to run a 3D object detection model like Frustum PointNet or Sparse ConvNet to get the 3D prediction.

@1208overlord,
In our paper, we have used the monocular image to do 3D detection. You can use DORN to generate depth maps first. Then follow step 2.5 to 3 to get 3D predictions. Please let me if you have any questions.
Thank @Hira63S for helping address this issue.

@1208overlord,
In our paper, we have used the monocular image to do 3D detection. You can use DORN to generate depth maps first. Then follow step 2.5 to 3 to get 3D predictions. Please let me if you have any questions.
Thank @Hira63S for helping address this issue.

Hello, I am going to get 3D bounding box from only one single image. I have been suggested to use this repository for my aim. And then, I have little knowledge about this repository. Could anyone help me with my question? Is this repository suitable for my aim? That is, can I generate 3D bounding box using this repository? If yes, how can I make training dataset from only images dataset and how can I train them? Thank you in advance.

Hello, may I ask how to use single image to generate pseudo-lidar, I found that submission.py need 2 input, imgL and imgR, how to change to single image?
Thank you~


feat: Implement Sheet Input for Name and Skills.

Partially addresses issue #4
Implements editable areas for Name, Attributes, and Skill Ranks.

TODO:

Update Derived Data on Attribute Value Change
CSS Changes to make text areas look not horrendous.

Closed in favor of #37. All work from this PR is included there.


Fix dtype-related issues of arange

Closes #3721
Fixes everything except complex numbers, which I don't know how they're supposed to work in plain numpy to begin with...

@mrocklin could you please assist this CI failure? https://travis-ci.org/dask/dask/jobs/400540686#L1337-L1352

The CI failure has been patched up for now.  I believe that you may have to merge with master though.

@mrocklin new CI failure. Could you help again?
coverage run /home/travis/miniconda/envs/test-environment/bin/py.test dask --runslow --doctest-modules
coverage: command not found

Hrm, that's odd.  Conda/pip failure?  I wonder if there is a way to make
our CI system a bit more robust to package download failure.
On Sat, Jul 7, 2018 at 1:54 PM, crusaderky<EMAIL_ADDRESS>wrote:

@mrocklin https://github.com/mrocklin new CI failure. Could you help
again?
coverage run /home/travis/miniconda/envs/test-environment/bin/py.test dask --runslow --doctest-modules
coverage: command not found
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dask/dask/pull/3722#issuecomment-403232766, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AASszBlZxLoDJDNgqmLNu6X7SnHmj-RAks5uEPXVgaJpZM4VDu0E
.

Anyway, I've restarted for now
On Sat, Jul 7, 2018 at 2:07 PM, Matthew Rocklin<EMAIL_ADDRESS>wrote:

Hrm, that's odd.  Conda/pip failure?  I wonder if there is a way to make
our CI system a bit more robust to package download failure.
On Sat, Jul 7, 2018 at 1:54 PM, crusaderky<EMAIL_ADDRESS>wrote:

@mrocklin https://github.com/mrocklin new CI failure. Could you help
again?
coverage run /home/travis/miniconda/envs/test-environment/bin/py.test dask --runslow --doctest-modules
coverage: command not found
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dask/dask/pull/3722#issuecomment-403232766, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AASszBlZxLoDJDNgqmLNu6X7SnHmj-RAks5uEPXVgaJpZM4VDu0E
.

Looks good to me.  Thanks @crusaderky !


Enable SMPS for STM32H745I-DISCO by default

Summary
Enabled SMPS supply for STM32H745I-DISCO by default in each configuration. To prevent the error "MCU voltage is low" when SMPS supply is not enabled after flashing.
Impact
Error "MCU voltage is low" from STM32H745I-DISCO prevented from happening.
Testing

Add CONFIG_STM32H7_PWR_DIRECT_SMPS_SUPPLY=y to each configuration
Flash the firmware without changing default configuration
STM32H745I-DISCO booted normally with no error

@NonpawitE please update your defconfig by:
./tools/refresh.sh --silent stm32h745i-disco/netnsh

@NonpawitE please squash the change into one patch

@NonpawitE please squash the change into one patch

Ok, will do that!


Update example: Github hook X-Hub-Signature type

Setting this up for the first time. I found this to not work, until I changed the type as it is written here: https://davidauthier.com/blog/2017/09/07/deploy-using-github-webhooks/

You must have an older version of webhook.  The payload-hash-* options are deprecated in the latest versions of webhook.
If you want to see the docs for your version, see the git tag for your version.  For example, here's 2.6.10.

Yes I have a packaged version and I'm thankful to the project and the people packaging it. Maybe it's possible to deprecate less dramatically? It costs a lot of time to figure this stuff out.


Fix typos in README.md

Server -> server
docker -> Docker
being build -> being built
Triple-tap -> triple-tap (within parentheses in the middle of a sentence)

Thank you very much for fixing our typos. :)


Some questions about GAN code

In the GAN code, why L98 is repeated in L115? I tried to delete L115, it works fine. Is there something I miss?

@jindongwang It does not repeat. These two lines generate different random tensors.
One is for training discriminator, the other is for training generator.


Don't treat number as a falsy attribute

A value of 0 was treated as a falsy value.
Test passes in #254.

I think this should be pretty safe to merge. You'd assume that 0 and negative numbers would be treated as they are and not resolve to false.

if (value != null)
this catches null and undefined, but leaves the empty string and 0. debatable whether the empty string should result in a setAttribute or removeAttribute.

@aeosynth :
Good idea, but <input checked={false}/> will for example come out as checked if the condition looks like that.

could change the checked setter from el[name] = true -> el[name] = value

I'll check this out tonight, just got back from my vacation. Thanks for the work on this :D


Newer versions of Dynatrace (SaaS) ignore updates to supportingServices block

Greetings!
I am coming across an odd issue with newer versions of Dynatrace SaaS where dynatrace_azure_credentials does not update existing supporting services
Problem
Currently, using dynatrace_azure_credentials to update supporting services after the first call to register them has Dynatrace's remote API ignore the response, this means that TF State will have a weird supporting services block that is not registered in Dynatrace
This leads to an issue where, on subsequent updates to the dynatrace_azure_credentials resource to remove or add supporting services, no changes are reflected in Dynatrace
Example
Dynatrace state, that adds the following supporting service block in state:
            "supporting_services": [
              {
                "monitored_metrics": [],
                "name": "cloud:azure:appconfiguration:configurationstores",
                "unknowns": ""
              },

With TF Code:
resource "dynatrace_azure_credentials" "azure_dyna_integrations_nonp" {
  for_each = {
    for servicetier in var.service_tiers_nonp : "azure_dyna_integration/${servicetier}" => servicetier
  }
  provider = dynatrace.nonp
  # Base Azure Integration
  monitor_only_tagged_entities = false
  label                        = lookup(var.dynatrace_azure_environment_name_map, each.value)
  active                       = true
  auto_tagging                 = true
  app_id                       = lookup(var.dynatrace_azure_clientid_map, each.value)
  directory_id                 = var.dynatrace_azure_tenantid
  key                          = lookup(var.dynatrace_azure_clientsecret_map, each.value)
  # dynamic "supporting_services" is used here to add all azure resource types:
  dynamic "supporting_services" {
    for_each = [for item in var.dynatrace_azure_supportingservices : item
      if !contains(var.dynatrace_azure_ignored_supportingservice_list, item["entityType"])
    ]
    content {
      name = supporting_services.value["entityType"]
    }
  }
}

supporting_services in above's case looks up from a large variable that contains every supporting service and its permutation (since there's no way to enable all supporting services with all apis yet)
Solution
I've talked to a Dynatrace representative and according to them Supporting services should be handled via the Azure Credentials /services block: https://www.dynatrace.com/support/help/dynatrace-api/configuration-api/azure-credentials-api/put-services - perhaps we use that instead for our credential needs

Unfortunately my company forbids me from making POST requests to github, so can't provide any 'good' screenshots of showing this issue within the Dynatrace SaaS UI
Our current SaaS version is 1.266.116.20230515-161640

Hello @Forcebyte,
We're already working on a resource for configuring the supporting services explicitly using the REST endpoint you're referring to.
Until then you can set the attribute supporting_services_managed_in_dynatrace to true. That way Terraform won't touch them, but you can configure them via WebUI.

I believe you're talking about the endpoint /api/config/v1/azure/supportedServices that offers all the supported services available, correct? Yes, I was planning to offer a data source dynatrace_azure_supported_services that offers the results of that call. I will also look into a way to signal "subscribe to all services" (without even having to utilize the data source).

Hello @Forcebyte, the resource dynatrace_azure_service (introduced with v1.31.0) takes care of this issue.


Plans and Ideas

What are your plans and ideas for this?

With w3modmanager I want to approach a few things from a different direction. First and most important is a different method to install and manage mods. As there is no standard mod format for The Witcher 3, there are a lot of ways mod authors have packaged their mods; Some mods are contained in unusual directory structures, some contain multiple different mods, and some contain files that are not really part of a mod itself and require special handling. I want this to be properly represented in the manager, and I've come up with a way to make that manageable and intuitive.
What that means is that mods that consist of multiple mods will be displayed as multiple mods as well. I also want mods to be displayed that weren't originally installed by w3modmanager. There won't be a separate load order list either for these reasons.
Another goal is to automate mod installation as much as possible. I don't want there to be any mod that is not correctly recognized and installed.
I also have a few other things planned like mod version check and mod download features. But it will still take a bit to complete all of that.

Wow. Sounds good already, can't wait. I've got some ideas, but am not sure of the feasibility of it. One idea is to have profile support for mods and game saves. Another is to integrate a script merger.
I want to help, just not sure what I can do right now, either here or for The Witcher 3 Mod Manager.

Profiles for mods and saves are a good idea. I'll have to think about how best to integrate it, but I'll put in on the list. As for an integrated Script Merger, as useful and nice-to-have as that would be, I'm not so sure it's something that'd be worth the effort. Script Merger is such a well-tested core tool that everyone already knows their way around, and reaching that level of functionality would likely be a lot of extra work.
At the moment there's not much to do here yet for anyone but me, except collecting ideas 🙂 But if you really want to you could help with testing TW3MM. I think it should be pretty stable by now, but I thought so before it was released on Nexus Mods too, and right after that someone immediately stumbled upon a mod that didn't install correctly. So if you notice any mod that's not installed in a way it should be and would prepare a test case around it or even just report it, that would already be a lot of help.

As for an integrated Script Merger, as useful and nice-to-have as that would be, I'm not so sure it's something that'd be worth the effort. Script Merger is such a well-tested core tool that everyone already knows their way around, and reaching that level of functionality would likely be a lot of extra work.

An integrated XML Merger however would be something I should consider, since that isn't something that Script Merger is handling correctly.


Css variables should be enabled by default

Describe the problem
The support seems fine https://caniuse.com/?search=css variables
Describe the proposed solution
Just set the false to true
Alternatives considered
.
Importance
would make my life easier

If you are going to change this anyway, might I also suggest changing the name?
The current name is rather long and not grammatically correct English.
enableCssVariables or even useCssVariables would be cleaner looking.

Hi @MilesPernicious. Thanks for this comment.
A good idea. I was also thinking about enableCssVariables.
With this following BC break, this option will be for disabling CSS variables . So maybe cssVariablesEnabled?:
const config = {
   enableCssVariables: false,
   // Or
   cssVariablesEnabled: false
}


Investigate taking login server instead of full URI in client constructor

In order to construct an instance of the .NET client, we're suggesting in the README that clients pass the full URL, including the https:// prefix
This may be tricky for customers, who are used to dealing with just the login server name (without the https:// prefix) in the az cli.
Investigate the precedent in track 2 libraries and implement accordingly
Ensure this works across languages.

@mnltejaswini FYI

Per Azure SDK Track 2 precedent, client constructors take Uri to connect to a service endpoint.


What is ITIL/ITSM and how is it complimentary to agile?

Meh, this is just too old and I don't care about it enough to write it up.


[Account Switcher] Issue: Pressing settings doesn't work

Before you submit an issue please restart your discord. If the issue is still there feel free to write a bug report.
Describe the bug
Basically, in the BandagedBD version, in the plugin menu, clicking on settings while the plugin is on, makes all other plugins disappear from the menu including this one, and they reappear once the tab is reopened.
To Reproduce
Steps to reproduce the behavior:

Go to User Settings>Plugins in discord
Click on settings under the Account Switcher
All plugins disappear and the settings menu doesn't open.

Expected behavior
I expected the settings menu or dialogue to open.
Screenshots

Information (please complete the following information):

OS: Win 10 Home
Plugin Version: 0.0.1
Discord version: Stable
Compact Mode enabled? no

Verison 0.0.1 was the first release, it had no auto updater in it. Please update to the newest version, that should be working. (Even though idk what could cause this in 0.0.1)

Please give me feedback about if it works now or if it doesn't, otherwise I will close this thread.


Update Haskell package set to LTS 15.5 (plus other fixes)

This PR is test-built by Hydra at https://hydra.nixos.org/jobset/nixpkgs/haskell-updates. I'll fix up the remaining errors and merge it on Friday, 2020-03-27 20:00 CET. You can watch this live on Twitch at https://www.twitch.tv/peti343.
TODO

[ ] Split-out a minimal nix docker image: https://github.com/NixOS/docker/pull/13
[ ] Run krank on our override files and collect a TODO list of possibly outdated items.
[x] Update all-cabal-hashes reference.
[x] Close https://github.com/NixOS/nixpkgs/pull/80355 if it's still open.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/how-to-regenerate-hackage-packages-nix/6409/2

Is it possible that the switch to bootPkgs = packages.ghc865Binary; broke musl support?
https://github.com/nh2/static-haskell-nix/issues/73#issuecomment-606958059
(I haven't fully determined whether it's this PR that introduced it, just asking here because it's the latest haskell-updates PR so you might know.)

Next week, we'll merge https://github.com/NixOS/nixpkgs/pull/83963.


Retry authentication

Hi!
As we can see here OpenSSL package wasn't uploaded because Conan could not login due a connection error.
When uploading a package, CPT uses retry=3 by default, there is no retry for authentication.
Related issue: https://github.com/conan-io/conan/issues/5262
Changelog: Feature: Retry remote authentication

[x] Refer to the issue that supports this Pull Request.
[x] If the issue has missing info, explain the purpose/use case/pain/need that covers this Pull Request.
[x] I've read the Contributing guide.
[x] I've followed the PEP8 style guides for Python code.

Is that happening frequently?

I need to confirm if is occurring this week. I'll bring more information.

Yes, I can confirm the error persists:
From 15h ago: https://ci.appveyor.com/project/bincrafters/conan-mysql-connector-c/build/job/h5a3fa58jrnvryep#L2634
This one was when downloading zlib from Bintray. It's a connection error.
44min ago: https://ci.appveyor.com/project/ConanCIintegration/conan-boost/build/job/5p3vpreogm6hsg7v#L8706
It couldn't authenticate due connection error.

these errors seem to always happen on APPVEYOR_BUILD_WORKER_IMAGE=Visual Studio 2019:
https://ci.appveyor.com/project/ConanCIintegration/conan-openssl/builds/24994770/job/q7w9nxpcu24j3wig
https://ci.appveyor.com/project/ConanCIintegration/conan-openssl/builds/24994770/job/i9r8rdq6udmbs879
https://ci.appveyor.com/project/ericLemanissier/conan-openssl/builds/24975928/job/3s5yraijvtw21hs5
https://ci.appveyor.com/project/ericLemanissier/conan-openssl/builds/24975928/job/q9ev6vsvjh18oke2
Could it be a problem in the worker image ?

Hi @ericLemanissier !
It's possible. Since we are using the same Bintray repo for any upload, and only Visual Studio 2019 is falling, it could be an error from Appveyor side. I'll open a discussion in Appveyor's forum and post the link here.

I think we can close this one. Conan 1.17.0 has a fix for this problem.


BWF: Clean up diags log entry header construction.

This uses BW formatting to make the code much cleaner and clearer.

[approve ci]

[approve ci autest]


fix: use project name when adding project via url

Port from https://github.com/adobe/helix-sidekick-extension/pull/760

:tada: This issue has been resolved in version 1.27.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Special Character failing builds

Starts here: https://www.reddit.com/r/Jekyll/comments/8zeyja/why_are_all_jekyll_themes_broken_outside_of_github/e2jgkz5/?context=7
My findings are a few comments down./ I believe that an infinity symbol is causing a user of your theme to have a failure.

Oh, wow. thx for the issue.
I just wonder how it work if you add @charset "utf-8"; at the top line of _variables.scss.

Would appreciate if you could comment on that reddit thread because I’m not
running this at all, just relaying my findings after trying to help someone
out.
Love the theme BTw, may use it in the future now that I know about it.
On Mon, Jul 23, 2018 at 11:02 PM Tian Qi (田琦<EMAIL_ADDRESS>wrote:

Oh, wow. thx for the issue.
I just wonder how it work if you add @charset "utf-8"; at the top line of
_variables.scss.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/kitian616/jekyll-TeXt-theme/issues/80#issuecomment-407265239,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKeM1yTq14pJpJYH0VvA-G1goB0yEcVqks5uJo5MgaJpZM4VbTeO
.


Default glue paths should support multi-root and nested workspaces

👓 What did you see?
When I open a workspace that has tests/features/* structure somewhere in it, every step is marked as Undefined.

✅ What did you expect to see?
Should the extension use the settings...
{
    "cucumber.glue": [
        "src/test/**/*.java",
        "features/**/*.ts",
        "features/**/*.tsx",
        "features/**/*.php",
        "features/**/*.py",
        "tests/**/*.py",
        "tests/**/*.rs",
        "features/**/*.rs",
        "features/**/*.rb",
        "*specs*/**/.cs"
    ]
}

...to find the specified structure across the opened workspace and associate .feature files with corresponding matchers? Users currently have to tune their local workspace settings:
// in a local .vscode/settings.json
{
    "cucumber.glue": [
        "path/to/dir/tests/**/*.ext"
    ]
}

... so that extension can find the matchers.
📦 Which tool/library version are you using?
Name: Cucumber
Id: CucumberOpen.cucumber-official
Description: Cucumber for Visual Studio Code
Version: 1.5.1
Publisher: Cucumber
VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=CucumberOpen.cucumber-official

🔬 How could we reproduce it?
Move the tests/features/ dir (and possibly re-configure your build system for this change) in some nested dir, not in the top-level dir, observe the Undefined step and no goto definition in the editor for every step in the .features files. Default VScode settings.
MRE: https://github.com/zohnannor/cucumber-vscode-mre/tree/workspace

This text was originally generated from a template, then edited by hand. You can modify the template here.

Are you suggesting we add ./**/ to the beginning of every cucumber.glue glob? While it might fix your problem without having to change any settings, it might also slow down the scanning if there are many files in your workspace. It's primarily limited by how fast the globbing library works, which I haven't benchmarked.
Not sure what to do about this one...

Benchmarked the fast-glob globbing library used by the Language Server through the node-glob benchmark.
Starting glob patterns with **/ is about 10x times slower (0.074s -> 0.732s) for synchronous operations and 16x times slower (0.067s -> 1.101s) running asynchronously.
This benchmark suite contains significantly more files than would be contained within a typical Cucumber environment repository, so would not be as drastic in practice. Although it should be possible to support this request, we would first need to optimise the performance of the extension (#152) - particularly how we watch and read files; allowing us to offset the slower globbing and provide a better out-of-the-box experience.
--- pattern: 'features/**/*.js' ---
~~ sync ~~
node fast-glob sync             0m0.074s  0
node globby sync                0m0.093s  0
node current globSync mjs       0m0.093s  0
node current glob syncStream    0m0.076s  0
~~ async ~~
node fast-glob async            0m0.067s  0
node globby async               0m0.088s  0
node current glob async mjs     0m0.068s  0
node current glob stream        0m0.069s  0

--- pattern: './**/features/**/*.js' ---
~~ sync ~~
node fast-glob sync             0m0.732s  0
node globby sync                0m0.685s  0
node current globSync mjs       0m0.966s  0
node current glob syncStream    0m1.103s  0
~~ async ~~
node fast-glob async            0m1.101s  0
node globby async               0m1.275s  0
node current glob async mjs     0m1.008s  0
node current glob stream        0m1.302s  0


Critical dependency: require function is used in a way in which dependencies cannot be statically extracted

I use code-splitting with require.ensure
Why I can not set bundle name with string variable?
if I use anything but string literal - I get the error

It looks like you just deleted our lovely crafted issue template. It was there for good reasons. Please help us solving your issue by answering the questions asked in this template. I'm closing this. Please open a new issue with filled issue template. Also make sure your issue is not a question. Questions should be posted on Stack Overflow.

I dont speak about bundle path, which is need to determine entry point for a bundle, but about last parameter - bundle name.
Why it should not be a variable?


Silicone Sheets for scars that are small - medium pain

Used multiple times to reduce or even remove scar entirely. Pain will ultimately be removed too. Silicone sheets can be made by finding silicone ore? Maybe? Perhaps?

Completely reworked silicone sheets.
Now each sheet reduces a scar's severity by 1.0. The worse the scar the more sheets are required to get rid of it. This is changed from 1 sheet = removal of scar completely.
Required additional C# scripting and it's own C# class with a bunch of IF statements. Shouldn't but could cause performance problems? I have no idea about performance in C# - I would assume it'd be fine though.

Done: f4157a2


remove "here be dragons" warning

the tutorial is... basically done? there's still a bunch of issues open but they're non-critical, we can fix them at leisure i think.
similarly, there's some more content we could add, but the tutorial in its current form is pretty comprehensive — certainly comprehensive enough that we should probably start redirecting here from https://svelte.dev/tutorial.
draft because it would be nice to adopt site-kit@4 (see e.g. https://github.com/sveltejs/site-kit/pull/88)

Nice! I think we can't just redirect from the old one yet since not all browser support web containers - but we certainly can add a banner or sth like that to advertise it there.


osqueryd nullqueue for WinEventLogs regex doesn't work

My testing of this last night was inadequate: https://github.com/clong/DetectionLab/blob/master/Vagrant/resources/splunk_server/transforms.conf#L23
Working on a fix now

Should be fixed here: https://github.com/clong/DetectionLab/commit/9e9120f02b2e3c7aee2e618c498b09f8bae1126d


CkLocMgr: Refactor PR1

This is the first PR of the overhaul of CkLocMgr/CkArray/CkMigratable. It takes the distributed hash table for ID -> PE and removes it from CkLocMgr and into a new, separate, CkLocCache (naming not final). A design doc for the overall redesign coming soon.

Changed base branch to master and rebased, now that the precleanup patch has been merged.


fix: Split long stop names on line map

Asana task: [GL e-Ink] Long station names on line map wrap onto 2 lines
SVGs made this tricky. Final solution was to split the word on the space closest to the middle. Each part is then displayed in a tspan with the top tspan being 1.2em above the bottom. Only happens when the label has more than 15 characters. That number is completely arbitrary and is open for discussion.

[ ] Needs version bump?

@jzimbel-mbta I tried out some of our longer names and they seem to wrap as expected with this solution. Screenshots below.

@hannahpurcell According to design, the bottom line should be lined up with the dot. I think this is to prevent crowding in the event of two long station names on top of each other. As for the max char length, I did bump that up just a bit. I played around with a few of our longest names and those wrap like we expect. Some names that really don't need to wrap shouldn't with the new length.
Besides keeping a map of names we want to wrap and how they should wrap, I think this may be the best solution when it comes to doing it programmatically. Keeping this map seems tedious but I'm open to your opinions on it.


Update chrome local libraries

Fixes issue when building Chrome images from Debian packages #109

@ruescar thank you for contribution.


move create_vm to deploy_template

I couldn't find anything calling create_vm but someone should double
check.
deploy_template is what test_vm_disco, test_power_ctl, and everthing?
else uses

Lint report for commit 291c101ac8fc185ba7677b4b3bffdfbbc5e9fca0:
mgmtsystem/google.py:

:bangbang: Line 280:5: E303 too many blank lines (2)

Please, rectify these issues :smirk: .
Commit inspection report:
No commit flaws detected.
CFME QE Bot

Lint report for commit b52756bbe5f6a9912381c40cb13f1bad3b858c72:
Everything seems all right from lint perspective :smile: .
Commit inspection report:
No commit flaws detected.
CFME QE Bot

Lint report for commit bbf42bc1fbfe980f2c488898c578e38526644d39:
Everything seems all right from lint perspective :smile: .
Commit inspection report:
No commit flaws detected.

CFME QE Bot


Add @opentelemetry/instrumentation-http

https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-plugin-http

Done by https://github.com/Hongbo-Miao/hongbomiao.com/pull/1807


Support for magics whitelist/blacklist

Allow optional specification of either a whitelist of acceptable magics, or a blacklist of unacceptable magics (but not both).
Specifying a whitelist restricts to only those entries (an empty whitelist denying all magics), while specifying a blacklist rejects any of those entries.
The existing default behavior (any magic's acceptable) is unchanged.
More details
Currently, when you call lint.run() programmatically, you can pass a dictionary of rules - e.g.
>>> import jupyterlab_celltests.lint as lint
>>> lint.run("tests/more.ipynb",rules={'cells_per_notebook':20})
([PASSED: Checking cells per notebook (max=20; actual=6) (Notebook)], True)

This PR adds magics_whitelist or magics_blacklist as an optional lint rule, e.g.
>>> import jupyterlab_celltests.lint as lint
>>> lint.run("tests/more.ipynb",rules={'magics_blacklist':['matplotlib']})
([FAILED: Checking magics (present in blacklist: {'matplotlib'}) (Notebook)], False)
>>> lint.run("tests/more.ipynb",rules={'magics_whitelist':['matplotlib']})
([PASSED: Checking magics (Notebook)], True)
>>> lint.run("tests/more.ipynb",rules={'magics_whitelist':[]})
([FAILED: Checking magics (missing from whitelist: {'matplotlib'}) (Notebook)], False)
lint.run("tests/more.ipynb",rules={'magics_whitelist':['one'], 'magics_blacklist':['two']})
Traceback (most recent call last):
[...]
ValueError: Must specify either a whitelist or a blacklist, not both. Blacklist: ['two']; whitelist: ['one']

Notes

Should work on py2, but don't think that is being tested on CI.
It could be possible to do this cell by cell (to get cell numbers), but it would be more work.

Alternative approaches

Check the original source for magics (in the form %magic or %%magic), e.g. by regex.
(let me know if there's a better way I didn't consider!)

There used to be a code coverage report, but it seems to have gone...unless I am looking in the wrong place?

@ceball if you click any of the CI details it will give you a breakdown and its also here https://dev.azure.com/tpaine154/jupyter/_build/results?buildId=242&_a=summary&tab=ms.vss-codecoverage-web.code-coverage-details&view=codecoverage-tab

I was looking for something like this, from a previous PR:

The above shows the coverage change, diff coverage, etc.
I couldn't figure out how to see that kind of thing now. Might not be available? No worries if not, we could improve it over time.
And not sure about the 'assemblies' and 'classes' stats (sounds like MS speak ;) ):


UserStream: many "twitter socket closed, leaving loop" until error 420

From logger, I see it keeps getting "twitter socket closed, leaving loop"
and then trying to reconnect until it receives a 420 error from Twittter and
backs off for a while.
2018/02/08 21:55:08 Response status=200 OK code=200
2018/02/08 21:55:08 Listening to twitter socket
2018/02/08 21:55:08 twitter socket closed, leaving loop
... [many times] ...
2018/02/08 21:55:17 Response status=420 Enhance Your Calm code=420
2018/02/08 21:55:17 Twitter streaming: backing off as got : 420 Enhance Your Calm
^Csignal: interrupt

As far as I understand from the code, scanner.Scan() is returning false at
https://github.com/ChimeraCoder/anaconda/blob/6d66c395d5c8e63b38413965c43155fc2947a901/streaming.go#L176
Is it Twitter blocking User Stream access for my account?
Testing code:
package main

import (
    "fmt"
    "github.com/ChimeraCoder/anaconda"
    "net/url"
)

func main() {
    anaconda.SetConsumerKey("YOUR_CONSUMER_KEY")
    anaconda.SetConsumerSecret("YOUR_CONSUMER_SECRET")

    api := anaconda.NewTwitterApi("YOUR_ACCESS_TOKEN", "YOUR_ACCESS_TOKEN_SECRET")
    api.SetLogger(anaconda.BasicLogger)
    stream := api.UserStream(url.Values{})

    for {
        item := <-stream.C
        fmt.Println(item)
    }
}

By adding
if err := scanner.Err(); err != nil {
    s.api.Log.Notice(err)
}

after the mentioned for-loop over scanner.Scan(), I get:
2018/02/09 12:24:18 bufio.Scanner: token too long
So I changed the for-loop to use (*reader).ReadBytes() instead and then it started printing my UserStream data on screen:
for {
    data, err := reader.ReadBytes('\r') // JSON objects are delimited by "\r\n".
    if err != nil || !s.run {
        break
    }
    s.C <- jsonToKnownType(data)
}

So, I probably should have used url.Values{} params to filter my UserStream because I was getting a too large data to fit in scanner.Scan() buffer.
Or is it a bug?

What's the token that it's choking on? I'm surprised that there's a token longer than 64 * 1024 bytes.

At the moment, the very first token I receive from Twitter is a large array of IDs with 78467 bytes.
Printing a reflect.TypeOf() shows it is anaconda.FriendsList type.
UserStream will be replaced in June, so documentation is not clear:
https://developer.twitter.com/en/docs/accounts-and-users/subscribe-account-activity/api-reference/user-stream
But looking at "stringify_friend_ids" parameter, it seems that Twitter sends a preamble array of integers with friends IDs upon connecting to UserStream.

After updating to the most recent version I started getting these as well:
level=info msg="twitter socket closed, leaving loop"
level=info msg="Listening to twitter socket"

In my case I am just using PublicStreamFilter and processing tweets. After some time Twitter removes my access token from the app and then I get 401 :)

👍 on this - i'm getting those same info messages until finally it culminates into
ERRO[1420] Cannot request stream : Post https://stream.twitter.com/1.1/statuses/filter.json: net/http: request canceled (Client.Timeout exceeded while awaiting headers)

Looks like it's related to this commit:
https://github.com/ChimeraCoder/anaconda/commit/c0624fed14f17cab6525039cc4a9a0a4e5b48c13

Agreed; this seems to be a regression from c0624fe.
For whatever reason, the keep-alives aren't satisfying the timeout either. I changed the timeout from 20 to 90 seconds and it's still timing out after 90 seconds. For me it's just reconnecting (so harmless?) but maybe I'm just not waiting long enough to get the 420 error.
If you're not subject to the mutex deadlock, it might make sense to comment out twitter.c line 130. This is probably just affecting the streaming API, which Twitter plans to sunset on June 19, 2018, so it may not be worth a long-term fix.

Hi, I'm experiencing similar behaviours.
I've tried listening for all incoming events to see if twitter sends a keep alive or not, but it doesn't seem to. Maybe it's not responding to anacondas keepalive requests?

According to the documentation here the keep alive is sent by twitter as a carriage return, and shouldn't need any additional handling. :\ Can we monitor for that?

I just received and email stating these API's they may have been shut down, however, that does not seem to be the case.
This seems to work today; with the caveat that it gets disconnected often; however I do see new tweets being created.
func main() {
        api := anaconda.NewTwitterApiWithCredentials(
		access_token,
		access_token_secret,
		consumer_key,
		consumer_secret,
	)
	log := &logger{logrus.New()}
	log.SetLevel(logrus.DebugLevel)
	api.SetLogger(log)

	v := url.Values{}
	s := api.PublicStreamFilter(v)

	v.Add("follow", "15209123") // 15209123 = @dijit

	for {
		item := <-s.C
		log.Infoln(item)
	}

That's interesting -- I had also thought all streaming APIs were shut down in favor of the Account Activity API, but that seems not to be the case for PublicStreamFilter, unlike UserStreams and SiteStreams that were sunset on August 23.
My experience with UserStreams before they were sunset was that they were also closed often by Twitter, which is why the loop method in streaming.go loops and makes a new request when that happens.

No support ?

Alright, thank you.


Orgmode insert link tab completion

develop branch. Basic troubleshooting tried. No modifications (that I remember).
Observed behavior

When inserting a link in a .org file, C-c C-l allows me to type fil and hit RET to select file:.
It then takes me to the current directory.
Pressing Left Arrow goes up one directory.
Pressing Right Arrow throws the error Cannot split side window or parent of side window. TAB throws the same error.

Expected behavior
I would have hoped that I could tab complete my way through a file selection for a link.
Steps to reproduce
Above.
System information

Click to expand

OS: darwin (x86_64-apple-darwin14.5.0)
Emacs: 26.1 (May 30, 2018)
Doom: 2.0.9 (develop e3f412abb749d7465d99b46a99b7f4a32373d60c)
Graphic display: t (daemon: nil)
System features: NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULES THREADS
Details:

  elisp
  elc count: 0
  uname -a:  Darwin Admins-MacBook-Pro.local 16.7.0 Darwin Kernel Version 16.7.0: Thu Jun 21 20:07:39 PDT 2018; root:xnu-3789.73.14~1/RELEASE_X86_64 x86_64
  modules:   (:feature (evil +everywhere) file-templates (lookup +devdocs +docsets) snippets spellcheck (syntax-checker +childframe) workspaces :completion (helm +fuzzy) :ui doom-dashboard doom-modeline doom-quit evil-goggles hl-todo nav-flash treemacs (popup +all +defaults) vc-gutter vi-tilde-fringe window-select :editor rotate-text :emacs ediff electric hideshow imenu vc :tools :lang emacs-lisp markdown (org +attach +babel +capture +export +present) (sh +fish) :config)
  packages:  n/a
  exec-path: (/usr/local/bin/ /usr/bin/ /bin/ /usr/sbin/ /sbin/ /Library/TeX/texbin/ /Applications/Emacs.app/Contents/MacOS/bin-x86_64-10_10/ /Applications/Emacs.app/Contents/MacOS/libexec-x86_64-10_10/ /Applications/Emacs.app/Contents/MacOS/libexec/)

As of 619ac43, 6b91039 and 933322e:

left/right arrow now move the cursor as normal
TAB and right arrow should no longer display the "cannot split side window" error.
TAB is now bound to helm-execute-persistent-action, which will preview the selected file in org-insert-link.

This is more predictable behavior, at least. However, you mentioned tab completion. helm-execute-persistent-action will perform tab completion for some commands, but not all. helm-find-files and org-insert-link are two commands for which it does not.
As far as I know, there is no way to ensure that tab completion is performed for all commands. This is by design with Helm, because it is performing live completion for you already, as you type, which makes tab completion superfluous.
Unfortunately, beyond this point, it is a helm issue, rather than a Doom issue, so I'll consider this effectively resolved, but feel free to follow up here if you'd like to discuss it further.

You worked on this faster than the stuff I get paid for.
Tab completion works now, but when I actually select the file for inserting the link, I get No buffer named *Org Links*. Any ideas?
git --no-pager log | head

commit 62b9166871afcab83771cd02b586fea6cc57a671
Author: Henrik Lissner<EMAIL_ADDRESS>Date:   Fri Aug 24 12:36:16 2018 +0200

    Change :make to reuse last command

    Unless given a command.

commit 9eee22e3fcc15412db6d1f69c0294c090cb4aa5a
Author: Henrik Lissner<EMAIL_ADDRESS>
make && make install run

Also, up and down in Helm (I think helm) don't really work for selecting files anymore. SPC b b then down says End of history; no default available.

I restored the up/down keybinds in https://github.com/hlissner/doom-emacs/commit/469cc7fbc1a0b3f4edfa944d2fbdb7cad5fea955. As for the No buffer named *Org Links* error, it's a regression from the fix for the Cannot split side window or parent of side window error. I'll have to come up with a better solution; will do in the morning!

With kbd tags: up/down =  up/down

Sorry for the long wait! As of b76a095 this issue should be resolved. Please update and let me know if that isn't the case and I will reopen this.


Using the IDE helper in a composer package

I'd like to use the IDE helper when working with composer packages. Did anyone do that?
I guess I need to install artisan, is that the right way?

What do you want exactly? WHy?

I'm developing a laravel 5 application and think your package helps a lot. Then I started to extract some of the code into packages and figured I should work with the packages in isolation but then I realized I don't have access to the ide helper anymore.. I found it pretty difficult to work with packages for other reasons as well and now I'm working directly in the /vendor folder instead and that helps me with this issue (and some other issues). Still I feel like I'm doing something wrong but at least I don't have this specific problem anymore. So this issue can be closed but if you or someone else has some hints please share :)

@offroff I believe you can. I just recently added tests to this repository, which demonstrates that this package can be run without the full frame as a package (by using https://github.com/orchestral/testbench ), so I don't see why this wouldn't work in your package, when you:

use https://github.com/orchestral/testbench
make ide-helper a dev dependency
and use it there

And may need to some more setup / bootstrapping, but should be doable.
Mildly related, some time I ago I opened https://github.com/barryvdh/laravel-ide-helper/issues/756 because I use this package also without a full-framework and had to jump through some hoops, which I outlined. Maybe those things apply, maybe they don't.


Edited Home, Footer and MovieSearch

Home: Added Image Slider
Footer: Provided the static content for the Footer
MovieSearch: Added material UI to the search bar and edited the layout
of the movies in the table.

All the editing has done.


Made autopilot title link point to new tab with mediafiles

Closes #2260

I made a change to this so the mediafile will not be added to the local model store when projected on the reference projector.
This way it is not necessary anymore to request owner_id.


Error reading X509 key pair (...) crypto/tls: private key does not match public key

Description of problem:
Weird error log messages from a running Docker daemon.
docker version:
Client version: 1.7.0
Client API version: 1.19
Go version (client): go1.4.2
Git commit (client): 0baf609
OS/Arch (client): linux/amd64
Server version: 1.7.0
Server API version: 1.19
Go version (server): go1.4.2
Git commit (server): 0baf609
OS/Arch (server): linux/amd64

docker info:
Containers: 6
Images: 175
Storage Driver: aufs
 Root Dir: /var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 187
 Dirperm1 Supported: false
Execution Driver: native-0.2
Logging Driver: json-file
Kernel Version: 3.13.0-52-generic
Operating System: Ubuntu 14.04.2 LTS
CPUs: 2
Total Memory: 1.955 GiB
Name: uk
ID: VPTY:47IV:KZWE:JAOO:CVAC:QKX2:FD5K:LJE3:OELB:4HOJ:ID7O:RJR5
WARNING: No swap limit support
Labels:
 provider=digitalocean

uname -a:
Linux uk 3.13.0-52-generic #85-Ubuntu SMP Wed Apr 29 16:44:17 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

Environment details (AWS, VirtualBox, physical, etc.):
A DigitalOcean droplet created and provided by docker-machine v0.2.0 on 22.06.2015
Droplet details: 2GB Ram 30GB SSD Disk Amsterdam 3 Ubuntu 14.04 x64
How reproducible:
Stop docker daemon using Upstart with stop docker or wait for the daemon to unexpectedly shutdown itself (a subject to another issue), then check out /var/log/upstart/docker.log
Steps to Reproduce:

sudo stop docker
sudo start docker
grep ERRO /var/log/upstart/docker.log

Actual Results:
Lots of weird errors reported including few of this:
ERRO[0000] ServeAPI error: Error reading X509 key pair (/etc/docker/server.pem, /etc/docker/server-key.pem): "crypto/tls: private key does not match public key". Make sure the key is encrypted.

Expected Results:
No errors :)
Additional info:
The timestamps of /etc/docker/server* have changed since the droplet has been provisioned.
Full log from /var/log/upstart/docker.log: https://gist.github.com/kung-fu-tzu/49cb28698a93064d79cb

Started digging here: https://github.com/docker/docker/issues/14317

Anything new on that issue? I have the same problem, how can we regenerate the certificates?

For the record, I deployed a new instance and copy the two files /etc/docker/server.pem, /etc/docker/server-key.pem over and started docker.
But still we need to know why it gets corrupted in the first place

Happened again, regenerated a pair of keys.

I keep my "~/.docker/machine" folder under source control on my local machine (mostly for sharing it with my co developer).  I was able to see that my local key also got corrupted somehow.  I ended up reverting the change and copying the original files back onto the droplet in question and everything worked again.  Mine was a little different though where one of the files was modified and the other wasn't.  Was really strange.


Adaptions on SankeyDetail and SankeyDiagram

-sankey diagram over time (one link with sum of all Quartals)

different visual adaption on sankey-details

Partially implemented though not really working atm. As we still need to decide how to visualize more nodes.

NEW Concept:

Load more button
Overlay for each node that shows the rest of values available


Fix #27

The assertion check was placed incorrectly because tx_mailbox may be 0xFF if there are no free mailboxes available.
This is not a fault condition.
FYI @TomDeRybel

@silverv heads up


Statistics: Tests to verify simple query plans

This PR contains:

tests for plan verification of simple queries.
Tests for stats on nested scalar cols

Yes it did run successfully.


New command: spo tenant deletedsite list

Lists the deleted site collections in the tenant recycle bin.
Command: spo tenant deletedsite list
Options:
--includePersonalSite [includePersonalSite] | Include Personal Sites with the returned results (switch parameter like --verbose)
--includeOnlyPersonalSite [includeOnlyPersonalSite] | Only include Personal Sites in the returned results (switch parameter like --verbose)
For each deleted site the following fields should be shown:

Url
StorageMaximumLevel
UserCodeMaximumLevel
DeletionTime
DaysRemaining

If output is set to JSON include all properties

@waldekmastykarz Is my assumption correct that convention dictates that switch parameters like '--verbose' don't have a shorthand version?
If you agree with this proposal then please assign to me.

What do you think if we added it to the existing spo site classic list command? That way, it would be in sync with the spo site classic remove command which already has the ability to remove things from the recycle bin.

Wouldn't that be confusing? Since - if I understood correctly - most of the times we use the SPO Powershell cmdlets as 'examples' on how to implement a certain functionality in the CLI. So in this cases I looked at the cmdlet 'Get-SPODeletedSite' which fires a query which make no difference between a classic or a modern site and thus will return all site collections in the recycle bin; classic as wel as modern.

Well, you missed this "hidden gem" in Office 365 where it all depends how the modern site is created and deleted. 🤓
I took the following steps to create a modern team site, that will show up in the list of deleted sites that the Get-SPODeletedeSite cmdlet will generate:

Create a new team via MS Teams, which will also create a modern site.
Navigate to the SharePoint site belonging to that Team
Go to 'Site Information' (by clicking the gear symbol) and click the 'Delete site' link at the bottom.
In the pop-up confirm by checking the 'Yes' checkbox and clicking the 'Delete' button.
This site will not appear in the tenant Recycle Bin, but will appear in the output of the Get-SPODeletedeSite cmdlet.

Or maybe I did not stumble upon a hidden gem but a bug? 😜

So this is indeed interesting behavior. @VesaJuvonen, care to shed some light if this is desired behavior?

@waldekmastykarz @VesaJuvonen Any updates on this?

@VesaJuvonen?

I'm trying to get some answers. Let's wait a bit longer

OK, got some more info, so the behavior is intentional and apparently you can see deleted modern sites in the modern admin center. Either way, to keep it consistently with graph o365group list what if we extended the existing spo site list command with the --deleted option?

That sounds good to me Waldek 😎 If you like you can assign this one me.

Hey @arjenbloemsma, are you still working on this?

Good luck!

Hey @arjenbloemsma, just checking if you have room to work on this one or if we'd better let others chime in and you can pick up something else when you have time again?

Hi @waldekmastykarz, just created a pull request 😎
However the bad news is, while locally all tests run successful, remote they are failing 🥺 The cause seems to be in the spec file at line 523 and 592, where the JSON for the promise.resolve is specified. Thus far I was not able to reproduce this error on my machine. Do you have an idea what could be the issue?

I stand corrected; the line numbers on the build server are referring to the outputted JS files. Not the TS files. 🤦🏼♂ So then the problem seems to be in this line: assert(cmdInstanceLogSpy.calledWith([

I'll have a look if I can repro the issue

Resetting as open for taking due to lack of response

Closing this issue due to its inactivity and the change in direction during the discussion. A new issue to enhance the existing spo site list command has been created to replace this.


Performance Improvements

As mentioned in https://github.com/input-output-hk/cardano-db-sync/issues/1119 there is an increase in the memory usage in db-sync. Sync time can also be improved.
Ideas for this

[ ] Removal of withdrawlal validation validateRewardWithdrawals. Since rewards seem to work properly we no longer need this.
[ ] Removal or simplification of validateEpochRewards. We can validate the number of rewards instead of summing them.
[ ] Investigate laziness in the Statement Cache of Persistent. Persistant caches all queries, which can result in a huge amount of memory of db-sync runs for long. Also the structures it uses are not strict.
[ ] Make all fields and states in db-sync strict.
[ ] Check strictness of LRU cache.
[ ] Investigate how we maintain the ledger state. Reading/Storing it to disk, apply it in a strict way. Keep a list of ledger states in a way that there is sharing of heap space.
[ ] Rewards and stake distribution come in chunks of variable length. Make sure we handle them and insert them in chunks of fixed length to avoid sudden memory increase.
[ ] ghc profiling
[ ] Remove Foreign Keys https://github.com/input-output-hk/cardano-db-sync/issues/1082
[ ] Removing unused keys/indexes https://github.com/input-output-hk/cardano-db-sync/issues/1087

Rather than removing validateRewardWithdrawals I would prefer to make the validation optional. Maybe by seeing if an environment variable.


Apply permissions to app actions

From slack, Michael Stokes
I am an audit for a space and I don't expect to see the restart, edit, stop, delete buttons since my user doesn't have permission to do these anyway.

I’ll take a look at this tomorrow. Should be easy enough to fix.


MultiEraBlock::from_explicit_network_cbor_bytes EBB

Update the function to handle Byron EBBs.
We still need to figure out what to do in the general deserialize case #317 or if that behavior should just merge this function in there.
This works in the meantime and the behavior here would work regardless of how we update ByronBlock::deserialize()

Can we also add the inline comment to the hash function in this PR (or do it in a separate PR)?


ng serve claims port is in use when it isn't.

🐞 Bug report
Command (mark with an x)
- [ ] new
- [ ] build
- [x ] serve
- [ ] test
- [ ] e2e
- [ ] generate
- [ ] add
- [ ] update
- [ ] lint
- [ ] xi18n
- [ ] run
- [ ] config
- [ ] help
- [ ] version
- [ ] doc

Is this a regression?
Unsure
Description
Despite the fact that it's given a free port, ng serve refuses to run on any port, saying "Port XXXX is already in use. Use '--port' to specify a different port." where XXXX is the port number.  It's not an issue of the port being in use by another process, because I used the same port number to launch other applications, like React, and those worked fine.  It is rejecting any port number I give it with the same error.
I have two angular applications, one works fine, the other does not.  Both are in the same directory, but should not be interfering with each other
Directory tree:
udemyangular
--my-first-app
--prnnppr-app
First one won't run, second one does.  my-first-app is nothing more than the scaffold from ng new, and prnnppr-app is just a starter project for work with a few custom components, I have otherwise not touched .angular.json, or package.json or any of the other config files.  I've also deleted and regenerated my-first-app and got the same result.
🔬 Minimal Reproduction
Create two angular applications in the same directory, run ng serve in both of them.  Theoretically they should both run fine (provided of course they're given different ports.)
🔥 Exception or Error

Port 3000 is already in use. Use '--port' to specify a different port.

🌍 Your Environment

OS: darwin x64
Angular: 6.1.10
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.6.8
@angular-devkit/build-angular     0.6.8
@angular-devkit/build-optimizer   0.6.8
@angular-devkit/core              0.6.8
@angular-devkit/schematics        0.6.8
@angular/cli                      6.0.8
@ngtools/webpack                  6.0.8
@schematics/angular               0.6.8
@schematics/update                0.6.8
rxjs                              6.5.2
typescript                        2.7.2
webpack                           4.8.3

Anything else relevant?
Other programs, like npm run start for React, run just fine on any given port number, so it's not an issue of the ports being in use by some other process.

Rebooting the pc did not help.

Found a solution:
https://stackoverflow.com/questions/57561610/ng-serve-refuses-to-use-any-port/57561884#57561884

@jckuhl : this appears to be an issue with the portfinder package (as seen here in #15369).
I explicitly downgraded my portfinder by adding "portfinder": "1.0.20" to my devDependencies block in my package.json. After deleting node_modules, and doing an npm install, all works as intended again.


MVC tag helpers are inconsistent about initially Clear()ing content

Moving an issue mentioned in aspnet/Razor#621 over.

There's also a bug in how MVC uses SetContent(): Those tag helpers currently assume Content is empty but should be clearing what other tag helpers have done.

MVC tag helpers that change Content, PostContent or PostElement currently fall into two groups. These groups should be brought together as much as possible, consistently handling tag helpers that run earlier.

Some e.g. FormTagHelper, InputTagHelper, RenderAtEndOfFormTagHelper, and ValidationSummaryTagHelper initially append. A couple (LabelTagHelper and ValidationMessageTagHelper) check output.IsContentModified before calling content.SetContent(), which also takes previous tag helpers into account (here, giving tag helpers that run before them complete control of the content).
Others e.g. LinkTagHelper, ScriptTagHelper and TextAreaTagHelper start with a call to content.SetContent() to implicitly reset that content. A couple (CacheTagHelper and EnvironmentTagHelper) explicitly call output.SuppressOutput() to reset all output content.

Despite my words in aspnet/Razor#621, my suggestion is to remove all use of SetContent() in MVC tag helpers. CacheTagHelper and EnvironmentTagHelper are likely special cases (because they do not target HTML 5 elements) but Group 1 seems like the winner. (Other options include using SetContent() everywhere or consistently using SetContent() for output.Content and Append[Html]() for other TagHelperOutput properties.)
/cc @DamianEdwards
Side notes:

No MVC tag helpers append to a TagHelperOutput property more than once. But LinkTagHelper and ScrpitTagHelper have a useless DefaultTagHelperContent that both always add to PostElement. Should instead use PostElement throughout.
Can ignore MVC tag helpers e.g. UrlResolutionTagHelper that only change attributes.
No MVC tag helpers change PreContent or PreElement.
No MVC tag helpers directly call content.Clear().

Moving to backlog. Not clear that there are any actual bugs at this time.

If there is no actual problem can we just close this?

Would seem so.

The problems that would occur relate only to interaction between our tag helpers and others'. Without looking at our sources or experimenting (per-element), tag helper authors can't be sure how to Order theirs to get the Content needed.

See #5713 for the <textarea> tag helper. Don't worry about losing the content of <script> elements when globbing.


Add contents error to changelog

Ok added a small update to the changelog. The issue I was having was the js trying to filter through an iframe on the page. Commit 1b5b020 fixed the issue by catching the error.

thanks


[Fix #4794] Fix parsing of code with a ternary expression in MultilineOperationIndentation

This fixes #4794. The nodes that are returned by kw_node_with_special_indentation are expected to have a keyword. Ternary expressions do not have a keyword so it seemed best to ignore them. There might be some opportunity to improve upon this later.

Yep. I agree with your assessment. It was my conclusion as well.

You'll also need to regenerate the TODO, since the longest module got one line longer. 🙂

Updated the code and the TODO.

This has to be rebased on top of the current master.

Rebased


PreProcessor executed twice in SequenceRecordReaderDataSetIterator

Issue Description
There is an odd behaviour when loading data using SequenceRecordReaderDataSetIterator with a normalizer. It seems like the normalizer is applied twice on returned DataSet with the method next().
After debugging, I found that the SequenceRecordReaderDataSetIterator method next() invokes the methods next(int num) and mdsToDataSet(MultiDataSet mds) in order to fetch data. However both have the following code snippet at lines 333 and 292 respectively:
if (preProcessor != null) {
    preProcessor.preProcess(ds);
}

I think the normalization operation is executed twice for SequenceRecordReaderDataSetIterator instances. I checked other classes which behaved as expected such as RecordReaderDataSetIterator and found that the method next(int num) does not have the previous code snippet.
Version Information

Deeplearning4j version 0.9.1

Contributing
I think the code snippet:
if (preProcessor != null) {
    preProcessor.preProcess(ds);
}

at line 333 within the method next(int num)  in the class SequenceRecordReaderDataSetIterator should be removed

This is dl4j issue so I reopened it at: https://github.com/deeplearning4j/deeplearning4j/issues/4811


[Request] Favorites and Shopping LIst

Can you make "Favorites" and "Shopping List" be separate pages outside of the "Shelf" page? I currently have over 136 favorite cocktails and I also maintain a shopping list. The "Shelf" page has become gigantic haha and it is a little painful to reach my shopping list all the way at the bottom of that page.
Thank you for your consideration on this.

Dashboard is reworked in v1.3 to make more sense, and shopping list now has its own page.
Thanks!


cetz:0.3.1

I am submitting

[ ] a new package
[x] an update for a package

CeTZ 0.3.1 is a bugfix release.

Thank you :)


ci.adoptopenjdk.net security certificate expired

I see this message in my browser when I try to access ci.adoptopenjdk.net today:
There is a problem with this website’s security certificate.
The security certificate presented by this website has expired or is not yet valid.

fixed with:
cd /opt/letsencrypt
./letsencrypt-auto --config /etc/letsencrypt/configs/ci.adoptopenjdk.net.conf certonly


Error with FUZZ, W1, W2 replacing

When the request contains the words FUZZ, W1, or W2 within any header value, it replaces that text, corrupting the request

Can you elaborate? You can redefine all the keywords on the command line
and make them something that doesn’t mess your specific request up.
On Mon 12. Aug 2024 at 14.14, daniel2005d @.***> wrote:

When the request contains the words FUZZ, W1, or W2 within any header
value, it replaces that text, corrupting the request
—
Reply to this email directly, view it on GitHub
https://github.com/ffuf/ffuf/issues/807, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABH6DJJOF5JRJ46DIR64NYTZREQRZAVCNFSM6AAAAABMM6HOMKVHI2DSMVQWIX3LMV43ASLTON2WKOZSGQ3DCOJQGYZTIOA
.

OK, thanks for your help.


Warn when using the keyring in uv publish but it doesn't have credentials

See https://github.com/astral-sh/uv/issues/7963#issuecomment-2453558043: We should warn in this case that the keyring didn't return any password, since using the keyring with publishing only makes sense if it has a password for the publish URL

Thanks @konstin for following up on this. Such a test could also make a specific test when you use --publish-url https://test.pypi.org/legacy/ and there's no credentials but there is something like https://test.pypi.org/legacy/?PACKAGE available - it could say "hey, you might want to use a package-specific publish URL that has the following form where ?PACKAGE is your package`.
Should uv go even further to guess the right publish URL in keyring based on the current package name? Can uv publish even introspect on that metadata?


Faillible Queryable - Still generic Queryable version experiment

One approach to fixing #2523
Related to #2559.

As with #2559 I would like to see a complete port of the repo before deciding anything else here. Generally speaking I think that one may be a better solution than the other PR, but I'm not entirely sure yet.

I beleive that's it :)

@Ten0 Could you please cherry-pick cba105b788b5d783197b964bda7ba8340702eb8d to fix the benchmarks? (Also for the other variant)

@Ten0 Could you please cherry-pick cba105b788b5d783197b964bda7ba8340702eb8d to fix the benchmarks? (Also for the other variant)

After reviewing both PR's I find that one the better solution.

That's also what I thought after experimenting with the other one. 🙂

After reviewing both PR's I find that one the better solution.

That's also what I thought after experimenting with the other one. 🙂

Fork dropped, we're finally back to following diesel master, woohoo! 😊
Thanks a lot!

Fork dropped, we're finally back to following diesel master, woohoo! 😊
Thanks a lot!


Add caching option

This action to setup Fontist takes around 1 minute.
We should add a cache option so that the setup is cached.

@CAMOBAP can you please help here? Thanks!

in #6 the caching of the installed actual Riby files is taken care of. there's another level of "dependency caching" that can be done sorta like how the setup-node project will cache node_modules. this is only relevant if the ~/.fontist folder is so huge that redownloading/creating it takes longer than restoring if from cache (which still involves a download; just from actions/cache not from the formulas repo or whatever)

this is only relevant if the ~/.fontist folder is so huge that redownloading/creating it takes longer than restoring if from cache (which still involves a download; just from actions/cache not from the formulas repo or whatever)

It looks relevant because fonts may be stored on third-party over the world and it's more about reliability them for speed

another question to bring up is: what would be the cache key? there's a manifest.yml mentioned in https://www.fontist.org/docs/ that could be used like hashFiles("manifest.yml")

another question to bring up is: what would be the cache key? there's a manifest.yml mentioned in https://www.fontist.org/docs/ that could be used like hashFiles("manifest.yml")

IMHO caching without prior https://github.com/fontist/setup/issues/4 implementation will have not much sense (otherwise users can use cache step on their own with better flexibility and control)
So we can use font string to calculate hash
@ronaldtse @jcbhmr make sense?

IMHO caching without prior https://github.com/fontist/setup/issues/4 implementation will have not much sense (otherwise users can use cache step on their own with better flexibility and control)

that's not typically how things are used; see https://github.com/actions/setup-node and https://github.com/actions/setup-python for good examples.
the idea is that you:

install $TOOL which restores any previous hashFiles(lockfile) to either ./deps or ~/deps or something
you run package-manager ci which makes sure that if there was no cache restored everything gets installed to ./deps or ~/deps
post-run action step runs which takes the ./deps or ~/deps and saves them in an os-specific cache based on the hashFiles(lockfile) from before

Good catch because caching happens on post-run action we still can do it with some hardcoded or user-defined key
The question is: are potential users interested in calling fontist explicitly at all?
As far as I understand the purpose of the action the goal is to install fonts. And users probably don't care how exactly installation will happen (correct me if I'm wrong)
At this moment, it looks like we should provide all required input into the setup action to install all required fonts in one place i.e. fonts, manifest maybe families

As far as I understand the purpose of the action the goal is to install fonts.

To be more specific: the goal is to setup Fontist; specifically to install the Fontist CLI and (probably) run fontist update to prep the local index.
Typical use probably looks like:
- uses: fontist/setup-fontist@v1
- run: fontist list "Fira Code" > report.txt
- run: node process-report.js report.txt
- run: fontist install "Consolas"
- run: fontist manifest-install manifest.yml
- run: typst paper.typ --font-path ~/.fontist/fonts
- run: cp ~/.fontist/fonts ./fonts && npm run build-web-app-with-fonts

Notice how we just setup the Fontist environment and let the user do the installing and such. This is similar to how setup-node and setup-python leave the whole "how do you want to use this Node.js or Python installation?" up to the user completely.
tl;dr: install and configure the cli but dont do anything over-the-top; let the user use the cli to do things instead of wrapping the cli in YAML config mess

@jcbhmr see your point thanks,
To me, it looks like we should not cache anything else except ~/.fontist

bringing things back around to caching, here's the three things i think COULD be cached:

the ruby installation
the gem install fontist riby files that get downloaded
the ~/.fontist/something folders with indexed metadata/formulas

I can't believe that the whole ruby installation is actually 'cached' by setup-ruby, can you confirm it? Most popular versions of ruby are already preinstalled on the runner, what exactly you propose to cache?
This can be done by generation Gemfile during the action run and cache it + bundler-cache: true
simple actions/cache step, composite actions allow to include it

P.S. just found that you already worked on it https://github.com/fontist/setup/pull/6 )

bundle install
Could not determine gemfile path, skipping "bundle install" and caching> I can't believe that the whole ruby installation is actually 'cached' by setup-ruby, can you confirm it? Most popular versions of ruby are already preinstalled on the runner, what exactly you propose to cache?

Yep! It installs whatever ruby-version: ruby-3.1.0 you want by downloading special binaries specifically tailored for GitHub actions from https://github.com/ruby/ruby-builder
Why not use the builtin system Ruby installation? Good point I didn't realize GitHub Actions runners came with Ruby preinstalled. I guess for Docker-based workflows like https://docs.github.com/en/actions/using-jobs/running-jobs-in-a-container that don't have Ruby installed?
You're right we could drop the uses: ruby/setup-ruby from action.yml and be fine. 🤷♀

This can be done by generation Gemfile during the action run and cache it + bundler-cache: true

I was under the impression that this ran bundle install and then cached the /var/rubygemlocation/* so I don't think it would work with gem install fontist globally? Maybe im wrong.
For reference I just tried a blank repo with this workflow file:
name: My workflow
on: [push, pull_request]
jobs:
  test:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v4
    - uses: ruby/setup-ruby@v1
      with:
        ruby-version: '3.3' # Not needed with a .ruby-version file
        bundler-cache: true # runs 'bundle install' and caches installed gems automatically
    - run: gem install fontist

and it DID NOT cache the gems: 😢
> bundle install
Could not determine gemfile path, skipping "bundle install" and caching

or did you mean install fontist using a echo "whatever"> /tmp/Gemfile and then install from that? Because that might work!
...only problem is that setup-ruby caches the ENTIRE /var/rubgeminstallfolder so this would include any user-installed dependencies as well. Unsure if you want that or how well that would work in an existing Ruby project. I'm not a Ruby expert. 🤷♀

simple actions/cache step, composite actions allow to include it

👍

OHHH i remember "why use setup-ruby" and isolate the ruby installation? because what if a user does this:
- uses: ruby/setup-ruby@v1
  with:
    ruby-version: "2.x"
- uses: fontist/setup-fontist@v1

what happens now? should we use system ruby or install our own copy using another setup-ruby invocation?

i created #8 and #7 for my own organizational happiness. i wanted to organize and write down my thoughts a little more coherently than I have been doing in this thread convo lol. hope that's ok with u 😄


⚠ ClamAV has degraded performance

In e809b59, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 93 ms

Resolved: ClamAV performance has improved in 83a6dc4.