Rawgit URL not work anymore

I don't know why but my math repo was working and I was making ready for my student and teachers in university but that day none of svgs worked
After that I found that rawgit is ended,
Can you see it, maybe I'm wrong ?!!
If it's true can you change the URL for rawgit
Thanks
I change the source code for myself and it's worked
How ever maybe I'm wrong about this.
Thanks for this handy tools
Hail Mathematics for ever

One question :
Can the readme2tex make the svgs url locally
For e.g :
when I render the file
The url of svg being like this :

If this can be done we don't need any online services and I think it will work on github too

Hello @JARVIS-AI,
Yes, the rawgit service is ending or has ended (https://rawgit.com/), so this creates an issue with the images not being displayed.
As a work around, I edit the links after running readme2tex on my README.md, such that the SVGs are displayed locally on GitHub without the rawgit link.
While waiting for an internal bug fix, I could recommend that we use a pre-commit hook which can edit the links for us. I will test it out and post a version here.

Based on my experiments, the following pre-commit hook solves the issue (in an improvised manner). It essentially re-creates the link to the svg files as local files on your github. This is assuming you have a folder named "svgs" on your master branch. It also removes centering, which is a personal preference.
Lastly, it removes svgs in your svgs/ folder that are not being used in your README.md. This ensures only necessary files are present on your repository.
To use this file, essentially copy its contents to a file named "pre-commit" within your local repository's /.git/hooks directory.
Hope this helps!
#!/bin/sh
#
# An example hook script to verify what is about to be committed.
# Called by "git commit" with no arguments.	The hook should
# exit with non-zero status after issuing an appropriate message if
# it wants to stop the commit.
#
# To enable this hook, rename this file to "pre-commit".

b=$(find README.md 2>/dev/null)
c=$(find svgs/)

if [ ${#b} -gt 0 ] && [ ${#c} -gt 0 ]
then
	# to remove centering of images, this is a personal preference
	sed -i "s| align=\"center\"||g" README.md
	# these help to remove the faulty links
	sed -i "s|img src=.*/svgs|img src=\"/svgs|g" README.md
	sed -i "s|\?invert\_in\_darkmode||g" README.md
	svgs=$(cat README.md | grep -oP "/svgs.*.svg" | sed "s|/svgs/||g")
	del=$(find svgs/*.svg | grep -v "$svgs")

	if [ ${#del} -gt 0 ]
	then
		rm $del
	fi
fi

if git rev-parse --verify HEAD >/dev/null 2>&1
then
	against=HEAD
else
	# Initial commit: diff against an empty tree object
	against=4b825dc642cb6eb9a060e54bf8d69288fbee4904
fi

# If you want to allow non-ASCII filenames set this variable to true.
allownonascii=$(git config --bool hooks.allownonascii)

# Redirect output to stderr.
exec 1>&2

# Cross platform projects tend to avoid non-ASCII filenames; prevent
# them from being added to the repository. We exploit the fact that the
# printable range starts at the space character and ends with tilde.
if [ "$allownonascii" != "true" ] &&
	# Note that the use of brackets around a tr range is ok here, (it's
	# even required, for portability to Solaris 10's /usr/bin/tr), since
	# the square bracket bytes happen to fall in the designated range.
	test $(git diff --cached --name-only --diff-filter=A -z $against |
	LC_ALL=C tr -d '[ -~]\0' | wc -c) != 0
then
	cat <<\EOF
	Error: Attempt to add a non-ASCII file name.

	This can cause problems if you want to work with people on other platforms.

	To be portable it is advisable to rename the file.

	If you know what you are doing you can disable this check using:

	git config hooks.allownonascii true
EOF
	exit 1
fi

# If there are whitespace errors, print the offending file names and fail.
exec git diff-index --check --cached $against --

Thanks for a temp script or fix thanks
Hope the new version be out with full fix
I will test the shell script and give the result

This is still an issue, and would love to see a fix that removes reliance on rawgit and instead links images to the svgs/ folder directly.

	sed -i "s|img src=.*/svgs|img src=\"/svgs|g" README.md
	sed -i "s|\?invert\_in\_darkmode||g" README.md
        # find all used svgs
	svgs=$(cat README.md | grep -oP "/svgs.*.svg" | sed "s|/svgs/||g")

I found that the following regular expressions worked better, when combined with --nocdn. Fixes a problem when having multiple images on the same line.
	sed -i "s|img src=\"\([^/]\)|img src=\"/\1|g" README.md
	sed -i "s|\?invert\_in\_darkmode||g" README.md
        # find all used svgs
	svgs=$(cat README.md | grep -oP "/svgs.*?.svg" | sed "s|/svgs/||g")

For ‘’nocdn’’
Yes it worked for times
Needed to be updated for another cdn or self services server for better work any where not just locally or offline

Also you probably don't want to do

        git add .

but instead

        git add svgs/ README.md


Row selection: Additions to demo app to help us understand UX related issues with controls in cells

We should expand our row selection demo such that it includes input controls in cells to help us explore UX impact with regard to selection.
The ask here is to add a columns with a checkbox, button and text input respectively so we can work to understand if/how selection works under these circumstances and whether row selection makes sense under these real world conditions.

Upon reviewing the Clarity documentation our docs state that selection is not recommended when the row contains other clickable items. We are not going to modify the grid to illustrate an unsupported condition.
https://clarity.design/documentation/datagrid/selection
Depending on the use case, you might want to allow selection when clicking anywhere in the grid row. Note that this is not recommended when the rows contain clickable items. For example, if your cells contain input, buttons, etc. it is best to avoid enabling whole row selection.


⚠ SceneTime has degraded performance

In c920f0f, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 1617 ms

Resolved: SceneTime performance has improved in 40f1b42 after 8 minutes.


ROADMAP: convert roadmap to markdown table

Our current ROADMAP is a list of bullet points, which makes it hard to see what's up-next, being worked on, or has priority. This changes that.
I converted our ROADMAP.md file to contain Markdown tables which have emoji representing their status. The statuses that I added are:

:ship: - Completed
:construction: - In Progress
:soon: - Up next
:no_entry_sign: - Blocked

I also proposed a new method of keeping track of the ROADMAP wherein we keep completed items on the ROADMAP until we release a version of LFS, to create an opportunity to prune and discuss the ROADMAP after each release.
I'm curious to hear thoughts on these emoji, the tables, or the process. Thanks! 👋

I like the way this table looks, vs the list. My main worry is that we won't keep it updated, though. I think it's worth merging though.


Last updated date for posts

Discussed in https://github.com/hugo-sid/hugo-blog-awesome/discussions/94

Originally posted by randomodbuild August  8, 2023
Just looking to add support for the lastmod entry in the frontmatter and have the last updated date also show next to the post date.

We prefer to use discussions for feature requests.
This request has already been addressed https://github.com/hugo-sid/hugo-blog-awesome/discussions/94.

We prefer to use discussions for feature requests.
This request has already been addressed https://github.com/hugo-sid/hugo-blog-awesome/discussions/94.


Add State information to the post

The posts just have the town name but adding states seems very reasonable.

Added with https://github.com/watmildon/SmallCityMastodonBot/commit/db86b4537688b64057379b3341f62559aa5effa5


Calculation of PA

The calculation of point-adjust (PA) is done differently than described in the paper.
It reads:

if any point in an anomaly segment in the ground truth can be detected by a chosen threshold, we say this segment is detected correctly, and all points in this segment are treated as if they can be detected by this threshold.

However, this implementation only counts a segment as detected if more than theta_r % of the segment is detected.
This corresponds to the PA%K protocol proposed by Kim et al.
An small example:
import eTaPR_pkg as etapr
import numpy as np

y = np.ones(11)
y_hat = np.zeros(11)
y_hat[0] = 1

print(etapr.evaluate_w_streams(y, y_hat))
>>>  {..., 'point_adjust_precision': nan, 'point_adjust_recall': 0.0 }

With theta_r = 0.0, we get the expected result:
print(etapr.evaluate_w_streams(y, y_hat, theta_r=0.0))
>>> {..., 'point_adjust_precision': 1.0, 'point_adjust_recall': 1.0}

You're right.
I was confused about what the threshold is, so I regard it as theta_r.
As soon as possible, I will update the correct PA.
Thanks for your comment.

Just a small follow up. A theta_r=0.0 is incorrect and counts anomalies that have not been detected by any point. A very small value suffices.
import eTaPR_pkg as etapr
import numpy as np

y = [0, 1, 1, 1, 0, 1, 1, 0]
y_hat = [0, 1, 0, 0, 0, 0, 0]

print(etapr.evaluate_w_streams(y, y_hat, theta_r=0.0))
>>> {..., 'point_adjust_precision': 1.0, 'point_adjust_recall': 1.0}

print(etapr.evaluate_w_streams(y, y_hat, theta_r=1e-8))
>>> {..., 'point_adjust_precision': 1.0, 'point_adjust_recall': 0.6}

A theta_r is used for eTaPR, which is a new metric for time-series anomaly detection. I think that it seems to be correct (please see Eq.2 in the paper: eTaPRhttps://dl.acm.org/doi/abs/10.1145/3477314.3507024?casa_token=y37qw4upta0AAAAA:n9jv9GkkGb7c6RP-ySD-kMZsT1_o-JMjOjuDnIFU5EqYQd9l3WspSzPHKrtQOXU1HqM1SnJF6zgAjA). If you want to use "point-adjust ones" in my package, it seems to be better to assign a small value for theta_r (as you already did).

I should've made my issue more clear, and I used these examples just to show the result of the calculation. The error is in line 263 in etapr.py. The theta_r is used for the calculation of the point-adjust metrics and thus changes with it. Instead, PA should be independent of it (a small constant).

I think my last update would be reflect your comment.
I use a small value, 1e-10, for theta_r in the point-adjust metrics.
Could you check the lastest version?


Adds Propagation, which decouples B3 implementation from framework code

Before, we had the same algorithm for encoding B3 copy pasted a couple
times. This centralizes it into a new type Propagation, and starts the
decoupling of how in-band propagation works from what is reported
out-of-band. The design uses the same terminology as OpenTracing.
This will make B3 maintenance easier as it is in one place. It also
decouples grpc from an incidental dependency on brave-http. Finally, it
allows us to refactor how span data is reported (something orthogonal to
how ids are propagated).
Future change will build on this to make interceptors more flexible,
particularly allowing custom tags to be added via composition as opposed
to inheritance.

I've extracted the B3 stuff cleanly now. next step is to use the Propagation type directly instead of via the http request adapters.

ok tidied it all up, notably borrowing some concepts from OpenTracing (like injector/extractor)

I want to rebase this over retrolambda as it will remove a lot of cruft https://github.com/openzipkin/brave/pull/283/files

ok all rebased and tidied. I will rework my other PR on top of this to verify it operates as planned

put a lot of effort into this, and pretty good, but not merging until I'm sure it won't need to change. eta a couple days

this will arise again as a part of https://github.com/openzipkin/brave/issues/284


Add org repo creation support

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

[x] Refactor
[x] Feature
[ ] Bug Fix
[ ] Optimization
[ ] Documentation Update

Description
This PR adds Organization repo creation
Added to documentation?

[x] readme
[ ] no documentation needed

[optional] What gif best describes this PR or how it makes you feel?

closing in favour of #34


fix log with ehpa specificReplicas

What type of PR is this?
fix log with ehpa specificReplicas
What this PR does / why we need it:
This field is a pointer, so what is printed in the log is the address. Change to use pointer value instead.
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

/LGTM


splunk_hec exporter sending events larger than default HEC maxEventSize

Hey Team,
In working with multiple cloud customers, I am seeing the OTel collector frequently encountering 400 Bad Request exporter error:
2023-03-15T19:07:28.615Z   error	exporterhelper/queued_retry.go:394  Exporting failed. The error is not retryable. Dropping data.   {"kind": "exporter", "data_type": "logs", "name": "splunk_hec/platform_logs", "error": "Permanent error: \"HTTP/1.1 400 Bad Request\\r\\nContent-Length: 65\\r\\nAlt-Svc: h3=\\\":443\\\"; ma=2592000,h3-29=\\\":443\\\"; ma=2592000\\r\\nContent-Type: application/json; charset=UTF-8\\r\\nDate: Wed, 15 Mar 2023 19:07:28 GMT\\r\\nServer: Splunkd\\r\\nVary: Authorization\\r\\nVia: 1.1 xxxxx\\r\\nX-Content-Type-Options: nosniff\\r\\nX-Frame-Options: SAMEORIGIN\\r\\n\\r\\n{\\\"text\\\":\\\"Invalid data format\\\",\\\"code\\\":6,\\\"invalid-event-number\\\":75}\"", "dropped_items": 966}

When checking on the Splunk side we can see this due to an event in the batch exceeding default event limit of 5MB
03-16-2023 02:45:48.988 +0000 ERROR HttpInputDataHandler [16637 HttpDedicatedIoThread-0] - Failed processing http input, token name=exampleCluster, channel=n/a, source_IP=x.x.x.x, reply=6, events_processed=0, http_input_body_size=7600767, parsing_err="While expecting event's raw text: String value too long. valueSize=5248313, maxValueSize=5242880, totalRequestSize=7600767"

inputs.conf.spec
maxEventSize = <positive integer>[KB|MB|GB]
* The maximum size of a single HEC (HTTP Event Collector) event.
* HEC disregards and triggers a parsing error for events whose size is
  greater than 'maxEventSize'.
* Default: 5MB

https://docs.splunk.com/Documentation/SplunkCloud/latest/Data/TroubleshootHTTPEventCollector
The HEC exporter is supposed to have a limit of 2MiB by default, so wondering if we have an edge case where the limit is not respected? My intial hunch is it may be possibly due to our default recombine operator, as k8s container engines would be splitting anything over 8192 in containerd or 16384 in Docker....
max_content_length_logs (default: 2097152): Maximum log payload size in bytes. Log batches of bigger size will be broken down into several requests. Default value is 2097152 bytes (2 MiB). Maximum allowed value is 838860800 (~ 800 MB). Keep in mind that Splunk Observability backend doesn't accept requests bigger than 2 MiB. This configuration value can be raised only if used with Splunk Core/Cloud. When set to 0, it will treat as infinite length and it will create only 1 request per batch.

Customers will file tickets internally, please have a look and advise.

Ah Ok! I will test this locally, so it does seem to be the default recombine rules combining partial logs into one large log over the limit?
I am curious as to why the hec exporter max_content_length_logs doesn't get enforced...I assume it's logic is not looking at the recombined attributes.log or someting?

I have successfully replicated this issue by enabling compression on the exporter and generating sample events over 5MB.
When compression is disabled, the exporter does not allow the batches to be sent due to the max_content_length
https://github.com/signalfx/splunk-otel-collector-chart/blob/34718752a1d602aef5cd066a0d35fd8f30cdb094/helm-charts/splunk-otel-collector/values.yaml#L48
2023-03-21T15:02:10.913Z	error	exporterhelper/queued_retry.go:394	Exporting failed. The error is not retryable. Dropping data.	{"kind": "exporter", "data_type": "logs", "name": "splunk_hec/platform_logs", "error": "Permanent error: dropped log event error: event size 5248947 bytes larger than configured max content length 2097152 bytes", "dropped_items": 1}

However when compression is enabled, we no longer it the max content length and the events are sent to splunk where they are rejected:
2023-03-21T14:47:17.526Z	error	exporterhelper/queued_retry.go:394	Exporting failed. The error is not retryable. Dropping data.	{"kind": "exporter", "data_type": "logs", "name": "splunk_hec/platform_logs", "error": "Permanent error: \"HTTP/1.1 400 Bad Request\\r\\nContent-Length: 64\\r\\nConnection: Keep-Alive\\r\\nContent-Type: application/json; charset=UTF-8\\r\\nDate: Tue, 21 Mar 2023 14:47:17 GMT\\r\\nServer: Splunkd\\r\\nVary: Authorization\\r\\nX-Content-Type-Options: nosniff\\r\\nX-Frame-Options: SAMEORIGIN\\r\\n\\r\\n{\\\"text\\\":\\\"Invalid data format\\\",\\\"code\\\":6,\\\"invalid-event-number\\\":4}\"", "dropped_items": 5}
[go.opentelemetry.io/collector/exporter/exporterhelper.(*retrySender).send](http://go.opentelemetry.io/collector/exporter/exporterhelper.(*retrySender).send)
	[go.opentelemetry.io/collector@v0.70.0/exporter/exporterhelper/queued_retry.go:394](http://go.opentelemetry.io/collector@v0.70.0/exporter/exporterhelper/queued_retry.go:394)
[go.opentelemetry.io/collector/exporter/exporterhelper.(*logsExporterWithObservability).send](http://go.opentelemetry.io/collector/exporter/exporterhelper.(*logsExporterWithObservability).send)
	[go.opentelemetry.io/collector@v0.70.0/exporter/exporterhelper/logs.go:135](http://go.opentelemetry.io/collector@v0.70.0/exporter/exporterhelper/logs.go:135)
[go.opentelemetry.io/collector/exporter/exporterhelper.(*queuedRetrySender).start.func1](http://go.opentelemetry.io/collector/exporter/exporterhelper.(*queuedRetrySender).start.func1)
	[go.opentelemetry.io/collector@v0.70.0/exporter/exporterhelper/queued_retry.go:205](http://go.opentelemetry.io/collector@v0.70.0/exporter/exporterhelper/queued_retry.go:205)
[go.opentelemetry.io/collector/exporter/exporterhelper/internal.(*boundedMemoryQueue).StartConsumers.func1](http://go.opentelemetry.io/collector/exporter/exporterhelper/internal.(*boundedMemoryQueue).StartConsumers.func1)
	[go.opentelemetry.io/collector@v0.70.0/exporter/exporterhelper/internal/bounded_memory_queue.go:61](http://go.opentelemetry.io/collector@v0.70.0/exporter/exporterhelper/internal/bounded_memory_queue.go:61)

Well, this looks like a bug to me.
I wrote a script which compresses 8+MiB data and sends it to splunk and splunk accepts it.
But when the same data is ingested through splunkhecexporter, it throws error as above.
Script:
import gzip
import requests
import json
headers = {
    "Authorization":  "Splunk 00000000-0000-0000-0000-000000000000",
    "Content-Encoding": "gzip",
    "Content-Type": "application/json"
}
body = json.dumps({"event":json.loads(open("test3.txt","r").read()), "sourcetype":"manual"})
data = gzip.compress(bytes(body, encoding="utf-8"))
rs = requests.post( "http://x.x.x.x:8088/services/collector" ,data=data, headers=headers,)
print(rs)

File: test3.txt
cc: @atoulme @dmitryax

@matthewmodestino is maxEventSize before or after decompression of the event sent?

So here's a thing.
I wrote a script that sends compressed data to Splunk, but Splunk still rejects it.
Uncompressed size: 7MB, above Splunk limit
Compressed size: ~7KB
I think the setting maxEventSize is after decompression in Splunk.
Script:
import gzip
import requests
import json
headers = {
    "Authorization":  "Splunk 00000000-0000-0000-0000-000000000000",
    "Content-Encoding": "gzip",
    "Content-Type": "application/json"
}

long_string = "r"*(1024*1024*7) # ~7MiB string
body = json.dumps({"event":long_string,})
data = gzip.compress(bytes(body, encoding="utf-8"))
print("Compressed data size: ", len(data), "bytes")
print("Uncompressed data size: ", len(body), "bytes")
rs = requests.post( "http://x.x.x.x:8088/services/collector" ,data=data, headers=headers,)
print(rs.text)

cc: @atoulme @dmitryax

Yes Splunk will receive, decompress then parse/index.

Well, then this is a bug.
Before sending an event to Splunk, hec_exporter performs check on compressed data and sends it to Splunk.
I'll work on a fix and by that time I think we can utilize this truncate processor.

We can ask client to set disableCompression to True

simply re3moving compression is not an acceptable resolution. I am working with some high volume customers that rely on the compression to reduce the impact on the network.

We can do that on-prem but not in cloud. We will need to find a resolution to this in the collector logic.

@matthewmodestino, what I'm thinking:
1). introduce a new config variable, max_payload_size. This will be used to protect against huge payloads.
2). we'll apply this just before sending it to splunk, so we can set this limit as per our convenience. it can be 5MB by default.


Migrate github to use SSH keys

Bug fix
Fixed bug
This is a quality of life improvement. The old file uses https. However, now every time I clone a new workspace I need to manually switch to ssh before I push otherwise GitHub sends me angry emails with a depreciation notice. For more info see: https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/
Fix applied
The fix is simply changing the urls to use ssh instead.

This is better done by individuals. Getting ssh git to work in docker is  :skull:

Another reason ssh URLs can't be used is that anyone not logged into GitHub can't use the repos file.

For reference, here's what I put into my ~/.gitconfig folder to deal with this:
[url<EMAIL_ADDRESS>        insteadOf = https://github.com/


Switch OdspTestDriver.driverIdCache to use PromiseCache

e.g. if getDriveId below rejects, that cache key will be burned, since you don't remove it in a .catch, but PromiseCache takes care of that for ya.
Originally posted by @markfields in https://github.com/microsoft/FluidFramework/pull/5548#discussion_r602576195

Underlying problem was fixed anyway in #7759


Creating an advanced LLM Copilot Extension for VS Code IDE

Is your feature request related to a problem? Please describe.
This extension was developed to enhance coding efficiency by integrating advanced language models like Llama 3.1, OpenAI’s GPT-3.5-turbo, and Gemini 1.5. These models offer powerful code generation, suggestion capabilities, and the ability to solve complex coding problems. The extension is designed with a user-friendly interface and can be easily integrated into your existing workflow.
Describe the solution you'd like
Solutions implemented through:
Model Integration: Supports switching between Llama 3.1, GPT-3.5-turbo, and Gemini models.
Code Generation: Generates code snippets, solves LeetCode & DSA problems, and supports autocompletion
User-Friendly Interface: Simplified design for ease of use, allowing users to interact with the AI seamlessly
Describe alternatives you've considered
LLM Copilot Extension in VS Code
Introduction:
Welcome to the documentation for the VS Code Copilot Extension, which I created. This extension was developed to enhance coding efficiency by integrating advanced language models like Llama 3.1, OpenAI’s GPT-3.5-turbo, and Gemini 1.5. These models offer powerful code generation, suggestion capabilities, and the ability to solve complex coding problems. The extension is designed with a user-friendly interface and can be easily integrated into your existing workflow.
Prerequisites:
Before using this extension, we need to ensure that we have the following installed on our system:
Visual Studio Code (version 1.92.0 or higher)
Node.js (for running the extension)
TypeScript (for compiling TypeScript files) Additionally, we need to make sure that we have access to API keys from Together.ai, Groq, OpenAI, or other supported providers to interact with the language models.
Installation:
First we clone this repository
We then run “npm install” to install all necessary dependencies.
Thereafter , we use the command npm run compile to compile the TypeScript files.
Now to test the extension,we need to press F5 in VS Code to open a new window with the extension running or run the following command in terminal window : code --extensionDevelopmentPath=D:\Extension\extension\ ( according to our exact file location path)
Overview of package.json
The package.json file is crucial as it defines the extension’s metadata, dependencies, and commands. Key elements include:
Name and Version: The extension is named codesuggestion with version 0.0.1.
Engines: Specifies compatibility with VS Code version 1.92.0 or higher.
Contributes: Defines the command extension.openChat to open the chat interface.
Scripts: Includes commands for compiling TypeScript, linting, and testing.
Dependencies: Includes axios for API calls and development dependencies for TypeScript, linting, and testing.
Setting Up the Command in extension.ts:
The extension.ts file contains the core logic:
Imports: Includes necessary modules like vscode and axios.
Activate Function: The entry point when the extension is activated, where the command extension.openChat is registered.
Webview Setup: The command triggers a Webview panel that displays the chat interface, allowing users to interact with the AI.
Making API Calls to AI Models:
The getCodeSnippet function is central to the extension’s operation:
Functionality: Sends a POST request to the selected AI model's API, passing the user’s query.
Response Handling: The response is processed and the code snippet is returned and displayed in the Webview.
User Interface:
The user interface is designed using HTML, CSS, and JavaScript:
Chat Interface: Users can input queries and select the desired AI model from a dropdown menu.
Response Display: The AI’s response is displayed in a code block format for easy copying and pasting.
Features:
Model Integration: Supports switching between Llama 3.1, GPT-3.5-turbo, and Gemini models.
Code Generation: Generates code snippets, solves LeetCode & DSA problems, and supports autocompletion
User-Friendly Interface: Simplified design for ease of use, allowing users to interact with the AI seamlessly

Approach to be followed (optional)
A clear and concise description of the approach to be followed.
Additional context
Add any other context or screenshots about the feature request here.

@UppuluriKalyani Please review once


⚠ ClamAV has degraded performance

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

HTTP code: 200
Response time: 201 ms

Resolved: ClamAV performance has improved in a9f3c5e.


Unarchive repo and update maintainers

Unarchive repo and assign Chris Elder as a maintainer.
Retire Matthew White and James Taylor.

We should be able to change Dockerfile2 to upgrade the go image to 1.22
FROM golang:1.18 AS builder
to
FROM golang:1.22 AS builder


chore(deps): run pnpm i to fix lockfile

PR Checklist

[ ] Addresses an existing open issue: fixes #000
[ ] That issue was marked as status: accepting prs
[x] Steps in CONTRIBUTING.md were taken

Overview

I am assuming a previous Renovate PR was merged stale (sorry!) and prevents other PRs such as #291 to pass CI. I will be on the lookout for this going forward.

@all-contributors please add @astorije for maintenance.

🤖 Beep boop! This comment was added automatically by all-contributors-auto-action.
Not all contributions can be detected from Git & GitHub alone. Please comment any missing contribution types this bot missed.
...and of course, thank you for contributing! 💙


Update index.html

Improved interface of the stopwatch

can you please add the screenshot fo the ui change


Update Ingress to non-beta version

Could someone please comment or approve this PR? The chart is using deprecated API's and will soon no longer install.

I've got changes that supersede this MR waiting in a branch, I just need some more time to get it all sorted out.

Any chance this can get looked at?

I would also need these changes

This has been superseded by Chris' efforts on the develop branch, specifically 8f28a0c775727c63bb45a95aab46ca5f3a28b6e2 - it's also a better solution than this PR, as it only uses non-beta Ingress on cluster that can handle it, rather than everywhere like this one does.
Closing this PR in favour of the already-existing changes.

That's great. Would it be possible to cut a release so usable can be possible on Kubernetes 1.22?


fix(no-callback-in-promise): false positives when the exception is an argument

What is the purpose of this pull request?

[ ] Documentation update
[x] Bug fix
[ ] New rule
[x] Changes an existing rule
[ ] Add autofixing to a rule
[ ] Other, please explain:

What changes did you make?
Fixes false positives when the exception is an argument of the promise call expression.

@MichaelDeBoey any chance to merge this? 🙏


Fix typo and add additional value in cypress

I noticed we have a typo in cypress tests so fixed it.

I will include this in 'Update dependecies' PR (#408 )


Create new submodule update target to run git submodule update

Resolves #59 at least partially. I have no need for the other submodule commands, but can start adding them if you would like.
My current project needed to perform submodule updates during the build process, so I added this functionality into grunt-git. I tried to maintain the current style, but did do one thing very differently: Instead of pushing options onto the args array individually, I do so in a loop that loops through an array of acceptableOptions. This way, only options that we are expecting will be passed to the child process, and those that might cause an error (e.g. verbose) will not be.
I'm happy to convert it to the more explicit method used elsewhere in this repo if you would prefer.
All CLI flags for git-submodule-update are supported by this patch, though I suspect that most folks will only use init and recursive.
I've also updated the README to include documentation for the new task, and added tests for each option.

It would be nice to have support for the git submodule update command via grunt-git. I've merged this branch into my own fork of grunt-git and combined it with some other needed commands and it's been working great.


fix: parse eip681 qr codes on send

Description
I still added eth-url-parser to the project, in order to parse eip681 values from scanning a QR code and push the right value to the input
If the value contains some parameters, it's basically ignored to avoid mistakes
It also fixes 2 bugs:

When you clear the address input, you could continue the flow, but you shouldn't be able to continue as the address is now cleared
When you scan a QR code, the input should be filled

Notice

[x] Have you followed the guidelines in our Contributing guide?
[x] Have you checked to ensure there aren't other open Pull Requests for the same update/change?

Pull Request Type

[x] :bug: Bug fix (Non-breaking Change: Fixes an issue)
[ ] :hammer_and_wrench: Chore (Non-breaking Change: Doc updates, pkg upgrades, typos, etc..)
[ ] :nail_care: New Feature (Breaking/Non-breaking Change)

Issue (if applicable)

closes #2059
Risk

QR Code scanning feature could be buggy
Testing

Go to an asset page (ethereum for example)
Click on send
Use Metamask, 1inch Wallet, MyCrypto (desktop), Coinbase Wallet QR code

Engineering

Go to an asset page (ethereum for example)
Click on send
Use Metamask, 1inch Wallet, MyCrypto (desktop), Coinbase Wallet QR code

Operations

Go to an asset page (ethereum for example)
Click on send
Use Metamask, 1inch Wallet, MyCrypto (desktop), Coinbase Wallet QR code

@NeOMakinG FYI ser https://github.com/shapeshift/web/pull/2822


support convtranspose and activation checkpointing

https://github.com/Project-MONAI/GenerativeModels/issues/410 support ConvTranspose to avoid F.interpolate limitation and activation checkpointing to save memeory.

Hi @marksgraham
I think enabling checkpointing in the VQ-VAE is a good point. I implemented it and added corresponding tests.
However, it is worth noting that currently, TorchScript does not support activation checkpointing. It will trigger the following NotSupportedError error:
torch.jit.frontend.NotSupportedError: Compiled functions can't take variable number of arguments or use keyword-only arguments with defaults: def checkpoint(function, *args, use_reentrant: bool = True, **kwargs):                                                              ~~~~~~~ <--- HERE     r"""Checkpoint a model or part of the model 'VQVAE.encode' is being compiled since it was called from 'VQVAE.forward'   File "/home/pengfeig/code/GenerativeModels/generative/networks/nets/vqvae.py", line 440     def forward(self, images: torch.Tensor) -> tuple[torch.Tensor, torch.Tensor]:         quantizations, quantization_losses = self.quantize(self.encode(images))                                                            ~~~~~~~~~~~~~~~~~~ <--- HERE         reconstruction = self.decode(quantizations)
So I removed TorchScript test case here.
I think for a similar reason, Walter removed TorchScript test case to support xformers package in AutoencoderKL. https://github.com/Project-MONAI/GenerativeModels/blob/20d517a7279774b90232de8bca107b65efe1f7b6/tests/test_autoencoderkl.py#L146


Shortcut to specify minimum Gradle Version using GRADLE_PLUGIN_API_VERSION_ATTRIBUTE for Gradle plugins

Expected Behavior
gradlePlugin {
  plugins.register("FooPlugin") {
    minGradleVersion.set(GradleVersion.version("8.0"))
  }
}

Current Behavior
class FooPlugin: Plugin<Project> {
  override fun apply(project: Project) {
    require(GradleVersion.current() >= GradleVersion.version("8.0")) {
      "FooPlugin requires at least Gradle 8.0"
    }
  }
}

Context
It is common for plugin authors to require a minimum Gradle version plugin and fail otherwise. Gradle 7 introduced the GRADLE_PLUGIN_API_VERSION_ATTRIBUTE, which is stable since Gradle 8.
This attribute allows the plugin author to remove the version check because Gradle checks the version attribute.
The only option to specify the current minimum version for a Gradle plugins is this "workaround":
configurations.configureEach {
    if (isCanBeConsumed) {
        attributes {
            attribute(GradlePluginApiVersion.GRADLE_PLUGIN_API_VERSION_ATTRIBUTE, objects.named<GradlePluginApiVersion>(GradleVersion.version("8.0").version))
        }
    }
}

While is code is valid, a shortcut in the GradlePlugin would be nice to set this attribute with less code.
The shortcut would use the same code under the hood.
If accepted, I can provide a PR.

Thank you for your interest in Gradle!
This feature request is in the backlog of the relevant team but this area of Gradle is currently not a focus one so it might take a while before it gets implemented.

Unfortunately, to support plugins with multiple variants for multiple Gradle versions, we would need to have a design discussion, specification, and so forth, but at the moment we don't have the bandwidth for that. Sorry, but no point in wasting your time on a PR right now.

Why do you need design and discussions? The GRADLE_PLUGIN_API_VERSION_ATTRIBUTE supports different variants out of the box without any changes, and the Kotlin Gradle plugin uses different Gradle variants.


Add unit test cases for Backend/Frames

This PR includes:

Unit test cases for Frames.h

@ethanjli PR is ready for review. thanks

This project is licensed under Apache License v2.0 for any software, and Solderpad Hardware License v2.1 for any hardware - do you agree that your contributions to this project will be under these licenses, too? Yes.
Were any of these contributions also part of work you did for an employer or a client? No.
Does this work include, or is it based on, any third-party work which you did not create? No.

Let's merge the latest version of develop back into this branch, and then try running the firmware with these changes to ensure that there are no regressions or subtle merge conflicts. Afterwards, I'll mark the formal approval on Github.


Unable to install Vundle.

I am unable to install Vundle (I guess).  Because whenever I open mvim, I get the following errors:

My .vimrc file is as follows:

set nocompatible              " be iMproved, required
filetype off                  " required

" set the runtime path to include Vundle and initialize
set rtp+=/home/rameshsippy/.vim/bundle/Vundle.vim
call vundle#begin()
" alternatively, pass a path where Vundle should install plugins
"call vundle#begin('~/some/path/here')

" let Vundle manage Vundle, required
Plugin 'gmarik/Vundle.vim'

" The following are examples of different formats supported.
" Keep Plugin commands between vundle#begin/end.
" plugin on GitHub repo
Plugin 'Valloric/YouCompleteMe'
" plugin from http://vim-scripts.org/vim/scripts.html
" Plugin 'L9'
" Git plugin not hosted on GitHub
" Plugin 'git://git.wincent.com/command-t.git'
" git repos on your local machine (i.e. when working on your own plugin)
" Plugin 'file:///home/gmarik/path/to/plugin'
" The sparkup vim script is in a subdirectory of this repo called vim.
" Pass the path to set the runtimepath properly.
" Plugin 'rstacruz/sparkup', {'rtp': 'vim/'}
" Avoid a name conflict with L9
" Plugin 'user/L9', {'name': 'newL9'}

" All of your Plugins must be added before the following line
call vundle#end()            " required
filetype plugin indent on    " required

Also, .vim and .vimrc are in the same directory (as required).  Also, the .vim folder has bundle which in turn has Vundle.vim in it.  Everything looks good.  Not sure why I am still unable to run mvim (and install the plugins).
Could some one please please?

I also experienced this issue, but solved it by changing the Vundle.vim folder to just vundle. Might be worth adding it in the readme?


Addresses - Move edit menu far from the border

Please move edit menu far from the border
Actual

Expected

https://app.zeplin.io/project/5b379c2c38cb39e73e5f8889/screen/5c45b969564c153791420f4f

Yes, it just looks better.

Yes, it just looks better.

OK, can you assign me?

Ill move the issue into "in progress" yeah?


discussion: move repo to nodejs-tensorflow org

Hi @JIoJIaJIu, this issue is for this project to join the org nodejs-tensorflow. I got that you have also implemented few many tensorflow libraries like: nodejs-tensorflow/nodejs-tensorflow.
And I think before this project is going to be joined, we should have a clear definition how these repositories works together and unify the naming rule. That would be helpful for future community maintaining :)

Hello @yorkie, I am going now to switch on libtensorflow_cc.
I think you can start to move src/ to src/cc/framework/ in new branch (as libtensorflow_cc for example)
What about naming and convention - fill free to determine the rules. But I see we have really similar notation in cpp
What related javascript - the guys suggested to use Typescript and I found it's really useful for the project
Here I created the task for deeper drilldown
Can you please joint to slack also?
Cheers )

👍

I think you can start to move src/ to src/cc/framework/ in new branch (as libtensorflow_cc for example)

Nope, could we still work on this repository, because basic work has been done at this repository.

What about naming and convention - fill free to determine the rules. But I see we have really similar notation in cpp

What I said for naming is the repository name and org name, like nodejs-tensorflow and tensorflow-nodejs. We could unify this in merging time.

What related javascript - the guys suggested to use Typescript and I found it's really useful for the project

I don't think there is too guys make this suggestion, and I also think in current architecture, use JavaScript is more flexible and useful :)

Can you please joint to slack also?

My account is<EMAIL_ADDRESS>but the team doesn't invite me that I could not join :)
Ok, basically this is what my replies to your above propose, I think still there are few things to talk about then, but it's good start, let's fix it one by one :)

By the way, anyone feel free to join the discussion and build the tensorflow nodejs community together :)

Nope, could we still work on this repository, because basic work has been done at this repository.

What is the problem? You are owner of the org, so we have the same access level. It would be better to have one shared single point of development

What I said for naming is the repository name and org name, like nodejs-tensorflow and tensorflow-nodejs. We could unify this in merging time.

We can ask googlers how would be better to name it, I took naming from there. But at the same time importing from python or package name in java has notation as tensorflow.lang so may be would be better to rename to tensorflow-node/js. Choose as you want, for me it's not big deal

I don't think there is too guys make this suggestion, and I also think in current architecture, use JavaScript is more flexible and useful :)

TypeScript is similar as javascript, look at it as improved Babel that allows you to speed up the development and improve consistency. You may look the video. I was really sceptic too, but the video changed my mind. I would like to have TypeScript as mandatory

My account is<EMAIL_ADDRESS>but the team doesn't invite me that I could not join :)

There is the link so you can register by your own
Resume:

is needed to have org, I suggest mine that is yours also cause there is the issues and small community history. Also we can rename it in new notation if you choose tensorflow-node/js. I suggest discuss it in pm on slack if you have any doubts
is needed to use TypeScript just because there is no any reason not to use it

What is the problem? You are owner of the org, so we have the same access level. It would be better to have one shared single point of development

This is not the problem of access level, it's I have implemented most works based on the architecture about js and cpp, I think moving some features from nodejs-tensorflow would be low-cost if you have no problems :)

TypeScript is similar as javascript, look at it as improved Babel that allows you to speed up the development and improve consistency. You may look the video. I was really sceptic too, but the video changed my mind. I would like to have TypeScript as mandatory

TypeScript is such that heavily, and having a extra obstacle for a developer that wants to read. Maybe we could build a nn library or model by TypeScript.

There is the link so you can register by your own

Joined.

I am going to do the work in the org repo in parallel then. Let stay on tune

Ok, let's just close this channel :)


aria-haspopout on dropdown button but not on button launches the modal

I would like to know why does the dropdown button has an aria-haspopout="true" (http://getbootstrap.com/components/#btn-dropdowns), but not on the button that launches the modal (http://getbootstrap.com/javascript/#live-demo).
Would it be a good idea to add it?

CC: @patrickhlauke

because as per https://www.w3.org/TR/wai-aria/states_and_properties#aria-haspopup a modal (in the very general sense used most commonly) is not a "popup context menu or sub-level menu"


Read write of custom complex attributes - lists, arrays, structs (CON-767)

I gave up trying to figure how to implement this. I think all of the necessary APIs are there, but I am not sure how to combine them all. I would be uses to have an a working example.
I switched over to using custom commands instead. But now I can't figure out how to return a structure from the command.
https://github.com/espressif/esp-matter/issues/631
This would be a good demo to add to the bridge examples. I need a custom cluster for bridge control so I am building one.  Attributes with things like how BLE address is mapped to EP.  Event saying a BLE device needs to be commissioned, way to pass in OOB data, etc.
For a first demo. Custom cluster with an array attribute showing BLEaddr -> EP mapping.  Then if you delete a row and write the attribute back, that device gets removed from the bridge. Next add another column for on/off-line status.

Complex attributes always have AttributeAccessInterface implementation for its cluster. so for the clusters defined in SPEC, when we create the complex attributes in those cluster, we will use a null pointer for it value as this attribute is managed internally.   If you are trying to create a custom cluster with complex attribute. we will recommend to use an AttributeAccessInterface implementation for it and call registerAttributeAccessOverride in the cluster's PluginServerInitCallback.

I've coded this up and it does work. However, it is complex to implement this on both the front and back sides. I'm exploring other ways to achieve what I need so that I can avoid this complexity.

I am able to do this, but it requires a lot of CHIP internal knowledge to do it.


Hadoop -ElasticSearch Execution Error, return code 2 from org.apache.hadoop.hive.ql.exec.mr.MapRedTask

I was working with the
https://github.com/hortonworks/hadoop-tutorials/blob/master/Community/T07_Elasticsearch_Hadoop_Integration.md example to understand the hadoop - elasticsearch .
But when i am using the query ,
INSERT OVERWRITE TABLE eslogs SELECT s.time, s.ext, s.ip, s.req, s.res, s.agent FROM logs s;
It gives me an error
Query ID = root_20150115064545_a1e25c83-335f-4ad7-aae6-52715c4c7e43
Total jobs = 1
Launching Job 1 out of 1
Number of reduce tasks is set to 0 since there's no reduce operator
Starting Job = job_1421294812769_0008, Tracking URL = http://sandbox.hortonworks.com:8088/proxy/application_1421294812769_0008/
Kill Command = /usr/hdp/<IP_ADDRESS>-2041/hadoop/bin/hadoop job -kill job_1421294812769_0008
Hadoop job information for Stage-0: number of mappers: 0; number of reducers: 0
2015-01-15 06:45:14,712 Stage-0 map = 0%, reduce = 0%
Ended Job = job_1421294812769_0008 with errors
Error during job, obtaining debugging information...
FAILED: Execution Error, return code 2 from org.apache.hadoop.hive.ql.exec.mr.MapRedTask
MapReduce Jobs Launched:
Stage-Stage-0: HDFS Read: 0 HDFS Write: 0 FAIL
Total MapReduce CPU Time Spent: 0 msec
Why this is happening? and how can i avoid this?

Changed the jar file into  elasticsearch-hadoop-2.1.0.BUILD-SNAPSHOT.jar; And it worked.


Differents height for images

Is your feature request related to a problem? Please describe.
For a web application, we let users upload images, but we end up with images of different sizes
Describe the solution you'd like
It is possible to have a height that changes according to the size of the images rather than the size of the images ?
Additional context
At the end of this slider, there is an example of Autoheight
I like your slider, very easy to use :)

Thank you for using our slider! I am sure you can do what you want - will make an example during the next day.

Not as easy as I thought. Had to use a bit of JS to make this one work.

    <button type="button" class="slider-nav" aria-label="Go to previous"></button>
    <button type="button" class="slider-nav slider-nav-next" aria-label="Go to next"></button>

        <button aria-label="Go to slide" class="active"></button>
        <button aria-label="Go to slide"></button>
        <button aria-label="Go to slide"></button>
        <button aria-label="Go to slide"></button>
        <button aria-label="Go to slide"></button>
        <button aria-label="Go to slide"></button>

Oh thank you !
But I think something gone wrong with your exemple, on the exemple page (I don't see the images).
Let's say, I include videos on the slider, this solution don't work.
And it's not working for the first image. The resize is only after I click on the next button for the second image.

If you want, this is the slider code on the page : https://www.canassonandco.com/canasson/rider/professionalinfo/3
3 slides, the first 2 images are jpg, the last is a video. So it change the code if the media is image or video.

Sorry to bother you but I think there is something I don't understand because my video makes the div have a height of 1px.

You must use the dev tools in your browser to find an element in the video slides that has the correct height - and then apply the class to that element.

Ok, it works thx.
One last question, the first image is not resized when you land on the page. Any idea? Thanks


Generate RTFNotes from Notes during build process

I basically hooked into the class that injects the HashURL so that it also injects RTFNotes. And the design is a little more modular now, so we can more easily inject other elements in the future, if needed.
I confirmed locally that dist files built in this branch differ from master only by the presence of RTFNotes (where appropriate) and the lack of whitespace mangling in plugindef.
I'm happy for any suggestions or questions.

(I'll submit a separate PR for the library function I'm working on to display RTFNotes with the new text editor control.)

Oh, I forgot to add pandoc to the GitHub runner. That'll be the next commit.

This PR can't be merged at the moment.

Fixed


Piano roll can't be added to UMG widgets due to bad instantiation logic

Need to make so that all music widgets 'expect' to get a 'scene manager' on creation and if they fail we'll give them some safe init, likewise no widget should crash if it doesn't have session data, so perhaps the base widget should implement some graceful handling of that.

fixed


Bug: Failed to load plugin obsidian-dynamic-highlights in new version of Obsidian

Bug
I just updated Obsidian from v0.14.15 to v0.15.6. Then some plugins including dynamic-highlights can't work normally.
Picture

Actually the version of the plugin I tested was v0.2.5. After I updated the plugin to v0.3.1, it can work normally. Maybe @nothingislost need to release the official edition instead of pre-release version. Thank you anyway!

0.3.1 is what's available in the official community plugins store

OK. Thanks！


Have to refresh every time you enter a new repo.

For some reason, the extension is not working properly. I have to refresh the page to get it to load correctly on every page.

Head over to my project. I'm trying to get this feature maintained again.


Add YARN support.

See YARN section of Readme.md

awesome, now notebook has been tested on all major cluster deployement!
Many thanks!


Page stuck at loading "Start creating views"

F12, there is error: Uncaught TypeError: Cannot read property 'mediapackage' of undefined
Attach the screenshot:

This looks like Chrome on Windows, can you confirm that?

@JulianKniephoff Yes, Chrome 68+ on Windows 10.

@JulianKniephoff I also tried on Edge, Windows 10, the same problem. I don't think it's dependent on browsers or OS.
What's worse is a 404 error occured when I recompiled Opencast & Annotation tool and deployed the annotation tool, because an error occured when compiling Opencast. I tried several days with no luck. So it will be very kind of you to provide a compiled jar file of this annotation tool for Opencast 5.0. I compiled them in Ubuntu 16.04.

This is rather a "support incident" than an issue with the software, and since there hasn't been any activity, I'm closing this now. Feel free to reopen/open a new ticket if you think this is still valid.


[Bug]: Table partition plan execution failed with to_date function

ODC version
ODC 4.3.2
OB version
No related
What happened?
The format of the pre-created SQL statements generated by the partitioning plan does not match.

What did you expect to happen?
Remove Spaces
How can we reproduce it (as minimally and precisely as possible)?
CREATE TABLE test_range_date (
col1 DATE
)
PARTITION BY RANGE (col1)
(
PARTITION p_2023_01 VALUES LESS THAN (TO_DATE('2023-01-01', 'YYYY-MM-DD')),
PARTITION p_2023_02 VALUES LESS THAN (TO_DATE('2023-02-01', 'YYYY-MM-DD')),
PARTITION p_2023_03 VALUES LESS THAN (TO_DATE('2023-03-01', 'YYYY-MM-DD')),
PARTITION p_2023_04 VALUES LESS THAN (TO_DATE('2023-04-01', 'YYYY-MM-DD')),
PARTITION p_2023_05 VALUES LESS THAN (TO_DATE('2023-05-01', 'YYYY-MM-DD'))
);
Anything else we need to know?
No response

fix in the next version


Scispacy library not working with medspacy.

Hello, I am trying to use the en_ner_bionlp13cg_md model with medspacy. This only seems to work if I disable the parser, which is a major appeal of medspacy, as seen below:
nlp = medspacy.load("en_ner_bionlp13cg_md", disable=['parser'])
This is successful, but I lose parsing.
If I run the following:
nlp = medspacy.load("en_ner_bionlp13cg_md")
text = "blahblahblah"
doc = nlp(text)
visualize_ent(doc)
I get the following error:
ValueError Traceback (most recent call last)
Input In [86], in <cell line: 2>()
1 text = "blahblahblah"
----> 2 doc = nlp(text)
3 visualize_ent(doc)
File c:\Users\ddefr\anaconda3\lib\site-packages\spacy\language.py:1054, in Language.call(self, text, disable, component_cfg)
1052 raise ValueError(Errors.E109.format(name=name)) from e
1053 except Exception as e:
-> 1054 error_handler(name, proc, [doc], e)
1055 if not isinstance(doc, Doc):
1056 raise ValueError(Errors.E005.format(name=name, returned_type=type(doc)))
File c:\Users\ddefr\anaconda3\lib\site-packages\spacy\util.py:1722, in raise_error(proc_name, proc, docs, e)
1721 def raise_error(proc_name, proc, docs, e):
-> 1722 raise e
File c:\Users\ddefr\anaconda3\lib\site-packages\spacy\language.py:1049, in Language.call(self, text, disable, component_cfg)
1047 error_handler = proc.get_error_handler()
1048 try:
-> 1049 doc = proc(doc, **component_cfg.get(name, {})) # type: ignore[call-arg]
1050 except KeyError as e:
1051 # This typically happens if a component is not initialized
1052 raise ValueError(Errors.E109.format(name=name)) from e
File c:\Users\ddefr\anaconda3\lib\site-packages\PyRuSH\PyRuSHSentencizer.py:53, in PyRuSHSentencizer.call(self, doc)
51 def call(self, doc):
52 tags = self.predict([doc])
---> 53 cset_annotations([doc], tags)
54 return doc
File c:\Users\ddefr\anaconda3\lib\site-packages\PyRuSH\StaticSentencizerFun.pyx:48, in PyRuSH.StaticSentencizerFun.cset_annotations()
File c:\Users\ddefr\anaconda3\lib\site-packages\PyRuSH\StaticSentencizerFun.pyx:56, in PyRuSH.StaticSentencizerFun.cset_annotations()
File c:\Users\ddefr\anaconda3\lib\site-packages\spacy\tokens\token.pyx:509, in spacy.tokens.token.Token.sent_start.set()
File c:\Users\ddefr\anaconda3\lib\site-packages\spacy\tokens\token.pyx:528, in spacy.tokens.token.Token.is_sent_start.set()
ValueError: [E043] Refusing to write to token.sent_start if its document is parsed, because this may cause inconsistent state.
Any assistance in resolving this is greatly appreciated. I do not have this error if I use spacy.load(), only medspacy.load().

I'm a bit confused why you are trying to used medspacy with a scispacy model. Is that expected to work?

Yes - I just ended up disabling the parser and going with it. It works fine.


Update homepage URL

Found this gem on RubyGems and wanted to check out the source code and found that the homepage URL was wrong. Updated it 😉

Thanks!


Fix bug in DynamicTypeMgrManagedTypeInfo where method may not have a returnTypeInfo.

This happens when running:
host.esxcli.system.module.list
against a host running ESXi 6.0 u1.  The methods with no returnTypeInfo are:
"WitnessJoinVsanCluster"
"WitnessSetPreferredFaultDomain"
"AddUnicastAgent"
"WitnessLeaveVsanCluster"
"RemoveUnicastAgent"

@omar-infinio I'm totally ok with correcting this bug, but I don't think we should put arbitrary values in the returned Hash. Any information that isn't available should be set to nil.

@jrgarcia I think that any information that isn't available should be set to nil is a good choice.  Thanks for correcting it.

@omar-infinio Would you rather update this PR to set the values to nil or have me fork your branch and update it? If I update it, you may not get proper attribution. I'm fine either way, I just want to give credit where it is due.

thank you for the code and this also affects our project.
it seems there is one un-resolved comment.
to set the values to nil

@omar-infinio is there any problem remaining, or can I help you?

Hi @takaidohigasi, I am unable to address the comment at the moment.  If you have the time and are willing to fix it, it would be great.  Thanks.

thank you for the reply, and I will continue to discuss and fix so as this fix to be merged.

I'll add this to my list of things to do today. I can pull this down and modify it locally. This should still give the commit to @omar-infinio. I'll be adding a contributors file that contains a list of all contributors to the project. I'll definitely make sure that people get listed in there regardless of how things get merged.

I'm kumabuchi, the same team as takaidohigasi.
I addressed the comments and opened new PR https://github.com/vmware/rbvmomi/pull/92. Thanks.

Fixed in #92

thank you very much!

Thanks.

I just released v1.9.3 that has #92 included. I added @omar-infinio to the CONTRIBUTORS.md since #92 got merged instead of #70.


add psr0 support and upgrade system to latest

Hello @jwage , I like your idea and I want to cotinue your work if you agree. Here some changes I want to share with you.

add psr0 autoload strategy support

upgrade php 8.3 with all dependecies to latest

fix deprecation and update tests

add rector and phpcsfixer

applied rector and phpcsfix rules and coding style

add docker and makefile for development

generate phpstan baseline

make all class as final and readonly when possible

I’m not working on this anymore but feel free to fork it and make it your own package!

ok, thank you so much!


Read later functionality

There should be a /readlater command that allows a user to add a text they want to read later at a particular time and the bot should remind them of it.

This is not necessary


Custom navigation?

Excuse me, I would like to know how to customize the background color of the navigation at the bottom of the player? Can you tell me what to do?

I just found Android control was using dialogBackgroundColor . If you want change it, you can add Theme widget and change this:
dialogBackgroundColor: Colors.white.withOpacity(0.5)

If you want to customize more than the color you can also provide your own controls to the customControls property of ChewieController.


Add an option to report uncaught exceptions

solves #30

@aryehischechter thanks for this, sorry for the delay. We're reviewing this week and I'm hoping to get a new release out soon.

@joshuap This is ready to be merged :+1:

Thanks!


⚠ Bofrost.at has degraded performance

In 0ce1dc5, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1732 ms

Resolved: Bofrost.at performance has improved in b651089 after 26 minutes.


Update VAT-percentages from Talpa-endpoints, Refund-emails and Refund PDF-export

Description
Updates:

Update default VAT-percent to 25.5
Talpa: Add VAT-percentage to Talpa pricing response
Talpa: Round existing vatPercentage from order creation to two decimals, update related tests
Add tests for the new VAT
Talpa: Get the VAT percent from the first order item in the attached order, if it exists.
Fall back to the default VAT percent.
Update Refund emails to use the dynamic VAT-percent
Update Refund PDF-export to use the dynamic VAT-percent
Remove unused VAT_PERCENTAGE-constant

Context
PV-858
PV-860
How Has This Been Tested?
Manually and through unit tests.

Looks good!


Performance

The agent API is not 🚀 blazingly 🚀 fast 🚀 yet.
Results from benchmarking both a low_level and agent/Bevy implementation of snake with benchmark.py:
Benchmarking multisnake...
Wall time: 2.97s
Throughput: 860.65K steps/s
Benchmarking bevy_snake_enn...
Wall time: 3.38s
Throughput: 37.86K steps/s
Total send: 110 ms
Total wait: 855 ms
Total collect: 24 ms
Total send: 12 ms
Total wait: 3053 ms
Total collect: 2 ms

Already not bad, but still a 20x gap. 800K steps/s is kind of overkill, I think if we can get to 200K/s or something, this will be sufficient for most practical applications.
End-to-end training throughput with examples/bevy_snake/train.py is now ~6000. It was previously closer to 4000, I think what made the difference was making the Player a NonSend resource to eliminate the Mutex on the TrainAgent. This seems to have resulted in a ~4x speedup.
With the Mutex:

NonSend resource without the Mutext:

Will get some profiles next to see what parts we can optimize.

Got some profiles now, a little hard to interpret with threads, but the gist of it is that vast majority of time seems to be spent in thread synchronization overhead. There's three places that account for almost all of the time, a Condvar::wait, and two mpsc::Receiver calls.

The condvar is inside Bevy (task_pool.rs:150), not sure exactly what it's doing, maybe awaiting systems to finish running? From the timings, it looks like it's happening in parallel to the receive calls and might not actually on the critical paths.
146	                thread_builder
147	                    .spawn(move || {
148	                        let shutdown_future = ex.run(shutdown_rx.recv());
149	                        // Use unwrap_err because we expect a Closed error
150	                        future::block_on(shutdown_future).unwrap_err();	//        45.6%
151	                    })
152	                    .expect("Failed to spawn thread.")

The first receive is the agents awaiting actions, the other is the environment awaiting observations. I think the reason why awaiting actions takes so much time here than awaiting observation is just an artifact of there being 128 threads running the apps and 4 threads collecting observations, though ratios still don't quite match up.
Worth trying a crossbeam channel implementation or something in case it's faster, but it seems like the most promising avenue would be to find a way to cut down on the number of threads and synchronization calls required. Maybe there's some way of running multiple Bevy instances in a single thread to batch cross-thread comms.

No significant difference from using crossbeam::channel::bounded.

For reference, throughput is ~ 32K/s on an Intel i7-10875H.


juicer_tools.jar dump creates a dense matrix bigger than the requested limits

Are you sure this is a bug?
I believe this is a bug, already mentioned here:
https://github.com/aidenlab/juicer/issues/132
Describe the bug
The juicer juicer_tools.jar dump command  seems to create a matrix bigger than the requested limits when used with the -d (dense) flag.
To Reproduce
run the example provided in https://github.com/aidenlab/juicer/wiki/Data-Extraction adding the -d flag:
java -jar juicer_tools.jar dump observed KR https://hicfiles.s3.amazonaws.com/hiseq/gm12878/in-situ/combined.hic 1:20480000:40960000 1:20480000:40960000 BP 10000 combined_10Kb.txt -d
Then plotting the resulting matrix combined_10Kb.txt gives the attached jpg where there is a portion of the image surrounding the requested limits.
Expected behavior
I expected to get an image restricted to  1:20480000:40960000
Screenshots

Desktop (please complete the following information):

OS: Red Hat Enterprise Linux Server
Version 7.5 (Maipo)
My Juicer Tools Version is 1.19.02

Additional context
Many thanks!
Jorge

I would highly recommend using https://github.com/aidenlab/straw instead of the dump command.


Use new flag to set remote app channel

Based on this PR, now we don't need to proxy the app channel for remote URLs
https://github.com/dapr/dapr/pull/6281
We need to test and refactor ambient to not do that anymore
"--app-channel-address", "",

This issue is fixed by the #16

done


Stomp.connect should accept custom headers

Hi, I'm using webstomp in Aurelia project, cause of possibility of .subscribe. In original repo .connect() accepts custom headers, like:
.connect({'Authorization': 'Bearer 123'})
In your 'index.d.ts' i see, that connect accepts only:

headers: ConnectionHeader
login: string, passcode: string

... before callback function, but ConnectionHeader interface contains only:
  login: string;   passcode: string;   host?: string;
If I change it to any, Stomp sends request as ussualy with my custom header.
My example:
websocketConnect(){
	var socket = new SockJS('https://my-rul');
	var stompClient = Stomp.over(socket);
	var token = `Bearer ${this.authService.getAccessToken()}`;
	stompClient.connect({'Authorization' : token}, frame => {
		stompClient.subscribe('/some-subchannel', msg => {
			// ...
		});
	});
}

Feel free to open a PR on the .ts I do not and will never maintain it by myself

closed by #46


Added Dasar Pemrograman Golang by Noval Agung

What does this PR do?
Add Resource(s)
For resources
Description
Added an open-source project course for learning basic programming Golang in Indonesian
Why is this valuable (or not)
Good material and well explanation in Indonesian also has many contributors and we can contribute to the project to improve the quality of the course
How do we know it's really free?
We can see the Github project in here
Checklist:

[x] Not a duplicate
[x] Included author(s) if appropriate
[x] Lists are in alphabetical order
[x] Needed indications added (PDF, access notes, under construction)

This belongs on the books list, not the course list

Okay I will move it to the book list

There is someone that has already PR the book in the book list, I will close this PR


safeclib: init at 08112019

Motivation for this change
Things done

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

[x] NixOS
[ ] macOS
[ ] other Linux distributions

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

Notify maintainers
cc @

still important to me

Result of nixpkgs-review pr 76451 run on x86_64-linux 1

1 package built:

safeclib

@Beowulf0 please address the review.


Util dependency remove

Sparkplug no longer depends on util-lib
All publicly exposed implicit conversions are now in package objects only.
Tidied up the dependencies so you don't import depencies on ES, Cassandra, OrientDB etc unless you include spark-extras
Incremented version number

The code is correct. However no one has convinced me that there is any benefit whatsoever to copy pasting util lib into sparkplug. This really is a total mystery to me.

Ok, I won't merge it for now.
We can discuss it tomorrow and go though the pros and cons.


Use lambdas and remove redundant type parameters

Since we're java 8 now, I figured I'd pick up some low hanging fruit by replacing explicit anonymous classes with lambdas and removing. I've opted to not convert code to use the Streams API because I know some find that more controversial.
The downside is that it may make backporting fixes to 0.{8,9}.x more difficult, but I'm optimistic it won't become a significant issue.

LGTM

I believe having a good VCS which allows versatile branching strategies, like git, is the reason not to fear such changes.


[form recognizer] Make API consistent across languages (FormRecognizerClient)

[ ] remove page_number from FormField
[ ] PageRange -> FormPageRange
[ ] consider un-flattening RecognizedForm properties on USReceipt, add a recognized form property on USReceipt did not like how hard it is to access fields and page_range from un-flattening. will seek guidance from architect if okay to keep flattened

Some of the work done in this commit: https://github.com/Azure/azure-sdk-for-python/pull/11232/commits/8c64688060a256c09d1d726ba61a625955e848a0
However, this commit also has work that we don't want - like the rename of url and stream parameters.


Unable to configure OpenSSH for public key auth following docs

Attempting to issue this command fails:
bash-5.0$ ssh --% jaraco@block-3 powershell -c $ConfirmPreference = 'None'; Repair-AuthorizedKeyPermission C:\Users\jaraco\.ssh\authorized_keys
ssh: illegal option -- -
usage: ssh [-46AaCfGgKkMNnqsTtVvXxYy] [-B bind_interface]
           [-b bind_address] [-c cipher_spec] [-D [bind_address:]port]
           [-E log_file] [-e escape_char] [-F configfile] [-I pkcs11]
           [-i identity_file] [-J [user@]host[:port]] [-L address]
           [-l login_name] [-m mac_spec] [-O ctl_cmd] [-o option] [-p port]
           [-Q query_option] [-R address] [-S ctl_path] [-W host:port]
           [-w local_tun[:remote_tun]] destination [command]
bash: Repair-AuthorizedKeyPermission: command not found

Enclosing the command in quotes produces a different error:
bash-5.0$ ssh --% jaraco@block-3 powershell -c "$ConfirmPreference = 'None'; Repair-AuthorizedKeyPermission C:\Users\jaraco\.ssh\authorized_keys"
ssh: illegal option -- -
usage: ssh [-46AaCfGgKkMNnqsTtVvXxYy] [-B bind_interface]
           [-b bind_address] [-c cipher_spec] [-D [bind_address:]port]
           [-E log_file] [-e escape_char] [-F configfile] [-I pkcs11]
           [-i identity_file] [-J [user@]host[:port]] [-L address]
           [-l login_name] [-m mac_spec] [-O ctl_cmd] [-o option] [-p port]
           [-Q query_option] [-R address] [-S ctl_path] [-W host:port]
           [-w local_tun[:remote_tun]] destination [command]

Trying to run the command on the machine through RDP produces a different error:
PS C:\Users\jaraco\.ssh> repair-authorizedkeypermission ~/.ssh/authorized_keys
repair-authorizedkeypermission : The term 'repair-authorizedkeypermission' is not recognized as the name of a cmdlet,
function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the
path is correct and try again.
At line:1 char:1
+ repair-authorizedkeypermission ~/.ssh/authorized_keys
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (repair-authorizedkeypermission:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

Attempting to install those utils produces an even more obscure message:
PS C:\Users\jaraco\.ssh> Install-Module -Force OpenSSHUtils -Scope AllUsers

NuGet provider is required to continue
PowerShellGet requires NuGet provider version '<IP_ADDRESS>' or newer to interact with NuGet-based repositories. The NuGet
 provider must be available in 'C:\Program Files\PackageManagement\ProviderAssemblies' or
'C:\Users\jaraco\AppData\Local\PackageManagement\ProviderAssemblies'. You can also install the NuGet provider by
running 'Install-PackageProvider -Name NuGet -MinimumVersion <IP_ADDRESS> -Force'. Do you want PowerShellGet to install
and import the NuGet provider now?
[Y] Yes  [N] No  [S] Suspend  [?] Help (default is "Y"):
WARNING: Unable to download from URI 'https://go.microsoft.com/fwlink/?LinkID=627338&clcid=0x409' to ''.
WARNING: Unable to download the list of available providers. Check your internet connection.
PackageManagement\Install-PackageProvider : No match was found for the specified search criteria for the provider
'NuGet'. The package provider requires 'PackageManagement' and 'Provider' tags. Please check if the specified package
has the tags.
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\<IP_ADDRESS>\PSModule.psm1:7468 char:21
+ ...     $null = PackageManagement\Install-PackageProvider -Name $script:N ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (Microsoft.Power...PackageProvider:InstallPackageProvider) [Install-Pac
   kageProvider], Exception
    + FullyQualifiedErrorId : NoMatchFoundForProvider,Microsoft.PowerShell.PackageManagement.Cmdlets.InstallPackagePro
   vider

PackageManagement\Import-PackageProvider : No match was found for the specified search criteria and provider name
'NuGet'. Try 'Get-PackageProvider -ListAvailable' to see if the provider exists on the system.
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\<IP_ADDRESS>\PSModule.psm1:7474 char:21
+ ...     $null = PackageManagement\Import-PackageProvider -Name $script:Nu ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidData: (NuGet:String) [Import-PackageProvider], Exception
    + FullyQualifiedErrorId : NoMatchFoundForCriteria,Microsoft.PowerShell.PackageManagement.Cmdlets.ImportPackageProv
   ider

WARNING: Unable to download from URI 'https://go.microsoft.com/fwlink/?LinkID=627338&clcid=0x409' to ''.
WARNING: Unable to download the list of available providers. Check your internet connection.
PackageManagement\Get-PackageProvider : Unable to find package provider 'NuGet'. It may not be imported yet. Try
'Get-PackageProvider -ListAvailable'.
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\<IP_ADDRESS>\PSModule.psm1:7478 char:30
+ ... tProvider = PackageManagement\Get-PackageProvider -Name $script:NuGet ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (Microsoft.Power...PackageProvider:GetPackageProvider) [Get-PackageProvi
   der], Exception
    + FullyQualifiedErrorId : UnknownProviderFromActivatedList,Microsoft.PowerShell.PackageManagement.Cmdlets.GetPacka
   geProvider

Install-Module : NuGet provider is required to interact with NuGet-based repositories. Please ensure that '<IP_ADDRESS>'
or newer version of NuGet provider is installed.
At line:1 char:1
+ Install-Module -Force OpenSSHUtils -Scope AllUsers
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [Install-Module], InvalidOperationException
    + FullyQualifiedErrorId : CouldNotInstallNuGetProvider,Install-Module

My internet connection is fine and I tried running the Get-PackageProvider command, but that doesn't provide any guidance.
PS C:\Users\jaraco\.ssh> Get-PackageProvider -ListAvailable

Name                     Version          DynamicOptions
----                     -------          --------------
msi                      <IP_ADDRESS>          AdditionalArguments
msu                      <IP_ADDRESS>
PowerShellGet            <IP_ADDRESS>          PackageManagementProvider, Type, Scope, AllowClobber, SkipPublisherCheck, ...
Programs                 <IP_ADDRESS>          IncludeWindowsInstaller, IncludeSystemComponent

I also tried setting the permissions manually on the file, but the OpenSSH server still doesn't accept public key auth.

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

ID: 4c89b7b3-c05f-b517-6109-04e6a97195c3
Version Independent ID: 1e4b742e-d999-2c1e-a396-dc149f7ac76b
Content: OpenSSH Server Configuration for Windows
Content Source: WindowsServerDocs/administration/OpenSSH/OpenSSH_KeyManagement.md
GitHub Login: @maertendMSFT

See Pull Request #4788 for a suggested improvement to this issue.
(The PR will close this issue ticket when it gets merged.)

List of related issue tickets:

#2747 A better explanation can be found here (Open)
#3400 Can't install the "OpenSSHUtils" (Closed)
#3456 Misleading title/summary causing search confusion (Open)
#3806 OpenSSHUtils is deprecated (Open)
#3970 OpenSSH installation (Closed)
#4345 OpenSSHUtils Not Needed (Open)
#4598 Instructions provided ends with an error (Open)
#4622 Out-of-date - OpenSSHUtils no longer available. (Open)
#4634 More documentation required (Open)
#4690 OpenSSHUtils install reference no longer valid (Open)
#4702 OpenSSHUtils got unlisted from the PowerShell gallery (Open)
#4743 Nope. First example errors out. (Open)
#4770 Error when following instructions to install OpenSSHUtils (Open)
#4787 OpenSSHUtils module does not exist (Open)
#5000 Clarification needed (Open)
#5138 These instructions do not work on Windows 10 20h2 (Open)

Thanks for submitting this issue. I have reworked this document to remove or replace parts that are no longer relevant or correct based on this and several other issues raised for this page.
The changes should be visible in around 6-12 hours.
#please-close


Forgotten pw > missing string when user doesn't exist

If a user doesn't exist in the database, there's an error msg "system.repository.UserNotFound". The appropriate error msg is "Error: User doesn't exist"
tested on latest.cortezaproject.org

@darh If I remember correctly we said, that messages from API will be translated; is this still the case or?

Not the case.
All error messages will be typed (in direction of system.repositorty.UserNotFound).
Until then, please make a workaround to handle this.

Understood

@tjerman please fix this (it's been 3 months already), thanks.


dataset not on NPM

I can see in your repo that this line should include dataset in the current version:
var modulesNS = ['hook', 'on', 'style', 'class', 'props', 'attrs'];

but as you can see, that's not in the build published to NPM as 0.3.1.

I published 0.3.2 to npm just now.


Bump to Stackage lts-13.9

This tool is out of maintaining for a long time. Rework some code to
make this buildable and warning free.

@yamadapc


[stable/airflow] airflow.extraPipPackages that require gcc

Describe the bug
There is an issue in stable/airflow with the airflow.extraPipPackages value where if you specify a pip package that requires gcc to install, the chart installation fails. I realize this is an shortcoming of the official Airflow image that removes gcc which is what makes it "slim". Ideally we change the default image to include gcc, but I haven't been able to find an official Airflow image that has gcc installed.
Version of Helm and Kubernetes:
~ kubectl version

Client Version: version.Info{Major:"1", Minor:"16", GitVersion:"v1.16.8", GitCommit:"ec6eb119b81be488b030e849b9e64fda4caaf33c", GitTreeState:"clean", BuildDate:"2020-03-12T21:00:06Z", GoVersion:"go1.13.8", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"16", GitVersion:"v1.16.8", GitCommit:"ec6eb119b81be488b030e849b9e64fda4caaf33c", GitTreeState:"clean", BuildDate:"2020-03-12T20:52:22Z", GoVersion:"go1.13.8", Compiler:"gc", Platform:"linux/amd64"}
~ helm version

Client: &version.Version{SemVer:"v2.15.1", GitCommit:"cf1de4f8ba70eded310918a8af3a96bfe8e7683b", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.15.1", GitCommit:"cf1de4f8ba70eded310918a8af3a96bfe8e7683b", GitTreeState:"clean"}

Which chart:
stable/airflow
What happened:
logs of $AIRFLOW_WEB when trying to install chart with value airflow.extraPipPackages: [ "pyldap" ]:
unable to execute 'gcc': No such file or directory
error: command 'gcc' failed with exit status 1

What you expected to happen:
successfully install
How to reproduce it (as minimally and precisely as possible):
helm install --set "airflow.extraPipPackages[0]=pyldap" stable/airflow

Anything else we need to know:

I have this issue too with one of my dependencies I am trying to install with installRequirements as true (similar because both methods do a pip install)
While I don't yet have a solution, I do know that there is discussion to add a way to add additional dependencies for the official apache/airflow image: https://github.com/apache/airflow/issues/8872

Option 1: (probably won't work)
While it not perfect, we could consider using conda which often has built binaries in their repositories. However, this would also require an addition to the image (unless we can assume that the Pods have internet at start time, then I guess we could download conda).
However, I am not inclined to do this, as the main benefit of using the offical images is the prebuilt airflow, which is only really distributed in the official airflow images.
Option 2: (Good for non-prod)
Potentially, we could also specify a list of apt-get packages to install at Pod start. However, you have to realise that downloading and compiling a package may dramatically increase the start time of the pods.
Option 3: (recommended)
The best bet for production use is to take the official Docker image, and make your own custom one with something like:
FROM apache/airflow:1.10.10-python3.6

# install binary dependancies
RUN apt-get update \
 && apt-get -y install \
    XXXX \
    YYYY \
 && apt-get clean \
 && rm -rf /var/lib/apt/lists/*

# install python dependancies
RUN pip install XXXXX

doing something very similar to option 3, @thesuperzapper.

I am in favor of option 3 too, and it is what the apache/airflow docker maintainers suggest. Basically if you need to add dependencies, build your own image and then use that image for the helm chart instead.
I also take back my last comment because I linked to a discussion about adding a way to add dependencies at build time, but with helm charts we are running already built images so therefore that won't be of use to us.


Update plugin.sh

I've enabled the magnum_driver in devstack plugin

Thank you for contributing to openstack/congress!
openstack/congress uses Gerrit for code review.
If you have never contributed to OpenStack before make sure you have read the
getting started documentation:
http://docs.openstack.org/infra/manual/developers.html#getting-started
Otherwise please visit
http://docs.openstack.org/infra/manual/developers.html#development-workflow
and follow the instructions there to upload your change to Gerrit.


ci: add Jenkinsfile, requirements.txt and redirect

This adds CI builds for both main branches:

develop built by CI job to publish to https://dev-help.status.im/
master built by CI job to publish to https://help.status.im/

Changes should be made against develop and then once ready master should be rebased on develop to push the changes to the main site.
Related: https://github.com/status-im/infra-misc/commit/305f9445
Resolves: https://github.com/status-im/help.status.im/issues/27

I'm afraid I can't make all the links work on the Status Help site build. The links only work at the / level on the main index.html file https://github.com/status-im/help.status.im/blob/develop/docs/en/index.md.

The "Getting started section" (for example) shows the proper URL https://dev-help.status.im/en/getting-started/
Other docs like "Download Status for Mac" show the wrong URL https://dev-help.status.im/help.status.im/getting-started/download-status-for-mac

I'm not controlling the URLs from within Material config at mkdocs.yml.
Note: GitHub Pages is still enabled on this repo, and I think it shouldn't be if we go with our own CI. I have removed them in other repos by setting the config to "none," according to GitHub's help.

@jorge-campo that has nothing to do with method of deployment and everything to do with the contents of the documents.
Look at this file:
https://github.com/status-im/help.status.im/blob/312408495b4fa5bf20ee445382bfce97a199fd63/docs/en/getting-started/index.md#L14-L15
Do you see anything wrong here? Or this one:
https://github.com/status-im/help.status.im/blob/312408495b4fa5bf20ee445382bfce97a199fd63/docs/en/getting-started/download-status-for-mac.md#L14
Please look at the format of links in Markdown:

https://www.markdownguide.org/basic-syntax/#links
https://www.mkdocs.org/user-guide/writing-your-docs/#linking-to-pages

Hey @jakubgs, I'll add here the information we discussed for the record.
We don't use Markdown URLs in the traditional Markdown way: [My link](https://path-to-my-link). Instead, we use a sort-of includes file that exists at the end of every Markdown document:
--8<-- "includes/urls-en.txt"
the urls-en.txt file stores the URL information for all links in the English language; this is a snippet of this text file:
[download-status-for-linux]: /help.status.im/getting-started/download-status-for-linux
[download-status-for-mac]: /help.status.im/getting-started/download-status-for-mac
[run-status-app-first-time]: /help.status.im/getting-started/run-status-app-first-time

This is supported by Material for MkDocs but, why are we doing this?  For two main reasons mainly:

URLs depend on the document title and document path in the repo. This changes from time to time, and tracking these changes across multiple languages is prone to error.
URLs are hard for translators; they don't know if this is something that should or shouldn't be translated. This results in less-than-perfect translations that must be reviewed.

Managing URLs is hard, and there isn't a perfect solution. But I believe that by centralizing the URLs for each language on its own includes file, we can reduce the burden considerably.
Notice that this is supported by Material for MkDocs through the Snippets extension, and described in other installations. Notice also that this works as expected when I build the docs locally using mkdocs gh-deploy --force and when I use GitHub pages as part. See here:
https://user-images.githubusercontent.com/62282406/164394199-b45c41d3-019a-437b-aac6-16b6d6a20e84.mp4
This is the reason I think the build is somehow messing with this includes/urls-en.txt file, giving these long-and-weird URLs you mention in your message.

For future reference, the issue with the links was their definition. Before it was:
[download-status-for-linux]: /help.status.im/getting-started/download-status-for-linux
[download-status-for-mac]: /help.status.im/getting-started/download-status-for-mac
[run-status-app-first-time]: /help.status.im/getting-started/run-status-app-first-time

But the correct form is just the path without the domain or the weird prefix slash:
[download-status-for-linux]: /en/getting-started/download-status-for-linux
[download-status-for-mac]: /en/getting-started/download-status-for-mac
[run-status-app-first-time]: /en/getting-started/run-status-app-first-time


Mobile user experience need improving + more testing needed

Trying to press on the profile icon on mobile is an absolute nightmare, I feel like I'm playing a game. I realise that it's not like this on every device so I think we also need to do more testing on other mobile devices - probably we'll find other strange user experiences.
https://user-images.githubusercontent.com/20739535/175502810-635b3216-7774-47ab-af33-26a5864fa9fb.mp4
Using:
Samsung Galaxy S20 FE
Android 12

Also, the text is cut of on the profile page. It's impossible to read what the tabs are

Info icon that sits on the nft image is partially off screen

The padding around the tab titles disappears when the trade tab is selected. This makes the content of that tab much higher
https://user-images.githubusercontent.com/20739535/175506617-b0f3785d-adb7-4f6c-9756-ecb815c73079.mp4

@AnaLoznianu should I create separate issues for each of these?

No, I think we can tackle these minor issues in one issue.

Trying to press on the profile icon on mobile is an absolute nightmare

on YOUR mobile. And in the MetaMask browser no less, which is notorious for using outdated rendering engines. Regardless, header layout was tested down to iPhone 5 viewport size, it just happens that your mobile device of 2 years is using a more narrow resolution width than a 10 year old iPhone and on top of that it seems that when we added that version dropdown we also destroyed this header layout on very narrow viewports.
So 2 options:

try to squeeze slightly more space out of all the header elements so that on a 1080px viewport width all fits beside each other
refactor whole header again to have a truly fluid layout so we don't care about any viewport sizes

if I click on the logo to go back to the home page it turns pink and just stays pink. Never changes back to white

click on anything else on the screen and the hover style of the logo will disappear. Just like on every website accessed via touch and which has any hover styles. Alternative would be:

remove hover style of logo being pink for everybody
prevent hover events from firing on touch devices (really bad idea as it requires us to remove all UI elements which are triggered on hover)

All in all, common issue on all touch devices where hover & active events can't be distinguished for both, mobile and desktop viewports. Uniswap has same behavior on their app logo, which gets tilted on hover, but then on touch devices when tapping, it doesn't get tilted back unless something else is tapped on screen.

on YOUR mobile

As I said above, I realise that it's not like this on every device but I'm not the only person with phone that has a screen ratio of 20:9. That's the same as iPhone 12 Pro Max, Samsung Galaxy S21 Ultra, OnePlus 9 Pro and many others.

We can just hide the v4 dropdown part on mobile , not that relevant.

We can just hide the v4 dropdown part on mobile, not that relevant.

Yeah that would be a nice simple solution

phone that has a screen ratio of 20:9. That's the same as iPhone 12 Pro Max, Samsung Galaxy S21 Ultra, OnePlus 9 Pro and many others.

but that is not the problem, the relationship between screen resolution (...px) and pixel resolution (@2x, @3x..., dpi) is. Here's screenshot on iPhone 11 Pro and there is no layout problem on even bigger iPhones or those other Android devices you mentioned. On those you would see even more of the content and have even more space between the header elements:

Emulated on desktop, I get this for iPhone 13 Pro Max:

And this for Galaxy S20 Ultra:

I agree that a proper UI should just not care about any of this or a specific device and just be fluid and break layout at comfortable break points depending on content readability. But that current header has a lot of compromises included so we are not forced to move things out of screen or stack into multiple layers moving the main content further down. And all those compromises just don't produce such widespread weird layouts as you encountered.
So would also opt for some quick fix, cause otherwise we would spend ages on that new header.

Agree with removing version and test. Refactoring is way too time consuming

Renamed issue title to reflect what has been discussed in here and how it can be closed. Everything in here is either addressed in #1495 or #1549


Use native aspect-ratio property on supported browsers

The first commit addresses #6, allows for progressive enhancement.
The next commits are less important, but some of the raw properties were messing up indentation. I ended up converting all test files to unix because the dos carriage returns were throwing errors for me, even when both input and output files were dos. Absolute nightmare, feel free to revert on your machine if you want.

Thanks, this works really well!


feat: Add E2E Test for Harbor Satellite

Overview:
This PR adds end-to-end testing with dagger.
Changes Introduced:

Integrated Dagger client to build and run the Harbor Satellite in a containerized environment.
Dynamic Image Generation: Added functionality to dynamically generate three example container images.
Temporary Harbor Registry Setup: Configured Dagger to set up a temporary Harbor registry for testing.
Build and Execution: Implemented the build and execution process for the Harbor Satellite using Dagger.
Image Fetching and Storage: Developed logic to pull images from the temporary Harbor registry and store them in the satellite’s local registry.

Prerequisites:
Tests require docker to be installed in the system.
How to Test:

Execute the e2e test using go test -v ./test/e2e/registry_test.go .
Observe the logs to verify that the Dagger client is initialized and the Harbor Satellite build and fetch images correctly.

Summary by CodeRabbit

New Features

Introduced "Harbor Satellite," extending Harbor registries to edge locations for consistent and reliable image distribution.
Added in-memory and file-based image storage solutions.
Implemented HTTP fetch functionality for remote image lists and digests.

Documentation

Updated README to include details about "Harbor Satellite" and its use cases.

Chores

Added .env and .gitignore for environment configuration and version control.
Introduced configuration files (config.toml and config.json) for registry and testing settings.

Tests

Added end-to-end tests for setting up registries, pushing images, and building the satellite service.

@Vad1mo ready to merge.


Ambiguous column name when creating table from select

This Project looks awesome!
Im hoping to use this to test the transformation queries in our ETL pipeline. A pretty common use case is to select specific columns from two source tables joined on an id / target_id foreign key.
I spun up this quick POC with some simple test data and ran into issues when attempting to join two tables within a CREATE OR REPLACE TABLE where the join condition contains a column that appears on both tables (in this case id).
from pprint import pprint
from typing import List

from google.api_core.client_options import ClientOptions
from google.auth.credentials import AnonymousCredentials
from google.cloud import bigquery
from google.cloud.bigquery import QueryJobConfig
from google.cloud.exceptions import NotFound

class EmulatorPOC:
    def __init__(self, project_id: str) -> None:
        self.client = self._client(project_id)
        self.project_id = project_id

    def _client(self, project_id: str):
        client_options = ClientOptions(api_endpoint="http://<IP_ADDRESS>:9050")
        client = bigquery.Client(
            project_id,
            client_options=client_options,
            credentials=AnonymousCredentials(),
        )

        return client

    def _json_schema_to_bq_schema(self, schema: List[dict]) -> List:
        return [
            bigquery.SchemaField(item.get("name"), item.get("type"), mode="REQUIRED")
            for item in schema
        ]

    def create_table(
        self, dataset_id: str, table_id: str, schema: List[dict]
    ) -> bigquery.Table:
        table_name = f"{self.project_id}.{dataset_id}.{table_id}"
        try:
            table = self.client.get_table(table_name)
        except NotFound:
            bq_schema = self._json_schema_to_bq_schema(schema)
            table = bigquery.Table(table_name, schema=bq_schema)
            table = self.client.create_table(table)

        return table

    def create_dataset(self, dataset_id: str) -> bigquery.Dataset:
        dataset_ref = f"{self.project_id}.{dataset_id}"
        try:
            dataset = self.client.get_dataset(dataset_ref)
        except NotFound:
            dataset = bigquery.Dataset(dataset_ref)
            dataset.location = "US"
            dataset = self.client.create_dataset(dataset)

        return dataset

    def poc(self, dataset_id: str, source_table_id: str, join_table_id: str):
        # Create dataset
        dataset = self.create_dataset(dataset_id=dataset_id)

        # Create tables
        source_table = self.create_table(
            dataset_id=dataset_id,
            table_id=source_table_id,
            schema=[
                {"name": "id", "type": "INTEGER"},
                {"name": "key", "type": "STRING"},
                {"name": "thing", "type": "STRING"},
            ],
        )

        join_table = self.create_table(
            dataset_id=dataset_id,
            table_id=join_table_id,
            schema=[
                {"name": "id", "type": "INTEGER"},
                {"name": "key", "type": "STRING"},
                {"name": "another_thing", "type": "STRING"},
                {"name": f"{source_table_id}_id", "type": "INTEGER"},
            ],
        )

        # Insert data
        self.client.insert_rows_json(
            source_table,
            [{"id": 1, "key": "key_123", "thing": "something"}],
        )

        self.client.insert_rows_json(
            join_table,
            [{"id": 1, "key": "key_123", "another_thing": "something_else", f"{source_table_id}_id": 1}],
        )

        # Select thing / another_thing and join on source.id = join.source_id
        transform_statement = f"""
        CREATE OR REPLACE TABLE {self.project_id}.{dataset_id}.test_transformation AS (
        SELECT
            t.thing,
            j.another_thing,
        FROM {self.project_id}.{dataset_id}.{source_table_id} t
        JOIN {self.project_id}.{dataset_id}.{join_table_id} j ON t.id = j.{source_table_id}_id
        );
        """

        # Execute query to create table
        transformed_table = self.client.query(
            query=transform_statement, job_config=QueryJobConfig()
        ).result()

        # Select results and return them
        result = self.client.query(query=f"select * from {self.project_id}.{dataset_id}.test_transformation", job_config=QueryJobConfig())

        return [dict(row) for row in result]

resp = EmulatorPOC("poc").poc("emulator_poc", "source_table", "join_table")
pprint(resp)

As I am only selecting specific cols from the source tables I don't believe this should be an issue. To confirm I ran this same script connecting to a sandbox BQ instance in gcp and it produced the expected resulting transformation table.
Also, if I rename the join table id column to id_ this executes without issue, so the underlying CREATE OR REPLACE TABLE  appears to work just fine when a duplicated column is not specified in a join condition.
Thanks again for putting this project together! Let me know if this is something you are able to replicate and if you think it can / should be addressed.
Cheers

Thank you for your report ! I fixed this problem with https://github.com/goccy/go-zetasqlite/pull/39 .
I will release a new version later

I released v0.1.22 :)

Awesome, thanks for being so quick to respond and release! After building the 0.1.22 image can confirm that this is working as expected. Thanks again for creating and maintaining this project.


map visuallisation in WKT to allow for display of lines and polygons

As far as geographical types are concerned, Neo4j is limited to points, but lines, polygons and multilines and multiplogons are very commonly used geographical types. The spatial plugins https://neo4j-contrib.github.io/spatial/ allows to deal with them and simple text properties containing the geometries in  WKT format are an easy way to put geometries in a Neo4j DB.
It would be great if NeoDash map could display nodes according to a WKT geometry
WKT examples :
"POINT (6.09266013 45.1196463700959)"
"LINESTRING (6.1752317896 44.9498981458959, 6.17319118040001 44.9483479351959)"
"POLYGON ((5.632468 45.167794, 5.629966 45.16889, 5.62962 45.169593, 5.630393 45.170262, 5.63192 45.169945, 5.634393 45.168791, 5.632468 45.167794))"

This feature would be very useful.

Still relevant for us.
We use the Neodash for evaluating historical piracy data in the mediterranean.

GeoJSON would be great as well ;-)


Type "lambda" should auto-add service

When {"type": "lambda"} in pipeline.json, "services" should have {"lambda": true} added automatically.

Extra fix from https://github.com/gogoair/foremast/commit/bf382b92718d708ba9ad72a8165821d302ad4c9a. Issue considered closed now.