remove style.min.css

Minified stylesheet style.min.css was introduced at e946c57200d5dff5923afcb4ef9eb5b89e704028 meta tags and min css as replacement of unminified version style.css. Unfortunately at 09ae203207252428709ccac20ec70c9f8bf6317a Fix Table of Content style.css was re-introduced in addition to minified version. Consequently both versions where requested.
I suggest to remove the minified version since

both style.css and style.min.css are divergent
hard to manually maintain style.min.css (don't forget to minify style.css each time it's updated)
16Kb (style.css) vs. 8.1Kb (style.min.css) doesn't matter

Please vote via:

:+1: remove
:-1: keep (implies update of style.min.css)

Though I normally don't agree with arguments like

16Kb (style.css) vs. 8.1Kb (style.min.css) doesn't matter

I think in this case the maintenance aspect is more important. So looking at the current state my vote goes for 👍 .
Yet, I would try to find an automated way of updating the minified version. That would probably imply some more advanced configuration of Travis-CI and I'm not sure if we need such a setup only for some optimisation.

You're right @gesellix size is a bad argument :smiley:.
If we don't care about the Travis-CI setup (only @veggiemonk might be able). Each check on Travis-CI builds the minified version of sytle.css and push automatically to branch gh-pages. Consequently the default view must be changed to gh-pages. As a result the minified version could be removed from the main branch and is a build artefact.

:-)
I agree, the minified version should be considered as a build artifact!

there is no point at being super efficient. Removing the min.css is better. Ease of maintenance is better for now.
Also for info, the gh-pages is useless. Everything is in master, it's much simpler to manage like that. And the list is automatically updated because it fetch and converts the readme while loading the page.


Added x64 configuration options and common build properties to .NET code

Add common build properties file for .NET code and add x64 configuration options.
Jira: REEF-120

Please add a commit message as defined in the contributor's guide :-)

All the license headers on the .csproj files disappeared. Where they removed by VS?

I accidentally left them out when I was working on them.  I'll add them back and update the .sln file to use VS 2013

I've addressed these comments in the latest commit.


String isn't sanitized before being turn into a pattern

I stumbled upon a critical bug that can make a search crash provided that the pattern to match contains some unusual characters.
Steps to reproduce
const Fuse = require('fuse.js')
const f = new Fuse(['some fake data'])
f.search('searching with a sufficiently long string sprinkled with (parentheses)')

It will crash with:
TypeError: Cannot read property 'length' of undefined

It comes from this line: https://github.com/krisk/Fuse/blob/master/src/fuse.js#L657
Causes
The real culprit is this line: https://github.com/krisk/Fuse/blob/master/src/fuse.js#L650
The string is turned into a pattern without sanitizing for characters of the Regex grammar.
This is a severe bug ; I would be very grateful if a fix is promptly released.

I can reproduce this on http://fusejs.io/ by typing this in the console:
var f = new Fuse(['some fake data']);
f.search('searching with a sufficiently long string sprinkled with (parentheses)');

And I get:
Uncaught TypeError: Cannot read property 'length' of undefined
    at o.search (fuse.min.js:20)
    at s._analyze (fuse.min.js:20)
    at s._startSearch (fuse.min.js:20)
    at s.search (fuse.min.js:20)
    at <anonymous>:2:3

I got similar behavior when I have brackets "()".
This is the string that breaks: 'App för spara filer i Office365 (word, powerpoint, excel)'
Removing the brackets solves the issue.


Fix kernels

Closes #588

Coverage increased (+0.01%) to 83.294% when pulling ef558383ae5d8216940be4aa11515681a28d1c21 on briansteffens:fix-kernels into 556fed4e64a971fcae9e2bf41536aa8b5a0e3651 on linode:master.

Coverage increased (+0.01%) to 83.294% when pulling e329c1966df253a7ef06e2e52a7d87838eae9047 on briansteffens:fix-kernels into 556fed4e64a971fcae9e2bf41536aa8b5a0e3651 on linode:master.


Update 02-nfl-analytics-tidyverse.qmd

added the group drop so the tibble produced from the code chunk on line 590 - 593 shows the 10 highest avg cpoe instead of first 10 players

The chapter has not introduced ungroup() at this point.


Convert the CustomEditControl sample to WindowsAppSDK

Which sample are you requesting?
CustomEditControl sample originally found at https://github.com/microsoft/Windows-universal-samples/tree/main/Samples/CustomEditControl
Describe the feature
The old sample worked fine in UWP, but it used some classes like CoreTextServicesManager that are not available in WinUI 3 (see docs at https://docs.microsoft.com/en-us/windows/apps/desktop/modernize/desktop-to-uwp-supported-api).
If we want our biggest customers to migrate to WindowsAppSDK, we need to convert this sample showing how to achieve the same result.

Thanks for filing this @curia-damiano. Here's the thread tracking this issue: https://github.com/microsoft/microsoft-ui-xaml/issues/4239
CoreTextServicesManager is supported in WinUI 3 when running on Windows 11, but is not supported on Windows 10 (there was an OS-level bug that needed to be fixed). As discussed in that other thread, do you need this to be supported in Windows 10?

Hi @andrewleader, I would need it for Windows 10 1809 IoT Enterprise LTSC

Hi all, are there updates about this issue?

Hi all, are there updates about this issue?

https://github.com/microsoft/WindowsAppSDK-Samples/pull/195
Pull request is available


[BUG] Wayland Support is broken on Linux

Please Select the game mode your feature request is about.
All Game Modes
Is your feature request related to a problem?
As stated in the title, some time needs to be spent developing proper Wayland support of some kind. Yes it can run under XWayland but this is far from ideal as it completely falls over when Wayland Fractional Scaling is involved making XWayland applications unable to see the full resolution of the monitor.
With X11 slowly on the way out, I'd say it's about time Wayland support is considered.
Describe the solution you'd like
Pretty much just proper Wayland session support that doesn't rely on XWayland. Afaik the Stepmania Project uses SDL2 to some extent and that DOES allow for spinning things up in a Wayland session seemingly but I have been unable to get this to work as of yet with the usual command switches like SDL_VIDEODRIVER=wayland. Presumably more work needs to be done for this to work out.
Describe alternatives you've considered
Running under XWayland does work but it's far from ideal and with X11 on the way out, a proper move to supporting native Wayland sessions should be high on the priority list I believe with regards to future proofing the project.
Additional context
No response

Will get on this asap, it is about time we made the system wayland compliant.

Will get on this asap, it is about time we made the system wayland compliant.

Hopefully with SDL it should make things a lot easier.

yes, i will need to remove all the ancient X11 calls in the engine and replace them with wayland aware code. we are different from mainline in this regard as we do not use a raw X11 window any longer

yes, i will need to remove all the ancient X11 calls in the engine and replace them with wayland aware code. we are different from mainline in this regard as we do not use a raw X11 window any longer

Sounds like it shouldn't be AS hard to get going then. The Linux userbase will much appreciate this

I have added the preliminary support overnight tonight, and will begin testing it shortly. it will be added to a prebuild on our discord server if you wish to join it to help the effort. The game is now Wayland and XWayland aware, and i've added a better version of the kmsdrm driver for headless operations. we can get some testing down and then it can be added to the next release.

This is now actioned. You won't need to use the "SDL_VideoDriver=Wayland" switch. We have made the game Wayland aware. We also fixed kmsdrm support at the same time.
Thanks for your bug report and for supporting the project.

I'm happy to report the wayland system code has been finalised, and tested, we work fine with wayland now. 043 will be released within the next two weeks.
Thanks for your report and for getting me to get off my backside to get it done. Appreciate it.


Add countdown timer to artist invites.

https://www.pivotaltracker.com/story/show/151189943
https://ello.co/artist-invites?version=2b0b299059f9d49a583c6f4bcac25587d64dae2a
https://ello.ninja/artist-invites?version=2b0b299059f9d49a583c6f4bcac25587d64dae2a

LGTM 🌋


range and global scope in helpers.tpl

Output of helm version:  2.13.1
Output of kubectl version: 1.13
Cloud Provider/Platform (AKS, GKE, Minikube etc.): GKE
Not sure if this is an issue or I am missing something in my template.  I have a service template in which I have setup a range and calling all the global scopes using dollar "$"
{{- range .Values.ServiceConfig }}
kind: Service
apiVersion: {{ .apiVersion | default "v1" }}
metadata:
  labels:
    app/kubernetes.io/name: {{ template "globalcharttemplate.name" $ }}
    app.kubernetes.io/version: "1"
> "using dot here to get the scope from range and template this value"
    newname: {{ template "globalcharttemplate.newname" . }}

  name: {{ .name }}
  namespace: {{ $.Values.ApplicationConfig.namespace }}
 selector:
    appName: {{ template "globalcharttemplate.name" $}}{{ .suffix }}
    release: {{ $.Release.Name }}

My helpers.tpl, I defined a new template action like this:
{{/*
Create chart name and version as used by the chart label.
*/}}
{{- define "globalcharttemplate.newname" -}}
{{- if .names -}}
{{- .name -}}
{{- else -}}
{{- $.Chart.Name. -}}
{{- end -}}
{{- end -}}

For the label new name, "." looks for the scope in range and gets the exact value from the array and successful.  However, for the if-else case, the chart name cannot be retrieved
error: executing "globalcharttemplate.newname" at <$.Chart.Name>: can't evaluate field Name in type interface {}
Please suggest me any better way for this if else case.

FYI, I edited your comment to surround your examples in backticks. Makes it easier to read.
In a define function, the root ($) will become whatever was passed along from the template. In your first example, you passed the following:
newname: {{ template "globalcharttemplate.newname" . }}

The scope of the dot variable at that time was the value of .Values.ServiceConfig, so that was passed to the template.
In the template, it then looks for a value called .Chart at the root of that variable. It did not exist, and therefore did not execute.
If you need to pass along something further down the chain as well as the root context to a function, use dict to construct a new variable that will contain the expected values.
Try this in your example:
newname: {{ template "globalcharttemplate.newname" (dict "names" .names "Chart" $.Chart "name" .name) }}

closing as answered. Please let me know if you run into further issues. Thanks!

Just so it's clear to other n00b-level people like me, from @bacongobbler awesome tip at the end of this comment, if you want to use that you'll need to add this to your helper:
{{- $names := .names -}}
{{- $Chart := .Chart -}}
{{- $name := .name -}}

This looks more like a bug, not a question

An absolute way is to merge both the scopes..
{{ template "template-name" (merge . $) }}
But you need to make sure that no common variables are there. Usually that's a known set of keys like "Values", "Charts", "Release" etc.


Feature Request: Time out long running queries

There is a --timeout option that can be passed to the "database analyze" step but it is not an effective way to limit the total amount of time the query evaluation can take (as mentioned already). Is it possible to have a timeout option that can prevent a query to run beyond a user configured time limit? This would greatly help in situations where users are blocked by long running queries.

Hey @rak3-sh ! thanks for the issue,
Unfortunately there currently isnt a CodeQL CLI flag to be able to say "one query should timeout after X minutes",
Because we evaluate all of a set of queries in parallel, they all start execution at the same time. However, not all of the queries are worked on most of the time meaning that the timeout flag is about the same as a timeout for the whole analyse call. A hypothetical CPU-time limiting flag would work a bit better but would end up with a similar lack of guarantee (on any individual query) because sharing means it is a bit awkward which query the work can be attributed to. Plus parallelism means that threading makes this weird. Practically most of the time the problem is in a library which means a global timeout is better as it can account for everything (and that is why we prefer to use an Actions level timeout on a job rather than implementing one in the CodeQL CLI)


Possibility to setup multiple node pools

Changes proposed in the pull request:

extend functionality to be able to specify multiple node pools within the module

Thanks @Sanverik for opening this PR! My personal opinion this module will focus on Aks cluster itself. The caller might attach multiple node pools with different configurations to one Aks cluster so I prefer a standalone module for the node pool.

@lonegunmanb @Sanverik what about transform this PR using a submodule of the AKS module ?

For me it looks natural to have an option to specify multiple node pool within AKS module by using my way of doing it

@Sanverik Thanks for opening this pr, I'm closing it because I'd like to keep this module focused on Kubernetes cluster itself.


Error on go get -u (invalid operation: geve == 0 (mismatched types bool and untyped int)

Robotgo version (or commit ref): v0.100.10

Go version: go1.17.7 windows/amd64

Gcc version: 11.2.0

Operating system and bit: Windows 64x

Resolution:

Can you reproduce the bug at Examples:

[ ] Yes (provide example code)
[x] No
[ ] Not relevant

Log gist:

Description
PS C:\Users\bruno\OneDrive\Documentos\golang\robot> go get -u github.com/go-vgo/robotgo
go: downloading github.com/stretchr/testify v1.7.0
github.com/go-vgo/robotgo
........\go\pkg\mod\github.com\go-vgo\robotgo@v0.100.10\hook.go:98:14: invalid operation: geve == 0 (mismatched types bool and untyped int)
...

Sorry, I get an old release, it's fix on  v1.0.0-beta4.1

Closing is due to duplicate ( #433, #469). You should search issue first.

Sorry, I get an old release, it's fix on  v1.0.0-beta4.1


Terminal search links do not work when shell integration is enabled

Testing #143433
The verification steps in https://github.com/microsoft/vscode/issues/141956#issuecomment-1048324196 do not work when "terminal.integrated.shellIntegration.enabled": true. Specifically, ctrl+clicking on command links does nothing.

working for me on macOS

/duplicate of #141956


Post-launch cleanup items

[ ] Josh: Auto-resizing of left-nav doesn't work on homepage
[ ] Josh: Speed up the scroll animation (clicking on the right-hand menu and scrolling is feeling sluggish)
[ ] Josh: Still see the top nav wrapping at < desktop resolutions - e.g. the version dropdown
[ ] Josh: Jumpiness in resizing of right-nav due to jquery animation, which triggers a ton of scrolling that the handler can't parse in real-time
[ ] Josh: Right nav should hide first, not left nav
[ ] Josh: Right nav is overlapping content, z-index style, in < large screen widths
[ ] Josh: Search button looks silly on results page
[ ] John: We lost keyboard highlighting in the search autocomplete popup, though you can click on the previews and get there
[ ] John: Headings should be clickable and go to the anchor for that heading
[ ] Josh: Disable wrapping on inline code blocks
[ ] Josh: Mobile header covers up page title and cycles through colors
[ ] Josh: Horizontal scrollbar on wide code samples, rather than line wrapping, like this.
[ ] Josh: Tabs not working; Bootstrap incompatibility? https://docs.docker.com/engine/api/
[x] John: Ship new favicons
[x] John: Publish /v1.13/

cc @jsouth

Disable wrapping on inline code blocks, to prevent confusing output such as (wrapping after the -);

@jsouth Mobile header is covering up the page title and cycling through colors, even on sub-pages.
https://goo.gl/photos/CLtPZtLpX1sTh1Wj8

Fixed inline code blocks in 0d24ad1b1b59a3f7a0ff7603f56946838d2ba9e3

[ ] On the mobile docs, on all but the Home page (Guides), the page title and top of the content on each page is hidden by the colour-changing banner (see attached image)

[ ] The text on images seems to blur (e.g., look at the diagram on the Voting App sample tutorial here.

[ ] In general, the text is not sharp, seems a little dulled or blurry (even the text, outside of the images)

[ ] Is there a way to allow for in-line images? See the whale icon on https://docs.docker.com/docker-for-mac/install/#install-and-run-docker-for-mac. Right now it's getting pushed onto its own separate line in the web rendering.

These are some things we already discussed, just adding them here for the record:

[ ] Command / code text formatted with backticks like this should look differently when it's link text than not (e.g., code formatted links should display as bright blue, or some other indicator that they are links). Right now linked text with backticks looks no different than plain text.

Some forum issues:

[ ] In Firefox (reported with firefox 46 and tested with firefox 45), the css doesn't allow for text to be visible when choosing a title for a New Topic:

[ ] "Sign In" button in theme header takes you to docker cloud login. The actual discourse login is a separate "Log In" button that is not in the header. The "Sign In" button could probably be removed on the forum since it doesn't do what is expected (log you in to the forum).

@programmerq This is the repo for the docs. I think you'll have to use an internal contact to route feedback about the forums. Reassigning @jsouth.

@programmerq - Cool. thanks for info and catching these bugs in the forum. I can assist with getting these in the queue to be fixed and we will move this topic to the forum specific area. thanks!

Tabs for some code samples seem to be broken

@joaofnfernandes @jsouth Joao's comment is illustrating the third to last checkboxed item in the original post. :)

Bug report on mobile problems, with possible solution, cc @jsouth:
https://github.com/webcompat/web-bugs/issues/4958

: UPDATE :
Working through all items listed above +  other mobile issues. Nearing completion on all items and will publish the current change-set.
Few highlights:

Font size and color have both been increased for better readability.
All css has been converted to sass
Night mode styles have been updated for future use.

Have a little more cleanup + testing to work through tomorrow.

: UPDATE :
Auto-resizing of left-nav doesn't work on homepage
Resolved: http://recordit.co/vwh3vhuSGb
Speed up the scroll animation (clicking on the right-hand menu and scrolling is feeling sluggish)
- Reviewed : no work needed at this time.
Still see the top nav wrapping at < desktop resolutions - e.g. the version dropdown
- Resolved: http://recordit.co/nPRFil4KM7
Jumpiness in resizing of right-nav due to jquery animation, which triggers a ton of scrolling that the handler can't parse in real-time
- Noted and could replicate, but not consistently. Please provide assistance if possible.
Right nav is overlapping content, z-index style, in < large screen widths
- Resolved: http://recordit.co/OigbUDngUc

"Mobile header covers up page title and cycles through colors" is marked as resolved, but it seems users are still being affected.
https://twitter.com/durdiness/status/847520728685719552

Closing this old guy. It has served its purpose. We should have more individual/focused bugs for any docs site behavior that looks weird.


Don't print defaults from the YAML in cases where the default is unset

Fixes https://github.com/docker/cli/issues/591

For now, excluding default and map[], though we may be able to use the latter at a later time, if it is applied consistently to flags that can be passed more than once.

Merging for now. This de-clutters the view and makes actual interesting defaults stand out.


Update security policy rules properly

This solves the problem of someone either removing or adding the
allowlist annotation. Without this change the opeartor fails with 400
when trying to patch a rule that doesn't exist.

Part of giantswarm/roadmap#1293


v1.9.4 beta 2 on non-Azure gives InnerException "Value cannot be null"

I tested v1.9.4 beta 2 on an Amazon EC2 Win2012 server.  I just pressed [Enter] for all the Azure questions.  This led to Error AggregateException<InnerExceptions=[ArgumentNullException <Message="Value cannot e null Parameter name: clientId"    etc.  See screenshot.  The challenge type was shown as "dns-01".
Is there a command line parameter to make v1.9.4 work like v1.9.3 ?
I can confirm that using the Web_Config.xml from v1.9.4 beta 2 with v1.9.3 does fix issue #490.  Good idea and thanks for the immediate turnaround.
If I should put beta feedback somewhere else, please advise.

The trick with this new DNS plugin is that all sites are listed twice when you start the tool. Once for DNS validation and again for IIS (HTTP) validation.
I can imagine it would be much easier if you first choose the site and then the validation method, but that would require a somewhat drastic refactoring of how plugins work, which seems more appropriate for the 2.0 release.

Ah!  Note 'DNS:' or 'IIS:' prefix on the site name in the list.
When I used the IIS: name, it worked perfectly.  Perhaps just add a note to the Wiki.

Will do - ping to #494


Support most of ANSI color attributes

we can use most of ansi color attributes in console logs

Hi, I'm sorry I found a big issue in this  version.
It seems to have memory leak if NSLog do not use ANSI attributes.
I'm busy this days and I haven't  fixed it yet.

oh~ it's okay. I revert it first.


Initialize partition owner with consumerId

This avoids a race condition in checkPartitionOwnership, where another instance may create the node initialized to null, so the node will exist, it will try to get its contents but will fail in the comparison consumerId !== data.toString() since data may be null.

Hi, what issue will this pr solve?

The following error:
TypeError: Cannot call method 'toString' of undefined
    at /activity-processor/node_modules/kafka-node/lib/zookeeper.js:395:53
    at /activity-processor/node_modules/kafka-node/node_modules/node-zookeeper-client/index.js:165:26
    ...

how to reproduce this error?

Having a few instances running, and restarting one of them to trigger the rebalancing mechanism. It's a race condition, so it may be tricky to reproduce, but if you try this a few times it will finally happen.

Any red flags?

Still can't reproduce it, but this a improvement logically, so I think it can be merged.

Brilliant! Thanks.


azure pipeline fix

Can you please fix the other 2 repos as well
aspnet/websdk &
dotnet/xdt

Can you please fix the other 2 repos as well
aspnet/websdk &
dotnet/xdt

Once I can confirm it works, yes will do


Improve ospology meetings documentation

This commit clarifies the expected topics to be discussed during an OSPOlogy session and improves overall documentation on how to submit a proposal

I'm merging the PR to have something in the README.md that can be shared with the community when they ask about how ospology meetings work and ways to interact.
Please feel free to open a new PR to make changes or add new sections 👍 (cc @todogroup/steering-committee )


Installing additional dependencies makes a 'Custom pip package install failed' error

/kind bug
What steps did you take and what happened:

I added import pytorch_lightning code to the torchserve tutorial mnist.py file (https://github.com/kubeflow/kfserving/blob/master/docs/samples/v1beta1/torchserve/model-archiver/model-store/mnist/mnist.py). So my mnist.py file is below.

import torch
from torch import nn
import torch.nn.functional as F
import pytorch_lightning

class Net(nn.Module):
    def __init__(self):
        super(Net, self).__init__()
        self.conv1 = nn.Conv2d(1, 32, 3, 1)
        self.conv2 = nn.Conv2d(32, 64, 3, 1)
        self.dropout1 = nn.Dropout2d(0.25)
        self.dropout2 = nn.Dropout2d(0.5)
        self.fc1 = nn.Linear(9216, 128)
        self.fc2 = nn.Linear(128, 10)

    def forward(self, x):
        x = self.conv1(x)
        x = F.relu(x)
        x = self.conv2(x)
        x = F.max_pool2d(x, 2)
        x = self.dropout1(x)
        x = torch.flatten(x, 1)
        x = self.fc1(x)
        x = F.relu(x)
        x = self.dropout2(x)
        x = self.fc2(x)
        output = F.log_softmax(x, dim=1)
        return output

My config.properties file is below.

inference_address=http://<IP_ADDRESS>:8085
management_address=http://<IP_ADDRESS>:8081
number_of_netty_threads=4
job_queue_size=10
service_envelope=kfserving
install_py_dep_per_model=true
model_store=/mnt/models/model-store
model_snapshot={"name":"startup.cfg","modelCount":1,"models":{"mnist":{"1.0":{"defaultVersion":true,"marName":"mnist.mar","minWorkers":1,"maxWorkers":5,"batchSize":1,"maxBatchDelay":5000,"responseTimeout":120}}}}

My requirements.txt file is below.

pytorch-lightning

I made mnist.mar file through the below command.

torch-model-archiver --model-name mnist --version 1.0 --model-file model-archiver/model-store/mnist/mnist.py --serialized-file model-archiver/model-store/mnist/mnist_cnn.pt --handler model-archiver/model-store/mnist/mnist_handler.py --export-path model-store -f -r requirements.txt

When I deploy an mnist inference server with the above config.properties and mnist.mar files, the following error message is shown

2021-05-20 08:29:39,556 [ERROR] main org.pytorch.serve.snapshot.SnapshotManager - Error while registering model. Details: Custom pip package installation failed for mnist

and the result of an input request is below.
*   Trying <IP_ADDRESS>:32607...
* TCP_NODELAY set
* Connected to <IP_ADDRESS> (<IP_ADDRESS>) port 32607 (#0)
> POST /v1/models/mnist:predict HTTP/1.1
> Host: torchserve-mnist.default.example.com
> User-Agent: curl/7.65.3
> Accept: */*
> Content-Length: 401
> Content-Type: application/x-www-form-urlencoded
>
* upload completely sent off: 401 out of 401 bytes
* Mark bundle as not supporting multiuse
< HTTP/1.1 500 Internal Server Error
< content-length: 93
< content-type: text/html; charset=UTF-8
< date: Thu, 20 May 2021 08:32:58 GMT
< server: istio-envoy
< x-envoy-upstream-service-time: 88
<
* Connection #0 to host <IP_ADDRESS> left intact
<title>500: Internal Server Error</title>500: Internal Server Error

What did you expect to happen:
I expected successful installation of dependencies (pytorch-lightning).
Anything else you would like to add:
The above descriptions involve installing pytorch-lightning dependency. The same error is shown when installing pytorch dependency through requirements.txt (even though pytorch is installed by-default as a part of torchserve setup). However, installing omegaconf and mutagen dependencies shows no error.
Environment:
I used minikube cluster, and installed necessary dependencies through the following command: bash ./hack/quick_install.sh

Minikube version: v1.19.0
Kubernetes version: (use kubectl version): v1.17.11
OS (e.g. from /etc/os-release): macOS Big Sur v11.3.1

@jagadeeshi2i can you help update the torchserve version in the table ? https://github.com/kubeflow/kfserving/blob/master/docs/samples/README.md#deploy-inferenceservice-with-predictor


About ego4d data number mismatch

Dear authors,
Thank you for your works!
during python prep_ego4d.py --task=retrieve_frames the error occurs as belows:
The mumber of files under TEST_ego4d_img does not match! Current is 1714, should be 3428
I have followed the process of data download of Ego4D, however, the number of TEST image does not match with of HInt.
How can I fix it?
(Interestingly, 3428 is double of 1714.)
Sincerely,
TY

Or is it okay if I change the number of TEST_ego4d_img to 1714 in check_number_of_files?


Update set-output to environment variables

What and why?
This PR replaces set-output within the .github workflow file with environment variables to fix a deprecation with set-output. It also updates actions/auth to v2.
How to test?
Check the github builds for any deprecation warnings and ensure the workflow works after the changes.
Jira
https://jira.ons.gov.uk/secure/RapidBoard.jspa?rapidView=1493&projectKey=RAS&view=detail&selectedIssue=RAS-915

/deploy arroya


Update Chromium versions for Client API

16188

 Quality gate: NA
Details

 Quality gate: NA
Details

 Quality gate: NA
Details

 Quality gate: NA
Details

 Quality gate: NA
Details

 Quality gate: NA
Details


Update to laravel 6

is there any chance that this package and project will move to laravel 6 ?? or if we move it to laravel 6 will any features break or not ??
thanks

concord (https://github.com/artkonekt/concord/blob/master/Changelog.md) just released v1.4.0 which is a major dependency on making the jump to laravel 6.

@thyseus  thanks i am going to contribute to it so we can make it faster and sorry havent seen them before opening this issue


GraalPy support

This makes jiter work on GraalPy except for test_python_parse_numeric, for which GraalPy will need to provide missing API _PyLong_FromByteArray.

thank so much.


[dcc64 Fatal Error] Ollma_Client.dpr(31): F2613 Unit 'FastMM4' not found.

A little bit strange isn't it.

https://github.com/pleriche/FastMM5
is out... hmmm... going to try that instead to see if it will work with your GUI ! ;)


Update Docs: Guides “hugo”

Automatically generated by Netlify CMS
Closes #3854
Summary
I've added a guide for the usage of editor components for the default hugo shortcodes.
Guide contains an example code for the gist shortcode, a screenshot and a link to the resource that contains prebuilt editor components for default Hugo shortcodes.
Test plan
I've only edited the hugo docs page so it should not effect the website in any way.
Cute Animal

Thanks @sharadcodes, this is very cool.
The image of the Gist was broken, but that was because the CMS was not configured properly.

It's good to be a contributor no need to thank me for that.


Pypandoc can not be used if $HOME is not set

Pandoc and any functions of pypandoc fail is $HOME environment variable is not set:
>>> import os, pypandoc
>>> os.unsetenv('HOME')
>>> pypandoc.get_pandoc_version()
pandoc: HOME: getAppUserDataDirectory: does not exist (no environment variable)
Maybe try:

    sudo yum install pandoc
See http://johnmacfarlane.net/pandoc/installing.html
for installation options
---------------------------------------------------------------

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.7/site-packages/pypandoc/__init__.py", line 251, in get_pandoc_version
    _ensure_pandoc_path()
  File "/usr/lib/python2.7/site-packages/pypandoc/__init__.py", line 336, in _ensure_pandoc_path
    raise OSError("No pandoc was found: either install pandoc and add it\n"
OSError: No pandoc was found: either install pandoc and add it
to your PATH or install pypandoc wheels with included pandoc.

As the first line of the output, which comes from stderr, shows, pandoc --version tries to look up $HOME (to show default data directory) and fails because it is not set.
This is undesirable when pypandoc is used from a user with no $HOME, such as apache user.
A workaround is to use os.putenv, but the effect is somewhat non-local. Better solution would to utlilize --data-dir option of  pandoc command.

A --data-dir based PR would be welcome. Ideally the change should be backwards compatible.

Closed in #104


bug in VRDU evalution code

https://github.com/google-research/google-research/blob/411cc95cb398c33046ab92028476bb38776965da/vrdu/benchmark_utils.py#L655
In VRDU dataset evaluation, the code mishandles missing ground truth. The check for its absence should precede other conditions to correctly set precision, recall, and F1 scores to -1 but the current implementation fail to do so. I have prepared a patch for this if I may create a pull request.
https://github.com/minouei-kl/google-research/tree/minouei-kl-patch-1

There is another issue with the evaluation of the line_items. Each line_item contains multiple keys, such as ('channel', 'program_start_date', 'program_end_date', 'program_desc', 'sub_amount'), but the order of these keys in the dataset is inconsistent. for instance in the sample "08b27cc0-dcaf-2f19-0c24-975a6a9c6e45.pdf" we can see two order of the keys in the same document.
the function get_matching_result_per_doc  disregards the match between the Ground Truth and the extraction if the order of the keys does not match. For example:
gt_entity_item:
(('sub_amount', 'channel', 'program_start_date', 'program_end_date', 'program_desc'), [(...)])
(('$450.00\n', (...), [...]), ('WWJ ', (...), [...]), ('05/27/20 ', (...), [...]), ('06/02/20 ', (...), [...]), ('The Late Show\n', (...), [...]))
ex_entity_item:
('channel', 'program_start_date', 'program_end_date', 'program_desc', 'sub_amount')
(['WWJ'], ['05/27/20'], ['06/02/20'], ['The Late Show'], ['$450.00'])
which is just a weak method of assessment.
This can be avoided by sorting the keys in both the Ground Truth and extraction before matching.

the group_repeated_entities_into_nested_entities is completely wrong. this so disappointing that researchers manage to write such a messed up code. this function accept a list of entity names and their values and group the line_items by their occurrence. it works when all the keys are present if a line_item contains only two items in the middle of the list this function just put them in the wrong group and all the groups afterwards are wrong

Hello, could you please tell me where to download the dataset? I couldn't find the download link.


API Script node-docx-to-page not working

Attempted Debugging

[X] I have read the debugging page

Searched GitHub Issues

[X] I have searched GitHub for the issue.

Describe the Scenario
Hello,
I'm trying to use the node-docx-to-page API script to import Word documents into Bookstack, as there is no way to do this within the GUI.
On the page https://github.com/BookStackApp/api-scripts/tree/main/node-docx-to-page the first step fails (npm install):

I cannot proceed with importing Word documents. Also we would like to see an option within the Bookstack GUI to import Word documents (.doc and/or .docx) as our current Knowledge Base exists out of hundreds of word documents.
Kind Regards and thanks in advance,
Michel
Exact BookStack Version
22.09.1
Log Content

0 verbose cli D:\Program Files\nodejs\node.exe C:\Users\xx\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js
1 info using<EMAIL_ADDRESS>2 info using<EMAIL_ADDRESS>3 timing npm:load:whichnode Completed in 1ms
4 timing config:load:defaults Completed in 2ms
5 timing config:load:file:C:\Users\xx\AppData\Roaming\npm\node_modules\npm\npmrc Completed in 4ms
6 timing config:load:builtin Completed in 4ms
7 timing config:load:cli Completed in 2ms
8 timing config:load:env Completed in 0ms
9 timing config:load:file:D:\Docx to Bookstack\.npmrc Completed in 0ms
10 timing config:load:project Completed in 2ms
11 timing config:load:file:C:\Users\xx\.npmrc Completed in 0ms
12 timing config:load:user Completed in 0ms
13 timing config:load:file:C:\Users\xx\AppData\Roaming\npm\etc\npmrc Completed in 0ms
14 timing config:load:global Completed in 1ms
15 timing config:load:validate Completed in 0ms
16 timing config:load:credentials Completed in 1ms
17 timing config:load:setEnvs Completed in 1ms
18 timing config:load Completed in 14ms
19 timing npm:load:configload Completed in 14ms
20 timing npm:load:mkdirpcache Completed in 1ms
21 timing npm:load:mkdirplogs Completed in 1ms
22 verbose title npm install
23 verbose argv "install"
24 timing npm:load:setTitle Completed in 2ms
25 timing config:load:flatten Completed in 6ms
26 timing npm:load:display Completed in 9ms
27 verbose logfile logs-max:10 dir:C:\Users\xx\AppData\Local\npm-cache\_logs
28 verbose logfile C:\Users\xx\AppData\Local\npm-cache\_logs\2022-10-24T10_47_35_991Z-debug-0.log
29 timing npm:load:logFile Completed in 8ms
30 timing npm:load:timers Completed in 0ms
31 timing npm:load:configScope Completed in 0ms
32 timing npm:load Completed in 36ms
33 timing arborist:ctor Completed in 1ms
34 silly logfile start cleaning logs, removing 1 files
35 silly logfile done cleaning log files
36 timing idealTree Completed in 4ms
37 timing command:install Completed in 32ms
38 verbose stack JSONParseError: Unexpected token "<" (0x3C) in JSON at position 0 while parsing near "<!DOCTYPE html>\n<htm..."
38 verbose stack     at C:\Users\xx\AppData\Roaming\npm\node_modules\npm\node_modules\read-package-json-fast\index.js:11:61
38 verbose stack     at async Arborist.buildIdealTree (C:\Users\xx\AppData\Roaming\npm\node_modules\npm\node_modules\@npmcli\arborist\lib\arborist\build-ideal-tree.js:208:7)
38 verbose stack     at async Promise.all (index 1)
38 verbose stack     at async Arborist.reify (C:\Users\xx\AppData\Roaming\npm\node_modules\npm\node_modules\@npmcli\arborist\lib\arborist\reify.js:153:5)
38 verbose stack     at async Install.exec (C:\Users\xx\AppData\Roaming\npm\node_modules\npm\lib\commands\install.js:145:5)
38 verbose stack     at async module.exports (C:\Users\xx\AppData\Roaming\npm\node_modules\npm\lib\cli.js:78:5)
39 verbose cwd D:\Docx to Bookstack
40 verbose Windows_NT 10.0.20348
41 verbose node v16.17.0
42 verbose npm  v8.19.1
43 error code EJSONPARSE
44 error path D:\Docx to Bookstack/package.json
45 error JSON.parse Unexpected token "<" (0x3C) in JSON at position 0 while parsing near "<!DOCTYPE html>\n<htm..."
46 error JSON.parse Failed to parse JSON data.
46 error JSON.parse Note: package.json must be actual JSON, not just JavaScript.
47 verbose exit 1
48 timing npm Completed in 241ms
49 verbose unfinished npm timer reify<PHONE_NUMBER>196
50 verbose unfinished npm timer reify:loadTrees<PHONE_NUMBER>219
51 verbose unfinished npm timer idealTree:init<PHONE_NUMBER>220
52 verbose code 1
53 error A complete log of this run can be found in:
53 error     C:\Users\xx\AppData\Local\npm-cache\_logs\2022-10-24T10_47_35_991Z-debug-0.log

PHP Version
8.1.11
Hosting Environment
Windows Server 2022

Hi @mschoon85,
Please check you have downloaded the script files properly.
The error seems to indicate the package.json file contains HTML content which is not as per the node-docx-to-page files.
You can download all our api scripts as a zip via this link, then extract then then use just the node-docx-to-page directory.

Hi @ssddanbrown ,
Downloading the zip file did the trick. Thanks for replying so fast!

Unfortunately the next problem is that I ran into another problem:
D:\API scripts\node-docx-to-page>node index.js testdocument.docx testpage Error: unable to verify the first certificate     at TLSSocket.onConnectSecure (node:_tls_wrap:1535:34)     at TLSSocket.emit (node:events:513:28)     at TLSSocket._finishInit (node:_tls_wrap:949:8)     at TLSWrap.ssl.onhandshakedone (node:_tls_wrap:730:12) {   code: 'UNABLE_TO_VERIFY_LEAF_SIGNATURE',   config: {     url: '/books?filter[slug]=testpage',     method: 'get',     headers: {       Accept: 'application/json, text/plain, */*',       Authorization: 'Token puN1AY6zEQ62CX0gNo3mTHoLW4O5WxYW:zojyPKBwFl5WfVssHQEV3g2UxjnclFVQ',       'User-Agent': 'axios/0.21.4'     },     baseURL: 'https://URL.com/api/',     transformRequest: [ [Function: transformRequest] ],     transformResponse: [ [Function: transformResponse] ],     timeout: 5000,     adapter: [Function: httpAdapter],     xsrfCookieName: 'XSRF-TOKEN',     xsrfHeaderName: 'X-XSRF-TOKEN',     maxContentLength: -1,     maxBodyLength: -1,     validateStatus: [Function: validateStatus],     transitional: {       silentJSONParsing: true,       forcedJSONParsing: true,       clarifyTimeoutError: false     },     data: undefined   },   request: <ref *1> Writable {     _writableState: WritableState {       objectMode: false,       highWaterMark: 16384,       finalCalled: false,       needDrain: false,       ending: false,       ended: false,       finished: false,       destroyed: false,       decodeStrings: true,       defaultEncoding: 'utf8',       length: 0,       writing: false,       corked: 0,       sync: true,       bufferProcessing: false,       onwrite: [Function: bound onwrite],       writecb: null,       writelen: 0,       afterWriteTickInfo: null,       buffered: [],       bufferedIndex: 0,       allBuffers: true,       allNoop: true,       pendingcb: 0,       constructed: true,       prefinished: false,       errorEmitted: false,       emitClose: true,       autoDestroy: true,       errored: null,       closed: false,       closeEmitted: false,       [Symbol(kOnFinished)]: []     },     _events: [Object: null prototype] {       response: [Function: handleResponse],       error: [Function: handleRequestError],       socket: [Function: destroyOnTimeout]     },     _eventsCount: 3,     _maxListeners: undefined,     _options: {       maxRedirects: 21,       maxBodyLength: 10485760,       protocol: 'https:',       path: '/api/books?filter[slug]=testpage',       method: 'GET',       headers: [Object],       agent: undefined,       agents: [Object],       auth: undefined,       hostname: 'URL.com',       port: null,       nativeProtocols: [Object],       pathname: '/api/books',       search: '?filter[slug]=testpage'     },     _ended: true,     _ending: true,     _redirectCount: 0,     _redirects: [],     _requestBodyLength: 0,     _requestBodyBuffers: [],     _onNativeResponse: [Function (anonymous)],     _currentRequest: ClientRequest {       _events: [Object: null prototype],       _eventsCount: 7,       _maxListeners: undefined,       outputData: [],       outputSize: 0,       writable: true,       destroyed: false,       _last: true,       chunkedEncoding: false,       shouldKeepAlive: false,       maxRequestsOnConnectionReached: false,       _defaultKeepAlive: true,       useChunkedEncodingByDefault: false,       sendDate: false,       _removedConnection: false,       _removedContLen: false,       _removedTE: false,       _contentLength: 0,       _hasBody: true,       _trailer: '',       finished: true,       _headerSent: true,       _closed: false,       socket: [TLSSocket],       _header: 'GET /api/books?filter[slug]=testpage HTTP/1.1\r\n' +         'Accept: application/json, text/plain, */*\r\n' +         'Authorization: Token puN1AY6zEQ62CX0gNo3mTHoLW4O5WxYW:zojyPKBwFl5WfVssHQEV3g2UxjnclFVQ\r\n' +         'User-Agent: axios/0.21.4\r\n' +         'Host: URL.com\r\n' +         'Connection: close\r\n' +         '\r\n',       _keepAliveTimeout: 0,       _onPendingData: [Function: nop],       agent: [Agent],       socketPath: undefined,       method: 'GET',       maxHeaderSize: undefined,       insecureHTTPParser: undefined,       path: '/api/books?filter[slug]=testpage',       _ended: false,       res: null,       aborted: false,       timeoutCb: null,       upgradeOrConnect: false,       parser: null,       maxHeadersCount: null,       reusedSocket: false,       host: 'URL.com',       protocol: 'https:',       _redirectable: [Circular *1],       [Symbol(kCapture)]: false,       [Symbol(kNeedDrain)]: false,       [Symbol(corked)]: 0,       [Symbol(kOutHeaders)]: [Object: null prototype],       [Symbol(kUniqueHeaders)]: null     },     _currentUrl: 'URL.com/api/books?filter[slug]=testpage',     _timeout: null,     [Symbol(kCapture)]: false   },   response: undefined,   isAxiosError: true,   toJSON: [Function: toJSON] }

Hi @mschoon85,
I'm guessing you're using some kind of self-signed certificate for your BookStack instance?
If you, you might need to either tweak the script to ignore certificate issues (Disable security measures) or add the used certificate to the certificate trust store that's used by NodeJS.

Hi @ssddanbrown,
I disabled the certificate check by adding 'process.env["NODE_TLS_REJECT_UNAUTHORIZED"] = 0;' to index.js and now get the following error. It cannot find any of the slugs I try. And idea?
(node:6192) Warning: Setting the NODE_TLS_REJECT_UNAUTHORIZED environment variable to '0' makes TLS connections and HTTPS requests insecure by disabling certificate verification.
(Use `node --trace-warnings ...` to show where the warning was created)
Book with a slug of "test123" could not be found

Hi @ssddanbrown,
I got it working by disabling the certificate check. I added "process.env["NODE_TLS_REJECT_UNAUTHORIZED"] = 0;" to index.js.
I can now add small word documents to Bookstack, however it looks like larger files timeout. I'm trying to upload a 22 pages and 43495 word file and get the following error:
Error: timeout of 5000ms exceeded
    at createError (D:\API scripts\node-docx-to-page\node_modules\axios\lib\core\createError.js:16:15)
    at RedirectableRequest.handleRequestTimeout (D:\API scripts\node-docx-to-page\node_modules\axios\lib\adapters\http.js:303:16)
    at RedirectableRequest.emit (node:events:513:28)
    at Timeout.<anonymous> (D:\API scripts\node-docx-to-page\node_modules\follow-redirects\index.js:169:12)
    at listOnTimeout (node:internal/timers:559:17)
    at processTimers (node:internal/timers:502:7) {
  config: {
    url: '/pages',
    method: 'post',

Sounds like you'd need to increase the timeout found in this section of the code:
https://github.com/BookStackApp/api-scripts/blob/ed1748f060aaa9504f1b8583c3fcda0ff0752bb4/node-docx-to-page/index.js#L34-L39

@ssddanbrown  Thanks, I got it working now. I also made a PowerShell script to import word documents a bit more easier. When the script is started a Windows pop up shows to select the word document and then the script will import it:
`function Open-File([string] $initialDirectory){
[System.Reflection.Assembly]::LoadWithPartialName("System.windows.forms") | Out-Null

$OpenFileDialog = New-Object System.Windows.Forms.OpenFileDialog
$OpenFileDialog.initialDirectory = "D:\Documents"
$OpenFileDialog.filter = "All files (*.*)| *.*"
$OpenFileDialog.ShowDialog() |  Out-Null

return $OpenFileDialog.filename

}
$OpenFile=Open-File $env:USERPROFILE
if ($OpenFile -ne "")
{
echo "You choose FileName: $OpenFile"
}
else
{
echo "No File was chosen"
}
node index.js $OpenFile {bookname}`

Instead of {bookname} enter the name of the book without the brackets. I'm going to make some improvements to the script, for example choosing which book the document should be uploaded to.

@ssddanbrown
If interested I completed my script. The script has to be saved as a .ps1 file and executed with Powershell. It will show a menu to choose which book the docx document is going to be uploaded to, after choosing the book a windows file explorer window will open up to browse to the document and select it. A filter is active so only docx documents are shown. After the import has been completed you will return to the menu to import other documents, to whatever book is needed.
To use the script you must change the following:
$OpenFileDialog.initialDirectory = "path to start browsing"
node --no-warnings "locationof\index.js" $OpenFile Book1
Important note: I'm not a programmer so things can most likely be improved, but at least it works.
Example:

$Host.UI.RawUI.ForegroundColor = ($bckgrnd = 'darkGreen')

$GetInfo = {
function DisplayMenu {
Clear-Host
Write-Host @"
+================================================+
|  	 Choose a book to import the document        |
|  	* Only Word documents in docx format *       |
+================================================+
|                                                |
|    1) Book1                                    |
|    2) Book2                                    |
|    3) Book3                                    |
|    4) Book4                                    |
|    5) Book5                                    |
|    6) Book6                                    |
|    7) Book7                                    |
|    8) Book8                                    |
|    9) Book9                                    |
|    10) Book10                                  |
|    11) Book11                                  |
|                                                |
+================================================+

"@

$MENU = Read-Host "Book"
Switch ($MENU)

{
1 {
#OPTION1 - Book1
$OPTION1 = function Open-File([string] $initialDirectory){

    [System.Reflection.Assembly]::LoadWithPartialName("System.windows.forms") | Out-Null

    $OpenFileDialog = New-Object System.Windows.Forms.OpenFileDialog
    $OpenFileDialog.initialDirectory = "path to start browsing"
    $OpenFileDialog.filter = "Word Documents (*.docx)|*.docx"
    $OpenFileDialog.ShowDialog() |  Out-Null

    return $OpenFileDialog.filename
}

$OpenFile=Open-File $env:USERPROFILE

if ($OpenFile -ne "")
{
    echo "You have chosen: $OpenFile"
}
else
{
    echo "No file chosen"
}

node --no-warnings "locationof\index.js" $OpenFile Book1
write-host "`n"
Write-Host "Done! You will now automatically return to the menu"
Start-Sleep -Seconds 5
}

2 {
#OPTION2 - Book2
$OPTION2 = function Open-File([string] $initialDirectory){

    [System.Reflection.Assembly]::LoadWithPartialName("System.windows.forms") | Out-Null

    $OpenFileDialog = New-Object System.Windows.Forms.OpenFileDialog
    $OpenFileDialog.initialDirectory = "path to start browsing"
    $OpenFileDialog.filter = "Word Documents (*.docx)|*.docx"
    $OpenFileDialog.ShowDialog() |  Out-Null

    return $OpenFileDialog.filename
}

$OpenFile=Open-File $env:USERPROFILE

if ($OpenFile -ne "")
{
    echo "You have chosen: $OpenFile"
}
else
{
    echo "No file chosen"
}

node --no-warnings "locationof\index.js" $OpenFile Book2
write-host "`n"
Write-Host "Done! You will now automatically return to the menu"
Start-Sleep -Seconds 5
}

3 {
#OPTION3 - Book3
$OPTION3 = function Open-File([string] $initialDirectory){

    [System.Reflection.Assembly]::LoadWithPartialName("System.windows.forms") | Out-Null

    $OpenFileDialog = New-Object System.Windows.Forms.OpenFileDialog
    $OpenFileDialog.initialDirectory = "path to start browsing"
    $OpenFileDialog.filter = "Word Documents (*.docx)|*.docx"
    $OpenFileDialog.ShowDialog() |  Out-Null

    return $OpenFileDialog.filename
}

$OpenFile=Open-File $env:USERPROFILE

if ($OpenFile -ne "")
{
    echo "You have chosen: $OpenFile"
}
else
{
    echo "No file chosen"
}

node --no-warnings "locationof\index.js" $OpenFile Book3
write-host "`n"
Write-Host "Done! You will now automatically return to the menu"
Start-Sleep -Seconds 5
}

4 {
#OPTION4 - Book4
$OPTION4 = function Open-File([string] $initialDirectory){

    [System.Reflection.Assembly]::LoadWithPartialName("System.windows.forms") | Out-Null

    $OpenFileDialog = New-Object System.Windows.Forms.OpenFileDialog
    $OpenFileDialog.initialDirectory = "path to start browsing"
    $OpenFileDialog.filter = "Word Documents (*.docx)|*.docx"
    $OpenFileDialog.ShowDialog() |  Out-Null

    return $OpenFileDialog.filename
}

$OpenFile=Open-File $env:USERPROFILE

if ($OpenFile -ne "")
{
    echo "You have chosen: $OpenFile"
}
else
{
    echo "No file chosen"
}

node --no-warnings "locationof\index.js" $OpenFile Book4
write-host "`n"
Write-Host "Done! You will now automatically return to the menu"
Start-Sleep -Seconds 5
}

5 {
#OPTION5 - Book5
$OPTION5 = function Open-File([string] $initialDirectory){

    [System.Reflection.Assembly]::LoadWithPartialName("System.windows.forms") | Out-Null

    $OpenFileDialog = New-Object System.Windows.Forms.OpenFileDialog
    $OpenFileDialog.initialDirectory = "path to start browsing"
    $OpenFileDialog.filter = "Word Documents (*.docx)|*.docx"
    $OpenFileDialog.ShowDialog() |  Out-Null

    return $OpenFileDialog.filename
}

$OpenFile=Open-File $env:USERPROFILE

if ($OpenFile -ne "")
{
    echo "You have chosen: $OpenFile"
}
else
{
    echo "No file chosen"
}

node --no-warnings "locationof\index.js" $OpenFile Book5
write-host "`n"
Write-Host "Done! You will now automatically return to the menu"
Start-Sleep -Seconds 5
}

6 {
#OPTION6 - Book6
$OPTION6 = function Open-File([string] $initialDirectory){

    [System.Reflection.Assembly]::LoadWithPartialName("System.windows.forms") | Out-Null

    $OpenFileDialog = New-Object System.Windows.Forms.OpenFileDialog
    $OpenFileDialog.initialDirectory = "path to start browsing"
    $OpenFileDialog.filter = "Word Documents (*.docx)|*.docx"
    $OpenFileDialog.ShowDialog() |  Out-Null

    return $OpenFileDialog.filename
}

$OpenFile=Open-File $env:USERPROFILE

if ($OpenFile -ne "")
{
    echo "You have chosen: $OpenFile"
}
else
{
    echo "No file chosen"
}

node --no-warnings "locationof\index.js" $OpenFile Book6
write-host "`n"
Write-Host "Done! You will now automatically return to the menu"
Start-Sleep -Seconds 5
}

7 {
#OPTION7 - Book7
$OPTION7 = function Open-File([string] $initialDirectory){

    [System.Reflection.Assembly]::LoadWithPartialName("System.windows.forms") | Out-Null

    $OpenFileDialog = New-Object System.Windows.Forms.OpenFileDialog
    $OpenFileDialog.initialDirectory = "path to start browsing"
    $OpenFileDialog.filter = "Word Documents (*.docx)|*.docx"
    $OpenFileDialog.ShowDialog() |  Out-Null

    return $OpenFileDialog.filename
}

$OpenFile=Open-File $env:USERPROFILE

if ($OpenFile -ne "")
{
    echo "You have chosen: $OpenFile"
}
else
{
    echo "No file chosen"
}

node --no-warnings "locationof\index.js" $OpenFile Book7
write-host "`n"
Write-Host "Done! You will now automatically return to the menu"
Start-Sleep -Seconds 5
}

8 {
#OPTION8 - Book8
$OPTION8 = function Open-File([string] $initialDirectory){

    [System.Reflection.Assembly]::LoadWithPartialName("System.windows.forms") | Out-Null

    $OpenFileDialog = New-Object System.Windows.Forms.OpenFileDialog
    $OpenFileDialog.initialDirectory = "path to start browsing"
    $OpenFileDialog.filter = "Word Documents (*.docx)|*.docx"
    $OpenFileDialog.ShowDialog() |  Out-Null

    return $OpenFileDialog.filename
}

$OpenFile=Open-File $env:USERPROFILE

if ($OpenFile -ne "")
{
    echo "You have chosen: $OpenFile"
}
else
{
    echo "No file chosen"
}

node --no-warnings "locationof\index.js" $OpenFile Book8
write-host "`n"
Write-Host "Done! You will now automatically return to the menu"
Start-Sleep -Seconds 5
}

9 {
#OPTION9 - Book9
$OPTION9 = function Open-File([string] $initialDirectory){

    [System.Reflection.Assembly]::LoadWithPartialName("System.windows.forms") | Out-Null

    $OpenFileDialog = New-Object System.Windows.Forms.OpenFileDialog
    $OpenFileDialog.initialDirectory = "path to start browsing"
    $OpenFileDialog.filter = "Word Documents (*.docx)|*.docx"
    $OpenFileDialog.ShowDialog() |  Out-Null

    return $OpenFileDialog.filename
}

$OpenFile=Open-File $env:USERPROFILE

if ($OpenFile -ne "")
{
    echo "You have chosen: $OpenFile"
}
else
{
    echo "No file chosen"
}

node --no-warnings "locationof\index.js" $OpenFile Book9
write-host "`n"
Write-Host "Done! You will now automatically return to the menu"
Start-Sleep -Seconds 5
}

10 {
#OPTION10 - Book10
$OPTION10 = function Open-File([string] $initialDirectory){

    [System.Reflection.Assembly]::LoadWithPartialName("System.windows.forms") | Out-Null

    $OpenFileDialog = New-Object System.Windows.Forms.OpenFileDialog
    $OpenFileDialog.initialDirectory = "path to start browsing"
    $OpenFileDialog.filter = "Word Documents (*.docx)|*.docx"
    $OpenFileDialog.ShowDialog() |  Out-Null

    return $OpenFileDialog.filename
}

$OpenFile=Open-File $env:USERPROFILE

if ($OpenFile -ne "")
{
    echo "You have chosen: $OpenFile"
}
else
{
    echo "No file chosen"
}

node --no-warnings "locationof\index.js" $OpenFile Book10
write-host "`n"
Write-Host "Done! You will now automatically return to the menu"
Start-Sleep -Seconds 5
}

11 {
#OPTION11 - Book11
$OPTION11 = function Open-File([string] $initialDirectory){

    [System.Reflection.Assembly]::LoadWithPartialName("System.windows.forms") | Out-Null

    $OpenFileDialog = New-Object System.Windows.Forms.OpenFileDialog
    $OpenFileDialog.initialDirectory = "path to start browsing"
    $OpenFileDialog.filter = "Word Documents (*.docx)|*.docx"
    $OpenFileDialog.ShowDialog() |  Out-Null

    return $OpenFileDialog.filename
}

$OpenFile=Open-File $env:USERPROFILE

if ($OpenFile -ne "")
{
    echo "You have chosen: $OpenFile"
}
else
{
    echo "No file chosen"
}

node --no-warnings "locationof\index.js" $OpenFile book11
write-host "`n"
Write-Host "Done! You will now automatically return to the menu"
Start-Sleep -Seconds 5
}

default {
#DEFAULT OPTION
Write-Host "Option not available"
Start-Sleep -Seconds 2
DisplayMenu
}
}
}
DisplayMenu

 .$GetInfo
 }

&$GetInfo

Good to hear you got things working, and thanks for sharing the script.
I will therefore close this off.


docs(guides) Extracting Boilerplate updates to v4

update runtime chunk technique to v4

Fixes #2204

Thanks1


VectorOfVariable with indicator does not detect binary variable

From https://github.com/jump-dev/JuMP.jl/issues/2167
When copying the indicator constraint, the binary is sometimes not already set (comes from copy_to not being ordered).
MWE from JuMP:
using JuMP
import SCIP
using LinearAlgebra: ⋅

m = Model(with_optimizer(SCIP.Optimizer))
nl = 10

@variable(m, v[1:nl])
@variable(m, s[j=1:nl])
@variable(m, z[j=1:nl], Bin)

@assert all(JuMP.is_binary, z)

@constraint(m,
    indicator_ones[j=1:nl],
    [z[j], v[j]] in MOI.IndicatorSet{MOI.ACTIVATE_ON_ONE}(MOI.LessThan(0.0))
)
optimize!(m)

Tricky to reproduce without it because it is tied to each copying implementation

SCIP should set z[j] to binary when adding an indicator constraint, and then potentially error on optimize! if the user has not explicitly set z to be binary.

not sure I follow, if we set z[j] to binary, how do you check that the user has done it themselves? Does the optimizer have to keep another copy? Or do you set binary with the SCIP lower-level API directly in the first phase?

Yes, I think we would have to have to keep a copy of the explicit user-defined variable type/constraint.
This is already done partially, see MOI_wrapper.jl, but I don't remember the exact use case for that.
A similar case is that of second-order cone constraints. In SCIP, it's asserted that y is non-negative for a constraint of the form sqrt(sum x_i^2) <= y. Here, there's also the choice of "fixing" the bound for the user, or error to tell the user to do it themselves.
Maybe the friendliest way is to "fix" the bounds and variable types to meet SCIP expectations, but send warnings. This requires additional storage of variable information.


tests/kernel/mem_protect/userspace: Add some more tests to userspace protection tests

[WIP] Adding few more test scenarios to validate user space protection.
goto_usermode: Check if recursive call of k_thread_user_mode_enter() generate fault.
start_essential_thread: User thread cannot create essential thread.
high_prio_uthread: User thread can create a thread of equal or lower priority.
thread_in_multiple_domains: A thread can belong to single memory domain at a time.
add_thread: Cannot add a thread to a destroyed memory domain.
check_access_perms: Threads belong to same memory domain will have same access permissions to its partitions.
Signed-off-by: Spoorthi K<EMAIL_ADDRESS>

@andrewboie @stephensmalley  @lpereira : Thanks for the review.  I have addressed the review comments.

#5197 is merged, will revisit the merged test cases and create pull requests to add new set of test cases.


happypack module not found (sometimes)

Current Behavior
After install, with npm, sometimes 'happypack' cannot be found.
I am also using lerna, to add confusion
Expected Behavior
happypack should be found.
Haul Configuration (webpack.haul.js)
standard haul config
Your Environment
lerna
osx
npm 5.0.3

software
version

Haul
beta-2

react-native
0.45

node
8.1.3

npm or yarn
both

I think the problem may have something to do with git, but i'm not sure.
I'm curios why the dependency is a specific git commit instead of a standard npm module.

I had few problems with lerna and npm@5 together, so maybe try to install the latest<EMAIL_ADDRESS>and see if that helps. It's also possible that npm@5 or lerna can handle github paths - github:amireh/happypack#3256a3380dde2e06e3ad2ca3b41e9a81fd4f9673.

I tried with both npm and yarn, npm 5.0.3 and yarn 0.27. I'll try with npm 5.3.0 as well.
Would there be a reason I shouldn't specify a version of happypack that is published?

I don't really know. It's possible that 3.1.0 would work, but I believe @grabbou has the answer to that question.

adding<EMAIL_ADDRESS>to my package.json dependency specification seems to have fixed the issue.

Interesting why happypack would have to be present in your project dependencies. Be sure to reinstall node_modules. Sometimes bad things can happen over time.

We went through the ringer of trying to get it working. Node versions, npm versions, installing manually, switching to yarn, deleting the node_modules between every step.
I think it happened when the npm install failed initially through lerna, and something is cached from the git module somewhere. After a while it just started working on one machine (cache expired?) and switching to the published npm module worked on the other.


Read more buttons should be smaller

The "Read More" buttons, on all pages, are too big and take up too much space.
Solution:

Review the margin and padding settings of default bootstrap
Update the the default settings with an override in the default.css file

Implemented


Can't query and save az cli output as a variable except when using a "show" command

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Describe the bug
Running command $appreg = (az ad app create --displayname "xxxxxx").appId does not make the appId a variable when using Azure CLI.
To Reproduce

Create a App Registration using AZ CLI and attempt to specify the appId as the variable as seen above.

Expected behavior
When I run $appreg the output should be the appId of the App Registration that was created.
Environment summary
Install Method (MSI) / CLI version (2.0.63) / OS version Windows 10 / Shell Type (powershell)
Additional context

hi @Plus3IT-Azure could you pls try --query output to get the appId?
az ad app create --displayname "xxxxxx" | --query "appId"

Thank you for responding; that syntax worked without the pipe; when the pip is added it threw errors stating that Expressions are only allowed as the first element of a pipeline
In conclusion the syntax that worked is az ad app create --displayname "xxxx" --query "appId"

For more about --query: https://docs.microsoft.com/en-us/cli/azure/query-azure-cli?view=azure-cli-latest


Cache folder is not automatically created

Not a huge deal, but public/output paths are automatically created. If the cache folder is missing but setCachePath is used, a built terminates in the following error: Error: ENOENT: no such file or directory, open 'cache/Mix.json'

Thanks. We're no longer using setCachePath. It'll just get popped into your public directory, and that should always exist.


NetCDF thread safety take two

🚀 Pull Request
Description

Taking the lead from #5061, I have minimised the footprint of this change, making it hopefully easier for future maintenance and better suited to a patch release (our goal).
I still get very occasional segfaults and invalid ID NetCDF errors. These were guaranteed before, but I would now estimate they fail a full test run ~ 1 in 20 times. This of course makes them very difficult to investigate - I don't know if there are any commits in this PR's sequence where there was genuinely no problem, or whether it was just luck. The only working theory I have is that they show up when certain combinations of tests are being run on separate processors, but I don't know how I would test such a theory.
I'm putting this up now because I need help with what's left:

[x] Investigate remaining intermittent errors (see above) and decide if they are a problem.
[ ] Write test(s) specifically aimed at thread safety.
[x] Arrange for some real world user testing.

Consult Iris pull request check list

Investigate remaining intermittent errors (see above) and decide if they are a problem.

Local testing shows that this was 100% fine at 2fb274f, so it's something I've introduced since.

Investigate remaining intermittent errors (see above) and decide if they are a problem.

Solved by 01be381.

@valeriupredoi a lot of the errors you reported in #5016 are consistent with using an older version of Iris. Are you sure you checked out this branch?

massive facepalm! I am using the master branch from your fork - which branch to co?

good man! On it now, smelled like really old stuff to me too :laughing:

massive facepalm! I am using the master branch from your fork - which branch to co?

trexfeathers:netcdf_segs

@trexfeathers - very promising - first full run of ESMValCore tests and 0 SegFaults, all tests passed fine :partying_face: Will run a bunch of them, just in case

I am not getting any SegFaults!  Here is me env, for the record
iris_tests.yml.txt
:beer:

@valeriupredoi those tests did actually reveal a flaw in what I was doing. Please could you try this new version when you are able?

@valeriupredoi those tests did actually reveal a flaw in what I was doing. Please could you try this new version when you are able?

:beer: for fixing that! Absolutelym will test again later today, and post here, mate :+1:

OK  @pp-mo, those are all my responses.
If the branch update commits are confusing for your review workflow, and you'd prefer me to rebase-and-force-push, just let me know.

Update: I've at last reviewed + OK-d all the changes in response to the initial review, resolved all outstanding conversations.
Discussed testing approach offline with @trexfeathers
We agreed we can't directly address the thread safety problem in testing -- we want to run exercises against the pre-existing netcdf code, and see them fail, but we can't expect to write anything that will always reliably fail.
So, write tests to exercise the code in specific ways, and  show that they sometimes fail with the previous code.  This gives confidence, if those failures never happen with the new ( and its re-checked on every PR).
@trexfeathers  to write some tests + demonstrate they do (did) fail sometimes.
Once agreed, we can merge !

that's brilliant work, guys! Very much looking forward to seeing this in, both you and us we'll be happy to see the repopatch-pin on netCDF4 go, and finally, getting support for Python=3.11 :beer:

We agreed we can't directly address the thread safety problem in testing -- we want to run exercises against the pre-existing netcdf code, and see them fail, but we can't expect to write anything that will always reliably fail.

If you guys plug in a few tests a la the ones we have in ESMValTool that were showing the symptoms of the issue, then I reckon all's good - it becomes a case of "so long those tests never fail, we're in business" vs "we need tests that must fail at all times"

If you guys plug in a few tests a la the ones we have in ESMValTool that were showing the symptoms of the issue, then I reckon all's good - it becomes a case of "so long those tests never fail, we're in business" vs "we need tests that must fail at all times"

We do have some tests that reliably fail, but one of our big concerns is that they're not written to test thread safety - so future devs are free to change/remove them without realising it would remove our coverage for thread safety. Hence writing some dedicated tests.
@valeriupredoi are your tests written to test thread safety, or was that an unexpected bonus?

@trexfeathers oh no we don't have such fancy tests designed to test thread safety - just the bog standard netCDF file loading with iris ones, but those are enough to catch the issues that this PR fixes, on a statistical basis though ie the more those tests are run the more SegFaults are seen - you see, we are a bit Soviet here, quantity has its own quality :rofl:

Ok for your latest !
I'm totally :+1: on the change to a context managerdask.config.set -- I probably should have spotted that + raised it myself.
Still looking forward to some notes about when they fail...

Test results

Tests: pytest lib/iris/tests/integration/netcdf/test_thread_safety.py
Code base: either trexfeathers/netcdf_segs or v3.4.0
Environment specification: either trexfeathers/netcdf_segs or v3.4.0
NetCDF4 versions:

netcdf_segs: 1.6.2
v3.4.0: 1.6.0

(☟ code)  (environment ☞)
netcdf_segs
v3.4.0

netcdf_segs
✔ x5
✔ x5

v3.4.0
❌ test_realise_data - seg-fault
✔ x5

@pp-mo if you'd like us to try harder to trigger thread safety problems I'm open to it. 1 test of 5 isn't particularly 'successful'.
Notes

Needed to use pytest -k to identify the specific seg-faulting test.
test_thread_safety.py obviously doesn't exist in v3.4.0 so I had to bring that in manually when running with the v3.4.0 code base.

Discoveries from investigating tests

More, smaller threads increase the chance of thread collision. So tests using tiny_chunks fail more reliably than _multisource tests.
Tests involving da.store() rather than da.compute() - so those for saving and streaming - NEVER fail, even when streaming from multiple sources. This suggests that Dask's [current] strategy is to serialise the WHOLE operation whenever file writing is involved.
Good to have those tests in there should the situation ever change in future.

Closes #5016

Do you need anything else @pp-mo?

Do you need anything else @pp-mo?

No, all good now the tests have passed.
Huge applause ! 👏 👏 🥇


feat: add view YAML full screen

fixes #393
1.Add view YAML full screen and cancel
2.Reformat the TestSuite page button

@yuluo-yx Please feel free to help review this PR. Thanks.


feat: Allow overwrite of helm values

Description of your changes
In order to be more flexible regarding the app's configuration, like for example using an ingress or other modification we should allow setting helm values on the XR.
I have:

[x] Read and followed Upbound's contribution process.
[x] Run make reviewable to ensure this PR is ready for review.
[ ] Added backport release-x.y labels to auto-backport this PR, as appropriate.

How has this code been tested
make e2e and additional manual verification

/test-examples


feat: add existing region middleware tests

What type of PR is this? (check all applicable)

[ ] 💡 Feature
[ ] 🐛 Bug Fix
[ ] 📝 Documentation Update
[ ] 🎨 Style
[ ] 🧑💻 Code Refactor
[ ] 🔥 Performance Improvements
[x] ✅ Test

Description

Fixes issue
Fixes #157

Screenshots (if appropriate)
N/A

Added tests?

[x] 👍 yes
[ ] 🙅 no, because they aren't needed
[ ] 🙋 no, because I need help

Added to documentation?

[ ] 📜 README.md
[x] 🙅 no documentation needed

@MizouziE

Cool tests, thank you! The package.json shuffle is the first time I've seen the dependencies just re-ordered on a PR 😂 but it causes no harm, so why not?

Yeah, I thought that was weird. I'm not sure why that happened.  I was anticipating you would mention something!  😁


Better error handling in inner functions

We should handle errors better in internal functions.  E.g., see SystemError and Base.IOError.  See also how realpath handles non-existent paths.
The worst case scenario is that we seg fault, as we are passing around pointers within C calls.  Let's try to avoid this (at the very least) at all costs.

Part of this is better checking of output in all of the ccalls we make.  E.g., here.

Another aspect to this is ensuring that we check the expected return code (e.g. 5ce791e).


Support decoding Transparent Ethernet Bridging packets

The protocol type field of an Ethernet over GRE packet is filled with 0x6558 (Transparent Ethernet Bridging). This PR adds support for decoding such packets.

Nice work, thanks for the tests :)


Shift of -12 goes 100% plus one gutter too far

When I have a 3 column layout and I shift the order It pulls the one I shift by -12 by a gutters width too far. pulling it outside of the section container.
http://codepen.io/anon/pen/pgBEgN?editors=110

@nickfmc thank you for making a code pen. It makes it sooooo much easier to debug. 👍

The "extra margin" is caused by the omega on the 2nd col which removes its margin, their by pulling the third column over 1 gutter width which is then supplemented by the 1 gutter width that the shift accommodates for, making 2.
Unfortunately, the shift mixin isn't very well suited for true reordering of columns. If it is a major issue I would just translate or relatively position the third column one $gutter to the right :S. I realize that super ghetto. We are working on a better alternative for an upcoming version.


Fix rust-analyzer

This patch fixes rust-analyzer on vscode, by temporarily patching the requirements to a commit version of ed25519-dalek
You can see the differences here: https://github.com/dalek-cryptography/ed25519-dalek/compare/1.0.1...ad461f4f0f56507a2945510dedb914b3d3547c40
The following difference is what makes this patch workable;
-#![cfg(not(test))]
-#![forbid(unsafe_code)]
+#![cfg_attr(not(test), forbid(unsafe_code))]

From https://github.com/dalek-cryptography/ed25519-dalek/issues/173;

Yes since this was added in 1.0.1, rust-analyzer is not happy since it compiles everything in test mode

This should be applied as long as ed25519-dalek 1.1 isn't out, or this crate has to be published to crates.io

As discussed privately, this will have to wait for a ed25519-dalek release.

https://github.com/matrix-org/vodozemac/issues/61


fix(elvish): do not use cygpath for elvish

Description
Like #4001, but applies to the main init script.
Motivation and Context

Full fix for #4924
Screenshots (if appropriate):

How Has This Been Tested?

[ ] I have tested using MacOS
[ ] I have tested using Linux
[x] I have tested using Windows

Checklist:

[ ] I have updated the documentation accordingly.
[ ] I have updated the tests accordingly.

Sorry submitted to wrong repository...


Fix repeat for exoplayer

Repeat was not working for me when using exoplayer. I found the reason: setRepeatModifier method was called after this line in initializePlayer. This might not be the best solution here, so I'm waiting for any suggestions.

Would love to see this fix merged!

It's currently not possible to switch from true to false in this PR (video will loop forever), I've tried to investigate this issue but now waiting for the response here: https://github.com/google/ExoPlayer/issues/2899.

Seems that better repeat mechanism will be soon added to the Exoplayer (it's already on a dev branch), so probably we will ned to wait. I'm leaving this here PR for now.

I think this is causing #643 as a side effect. #628 is no good either

@Mohamed-Abo-El-Soud I'm not sure if it's possible, I'm just doing something only when the video ends.

@radko93 side question: why does there seem to be so many little bugs using the android exoplayer and mediaplayer, where ios don't seem to have them? Is it that the functionality is somewhat new on the android side?

@Mohamed-Abo-El-Soud Seems that exoplayer is still in development somehow. iOS is more mature and it's just one platform, it's always on Android.

They added a setRepeatMode function to control repeat behavior in ExoPlayer 2.5.0. I've gone ahead and implemented this in #1036. Thanks for diving into this and finding out that ExoPlayer was going to support it.


Infinite Loading screen

Uncaught (in promise) Error: Error invoking remote method 'getConfig': TypeError: l is not a function
at EventEmitter.i.invoke (electron/js2c/renderer_init.js:65)
I get an infinite spinner "Loading configuration", on chia-blockchain main, and also when I change to the NEXT branch.

Still not working.
I have tried deleting the .chia/testnet10 folder, and also tried initializing it first in the command line, always same error.
However when starting chia from the command line it works fine.

Maybe these are the root cause. https://github.com/Chia-Network/chia-blockchain-gui/blob/NEXT/packages/gui/src/components/app/AppProviders.tsx#L12
https://github.com/Chia-Network/chia-blockchain-gui/blob/NEXT/packages/gui/src/util/config.js#L13
Infinite while(true) loop waiting to load config. One possibility is you need to run chia init or create valid chia folder manually

Thank you i will check those files

This is what I get when running with chia run dev:gui
Error invoking remote method 'getConfig': TypeError: sleep is not a function
Call Stack
 EventEmitter.i.invoke
  js2c/renderer_init.js:65:526
 async init
  main.js:48097:20

@chia/gui: [1] Error occurred in handler for 'getConfig': TypeError: sleep is not a function
@chia/gui: [1]     at Object.loadConfig (/home/mariano54/Chia/chia-blockchain/chia-blockchain-gui/packages/gui/build/electron/main.js:62570:13)
@chia/gui: [1]     at /home/mariano54/Chia/chia-blockchain/chia-blockchain-gui/packages/gui/build/electron/main.js:130393:132
@chia/gui: [1]     at electron/js2c/browser_init.js:197:579
@chia/gui: [1]     at Object.<anonymous> (electron/js2c/browser_init.js:161:10272)
@chia/gui: [1]     at Object.emit (events.js:376:20)
@chia/gui: [1] Waiting for configuration file

Electron 14.2.3
node 14.17.0

 Error occurred in handler for 'getConfig': TypeError: sleep is not a function
This is really strange. According to the error message, root cause might be https://github.com/Chia-Network/chia-blockchain-gui/blob/NEXT/packages/gui/src/util/config.js#L54
If you can edit javascript source, try to replace the line above. (Replace sleep with something working)
The path to the exception handler is not only from error loading configration file from CHIA_ROOT but also missing certification files as well.
https://github.com/Chia-Network/chia-blockchain-gui/blob/NEXT/packages/gui/src/util/config.js#L48...L49
Checking whether ssl certs exist at the expected location should be a help to your problem.

It looks like a rebase issue. I will fix it in few minutes

Fix pushed to NEXT branch

It's still not working, I'm getting:
@chia/gui: [1] Waiting for configuration file
although the previous error is gone

Don't we need node 16 and npm 7? @ChiaMineJP Don't you have some install script fixes in a branch?

Yes, we need npm>=7 for the latest GUI branch.
https://github.com/Chia-Network/chia-blockchain/pull/9921/
Try the below. My new install-gui.sh automatically upgrade nodejs/npm if its version is too old.
cd <path-to-chia-blockchain>
git checkout use_more_n # Resolve / reset if there are conflicts.
sh install.sh
. ./activate
sh install-gui.sh
sh start-gui.sh

I was able to narrow this down and get things working. I believe there are two unrelated issues that are causing this, but the main issue with the GUI is that the call to window.ipcRenderer.invoke('getConfig'); in AppProviders.tsx isn't await-upon. So if config.yaml isn't in place when the GUI attempts to load the config, the config variable will be an unresolved Promise object. Changing the line to the following got me past that issue:
const config = await window.ipcRenderer.invoke('getConfig');
The second issue that I need to dig into more is that the daemon fails to launch (at least in my testing). I captured the following traceback:
[1] stderr: Traceback (most recent call last): [1]   File "/Users/jeffc/src/macos/chia-blockchain/chia-blockchain-gui/packages/gui/../../../chia/daemon/server.py", line 1472, in <module> [1]     main(sys.argv[1:]) [1]   File "/Users/jeffc/src/macos/chia-blockchain/chia-blockchain-gui/packages/gui/../../../chia/daemon/server.py", line 1468, in main [1]     return run_daemon(DEFAULT_ROOT_PATH, wait_for_unlock) [1]   File "/Users/jeffc/src/macos/chia-blockchain/chia-blockchain-gui/packages/gui/../../../chia/daemon/server.py", line 1459, in run_daemon [1] stderr:     result = asyncio.get_event_loop().run_until_complete(async_run_daemon(root_path, wait_for_unlock)) [1]   File<EMAIL_ADDRESS>line 642, in run_until_complete [1] stderr:     return future.result() [1]   File "/Users/jeffc/src/macos/chia-blockchain/chia-blockchain-gui/packages/gui/../../../chia/daemon/server.py", line 1420, in async_run_daemon [1] stderr:     chia_init(root_path, should_check_keys=(not wait_for_unlock)) [1]   File "/Users/jeffc/src/macos/chia-blockchain/chia/cmds/init_funcs.py", line 442, in chia_init [1] stderr:     connection.execute("CREATE TABLE database_version(version int)") [1] sqlite3.OperationalError: table database_version already exists
Updating init_funcs.py such that CREATE TABLE database_version(version int) -> CREATE TABLE IF NOT EXISTS database_version(version int) cleared up the daemon launching issue.

It looks like the DB issue was a side-effect of my method for repro'ing the GUI issue. It doesn't seem to be a problem in normal operation. I was pausing the app during startup and manually moving config.yaml aside, which then exposed the DB issue.

Should be fixed with commit 26646cbba6c4e04d390e1830e430252e81a33f87


Accessing website returns a an XML error

I installed wordpress on Google cloud and built a site, I then pointed it to one of my buckets (the one where I have my domain pointed to) and it takes me to the webpage with this error:
This XML file does not appear to have any style information associated with it. The document tree is shown below. <ListBucketResult xmlns="http://doc.s3.amazonaws.com/2006-03-01"> <Name>shop.hexpose.com</Name> <Prefix/> <Marker/> <IsTruncated>false</IsTruncated> </ListBucketResult>
I changed the web configuration to index.php for the front page but that didn't do anything.
Is this something that I am doing wrong? Thanks for your help in advance.

Absolutely, and thank you for getting back to me I appreciate it.
So I don't necessarily have a code snippet, because I don't have any files in that bucket, I installed Wordpress onto my Google Cloud Platform and pointed the IP Site to the domain in question.
This issue was happening before I pointed Wordpress towards the domain, I should mention.
It's entirely possible I am in the wrong place for support here, but I've tried changing bucket permissions and adding "allUsers" to the configuration and none of that worked so I'm at a pass as to what I need to do.
Once again, I really appreciate your help.

Are you using App Engine? A little more detail on the process you have followed would help me point you in the right direction.

Thanks for the extra info, but unfortunately it doesn't seem like enough for me to be able to really help much with. This sounds more like a Wordpress related issue than something related to the library hosted in this repository. I'd recommend touching base with Wordpress Support or opening a question on Stackoverflow. Please feel free to re-open if there is anything specific to the library we can help address! Best of luck! :)


Arthur can parse passwords containing the = sign.

We tripped over a password containing an = sign. The regex currently used by Arthur seemed to not allow that. Turns out that we need to URL-encode special characters in the DSN. Per documentation, e.g. of Postgres

Percent-encoding may be used to include symbols with special meaning in any of the URI parts, e.g., replace = with %3D.

(We're making the choice here to not support escaping using { ... }.)
This PR changes the regex that splits the DSN to expect the URI to be in ASCII and percent-encoded when using special characters.
Example connection string that now works correctly:
postgres://user:secret%3Dspice@db.example.com:5432/app?sslmode=require

(where the password is secrect=spice).

Thank you @tvogels01 ! 🙏

Thank you @tvogels01 ! 🙏


Transfer npm package

I've been using tailwind for a while and can't wait for tailwind ui. My has always been less than 6kb since we started using tailwind.
I empty published in the two packages to reserve it for you guys and would like to transfer them to you.
npm i heroicons

npm i heroicon

Hi guys,
This is already available on npm under:
npm install refactoringui/heroicons
Cheers :)


Feature Request: gbnfgen port

https://github.com/IntrinsicLabsAI/gbnfgen
This would be HUGELY useful. You could take C# classes/records and have it generate JSON grammars for them that guaranteed your responses (if you didn't run out of context) would be valid always.
I can envision a wrapper around the whole thing that basically does instruct, but takes a generic which will be the response type and it will return that deserialized from json using this tech.
(the current json grammar while ok, still has lots of cases of inconsistency in results where it doesn't follow the format requested.)

This would be an amazingly useful thing to have! I'm not sure we'd want to have it in the core LLamaSharp library, but it could definitely be something included in an extra package (e.g. LLamaSharp.GrammarGenerator).
Is it something you're interested in working on?

I'll take a look and see how difficult it is to convert the typescript to C# on Monday.

I had a bit of a look at how it's done in the gbnfgen project, it looks like it's all based on strings?
Just thinking out loud here, I'd love an API for C# which looked more like this:
Grammar g = GrammarBuilder.Generate<T>();

i.e. it generates a grammar for a type, instead of a magic string.

I’m thinking exactly that.
And also instruct<TRequest, TResponse>(string systemMessage, TRequest request, CancellationToken cancellationToken)
It
id love to be able to use this same approach to tell the AI that the message will be json in the specific format and what it means so it understands is perfectly. The. I could give it system instructions on how to handle the request, the object that is the input and get an object out as the response.
This makes pipelining amazingly powerful if done right. It also makes AI planning work REALLY well b/c chaining calls becomes trivial.

Update: I have a handle on the syntax. I'm using their code as a reference and building the same for C# but it will output an actual grammar that will load into LLamaSharp (unless you choose to save it to disk)

What I'd love to do is figure out a way that the same can be used for inputs so that it understands the structure that's coming in.

I'm not sure what you mean by this bit? sorry.

In a perfect world your user prompt would also be json and defined by a separate grammar so it understood the language of the user. Ie something like putting the gbnf definition in the system prompt as what it should expect from the user as input.

oh I see, as far as I'm aware there's nothing like that in llama.cpp. I guess it would have to be part of the model (e.g. trained on JSON inputs).


Persistant error after trying to use print_to_file

Seem to be fixed after a reboot.
Wired 0.10.2-1 from AUR.
$ RUST_BACKTRACE=full wired
A wired socket exists; taking ownership.  Existing wired processes will not receive CLI calls.
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 1, kind: PermissionDenied, message: "Operation not permitted" }', src/cli.rs:47:47
stack backtrace:
   0:     0x5564a11db22d - <unknown>
   1:     0x5564a1201a4c - <unknown>
   2:     0x5564a11d7d41 - <unknown>
   3:     0x5564a11dcc45 - <unknown>
   4:     0x5564a11dc966 - <unknown>
   5:     0x5564a0e3ad1e - <unknown>
   6:     0x5564a11dd28a - <unknown>
   7:     0x5564a11dd0c7 - <unknown>
   8:     0x5564a11db6e4 - <unknown>
   9:     0x5564a11dcdf9 - <unknown>
  10:     0x5564a0dfc6e3 - <unknown>
  11:     0x5564a0dfc7d3 - <unknown>
  12:     0x5564a0e273f3 - <unknown>
  13:     0x5564a0e3a89c - <unknown>
  14:     0x5564a0e35053 - <unknown>
  15:     0x5564a0e5ea19 - <unknown>
  16:     0x5564a11d2c16 - <unknown>
  17:     0x5564a0e3ad52 - <unknown>
  18:     0x7fc31bbc8290 - <unknown>
  19:     0x7fc31bbc834a - __libc_start_main
  20:     0x5564a0dfc985 - <unknown>
  21:                0x0 - <unknown>

What happened leading up to this?  It looks like we panicked trying to remove the old socket file -- permission denied.  This could happen if you accidentally ran wired as root or something.  A restart fixes it because /tmp gets cleared on restart.  You could also manually remove the file and it would be fine.
I'll add a note to the panic about removing the file manually and explaining the issue, but otherwise there's no way we can really handle this.

I was playing with user groups and running processes with different users. So that explains it all :sweat_smile:


Detach TelemetryType from SchemaType

Goal

Testing

Release Notes

WHAT:
WHY:
WHO:

#634  👈
master

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @bidetofevil and the rest of your teammates on  Graphite


Update CONTRIBUTORS.md

Thanks kyzn!

Hi @bigfatcoder, thanks for your PR! Please note that this repo is not included in the hacktoberfest, so this PR will not count towards it. Details here: https://hacktoberfest.digitalocean.com/resources


Switch to SHA256 code signing

Hey, thanks for this great software, it's really nice to have uninstallation tool that's open source and not packed with adware.
Since there are practical(ish) breaks for sha1, could you sign the next releases with sha256.
https://shattered.io/
https://sha-mbles.github.io/
Thanks

Thank you for letting me know, next release will be signed with SHA256.


Adds plugin compatibility

Adds a note about plugin compatibility.
Checklist

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

Thanks @kolchfa-aws this might need another update just for 2.4.0.
We have 4 plugins added just in 2.4.0.
https://github.com/opensearch-project/neural-search
https://github.com/opensearch-project/security-analytics
https://github.com/opensearch-project/security-analytics-dashboards-plugin/
https://github.com/opensearch-project/dashboards-search-relevance

There is also another file for dashboards plugin.


Developers need Contained in information

Because this document doesn't have Contained in information, it's hard for developers to understand expected parent element.
Would you please consider to add Contained in information as like RequestedHeight element page ?
https://docs.microsoft.com/en-us/office/dev/add-ins/reference/manifest/requestedheight

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

ID: af787b7c-c69c-762b-59c8-53bda7a56024
Version Independent ID: 805c4596-7aff-f93a-bf35-61c01d570742
Content: RequestedWidth element in the manifest file - Office Add-ins
Content Source: docs/reference/manifest/requestedwidth.md
Product: non-product-specific
Technology: add-ins
GitHub Login: @o365devx
Microsoft Alias: o365devx

@NT-D Thanks for raising this issue.
@Rick-Kirkham Can you take a look?
Thanks.

This was fixed as a side effect of this commit: https://github.com/OfficeDev/office-js-docs-pr/commit/499f1417aae79173437e894f82f301cbc1c1ad5c#diff-5a8cac22d242af2f0179e0f7adf07d15

thank you!


Quotes inside codeblocks removes all formatting

Description
When using MarkdownTextInput the written text is formatted properly. However, when pasting some markdown text, the pasted text is not formatted. Even if I erase and type again, the text formatting does not update.
I didn't find if its intentional, but I believe its not, so I opened the issue.
Platform
This bug is on Android. I can't check if its present on other platforms.
Other details
React Native version: 0.73.4
@expensify/react-native-live-markdown version: 0.1.5
Android's version: 13
JS Engine: Hermes
Archtecture: Old

@viniciusyoshioka Thanks for opening this issue. Would you be able to share with us a screen recording that shows the problem so we have a better understanding on how to reproduce it?

@tomekzaw Yes, sure!
https://github.com/Expensify/react-native-live-markdown/assets/71671043/52ee9a5e-b6a8-4121-ba94-4ea3df15b672
Screen recording 1
https://github.com/Expensify/react-native-live-markdown/assets/71671043/9998bb19-584c-4a29-96dd-1627090427b0
Screen recording 2
In "Screen recording 1", I reproduced the problem. After typing some markdown text, I paste another text and then the formatting is not applied in the whole component.
While recording, I realized something that can be a real bug, and recorded it in "Screen recording 2". The formatting seems to be working fine, even when pasting text, I'm sorry for not testing more before.
But I found what is causing this. Having single or double quotes inside code block (the one with 3 backticks), removes the whole formatting. After erasing the quotes from inside the code block, the formatting returns.

@viniciusyoshioka Thank you very much for preparing the screen recordings and your investigation.
You are right, there is a bug in parsing blockquotes if they contain characters like ", ', & and some others.
If there is a bug while parsing Markdown, we simply remove all formatting. This also helps us identify such cases.
I believe this has been already adressed by @robertKozik, we will submit a PR with a fix. Thank you!

Hi @viniciusyoshioka Once again thanks for reporting this issue! The issue is indeed inside the parser, as to be more precise data inside the codeblock was escaped twice - which was breaking our checks. That leads to remove the formatting.
This PR should resolve this problem: https://github.com/Expensify/react-native-live-markdown/pull/140

Hi @robertKozik!
I have tested the pull request with every character available in my keyboard and it is working perfectly.
Thank you @tomekzaw and @robertKozik for the quick fix!


Error in the length of ref line in two xodr maps

the length of the single ref line is much larger than the total length of ref line which denoted in <road>

we also have to make sure to change that map then in the scenario database.

And in Bark-ML


Nested File Based routing isn't working properly

Describe the bug
File-based routing with nested routes alway sets the parent component to root instead of the actual parent.
Your Example Website or App
https://github.com/KaisSalha/tanstack-router-file-based
Steps to Reproduce the Bug or Issue

go to /dashboard/skills

It should print the Dashboard from the parent component. It doesn't.
Expected behavior
As a user, I expected the Skills route to fit into the Dashboard route's Outlet
Screenshots or Videos
No response
Platform

OS: macOs
Browser: Chrome
Version: 120.0.6099.199

Additional context
No response

You need to create a separate route for /dashboard, you only have one for the index route /dashboard/.
I fixed your example, see https://github.com/KaisSalha/tanstack-router-file-based/pull/1/files

@schiller-manuel Thanks!


Dht script: export raw data as csv

part of #3463

Coverage remained the same at 68.685% when pulling 40ffa1abf1165cb31b45d0bfce889cd235242839 on dht_script_export_data into 3f6fe995b89f070fe26e77d7db38bb001fbf6596 on master.


added graph problem of connected components

it checks if a given graph is connected or not

could you please accept my pull request as this is one of my first attempts at making a proper open source contribution


DDO-2531 Automatically deploy duos to dev after PR merge [low]

This PR is a small CI/CD change that shamelessly copies @jack-r-warren's build reporting workflow to DUOS, so that new DUOS builds are automatically deployed to dev on PR merge.

Have you read Terra's Contributing Guide lately? If not, do that first.

Label PR with a Jira ticket number and include a link to the ticket
Label PR with a security risk modifier [no, low, medium, high]
PR describes scope of changes
Get a minimum of one thumbs worth of review, preferably two if enough team members are available
Get PO sign-off for all non-trivial UI or workflow changes
Verify all tests go green
Test this change deployed correctly and works on dev environment after deployment

hey @otchet-broad, let me clarify: since forever, deploys to Terra's dev environment have only been triggered on commits to firecloud-develop's dev branch. If it seemed like duos was being automatically deployed to dev before, what was likely happening is that at roughly the same time or shortly afterwards, someone else merged a commit to firecloud-develop which re-deploys all services in dev.
This PR is an improvement on that behavior, to always trigger duos to be deployed to dev when a PR is merged, regardless of whether someone has touched firecloud-develop recently.
Consent and ontology should also be updated to use these new workflows, and it would be fantastic if you could make those PRs when you have a chance. I will note that PR merges to those repos also cause commits to firecloud-develop's dev branch, so making those changes aren't as urgent (they are already being auto-deployed).


Create gitbook of docs

@jbhatab and I are working on this. We'll use this issue to track items of interest.

https://github.com/GitbookIO/gitbook/issues/1184
https://github.com/reactjs/redux/issues/345: lots of links to what redux did.
@gaearon: "I would recommend looking at http://moox.io/statinamic/"

@judahmeek, check this out.

Example:

https://github.com/yelouafi/redux-saga/tree/master/docs

http://yelouafi.github.io/redux-saga/

https://github.com/reactjs/redux

http://redux.js.org/

We did it! Thanks @Judahmeek!


Some proposed changes

@simonbray thanks a lot. There are too many changes in this PR, it that correct?

Will have another look at this this week, don't merge yet


Pending transactions dont clear, no way to interact with them

While testing a DApp I had a transaction get sent but never confirmed or cancelled so it sat in pending forever. Currently pending transactions have no way to clear anywhere in the wallet UI (that I can see).  This blocks all other transactions from moving.
I know this is more of a 'feature request' just thought I would mention it here as maybe someone has a solution or at least the team is aware of it.

Thanks for the report. This feature is being considered for the next releases of Temple

fixed


Add more advanced models

At the moment, I'm mainly interested in

delta-SPH
elasto-plastic type models
fluid granular models e.g. MuI.

Could try to make use of function pointers so users can write their own models.