Can't create recurring shifts

When I try to create a recurring shift on shifts.yale.edu/stcdev, I get this error:

Error: repeating event could not be saved.
'Mysql2::Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '21:30:00 UTC AND end >= 2014-02-17 19:00:00 UTC) OR (user_id = 4 AND active = tr' at line 1: SELECT shifts.* FROM shifts WHERE ((user_id = 4 AND active = true AND department_id = 1 AND start <= 2014-02-17 21:30:00 UTC AND end >= 2014-02-17 19:00:00 UTC) OR (user_id = 4 AND active = true AND department_id = 1 AND start <= 2014-02-24 21:30:00 UTC AND end >= 2014-02-24 19:00:00 UTC) OR (user_id = 4 AND active = true AND department_id = 1 AND start <= 2014-03-03 21:30:00 UTC AND end >= 2014-03-03 19:00:00 UTC) OR (user_id = 4 AND active = true AND department_id = 1 AND start <= 2014-03-10 20:30:00 UTC AND end >= 2014-03-10 18:00:00 UTC) OR (user_id = 4 AND active = true AND department_id = 1 AND start <= 2014-03-17 20:30:00 UTC AND end >= 2014-03-17 18:00:00 UTC) OR (user_id = 4 AND active = true AND department_id = 1 AND start <= 2014-03-24 20:30:00 UTC AND end >= 2014-03-24 18:00:00 UTC) OR (user_id = 4 AND active = true AND department_id = 1 AND start <= 2014-03-31 20:30:00 UTC AND end >= 2014-03-31 18:00:00 UTC) OR (user_id = 4 AND active = true AND department_id = 1 AND start <= 2014-04-07 20:30:00 UTC AND end >= 2014-04-07 18:00:00 UTC) OR (user_id = 4 AND active = true AND department_id = 1 AND start <= 2014-04-14 20:30:00 UTC AND end >= 2014-04-14 18:00:00 UTC) OR (user_id = 4 AND active = true AND department_id = 1 AND start <= 2014-04-21 20:30:00 UTC AND end >= 2014-04-21 18:00:00 UTC) OR (user_id = 4 AND active = true AND department_id = 1 AND start <= 2014-04-28 20:30:00 UTC AND end >= 2014-04-28 18:00:00 UTC) OR (user_id = 4 AND active = true AND department_id = 1 AND start <= 2014-05-05 20:30:00 UTC AND end >= 2014-05-05 18:00:00 UTC) OR (user_id = 4 AND active = true AND department_id = 1 AND start <= 2014-05-12 20:30:00 UTC AND end >= 2014-05-12 18:00:00 UTC) OR (user_id = 4 AND active = true AND department_id = 1 AND start <= 2014-05-19 20:30:00 UTC AND end >= 2014-05-19 18:00:00 UTC) OR (user_id = 4 AND active = true AND department_id = 1 AND start <= 2014-05-26 20:30:00 UTC AND end >= 2014-05-26 18:00:00 UTC))

This is fixed at commit fe1aa4 and commit 60ebfc


[BEAM-4481] Remove duplicate definitions of dependencies in runners/direct-java

Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

It will help us expedite review of your Pull Request if you tag someone (e.g. @username) to look at it.

R: @boyuanzz

So sorry forgetting remove these duplications last time. Thanks Luke! LGTM.


⚠ Bofrost.lu has degraded performance

In 7e2a720, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 4153 ms

Resolved: Bofrost.lu performance has improved in 415a81b after 6 minutes.


Using vscode to install some plug-ins takes up a lot of memory and a cup

🚨 The issue tracker is not for questions 🚨
Using vscode to install some plug-ins takes up a lot of memory and a cup.
There are times when the cup is 100% occupied and the machine crashes

Please provide more information about the particular setup. Which extensions do you have installed when your machine consumes a lot of cpu and memory.


Asset Manager voting_event's "items": is "" instead of [] when set to Type: "All Items"

no rush responding just wanted to file
summary
we were unmarshaling the voting_events into objects that expected "items" to be an array of string.  but when the Asset Manager has a voting_events entry that is set to Type: "All Items", entry's "items": is "" instead of what we might expect as a [] instead.
not sure if this is something CF metadata accessors should expect and handle this as-is.  will require some special casing.
sample
for example, on demov3 we had starflicks voting event
"id": "GzjyZrtNiy8RLvP1iMyBGT"
"title": "Favorite Movie or Show"
which now has Type: Specified Items" and items set, and parses fine:
{
              "description": "",
              "end_date": "2025-03-09T00:00:00-08:00",
              "exclusive": false,
              "id": "GzjyZrtNiy8RLvP1iMyBGT",
              "items": [
                "Hn5JScGHxJDrCG2VVK485v",
                "2jsbJpwTFv86P8Zyn8FZag",
                "5Zb7yp4sHjkjr3UZChy4z7"
              ],
              "start_date": "2023-03-09T00:00:00-08:00",
              "title": "Favorite Movie or Show",
              "type": "specified"
            }

but before, we left "Type" set to "All Items", which resulted in the items array being "" instead of "[]"...
before:
{
            {
              "description": "",
              "end_date": "2025-03-09T00:00:00-08:00",
              "exclusive": false,
              "id": "GzjyZrtNiy8RLvP1iMyBGT",
              "items": "",
              "start_date": "2023-03-09T00:00:00-08:00",
              "title": "Favorite Movie or Show",
              "type": "all"
            }

this is a quirk of how the asset manager handles hidden values that are never shown. since I don't have time to really dig into this, I've just changed the default type of voting events to 'specified', so the items list always will be shown (and populated with []) by default when the event is first created


#1239 allow multiple repos in FileMonitorConfiguration.

Attempt to fix https://github.com/spring-cloud/spring-cloud-config/issues/1239

Codecov Report

Merging #1247 into master will decrease coverage by 0.06%.
The diff coverage is 0%.

@@             Coverage Diff              @@
##             master    #1247      +/-   ##
============================================
- Coverage     78.18%   78.11%   -0.07%
  Complexity      977      977
============================================
  Files           117      117
  Lines          3502     3505       +3
  Branches        488      489       +1
============================================
  Hits           2738     2738
- Misses          595      598       +3
  Partials        169      169

Impacted Files
Coverage Δ
Complexity Δ

...cloud/config/monitor/FileMonitorConfiguration.java
17.6% <0%> (-0.44%)
12 <1> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0227016...77fb90f. Read the comment docs.

Hi @spencergibb ,
Thanks for looking at this.
I've corrected the behaviour in case there are multiple paths and I've also added a unit test.
I don't see any IT tests in this module though...


Update MainWindow : change AB3 GUI to Dictionote GUI

Add dictionaryContentPlaceholder, dictionaryListPlaceholder, noteContentPlaceholder, noteListPlaceholder to MainWindow.fxml

Codecov Report

Merging #42 (ce13bc7) into master (b008f4c) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #42   +/-   ##
=========================================
  Coverage     72.15%   72.15%
  Complexity      399      399
=========================================
  Files            70       70
  Lines          1232     1232
  Branches        125      125
=========================================
  Hits            889      889
  Misses          311      311
  Partials         32       32

Impacted Files
Coverage Δ
Complexity Δ

...ava/seedu/dictionote/commons/core/GuiSettings.java
69.23% <ø> (ø)
5.00 <0.00> (ø)

src/main/java/seedu/dictionote/ui/MainWindow.java
0.00% <ø> (ø)
0.00 <0.00> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b008f4c...ce13bc7. Read the comment docs.


feat: Feat/virtualized json editor

This PR introduces a virtualized json viewer component capable of rendering large amounts of json data while keeping a very high performance. This eliminates issues like crashing/slowing down of the application after a user tries to query too much data.
The custom built component is designed to look like react json view as much as possible(colors and fonts), and has been used as the default Json Viewer across the application.
Video showing its operation. (Notice how quickly tabs can be switched with this component):

Fixes #11030

Bug fix (non-breaking change which fixes an issue)
New feature (non-breaking change which adds functionality)
This change requires a documentation update

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes

Test coverage results :test_tube:
:red_circle: Total coverage has decreased
// Code coverage diff between base branch:release and head branch: feat/virtualized-json-editor

Status
File
% Stmts
% Branch
% Funcs
% Lines

:red_circle:
total
55.69 (-0.02)
36.99 (-0.01)
34.99 (-0.02)
56.04 (-0.01)

:red_circle:
app/client/src/components/editorComponents/ApiResponseView.tsx
51.76 (-4.65)
38.46 (0)
0 (0)
53.66 (-2.75)

:sparkles: :new:
app/client/src/pages/Editor/QueryEditor/VirtualizedJsonViewer.tsx
24.32
14.29
0
28.13

:sparkles: :new:
app/client/src/pages/Editor/QueryEditor/VirtualizedJsonViewerStyles.ts
100
100
100
100

:green_circle:
app/client/src/utils/WorkerUtil.ts
89.76 (0.78)
72.55 (1.96)
100 (0)
93.33 (0.95)

:green_circle:
app/client/src/utils/autocomplete/TernServer.ts
52.94 (0.23)
41.67 (0.84)
36.21 (0)
56.99 (0.25)

:x:
app/client/src/pages/Editor/QueryEditor/JSONViewer.tsx
60
60
33.33
57.89

/ok-to-test sha=16857f6

/ok-to-test sha=6254b35

/ok-to-test sha=04003a3

/ok-to-test sha=ce88e95

/ok-to-test sha=50b399b


Pyrsia CLI to have a default config

Right now once the cli is installed , user has to add config using "pyrsia config --add" to write to conf file , we can add a default config with default port, which needs initialization of config file at the time of installation

Use $HOME/.config to place these files

@sbtaylor15 do we have cli config file also added in the installer? if not then we need to add "pyrsia-cli.conf" file which will have:
{
"host" : "<IP_ADDRESS>",
"port" : "7888",
"artifacts_storage_allocated_size" : "10.84 GB" ( have to discuss this value)
}
The env var for the file location we can keep "PYRSIA_CLI_CONF_FILE" and i will use this var to update the code


libcrossguid: 2016-02-21 -> 2019-05-29

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"
[ ] 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.

I bumped the thread asking for a crossguid release. I dont mind waiting for this PR so I can wait for the next kodi release. Alternatively we could have both the old and new packages until then.


Fix arne

Hi Halvard.
Made some changes, mainly to the dependencies in the pom.xml. Also upgraded the BlueJ Ext2 from v 3.2 to 3.3.
The version of the project is set to 1.0.0-SNAPSHOT.
This library is ready to be released as 1.0 I think. So if you agree with my changes, please go ahead and create a release, and set the version in the develop-branch to 1.1-SNAPSHOT.

Changes look good to me, merging and creating a release version 1.0.0.


Date/time on Indigo don't match library

In Indigo my BMW device has Last Update 2023-06-21 21:37:20 and in the properties I have:
last_update = 21 Jun 2023 21:37:20 BST
timestamp = 21 Jun 2023 21:37:20 BST
I ran a fingerprint using bimmer_connected around the same time and I got this:
    "lastFetched": "2023-06-21T20:37:16.134Z",
    "lastUpdatedAt": "2023-06-21T20:11:40Z",

Last fetched matches the date/time above, save for the time zone conversion. Where can I see the lastUpdatedAt in Indigo?
Thanks

I do not know where that script is getting that value from.  Next time I'm in the code I'll take a look.  Not sure when I'll be working on this plugin again.


PatternDateFormat fails to format 2019-04-26T19:00:00.0000000

We are receiving the date in this format 2019-04-26T19:00:00.0000000 from MSAL API.
This is used to work before on 1.6.0 version. This fix fails this https://github.com/korlibs/klock/commit/1158341f0ede841bb045e94d294e953c5917f9d5#diff-067419ea4769cd82d17ebf8744b70f10L29.
This is the format we were using "yyyy-MM-dd'T'HH:mm:ss.SSSSSSS"
Can I expect a fix for this

Fixed in 1.8.5

Thanks


Errant recurring entries getting added to day

Not sure when this started but seeing some deleted (?) events matching days when they are not on my calendar.

Duplicate of #132


Improve performance for loading checkpoints

Tell us more about this new feature.
Hello,
There is the difference in performance for storing and loading "big" checkpoints (~20Gb), while using s3-connector-for-pytorch and PyTorch. When saving and loading 17.4Gb checkpoint on g5.12xlarge instance in us-west-2 region the time needed for upload is ~17 seconds, but time for load is ~30 seconds. Is it possible to improve loading time?
Bellow is the script that was used for measuring time:
import torch
import uuid
import boto3
import s3torchconnector
import time
from transformers import AutoModelForMaskedLM

print("Start")

# 270mb model
model = AutoModelForMaskedLM.from_pretrained("distilbert/distilbert-base-uncased")
print("Loaded model")

# Increase the embedding size
model.resize_token_embeddings(6000000)
print("Resized model")

checkpoint_bucket = f"checkpoint-test{uuid.uuid4()}"
checkpoint_file = "test.chkpt"
checkpoint_path = f"s3://{checkpoint_bucket}/{checkpoint_file}"
region = "us-west-2"

# create bucket in the same region, where you run script
s3_client = boto3.client('s3', region_name=region)
s3_client.create_bucket(Bucket=checkpoint_bucket, CreateBucketConfiguration={'LocationConstraint': region})
print(f"Bucket '{checkpoint_bucket}' created successfully.")

part_size = 8 * 1024 * 1024
throughput_target_gbps = 100

print(f"part size is {part_size} bytes")
print(f"throughput target is {throughput_target_gbps} gbps")

config = s3torchconnector.S3ClientConfig(part_size = part_size, throughput_target_gbps=throughput_target_gbps)
s3checkpoint = s3torchconnector.S3Checkpoint(region=region, s3client_config=config)

# Measure upload time
t1 = time.time()
with s3checkpoint.writer(checkpoint_path) as writer:
    torch.save(model.state_dict(), writer)
t2 = time.time()

# list files in bucket
response = s3_client.list_objects_v2(Bucket=checkpoint_bucket)
file_name = [obj['Key'] for obj in response['Contents']]
file_size = [obj['Size'] for obj in response['Contents']]
print(f"File in bucket '{checkpoint_bucket}': {file_name}, file size {file_size}")
print(f"upload time to {checkpoint_path} is  {t2 - t1}")

# load model from checkpoint
print(checkpoint_path)
loaded = None
t1 = time.time()
with s3checkpoint.reader(checkpoint_path) as reader:
    loaded = torch.load(reader)
t2 = time.time()
print(f"load time is {t2-t1}")

#clean up bucket
print(f"{checkpoint_bucket} - {checkpoint_file}")
s3_client.delete_object(Bucket=checkpoint_bucket, Key=checkpoint_file)
s3_client.delete_bucket(Bucket=checkpoint_bucket)
print(f"Bucket '{checkpoint_bucket}' deleted successfully.")

script output:
Start
Loaded model
Resized model
Bucket 'checkpoint-test1f891bdb-3a82-42e8-90a4-fa271995888b' created successfully.
part size is 8388608 bytes
throughput target is 100 gbps
File in bucket 'checkpoint-test1f891bdb-3a82-42e8-90a4-fa271995888b': ['test.chkpt'], file size [18630098292]
upload time to s3://checkpoint-test1f891bdb-3a82-42e8-90a4-fa271995888b/test.chkpt is  17.582385540008545
s3://checkpoint-test1f891bdb-3a82-42e8-90a4-fa271995888b/test.chkpt
load time is 28.36537194252014
checkpoint-test1f891bdb-3a82-42e8-90a4-fa271995888b - test.chkpt
Bucket 'checkpoint-test1f891bdb-3a82-42e8-90a4-fa271995888b' deleted successfully.

Greate job!  have you assessed the time required for ckpt downloading as well as the time taken by the PyTorch component torch.loadduring the loading process?

Hi @shiwk , Yes, we've evaluated the time required for both downloading the checkpoint from S3 and the time taken by the torch.load during the loading process to de-serialise data. With the changes in s3torchconnector 1.2.3 we improved that time especially for a bigger files (~ 17Gb). Specifically, the load time for the script at the top on the same instance type decreased from 28.3 seconds to 16.2 seconds.
Start
Loaded model
Resized model
Bucket 'checkpoint-test3abb97f7-09fa-4410-a167-8041eaa5adc1' created successfully.
part size is 8388608 bytes
throughput target is 100 gbps
File in bucket 'checkpoint-test3abb97f7-09fa-4410-a167-8041eaa5adc1': ['test.chkpt'], file size [18630098292]
upload time to s3://checkpoint-test3abb97f7-09fa-4410-a167-8041eaa5adc1/test.chkpt is  18.065913677215576
s3://checkpoint-test3abb97f7-09fa-4410-a167-8041eaa5adc1/test.chkpt
load time is 16.242187023162842
checkpoint-test3abb97f7-09fa-4410-a167-8041eaa5adc1 - test.chkpt
Bucket 'checkpoint-test3abb97f7-09fa-4410-a167-8041eaa5adc1' deleted successfully.

That's greate. Do you know the exact duration it takes to download the checkpoint in this 16.242187023162842 seconds


Update README-install specific version of elasticsearch

Latest version of elasticsearch(2.x.x) is posing a problem specifying the version that works to be used during install

:+1::+1: Gooooood call


Build error - kernel dependency

https://pastebin.com/JiR5Ydwn

Hi guy,
I also encounter this problem and removing external/rsync will resolve my problem.
Could you try it on?


Youtube - Like and Dislike counters inside JSON sometimes empty

Youtube - Like and Dislike counter inside JSON sometimes empty:
$./youtube-dl --version
2<IP_ADDRESS>
Error with videos example:
$ ./youtube-dl -J https://www.youtube.com/watch?v=XSGBVzeBUbk | json_pp | grep -i count
"dislike_count" : null,
"view_count" : 16774885,
"like_count" : null,
$ ./youtube-dl -J https://www.youtube.com/watch?v=hzixp8s4pyg | json_pp | grep -i count
"like_count" : null,
"view_count" : 11937665,
"dislike_count" : null,
Good with videos example:
$ ./youtube-dl -J https://www.youtube.com/watch?v=rO0yXC0oyIA | json_pp | grep -i count
"dislike_count" : 625,
"view_count" : 2705803,
"like_count" : 31129,
$ ./youtube-dl -J https://www.youtube.com/watch?v=wTcNtgA6gHs | json_pp | grep -i count
"view_count" : 36788300,
"like_count" : 169235,
"dislike_count" : 3880,

Workaround diff for file youtube.py
def _extract_count(count_name):
            return str_to_int(self._search_regex(
                -r'-%s-button[^>]+><span[^>]+class="yt-uix-button-content"[^>]*>([\d,]+)</span>'
                +r'\\"%sCount\\":([\d,]+),'
                % re.escape(count_name),
                video_webpage, count_name, default=None))

video_webpage, count_name, default=None))

$ youtube-dl https://www.youtube.com/watch?v=fqLzZ-WUrSc
Traceback (most recent call last):
File "/home/v01/.local/lib/python3.8/site-packages/youtube_dl/extractor/init.py", line 4, in
from .lazy_extractors import *
ModuleNotFoundError: No module named 'youtube_dl.extractor.lazy_extractors'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/v01/.local/bin/youtube-dl", line 5, in
from youtube_dl import main
File "/home/v01/.local/lib/python3.8/site-packages/youtube_dl/init.py", line 43, in
from .extractor import gen_extractors, list_extractors
File "/home/v01/.local/lib/python3.8/site-packages/youtube_dl/extractor/init.py", line 9, in
from .extractors import *
File "/home/v01/.local/lib/python3.8/site-packages/youtube_dl/extractor/extractors.py", line 8, in
from .abcnews import (
File "/home/v01/.local/lib/python3.8/site-packages/youtube_dl/extractor/abcnews.py", line 10, in
from .youtube import YoutubeIE
File "/home/v01/.local/lib/python3.8/site-packages/youtube_dl/extractor/youtube.py", line 2379
% re.escape(count_name),
^
SyntaxError: invalid syntax

def _extract_count(count_name):
return str_to_int(self._search_regex(
-r'-%s-button[^>]+><span[^>]+class="yt-uix-button-content"[^>]*>([\d,]+)'
+r'\"%sCount\":([\d,]+),'
% re.escape(count_name),
video_webpage, count_name, default=None))

Still empty for all the videos for me. Any advice?

Use this patch:
def _extract_count(count_name):
return str_to_int(self._search_regex(
r'([0-9,]+) %ss"}}'
% re.escape(count_name),
video_webpage, count_name, default=None))

Use this patch:
def _extract_count(count_name):
            return str_to_int(self._search_regex(
                r'([0-9,]+) %ss"}}'
                % re.escape(count_name),
                video_webpage, count_name, default=None))

It worked! Thank you!


nat-gateway.sh init not exec after k8s cluster reboot

Expected Behavior
vpc_nat_gateway pod running normal for nat rules exec after reboot whole k8s cluster node
Actual Behavior
vpc_nat_gateway pod  all iptables rules disappear after reboot whole k8s cluster node
Steps to Reproduce the Problem

k8s + kubeovn 1.12 running ,make vpc-nat-gateway pod  and fip iptables rules etc
reboot whole cluster node
vpc-nat-gateway pod will running auto but all iptables rules disappear

Additional Info

Kubernetes version:
Output of kubectl version:
(paste your output here)

kube-ovn version:
(paste your output here)

operation-system/kernel version:
Output of awk -F '=' '/PRETTY_NAME/ { print $2 }' /etc/os-release:
Output of uname -r:
(paste your output here)

kube-ovn-controller logs :
I0920 17:37:38.452561       1 vpc_dns.go:520] the vpc-dns configuration is not set
I0920 17:37:38.457852       1 node.go:752] start to check gateway status
I0920 17:37:41.604881       1 vpc_nat_gateway.go:603] handle update subnet route for nat gateway gw1
I0920 17:37:41.605216       1 vpc_nat_gateway.go:719] bash /kube-ovn/nat-gateway.sh ext-subnet-route-add <IP_ADDRESS>/24,<IP_ADDRESS>
I0920 17:37:41.683340       1 vpc_nat_gateway.go:727] failed to ExecuteCommandInContainer, stdOutput: ext-subnet-route-add <IP_ADDRESS>/24,<IP_ADDRESS>
nat gateway not inited
E0920 17:37:41.683393       1 vpc_nat_gateway.go:729] command terminated with exit code 1
E0920 17:37:41.683414       1 vpc_nat_gateway.go:630] failed to exec nat gateway rule, err: command terminated with exit code 1
E0920 17:37:41.683654       1 vpc_nat_gateway.go:197] process: updateVpcSubnet. err: error syncing 'gw1': failed to exec nat gateway rule, err: command terminated with exit code 1, requeuing
I0920 17:37:42.361659       1 network_attachment.go:66] parsePodNetworkAnnotation: [{"interface":"podefb02104595","name":"net1-3","namespace":"default"}], default
I0920 17:37:42.368780       1 network_attachment.go:66] parsePodNetworkAnnotation: [{"interface":"pod774883e771f","name":"net1","namespace":"default"}], default
I0920 17:37:42.379176       1 network_attachment.go:66] parsePodNetworkAnnotation: kube-system/ovn-vpc-external-network, kube-system
I0920 17:37:42.379197       1 network_attachment.go:21] parsePodNetworkObjectName: kube-system/ovn-vpc-external-network
I0920 17:37:43.453296       1 vpc_dns.go:520] the vpc-dns configuration is not set
I0920 17:37:43.458556       1 node.go:752] start to check gateway status
I0920 17:37:48.453692       1 vpc_dns.go:520] the vpc-dns configuration is not set
I0920 17:37:48.459161       1 node.go:752] start to check gateway status
I0920 17:37:53.454383       1 vpc_dns.go:520] the vpc-dns configuration is not set
I0920 17:37:53.459781       1 node.go:752] start to check gateway status
I0920 17:37:58.142309       1 provider-network.go:16] start to sync ProviderNetwork status
I0920 17:37:58.454521       1 vpc_dns.go:520] the vpc-dns configuration is not set
I0920 17:37:58.460799       1 node.go:752] start to check gateway status
I0920 17:37:59.095805       1 node.go:942] start to check node port-group status
I0920 17:37:59.096066       1 network_attachment.go:66] parsePodNetworkAnnotation: [{"interface":"pod774883e771f","name":"net1","namespace":"default"}], default
I0920 17:37:59.106064       1 network_attachment.go:66] parsePodNetworkAnnotation: [{"interface":"podefb02104595","name":"net1-3","namespace":"default"}], default
I0920 17:38:01.308490       1 node.go:68] enqueue update node master2
I0920 17:38:01.308673       1 node.go:594] handle update node master2
I0920 17:38:01.684658       1 vpc_nat_gateway.go:603] handle update subnet route for nat gateway gw1
I0920 17:38:01.684983       1 vpc_nat_gateway.go:719] bash /kube-ovn/nat-gateway.sh ext-subnet-route-add <IP_ADDRESS>/24,<IP_ADDRESS>
I0920 17:38:01.773061       1 vpc_nat_gateway.go:727] failed to ExecuteCommandInContainer, stdOutput: ext-subnet-route-add <IP_ADDRESS>/24,<IP_ADDRESS>
nat gateway not inited
E0920 17:38:01.773185       1 vpc_nat_gateway.go:729] command terminated with exit code 1
E0920 17:38:01.773226       1 vpc_nat_gateway.go:630] failed to exec nat gateway rule, err: command terminated with exit code 1
E0920 17:38:01.773370       1 vpc_nat_gateway.go:197] process: updateVpcSubnet. err: error syncing 'gw1': failed to exec nat gateway rule, err: command terminated with exit code 1, requeuing
I0920 17:38:02.389130       1 network_attachment.go:66] parsePodNetworkAnnotation: [{"interface":"podefb02104595","name":"net1-3","namespace":"default"}], default
I0920 17:38:02.397445       1 network_attachment.go:66] parsePodNetworkAnnotation: [{"interface":"pod774883e771f","name":"net1","namespace":"default"}], default
I0920 17:38:02.407975       1 network_attachment.go:66] parsePodNetworkAnnotation: kube-system/ovn-vpc-external-network, kube-system
I0920 17:38:02.407994       1 network_attachment.go:21] parsePodNetworkObjectName: kube-system/ovn-vpc-external-network
I0920 17:38:03.455243       1 vpc_dns.go:520] the vpc-dns configuration is not set
I0920 17:38:03.461586       1 node.go:752] start to check gateway status
I0920 17:38:05.880274       1 node.go:68] enqueue update node master1
I0920 17:38:05.880326       1 node.go:594] handle update node master1
I0920 17:38:06.776480       1 node.go:68] enqueue update node master3
I0920 17:38:06.776616       1 node.go:594] handle update node master3
I0920 17:38:08.456118       1 vpc_dns.go:520] the vpc-dns configuration is not set
I0920 17:38:08.462390       1 node.go:752] start to check gateway status
I0920 17:38:13.456578       1 vpc_dns.go:520] the vpc-dns configuration is not set
I0920 17:38:13.462839       1 node.go:752] start to check gateway status
I0920 17:38:18.457453       1 vpc_dns.go:520] the vpc-dns configuration is not set
I0920 17:38:18.463780       1 node.go:752] start to check gateway status
I0920 17:38:21.774577       1 vpc_nat_gateway.go:603] handle update subnet route for nat gateway gw1

k8s 1.21.5 + kubeovn 1.12.0 + ubunutu 18.0.4 +3 node cluster

as the log shown:

failed to ExecuteCommandInContainer, stdOutput: ext-subnet-route-add <IP_ADDRESS>/24,<IP_ADDRESS>
nat gateway not inited

the nat gw is not inited, so no rule in the nat gw pod.

I do not know why the route add failed  in your env

bash /kube-ovn/nat-gateway.sh ext-subnet-route-add <IP_ADDRESS>/24,<IP_ADDRESS>

I think you should check the cmd in the pod manually

it can exec command in vpc--nat-gateway pod in which kube-ovn-controller notify vpc-nat-gateway pod create event.
but when i reboot whole k8s cluster node ,it seems likely vpc--nat-gateway pod created before kube-ovn-controller pod stared , so  kube-ovn-controller cannot notify vpc-nat-gateway pod create event. it ignore /kube-ovn/nat-gateway.sh init command exec. because when i delete vpc-nat-gateway pod manunal, the recreated vpc-nat-gateway pod running normal with iptables rules.

it can exec command in vpc--nat-gateway pod in which kube-ovn-controller notify vpc-nat-gateway pod create event. but when i reboot whole k8s cluster node ,it seems likely vpc--nat-gateway pod created before kube-ovn-controller pod stared , so kube-ovn-controller cannot notify vpc-nat-gateway pod create event. it ignore /kube-ovn/nat-gateway.sh init command exec. because when i delete vpc-nat-gateway pod manunal, the recreated vpc-nat-gateway pod running normal with iptables rules.

The nat gw init should be executed just in the process of the pod running, this could fix the issue:

remove the init from the code, and set the init in the pod startup cmd

@wenwenxiong Hi, what do you think about this, do you have the free time to try it?

i add  /kube-ovn/nat-gateway.sh init command in pod initcontainer,

after  whole k8s cluster reboot , i found
bash /kube-ovn/nat-gateway.sh ext-subnet-route-add <IP_ADDRESS>/24,<IP_ADDRESS>

was exec successful, but no command like
 bash /kube-ovn/nat-gateway.sh eip-add ...
 bash /kube-ovn/nat-gateway.sh floating-ip-add ...
···
running after  whole k8s cluster reboot in kube-ovn-controller logs

so the vpc-gateway-nat pod missing eip and fip iptables rules.

this is another problem ?

maybe the kube-ovn-controller started should check the nat gw pod has been recreated, and trigger all nats re-creation
the nat created time is just as the pod creationTime

how to reslove it ?

the kube-ovn-controller started should check the nat gw pod has been recreated, and trigger all nats re-creation
the nat created time should behind the pod creationTime，if not ，should recreate

After the kube-ovn-controller restarted, should make sure all the nats have been recreated after the creation of the nat gw pod, if not, trigger all nats belonging to the nat gw pod to re-create.

the kube-ovn-controller started should check the nat gw pod has been recreated, and trigger all nats re-creation
the nat created time should behind the pod creationTime，if not ，should recreate

After the kube-ovn-controller restarted, should make sure all the nats have been recreated after the creation of the nat gw pod, if not, trigger all nats belonging to the nat gw pod to re-create.

it seems hard for me to do this

can you fix it ?

can you fix it ?

i will try later

这个目前把路由移到 init 中是有提升的，但是需要配合后续的 kube-ovn-controller 需要判断iptables nats 的时间是否早于  nat gw pod 的创建时间，这种 nat 需要触发重建。

@wenwenxiong Hi, i have a pr maybe could cover the issue (nats not recoverd), but I do not really know how you test this. can you help make a confirmation?
the pr is: https://github.com/kubeovn/kube-ovn/pull/3261/files

i found it has not this issue in ubuntu22.04 os, it is look likes iptables version diff in host os and vpc-nat-gateway container os
in ubuntu18.04, it throw error like this
vpc_nat_gateway.go:731] failed to ExecuteCommandInContainer errOutput: Warning: Extension DNAT is not supported, missing kernel module?
E0927 12:45:54.228902       1 vpc_nat_gw_eip.go:255] failed to create eip 'eipf03' in pod, Warning: Extension DNAT is not supported, missing kernel module?
E0927 12:45:54.228941       1 vpc_nat_gw_eip.go:111] error syncing 'eipf03': Warning: Extension DNAT is not supported, missing kernel module?, requeuing

in ubuntu 22.04 it is normal

some related docker kubernetes issue
https://github.com/robbertkl/docker-ipv6nat/issues/47
https://github.com/kubernetes/kubernetes/issues/94754
https://github.com/kubernetes/kubernetes/issues/95409

@wenwenxiong Hi, i have a pr maybe could cover the issue (nats not recoverd), but I do not really know how you test this. can you help make a confirmation?
the pr is: https://github.com/kubeovn/kube-ovn/pull/3261/files

it seems work in ubuntu 22.04 os.
but has error in ubuntu 18.04 os like
failed to ExecuteCommandInContainer errOutput: Warning: Extension DNAT is not supported, missing kernel module?

@wenwenxiong Hi, i have a pr maybe could cover the issue (nats not recoverd), but I do not really know how you test this. can you help make a confirmation?
the pr is: https://github.com/kubeovn/kube-ovn/pull/3261/files

it seems work in ubuntu 22.04 os. but has error in ubuntu 18.04 os like
failed to ExecuteCommandInContainer errOutput: Warning: Extension DNAT is not supported, missing kernel module?

Thanks for your help


there's no route on the client or the server for url

Hi,
First of all thank you for all your work and Orion in version 1.0. So I just installed it and I have this message:

Oops, looks like there's no route on the client or the server for url: "http://<IP_ADDRESS>:3000/."

Orion is installed on a vm ubuntu server.
Thanks

You have to use the example-blog to get a working front end or implement yours orionjs server packages only add admin/backend for you

Ok ok Thanks


Fix a memory leak in HandlerBase.

The ThreadLocal's value in HandlerBase is never cleaned up.
Found by log statements issued by Tomcat during the undeployment of a web application that uses an embedded broker instance.

This looks good. Thanks for the contribution!
However, before merging this needs a couple of things...
First, it needs an associated Jira. If you don't already have an Apache Jira account you can request one. I'll watch for your request and approve it ASAP. Once you create a Jira you should update the commit message to reference it. See more details about commit messages in our Hacking Guide.
Second, it needs a test to both validate the fix and also prevent regressions in the future.

Thanks, will do!
(may be a few days before I get to it)

@cardamon, do you plan on following up on this PR with the requested changes?

Actually, I'm not sure how this could be easily & meaningfully tested in a unit test. ThreadLocal instances are really quite annoying. The don't allow their value to be queried without actually setting it.
One direction would be for the ThreadLocal to be mocked with Mockito, and then verify that the correct calls are made. But the unit test would just be a replication of the logic of the code that's being tested. Although it would I suppose prevent regressions by accidental modification of code.
Would that be enough?

a check-leak test?
https://github.com/apache/activemq-artemis/tree/main/tests/leak-tests

@cardamon : a check-leak test?
https://github.com/apache/activemq-artemis/tree/main/tests/leak-tests

Didn't knew that existed as I'm not that familiar with the project but I'll have a look at that, thx.

This is being replaced by https://github.com/apache/activemq-artemis/pull/4880


PerlLexer : comment regex

(Original issue 400 created by None on 2009-03-18T07:35:27+00:00)
Issue in source code above. As you see, everything after "{{{=shift}}}" is considered as comment. I often use this construct , so most of my scripts are not highlighted.
The line which causes this bug seems to bee :
in source:pygments/lexers/agile.py#L836 :
{{{
#!python
(r'=[a-zA-Z0-9]+\s+.*?\n=cut', Comment.Multiline)
}}}
"{{{=something  ... =cut}}}" construct (Perl POD) are valid only if "{{{=something}}}" AND "{{{=cut}}}" are first words on their lines.
=== buggy sample code ===
{{{
#!perl
$toto=shift or die;
$toto = "Hello" + $toto;
print $toto;
=begin comment
this is a comment
=cut
}}}
Reported by guest

(Original issue was assigned to thatch)
(Original issue 400 last updated on 2009-04-21T18:29:35+00:00)
(Issue automaticaly closed due to status in Bitbucket: resolved)

(Original comment by gbrandl on 2009-04-21T18:29:35+00:00)
And merged to main -- [7e582d7ddd61].

(Original comment by thatch on 2009-03-25T22:55:07+00:00)
Fixed in my branch.


Fixed oxygen tank names

About the PR
Fixed https://github.com/space-wizards/space-station-14/issues/3561
Screenshots

Changelog

This isn't the solution, the names and descriptions of gas tanks are loaded from localisations, so they deliberately don't have name: or description: definitions in the YAML.
If the name/desc aren't be assigned then that's its own issue, they should be getting assigned appropriately (and were recently), and the  spawn menu should be using them properly.

If I had to take a wild guess, serv3 broke name localization loading.


Adds start:proxy, running the frontend without proxy terminal 🤯🥑💌

fixes https://issues.redhat.com/browse/ADVISOR-1624
its all @rvsia 's fault

Codecov Report

Merging #8 (98ed045) into master (a5e8dc7) will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master      #8   +/-   ##
======================================
  Coverage    0.00%   0.00%
======================================
  Files          28      28
  Lines         195     195
  Branches       13      13
======================================
  Misses        182     182
  Partials       13      13

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a5e8dc7...98ed045. Read the comment docs.


Azure DevOps blocked by CORS policy

This extension looks promising! However, I haven't been able to test it properly since we use a private NuGet server at Azure DevOps.
When I select my custom package source, the console shows this error:
Access to XMLHttpRequest at 'https://pkgs.dev.azure.com/<my-account>/_packaging/<my-account>/nuget/v3/index.json' from origin 'vscode-webview://00kb1ob2qmam4vbu5d7jdeo7q95o0dc9bevqqrrnba97217bcmmh' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
I have replaced my real account name with <my-account>. Am I using a correct URL? Can you please provide an example URL for use with Azure DevOps?

Hello. When you configured the custom source, did you provide the authorizationHeader?

Just to piggyback on this one.
I've got the correct url for my custom feed but can't connect. I'm presuming the token for the authorization header is a PAT from azure devops, right? Or should it be coming from elsewhere.
Thanks

Nevermind, I've figured it out.
For anyone else who struggles, the PAT from AzureDevops needs to be base 64 encoded to before you can use it in the extension.

Sorry for the late reply @adrian-pavel. Yes, I provided the header like suggested in the readme.
... and today everything works! Perhaps the problem was at Azure's side. I see in the request to index.json that the server now responds with the following header:
access-control-allow-origin: *

I'm pretty sure that the header was missing earlier, so my hope was that you could change the code so that the request was sent without an origin. That won't be necessary :)
It's interesting that you're using the visualstudio.com domain. In my Connect to feed page I'm instructed to use pkgs.dev.azure.com and I can now confirm that it works.

@palhal Yeah, the connect page tells me to use visualstudio.com . It probably has something to to with when the account was created. My account is pretty old, since the days when it was called Visual Studio Online. Glad it's working for you now.


[BUG] About Us section UI

Description of the bug
Fix the Messy About Us Page Card UI: Align Elements Properly and Enhance Visual Appeal
and multiple photos appearing in our team section need to be fixed
Please add screenshots (if applicable)

Add any other context about the problem here
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

@RitiChandak  This has already been assigned to @tanishqamitra so you can look into other issues or you can create new issues to work on .

okay sir


Get pools from balancer

I have managed to deploy balancer pool. But I do not get the events that I am expecting. So I can not find the created pool. I have tried booth with py evm chain and with ganache. Next steps are to add the balancer code as a truffle project and see if I can step through the solidity code to debug it better.

Apparently this is an issue with eth-tester. Switching to ganace-cli solved this.


Fix perf_capture_realtime without a start_time

A number of specs test perf_capture_realtime without a start time and
without a last_perf_capture_on.  This leads to a comparison of nil and
Time failure.

thanks @chessbyte


Login dev

Error handling features and redirect features are available.  I had to reformat a new base html file to make it more friendlier for the page feature I was trying to implement, the old base html file still exists for reference incase we need to use some the CSS features.
Configurations comply with html standards.  Form classes are implemented.  HTML rendering of forms completed.  Form Handling and redirects completed. User session allows user to submit their name and display on main page.  Message flashing enabled when mouse arrow floats over the field, directing them to enter their name.
We have a navigation button that only directs back to home page, but hey, WE HAVE A BUTTON!

TODO:

[ ] Remove references to app.py in Dockerfile
[ ] Extend base.html to the other templates


Add MO-Gymnasium logo to docs

Hi @mgoulao, thanks for the PR! Could you also update the readme file of the project as you uploaded the images ? :-)


Add optional Virtual Switch

In CRC, VirtualSwitch is always set. When it's empty, we can remove the network interface instead of guessing a name.
https://github.com/code-ready/crc/blob/master/pkg/crc/machine/hyperv/driver_windows.go#L20

PR rebased

Release is done. Merging it.


[loc] added connectionProgressTitle

This PR fixes #

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
3 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.008%) to 42.242%

Files with Coverage Reduction
New Missed Lines
%

extensions/machine-learning/src/common/processService.ts
3
77.78%

Totals

Change from base Build<PHONE_NUMBER>:
0.008%

Covered Lines:
27812

Relevant Lines:
61608

💛  - Coveralls


Rename package to opendesign/psd-ts

this way i can actually use published octopus-psd in lambda function

cool, i can make it a draft until i know the final decision :)


When using env variable for alternative registry index, token retrieval from credentials does not handle hyphens/underscores correctly

Problem
When the alternative registry index is specified via environment variable (e.g., CARGO_REGISTRIES_MY_REGISTRY_INDEX), then retrieving the token from .cargo/credentials{,.toml} does not handle hyphen/underscore interchangeability in the registry name. It tries to load the token from registries.my_registry section, while it should load it from registries.my-registry if the hyphenated name was used for login.
Steps

Create a project that depends on/publishes into an alternative registry with a multi-word name (e.g., my-registry).
Specify the index via the environment variable (e.g., CARGO_REGISTRIES_MY_REGISTRY_INDEX).
Run cargo login --registry my-registry and input the token. This saves the token to the credentials file under registries.my-registry section.
Run a cargo command (e.g., build) that requires authentication for the registry. It fails with the error below:

error: no token found for `my-registry`, please run `cargo login --registry my-registry`
or use environment variable CARGO_REGISTRIES_MY_REGISTRY_TOKEN

This is caused by the fact that the code retrieving the index name takes the name of the environment variable and only strips prefix and suffix and makes it lowercase. Such extracted name is then used for trying to get the token. However, there is a mismatch between my_registry and my-registry, causing cargo to think there is no token for the registry.
Possible Solution(s)
I have a working fix that compares the name with the alternative registry key of the source ID (if available) here, and if I detect that these are equal except hyphens and underscores, I reassign the name to be the alternative registry key instead. It works for the case I described above, but I don't know if there isn't a case when this would fail because of alternative registry key being absent.
If this solution is a good start, I can open a PR.
Notes
Before the error cargo also gives this note (notice use of underscore instead of hyphen):
note: name of alternative registry `[..]` set to `my_registry`

The cargo login command also gives suspicious logs:
note: name of alternative registry `[..]` set to `my_registry`
    Updating `my-registry` index
note: name of alternative registry `[..]` set to `my_registry`
       Login token for `my-registry` saved

Version
cargo 1.67.1 (8ecd4f20a 2023-01-10)
release: 1.67.1
commit-hash: 8ecd4f20a9efb626975ac18a016d480dc7183d9b
commit-date: 2023-01-10
host: x86_64-unknown-linux-gnu
libgit2: 1.5.0 (sys:0.16.0 vendored)
libcurl: 7.86.0-DEV (sys:0.4.59+curl-7.86.0 vendored ssl:OpenSSL/1.1.1q)
os: Linux [64-bit]

Just for reference, using the environment variable for token (CARGO_REGISTRIES_MY_REGISTRY_TOKEN) works.


Is this project dead?

There are open issues and pull requests not being handled.
Is there time to move on?

@Linuxman827 I made a fork of this project to suit my own needs. You may find it useful. https://github.com/stickz/rtinst
To install my fork, you can simply run the following command:
sudo bash -c "$(wget --no-check-certificate -qO - https://raw.githubusercontent.com/stickz/rtinst/master/rtsetup)"
Afterwards, this command will setup everything. The recommended operating system is Ubuntu 20.04 LTS.
sudo rtinst
I have fixed the problem with the Letsencrypt certificate not installing. And resolved the issue with the Country flags not working. I also upgraded libtorrent & rTorrent with the udns patch, so the seed box will scale nicely with thousands of torrents.

not quite dead but I have limited time to work on it.


concave MeshColliders are not supported

I'm getting this message in the console:
Triggers on concave MeshColliders are not supported
UnityEngine.Collider:set_isTrigger(Boolean)
CelestialBodyGenerator:HandleGameModeGeneration() (at Assets/Solar-System-Episode_02/Assets/Celestial Body/Scripts/CelestialBodyGenerator.cs:90)
CelestialBodyGenerator:Start() (at Assets/Solar-System-Episode_02/Assets/Celestial Body/Scripts/CelestialBodyGenerator.cs:42)
It does work, nonetheless, for what I'm using it for, but I assume something could/should be done about this issue. I'm just not that well versed in Unity (yet?) to figure it out.

Old, but I can't leave this without any clarification ;p
I don't think this is that big of an issue, I recall it getting raised but there were no obvious problems. Plus, it's referring to triggers - I don't remember any trigger in this project either.


correct way to add a babel plugin (vite)

Hi,
I'm trying to figure out what is the best way to add a babel plugin.
It all started when I had the error:
unknown: Support for the experimental syntax 'classProperties' isn't currently enabled

which then suggested to add the @babel/plugin-syntax-class-properties plugin.
My app was created with the preact template of Vite's create-app. It looks like Vite imports @preact/preset-vite, which then imports @prefresh/vite. So I made the following change my local version of this file https://github.com/JoviDeCroock/prefresh/blob/main/packages/vite/src/index.js#L107:
- plugins: [[prefreshBabelPlugin, { skipEnvCheck: true }]],
+ plugins: [[prefreshBabelPlugin, { skipEnvCheck: true }], "@babel/plugin-proposal-class-properties"],

This fixes my problem, but obviously it's just a hack, not the ideal solution.
Is there something obvious that I'm missing? If you're OK with letting the user pass plugins options, let me know if I can help with a pull request.
Thanks a lot!

We can implement a similar way to how vite does this for the react-refresh plugin https://github.com/vitejs/vite/blob/main/packages/plugin-react-refresh/index.js#L81

Thanks! 💝


combination of valid/invalid files success in /convert/office

when invoking the /convert/office endpoint, I send a list of files (POST form-data)
if all are valid (office format etc.), the call succeeds with 200 OK
if one or more are invalid (e.g. .zip file) the call still succeeds with 200 OK - it should return 206 PARTIAL CONTENT or 400 Bad Request

Actually it will search for all files with a valid format. It returns a 400 Bad Request only if it did not found any files.
For instance:

you send one .docx and one .zip file
Gotenberg will convert the .docx file and ignore the .zip file

As this is too much dependent of the module, and overall an edge case, I prefer to close this. Feel free to reopen if anything new!


The captured video is rendered on the canvas, and the position is wrong.

Bug reports:
The captured video is rendered on the canvas, and the position is wrong. Am I using it wrong?
code segment:

    <button onclick="snapshot()">snapshot</button>

        <video style="width: 300px; height: 200px; margin-top: 50px; margin-left: 50px;" controls
            crossorigin="anonymous"
            src="https://webrtc.github.io/samples/src/video/chrome.mp4"></video>

    canvas:

###Specifications:

html2canvas version tested with: v1.4.1
Browser & version: Chrome v113
Operating system: Mac/M2

Something similar was happening to me, with a video created by AR.js. this library uses negative offsets to center the video and fill the container. This is a quick workaround:
 DocumentCloner.prototype.createVideoClone = function (video) {
            var canvas = video.ownerDocument.createElement('canvas');
            canvas.width = video.offsetWidth;
            canvas.height = video.offsetHeight;
            let left = parseInt(video.style.marginLeft);
            let top =  parseInt(video.style.marginTop);
            var ctx = canvas.getContext('2d');
            try {
                if (ctx) {
                    ctx.drawImage(video, left, top, canvas.width, canvas.height);
                    if (!this.options.allowTaint) {
                        ctx.getImageData(0, 0, canvas.width, canvas.height);
                    }
                }
                return canvas;
            }
            catch (e) {
                this.context.logger.info("Unable to clone video as it is tainted", video);
            }
            var blankCanvas = video.ownerDocument.createElement('canvas');
            blankCanvas.width = video.offsetWidth;
            blankCanvas.height = video.offsetHeight;
            return blankCanvas;
        };

In this mod just the left and top vars are obtained, and then passed to ctx.drawImage.
This is a quick solution, some check should probably be made to make sure those properties make sense (for example transforming them to pixels if they are percentaje, etc)


superfile: init at 1.1.2

close #310659
Description of changes
superfile is pretty fancy and modern terminal file manager. I defined a derivation because https://github.com/NixOS/nixpkgs/issues/310659 requests this package.
https://github.com/MHNightCat/superfile
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[x] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[x] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 310718 run on aarch64-darwin 1

1 package built:

superfile


Problem with History AutoDelete 2.0.0

I have history set to 90 days. My history shows items from mid-May to mid-August, i.e., 90 days.
Right after updating, my history now shows items from mid-June to mid-August, i.e., 60 days.
This despite not changing any settings and History AutoDelete still showing 90 days as a setting. It appears to have erased one month exactly, i.e., it thinks 90 days is 60 days.
I reinstalled a backup of Firefox, installed the new version again and the same thing happened in exactly the same way, i.e., lost one month of history.

Hmm sorry about that. I tested the migration code numerous times, so I'm not entirely sure what might be the problem. Does your domain list import?

2.0.0 was auto approved by a bot. Unfortunately, 2.0.1 has to go through review now.
I think that if you are trying to update, the workaround is to disable the Keep History for... setting, update, then enable the keep history setting.

Thank you for the quick response. I'm back on the older version which is working just fine and will wait for the new version.
Thank you so much for taking the time to make this excellent add-on.

@sleek22 If you like, you can try the workaround (Unchecking the Keep History for... setting will disable the automatic history cleanup).
Another option to avoid the migration process is go into your profile\browser-extension-data\{7e79d10d-9667-4d38-838d-471281c568c3} and delete the storage.js (this is where WebExtensions keep their data now).
This will start the extension in a clean slate but you will have to redo your settings (which shouldn't be too bad in 2.0.0+ since you can use wildcards in the domain now 😄 )

New problem...
I tried the first method you suggested by unchecking "Keep History for" and installed the latest version. However, I was unable to re-enable it after the installation. I click in the checkbox and nothing happens, nor on the box below which I had checked and it doesn't respond either. (the days counter will respond however when I click on up or down).
All the checkboxes however, are unresponsive. Restarting Firefox had no effect.

I tried the first method you suggested by unchecking "Keep History for" and installed the latest version. However, I was unable to re-enable it after the installation. I click in the checkbox and nothing happens, nor on the box below which I had checked and it doesn't respond either. (the days counter will respond however when I click on up or down).

I removed the Save/Cancel buttons cause it's not needed anymore, since the UI basically reflects the true state of that setting automatically (this is what I like about React/Redux). So if it's checked, then it's true for that setting.
Does it still check/uncheck though?
You can test if a setting is working by Enable/Disable Show Number of Visits In Browser Icon and refreshing a page to see if that shows a number in the icon.

Old version: pointer symbol on white space and over checkboxes, text selection tool when over text.
New version: pointer symbol on white space, hand symbol on checkboxes and when over text.

That's expected since it makes sense to click on the text to active the respective checkbox (makes it easier for mobile as well).

Edit: Now I see the problem, apparently the checkboxes activate, but only in Nightly 57+ and Chrome for some odd reason? I'll have to do more testing. Looks like I'll update the compatibility to Nightly for now.
Also you can switch between 1.X.X and 2.X.X since the old settings haven't been deleted.

Hey @sleek22 , do you mind testing the version I posted in the beta versions and see if the checkboxes work? The first migration code I forgot to add an id which caused the settings page checkboxes to be confused which settings to be updated.
In this one, I added a settings validator, which will detect if there's anything wrong with the settings object and attempts to fix it (in this case by adding an id).
So I take back what I said about it only working in Nightly 57+ and Chrome as they already have an id.
Thanks for testing!
https://addons.mozilla.org/en-US/firefox/addon/history-autodelete/versions/beta

No problem, my pleasure.
I just installed beta version 2.0.2b1, it did not delete the month of entries like before and the checkboxes are now working. The List of Expressions has also carried over.
The Welcome page shows that it has deleted 1 entry and I expect that number to grow as the day goes on. For now, I assume it's working. I'll report back if I see any problems.

New problem...
Because it stays on reporting only 1 history entry in total, I changed the number of days from 90 to 80 and nothing happened. I even restarted Firefox and it still shows 1 history entry in total, i.e., no deleted history for this session.
I went back to my old Firefox version with the old History AutoDelete which is the one I was using just before trying out the beta version and History AutoDelete immediately removed 43 entries.
Checking it again just now shows it has just moved to 44 entries.
It may be that the new version is not actually deleting entries.

Because it stays on reporting only 1 history entry in total, I changed the number of days from 90 to 80 and nothing happened. I even restarted Firefox and it still shows 1 history entry in total, i.e., no deleted history for this session.

Oh yeah, I think I removed it counting the history deleted from the "Keep History for.. setting", as it only counts the ones that are auto deleted via an visiting a url. <--If you still think it's a good idea, I can reintroduce it.
History is still auto deleted though via the "Keep History for.." setting
Also got rid of the session delete counter.

As I wrote this, history deleted this session has moved to 45 entries. So I think that there is something wrong in the beta version as it showed no changes while I was testing.

The migration doesn't import your counter, so it'll start at 0.
Side note: The places.sqlite contains your history I believe, so you wouldn't have to restore your old profile everytime.

Also got rid of the session delete counter.<<

I like the old version better. It was simple to understand. And because it was more verbose, you could see that it was doing its job.

The places.sqlite contains your history I believe, so you wouldn't have to restore your old profile everytime.<<

Yes, you are right. I thought about that after writing my comment. But that is still a problem because over time, I make changes to bookmarks, adding, deleting, and sorting bookmarks. Those are also part of places.sqlite. Also, I lose "visited links" which is how I know how far to go down in forums that constantly update.
The reason that I restore the whole profile is that sometimes new add-ons can make changes in other parts of Firefox including clashing with other add-ons. (I have about a hundred add-ons installed so the extra insurance is worth it).

Also got rid of the session delete counter.<<
I like the old version better. It was simple to understand.

Since it was a pretty good redesign of the code (I'd say about 75%-85%), it was one of the things that I didn't reimplement. Though there's nothing stopping me from adding it again if there's enough demand.

Since I think all the main blockers that prevents the usage of the extension have been fixed, I'm going to ahead and push 2.0.2 out since 2.X.X hasn't been "manually" reviewed yet, and I want that to be reviewed asap so that future versions of 2.X.X won't take as long.


RSA Extension

An extension to use RSA in TurboWarp.

@familycomicsstudios, This extension is broken, you need to fix this

@familycomicsstudios, This extension is broken, you need to fix this

do not ping people because their stuff doesnt work, they will get to it if they have time.
and dont approve random prs cause you find them "cool", you are slowing down the process.


ui/map: delete map after unsubscribing from prime

resolve https://github.com/commaai/openpilot/issues/29135

also need to switch MapSetting in HomeWindow to DriverView

Tested and the prime -> no prime transition works even if you unsubscribe while onroad (if you set RequestRepeater->while_onroad = true)


Creating a deal for a 3bot in farmmanagement causes an error if user is not existed

Description

Adding a deal for a wrong user should raise a message not an error

i have installed by jsng threebot server with 3bot name bishoy2.3bot
install frammanagment package

first bug

go to SET FARM PRICES  tab , then I set the is to 10 8 6  as shown on below picture
issue: got empty rows with edit and delete options , I can not do any of them ( edit or delete) using firefox

second bug

go to ADD A DEAL tab, when try to set a deal to bishoy.3bot account got below error

code

root@testing:~/js-sdk# git log -1
commit b4f36cfd9588c597f70bfee0f61d28881c8d3e8a (HEAD -> development, origin/development, origin/HEAD)
Merge: 187ec85a 42d0b061
Author: Abdul Rehman<EMAIL_ADDRESS>Date:   Wed Mar 3 13:17:57 2021 +0400

    Merge pull request #2692 from threefoldtech/development_presearch_chart

    presearch node - lower chart limits

Thrid bug

go to farm settings
press on + IP Address management
delete added IP address
got error as below picture

feature request
to validated the walllet address on  adding a wallet address
steps:

go to farm settings
add a new wallet, put the invalid address as below :
the wallet address added depiste validation

@Pishoy please make sure to test against testnet or devnet explorer, there're no custom prices available on mainnet.

verified and closed


[Bug]: Can't find binary if it's in a subdirectory

Instl should also look for binaries in subdirectories, after the package is extracted, if the binary is not in the root directory.

Example: https://instl.sh/grafana/k6


A11y Fail: Data Grid - check box labels

CENG_1958
https://react-magma.cengage.com/version/4.5.0/api/datagrid/#selectable
Issue:
Labels used for checkboxes inside of tables that are used to select rows do not have meaningful and unique labels (i.e. "Select row undefined of undefined").
Suggestion:
Ensure that every label is unique (i.e. Select row 2 of 10).

This has been broken since v2 😓


implement parsing of quotes/replies from whatsapp

Parsing of the replies of Whatsapp is entirely doable, but sending them from matterbridge to Whatsapp gets tricky, since WA wants the user ID of the original message in addition to the message ID.

Hello @ilmaisin
I expanded on your PR (#1974) to start getting replies from other platforms to display on WhatsApp properly.
However I think I might be making the call to WhatsApp incorrectly.
Can you take a look?


Fix for null annotations

Fixes #192

My original though was to set it to null to avoid creation of many list objects in the in-memory graph if the annotation processing feature is turned off. Can you give an example of the IllegalStateExceptions that codyze gives? I was under the impression that I "fixed" this in https://github.com/Fraunhofer-AISEC/codyze/pull/41


Begin work on UX for find path commands

This is currently failing because of the changes to IBC routing. I've tried to incorporate them over in Gaia, but I'm not able to get channel handshakes working. Try running the following command when building from gaia@ibc-alpha:
./two-chainz local skip && ./config-relayer skip && rly tx link demo -o 3s -d


Use transformed storage state

This issue came out of the thought: what if the state is not the storage itself, but some value that can be transformed into the storage?
Say a state is $u$, and we compute the storage from that as $S = f(u)$ with some invertible function $f$. Then
$$
\frac{\text{d} u}{\text{d}t} = \left(\frac{\text{d}f}{\text{d} S}\right)^{-1}\frac{\text{d} S}{\text{d} t},
$$
where $\frac{\text{d} S}{\text{d} t}$ is the current water balance function.
Say we let $f(u) = \ln(e^u+1)$, which is the softplus function. This function is extremely close to the identity function for $u \gg 0$, but goes asymptotically to $0$ for $u \rightarrow -\infty$. Also
$$
\left(\frac{\text{d}f}{\text{d}S}\right)^{-1} = 1 + e^{-u}.
$$
What effectively happens here is that for large storage there is hardly any change, but small storage values get spread out over all negative values of $u$, and a completely empty basin corresponds to $u = -\infty$. This has the nice property that we do not need to check whether $u$ is out of domain (range) because any value of $u$ corresponds to a positive storage.
For the implementation this would mean that the initial 'storage' state is $u_0 = f^{-1}(S_0)$, and in the water balance function we need to compute $S = f(u)$. This adds quite some (conceptual) complexity, but might behave quite nicely around basins that are drying out.

This is a cute idea.
The transformation can also be done ad hoc, wherever it's relevant, which has the benefit of things looking slightly less exotic. I think the main difficulty lies with the DiffEq.jl convergence machinery? You'd have to override those methods somehow.


Adding Unify AI Support

Features

Adding Unify AI for using all the AI Models with 1 API key

Feature Docs
Influence
Result
Other

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
Attention: Patch coverage is 1.49254% with 66 lines in your changes missing coverage. Please review.

Project coverage is 62.35%. Comparing base (ab846f6) to head (25bcaa2).

Files
Patch %
Lines

metagpt/provider/unify.py
0.00%
66 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1446      +/-   ##
==========================================
- Coverage   62.59%   62.35%   -0.24%
==========================================
  Files         287      288       +1
  Lines       17589    17656      +67
==========================================
+ Hits        11009    11010       +1
- Misses       6580     6646      +66

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

@geekan, Can you please approve this PR? I added support for Unify AI, with the help of which MetaGPT users will now be able to use all open-source and closed-source LLM Models with just one API key.

So is it a similar component to oneapi? I don't see the need to write another class independent of OpenAI. It seems that directly registering an LLMType is enough?


Azure OpenAI Samples GitHub repository link broken

Azure OpenAI Samples GitHub repository link is broken in page https://learn.microsoft.com/en-us/azure/ai-services/openai/how-to/switching-endpoints

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

ID: 9bc69645-68ef-5eb4-e623-c56091525a55
Version Independent ID: 0621c1bb-324e-0f54-0be4-102e76101f16
Content: How to switch between OpenAI and Azure OpenAI Service endpoints with Python - Azure OpenAI Service
Content Source: articles/ai-services/openai/how-to/switching-endpoints.md
Service: azure-ai-openai
GitHub Login: @mrbullwinkle
Microsoft Alias: mbullwin

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

@harshulpandav
Thank you for bringing this to our attention. However, if you are looking for the Azure OpenAI Samples GitHub repository, GitHub link is working now. Let me know If there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.
We are going to close this thread. if there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.


Websocket fails with 404 when trying to connect over SSL

I'm trying to setup laravel-websockets using nginx as a reverse proxy.  I can't seem to get past this 404 error and I'm not sure what's setup wrong.  I've tried manually running php artisan websockets:serve and via supervisor.  I can tell something's happening because when that is not running I get a 502 error.  I've got this running locally without SSL, so I know my general config is good.
Here's the socket request url:
wss://myapp.com/ws/app/app_key?protocol=7&client=js&version=4.4.0&flash=false
.env
BROADCAST_DRIVER=laravel-websocket
LARAVEL_WEBSOCKETS_APP_ID=app_id
LARAVEL_WEBSOCKETS_APP_KEY=app_key
LARAVEL_WEBSOCKETS_APP_SECRET=secret_key
MIX_SOCKET_APP_KEY="${LARAVEL_WEBSOCKETS_APP_KEY}"
MIX_SOCKET_PATH=/ws

broadcasting.php
'laravel-websocket' => [
    'driver' => 'pusher',
    'key' => env('LARAVEL_WEBSOCKETS_APP_KEY'),
    'secret' => env('LARAVEL_WEBSOCKETS_APP_SECRET'),
    'app_id' => env('LARAVEL_WEBSOCKETS_APP_ID'),
    'options' => [
        'host' => '<IP_ADDRESS>',
        'port' => 6001,
        'scheme' => env('LARAVEL_WEBSOCKETS_SCHEME', 'http')
    ],
],

websockets.php (everything else is default)
'apps' => [
    [
        'id' => env('LARAVEL_WEBSOCKETS_APP_ID'),
        'name' => env('APP_NAME'),
        'key' => env('LARAVEL_WEBSOCKETS_APP_KEY'),
        'secret' => env('LARAVEL_WEBSOCKETS_APP_SECRET'),
        'capacity' => null,
        'enable_client_messages' => true,
        'enable_statistics' => true,
    ],
],

Client Config
let echoConfig = {
    broadcaster: 'pusher',
    key: process.env.MIX_SOCKET_APP_KEY,
    wsHost: window.location.hostname,
    wsPort: process.env.MIX_SOCKET_PORT || null,
    wsPath: process.env.MIX_SOCKET_PATH || null,
    disableStats: true,
    enabledTransports: ['ws', 'wss'],
    encrypted: true
}

nginx conf
server {
    listen 443 ssl http2;
    listen [::]:443 ssl http2;

    ...

    location / {
        try_files $uri $uri/ /index.php?$query_string;
    }

    ...

    location /ws {
        proxy_pass             http://<IP_ADDRESS>:6001;
        proxy_set_header Host  $host;
        proxy_read_timeout     60;
        proxy_connect_timeout  60;
        proxy_redirect         off;

        # Allow the use of websockets
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection 'upgrade';
        proxy_set_header Host $host;
        proxy_cache_bypass $http_upgrade;
    }

    ssl_certificate /etc/letsencrypt/live/myapp.com/fullchain.pem; # managed by Certbot
    ssl_certificate_key /etc/letsencrypt/live/myapp.com/privkey.pem; # managed by Certbot
}

Client error:
Error during WebSocket handshake: Unexpected response code: 404
Nginx error:
connect() failed (111: Connection refused) while connecting to upstream,

Are you using AWS? You might have enabled port 6001 on Forge, but it might be disabled by AWS security group. I am struggling with the same issue. Working fine on Homestead for me.
See
https://www.portcheckers.com/

@xlcrr I'm not using forge but I am on AWS.  I wouldn't think that would be an issue since all websocket traffic is coming in through port 443 on the route /ws then nginx sends it to port 6001 internally.

I figured out the problem here, I was using location /ws in nginx and wsPath: '/ws' in the client.  While this worked for proxying in nginx, the backend was not setup to handle the /ws route and I'm not sure how I would configure that, so of course it was returning a 404.
I followed the @ syntax in the examples and now everything appears to be working.

I figured out the problem here, I was using location /ws in nginx and wsPath: '/ws' in the client.  While this worked for proxying in nginx, the backend was not setup to handle the /ws route and I'm not sure how I would configure that, so of course it was returning a 404.
I followed the @ syntax in the nginx examples and now everything appears to be working.
map $http_upgrade $type {
  default "web";
  websocket "ws";
}

server {
  # Your default configuration comes here...

  location / {
    try_files /nonexistent @$type;
  }

  location @web {
    try_files $uri $uri/ /index.php?$query_string;
  }

  location @ws {
    proxy_pass             http://<IP_ADDRESS>:6001;
    proxy_set_header Host  $host;
    proxy_read_timeout     60;
    proxy_connect_timeout  60;
    proxy_redirect         off;

    # Allow the use of websockets
    proxy_http_version 1.1;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection 'upgrade';
    proxy_set_header Host $host;
    proxy_cache_bypass $http_upgrade;
  }
}

@johnwilhite did you got it working?
I have a Elastic Beanstalk application, i open port 6001 and I can see the websocket request coming on EC2 the access.log, but I guess it's not forwarding to the right docker container port.

@fernandocoronatomf Yes it's working for me now.  I did not open port 6001, since that is only used by the internal proxy.  Nginx proxies websocket requests from port 443 to 6001 internally.   Not sure your issue is the same as mine was, but hope that helps.

@johnwilhite how did you added "ws" as a prefix for the websocket route?
So I just got it working but a bit different setup.
My load balancer always sends the traffic to port 80, so I did that:
my conf.d
`upstream docker {
server <IP_ADDRESS>:80;
keepalive 256;
}
upstream websocket {
server <IP_ADDRESS>:6001;
keepalive 256;
}
`
My sites-enabled
`    map $http_upgrade $connection_upgrade {
default        "upgrade";
websocket      "ws";
}
server {
    listen 80;

    gzip on;
    gzip_comp_level 4;
    gzip_types text/html text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript;

    access_log    /var/log/nginx/access.log;

    location / {
            proxy_pass            http://docker;
            proxy_http_version    1.1;

        proxy_set_header    Connection            $connection_upgrade;
        proxy_set_header    Upgrade                $http_upgrade;
        proxy_set_header    Host                $host;
        proxy_set_header    X-Real-IP            $remote_addr;
        proxy_set_header    X-Forwarded-For        $proxy_add_x_forwarded_for;
    }

    location /app {
            proxy_pass             http://websocket;
            proxy_set_header Host  $host;
            proxy_read_timeout     60;
            proxy_connect_timeout  60;
            proxy_redirect         off;

            # Allow the use of websockets
            proxy_http_version 1.1;
            proxy_set_header Upgrade $http_upgrade;
            proxy_set_header Connection 'upgrade';
            proxy_set_header Host $host;
            proxy_cache_bypass $http_upgrade;
    }
}

`
with this setup my websocket runs with no SSL because the load balancer always expects https


CFY-5975 added default retry values to execute in local

Closed: As this PR is more than six months old without having been merged. Please reopen (and rebase if necessary) if it is still relevant.


Blank page

When I followed through the tutorial, and navigate to my localhost:port/movies I get a blank page.

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

ID: 6719f08e-3bd7-dc1a-71df-f2ef9fbca9d8
Version Independent ID: 7096fdb3-612e-9e00-bd0b-8ea4886a09ce
Content: Add a model to a Razor Pages app in ASP.NET Core
Content Source: aspnetcore/tutorials/razor-pages/model.md
Product: aspnet-core
Technology: aspnetcore-tutorials
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

The tutorial works. I'm not sure what step you missed. You might try asking on StackOverflow,.

I have same issues but i know what is going on,
some how it generate codes (Create,Delete,Details,....) on Models, you need create Movies folder in Pages and move these file into it. Worked for me .
Rick Anderson is great and the tutorial is fine.


The request for path /v1.0/sandbox/dev/apps?SchemaUpdateMode=synchronize failed with code InternalServerError. Reason: Sequence contains more than one element

Hi all!
When I try to publish my extension onto a Sandbox environment I get the following error:
The request for path /v1.0/sandbox/dev/apps?SchemaUpdateMode=synchronize failed with code InternalServerError. Reason: Sequence contains more than one element
I didn't change anything to the code..
I cloned the repo onto a new system and cleared VS Code Cache since that was suggested in ticket: https://github.com/microsoft/AL/issues/4940
I also gave a new version number to my extension.
I deleted the XLF files and some other folders to see if it has something to do with some AL files.
My colleagues cloned the repo on their system but the issue persists.
If I upload the extension manually onto the Sandbox, no errors are given and the extension is installed correct.
Any suggestions what else I could do?
Thanks in advance!
Version:

Business Central SaaS Version: 14.0.29537.29654
AL Version; 3.0.126610

Hi! Let's get the issue to a team who will fix and backport it, as this repository is only for issues related to the AL compiler and developer tools of the latest developer preview environment for Dynamics 365 Business Central. We suggest that you open a support case to ensure that all Business Central users benefit from your catch as soon as possible.
To open a support case, you can:

Open a support request to CSS through the PartnerSource portal

Contact your Service Account Manager (SAM) in your local subsidiary to understand what is included in your contract as of support incident and PAH (Partner Advisory Hours). Your SAM might also direct you "step by step" how to open a support request or how to get credentials, if this is the first time for you or your company


Add OS package install option

Add an option to  install Wildfly from an OS package Vs from downloaded tar

Coverage remained the same at 73.83% when pulling 213711b174bbece2b049eb7e3ae5043506ce56f3 on vrtdev:feature/os_package_install into cd998a141c872f94b3a0b2ac66739f712025d0b6 on biemond:master.

Coverage remained the same at 73.83% when pulling 213711b174bbece2b049eb7e3ae5043506ce56f3 on vrtdev:feature/os_package_install into cd998a141c872f94b3a0b2ac66739f712025d0b6 on biemond:master.

Hey @zipkid, this is pretty much the code in PR #137
Do you know @jstremick ?
I suppose the same suggestions I gave there applies here:

remove install_method parameter and use package if it's provided and URL otherwise
remove code to set ownership of wildfly directory. I believe it's package responsability.

What do you think?

Coverage remained the same at 73.83% when pulling f78628b1e0a902c451903d5e9784d88d0712f033 on vrtdev:feature/os_package_install into cd998a141c872f94b3a0b2ac66739f712025d0b6 on biemond:master.

Coverage remained the same at 73.83% when pulling f78628b1e0a902c451903d5e9784d88d0712f033 on vrtdev:feature/os_package_install into cd998a141c872f94b3a0b2ac66739f712025d0b6 on biemond:master.

Coverage remained the same at 73.83% when pulling f78628b1e0a902c451903d5e9784d88d0712f033 on vrtdev:feature/os_package_install into cd998a141c872f94b3a0b2ac66739f712025d0b6 on biemond:master.

Coverage remained the same at 73.83% when pulling f78628b1e0a902c451903d5e9784d88d0712f033 on vrtdev:feature/os_package_install into cd998a141c872f94b3a0b2ac66739f712025d0b6 on biemond:master.

Coverage remained the same at 73.83% when pulling f78628b1e0a902c451903d5e9784d88d0712f033 on vrtdev:feature/os_package_install into cd998a141c872f94b3a0b2ac66739f712025d0b6 on biemond:master.

Coverage remained the same at 73.83% when pulling f78628b1e0a902c451903d5e9784d88d0712f033 on vrtdev:feature/os_package_install into cd998a141c872f94b3a0b2ac66739f712025d0b6 on biemond:master.

Coverage remained the same at 73.83% when pulling f78628b1e0a902c451903d5e9784d88d0712f033 on vrtdev:feature/os_package_install into cd998a141c872f94b3a0b2ac66739f712025d0b6 on biemond:master.

@jairojunior any thoughts on this?

The fourth comment is mine. @coveralls is kind of annoying. :smile:

Damn... I missed yours in the forest....

I hope to be able to modify my code according to that soonish...

Awesome. Feel free to disagree though, it's just a suggestion based exclusively on code review. :smile:

Coverage remained the same at 73.987% when pulling 2f81d319ef066ddd565540112f491d4a7c1f0888 on vrtdev:feature/os_package_install into e609be57a6eea9ef0773e4a71de7c6872bddf10d on biemond:master.

Coverage remained the same at 73.987% when pulling 2f81d319ef066ddd565540112f491d4a7c1f0888 on vrtdev:feature/os_package_install into e609be57a6eea9ef0773e4a71de7c6872bddf10d on biemond:master.

Coverage remained the same at 73.987% when pulling 2f81d319ef066ddd565540112f491d4a7c1f0888 on vrtdev:feature/os_package_install into e609be57a6eea9ef0773e4a71de7c6872bddf10d on biemond:master.

Coverage remained the same at 73.987% when pulling 2f81d319ef066ddd565540112f491d4a7c1f0888 on vrtdev:feature/os_package_install into e609be57a6eea9ef0773e4a71de7c6872bddf10d on biemond:master.

Coverage remained the same at 73.987% when pulling 2f81d319ef066ddd565540112f491d4a7c1f0888 on vrtdev:feature/os_package_install into e609be57a6eea9ef0773e4a71de7c6872bddf10d on biemond:master.

Coverage remained the same at 73.987% when pulling 2f81d319ef066ddd565540112f491d4a7c1f0888 on vrtdev:feature/os_package_install into e609be57a6eea9ef0773e4a71de7c6872bddf10d on biemond:master.

Awesome. Thanks.


ModuleNotFoundError: No module named 'ph2'

I'm running the following commands:
$ virtualenv -p python3 parsehub
$ cd parsehub
$ source bin/activate
(parsehub)$ pip3 install py-parsehub
...
(parsehub)$ python3
Python 3.7.2 (default, Jan 13 2019, 12:50:01)
[Clang 10.0.0 (clang-1<IP_ADDRESS>)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from ph2 import ParseHub
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'ph2'

Any idea why it's unable to find the module ph2?

There's no ph2 in site-packages directory.
I have the same issue when I installed via pip

it works through requests library
check this: https://parsehub.com/docs/ref/api/v2/?python#get-a-project
import requests
params = {
"api_key": "{YOUR_API_KEY}",
"offset": "0",
"include_options": "1"
}
r = requests.get('https://parsehub.com/api/v2/projects/{PROJECT_TOKEN}', params=params)
print(r.text)


backspace not working in vs code

Type: Feature Request
Backspace is not working in code
VS Code version: Code 1.92.0 (b1c0a14de1414fcdaa400695b4db1c0799bc3124, 2024-07-31T23:26:45.634Z)
OS version: Windows_NT x64 10.0.22631
Modes:

/confirmPlease
As well as the advice the next comment from the bot will give, maybe also look at https://github.com/microsoft/vscode/wiki/Keybinding-Issues


[MBL-823] Update ProjectNotificationViewmodel to RX2

📲 What
Updating the viewmodel and relevant view code and tests to Rx2
🤔 Why
RX1 ❌
RX2 ✔
🛠 How
🧠
📋 QA
Confirm that the views in the notification settings page for individual projects works as expected
Story 📖
MBL-823

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
Attention: Patch coverage is 75.00000% with 5 lines in your changes missing coverage. Please review.

Project coverage is 67.50%. Comparing base (25bf865) to head (3b6127b).

Files with missing lines
Patch %
Lines

...starter/viewmodels/ProjectNotificationViewModel.kt
75.00%
3 Missing and 2 partials :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@             Coverage Diff              @@
##             master    #2114      +/-   ##
============================================
- Coverage     67.51%   67.50%   -0.02%
  Complexity     2133     2133
============================================
  Files           364      364
  Lines         22186    22190       +4
  Branches       3116     3117       +1
============================================
  Hits          14979    14979
- Misses         5568     5571       +3
- Partials       1639     1640       +1

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


Fixup links

This is the result of running the script from #238 on all markdown files.

Ah, good catch! Will fix.


DDLStatement literal bug

Fixes #3155 .
Changes proposed in this pull request:

Fixed bug when parsing sql select statement which contains 'INNODB','TLS','Y','N','not support','K','M','G','T'.

Pull Request Test Coverage Report for Build 532

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

Totals

Change from base Build 443:
0.0%

Covered Lines:
11016

Relevant Lines:
16500

💛  - Coveralls


WIP - DST-800/key error handling

Codecov Report
Attention: Patch coverage is 28.37838% with 53 lines in your changes missing coverage. Please review.

Project coverage is 75.45%. Comparing base (ea08a7f) to head (def5907).

Files with missing lines
Patch %
Lines

django_app/report_a_suspected_breach/utils.py
13.15%
33 Missing :warning:

...o_app/report_a_suspected_breach/views/views_end.py
16.66%
20 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #253      +/-   ##
==========================================
- Coverage   76.69%   75.45%   -1.24%
==========================================
  Files          77       77
  Lines        2330     2392      +62
==========================================
+ Hits         1787     1805      +18
- Misses        543      587      +44

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

🚨 Try these New Features:

Flaky Tests Detection - Detect and resolve failed and flaky tests
JS Bundle Analysis - Avoid shipping oversized bundles


Question: Use FlakyTest via dotnet test command line?

Hey!
Here's a simple question :)
I tried out using FlakyFact when debugging in Visual Studio and all felt good.
Now that I try to run the tests via command line, e.g. dotnet test, then the FlakyTest parts aren't taken into consideration.
Am I doing something wrong or should this not be possible?

Hey @rgustavsson could you elaborate on "not working"?  How are you determining they aren't working?
FWIW the github actions running for the repo is all CLI based, and you can see in the build logs that the FlakyFact attributes are being reattempted.
One example: https://github.com/Kritner-Blogs/FlakyTest.XUnit/actions/runs/4039288571/jobs/6943875444

Oh one additional thought - https://github.com/Kritner-Blogs/FlakyTest.XUnit/blob/main/test/FlakyTest.XUnit.Tests/xunit.runner.json if you use a similar xunit.runner.json (specifically the diagnosticMessages) you should be able to see in the dotnet test output the outcomes of the retries (or not if retries aren't needed, or in your case of potentially not working)

I'm sorry @Kritner
Seem like I'm doing it wrong and that it actually works.


Iterate line entries for an account

We want to show the balance and recent transactions on screen for our users, and wanted a convenient way to expose the line items. This PR ensures that the line items are exposed as read only.

Thanks for raising this PR and sorry you've had to wait so long before we could take a look at it.
Having lines as a public method on the BalanceCalculator starts to muddy its responsibilities a little bit, it feels like we're missing a concept. What do you think about extracting the RelationBuilder into a public class that can be referenced on its own? Maybe calling it something like LinesBuilder or LinesSelector or something similar? Then the BalanceCalculator could either take the output of that as an input or instantiate its own lines builder. It also has the benefit that we could now test the new builder directly which would be helpful if we want to rely on its output.

Closing as stale. Feel free to reopen if you get a chance to implement the review suggestions.


Add dynamic update using interval

I started to implement some of these in my own project before finding this, do you plan to add the interval argument that exists in ember-moment so that the helper can optionally self-update it's value dynamically?
https://github.com/stefanpenner/ember-moment#common-optional-named-arguments
https://github.com/stefanpenner/ember-moment/blob/master/addon/helpers/-base.js#L20

Sounds like a good idea, I haven't thought about it initially. But it will take some time for me to understand and implement the same here. Meanwhile, if you have a PR ready, would be glad to take a look....

I just added this locally (taken from ember-moment), could throw a pr together soon
import Helper from '@ember/component/helper';
import { run } from '@ember/runloop';

export default class HelperBase extends Helper {
  disableInterval = false;

  compute(value, { interval }) {
    if (this.disableInterval) return;

    if (this.intervalTimer) {
      this.clearTimer();
    }

    if (interval) {
      this.intervalTimer = setTimeout(() => {
        run(() => this.recompute());
      }, parseInt(interval, 10));
    }
  }

  clearTimer() {
    clearTimeout(this.intervalTimer);
  }

  destroy() {
    this.clearTimer();
    super.destroy(...arguments);
  }
}


When i build GooglePlaces Demo is linker error.

Environment details

Xcode 11.2

Stack trace
Undefined symbols for architecture x86_64:
  "_OBJC_CLASS_$_PlacePickerViewController", referenced from:
      objc-class-ref in DemoData.o
  "_OBJC_CLASS_$_PhotosViewController", referenced from:
      objc-class-ref in DemoData.o
  "_OBJC_CLASS_$_AutocompleteWithSearchDisplayController", referenced from:
      objc-class-ref in DemoData.o
  "_OBJC_CLASS_$_MainSplitViewControllerBehaviorManager", referenced from:
      objc-class-ref in DemoAppDelegate.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Thanks!

Thanks for reporting. I can repro.


Display problem on mobile phone: cannot hide template

i thing the error is comming from the folder name (blog-template), maybe it should be renamed rooch reports since it contain weekly report, the blog template displays only on mobile seems its hidden on larger screen sizes

@wow-sven  can you take a look when you have time?


Introduce the usage of nodemon for deployment and recovery

Is your feature request related to a problem? Please describe.
Currently if the bot crashes human intervention is required. This is not ideal since staff can not always be on call to catch it.
Also, when developing the bot the test bot needs to be ran on the developers own system which makes handling keys, ID:s etc. messy.
Describe the solution you'd like.
The ideal solution would be to have the production enviroment automatically pull changes from a "release" or "production" branch in the repository to then restart with the new functions enabled.
A similar solution might be interesting for development and testing.
The crash-logs will ideally be available as soon as the bot is up again, where they should be sent is up to debate.
Have you come up with a good solution of how to implement this feature?
Nodemon will help with restarts and restarting when files are updated, automatic deployment could likely be solved with Githooks.
As for making the crash-logs available I currently have no direct solution.
Please discuss! I think this will improve workflow and development greatly!

I have decided that githooks are not worth it since you need a static IP for that to work and I have no intention of fixing that for such a small service. Instead I will use Cron jobs to pull from specific branch at 3am 😄, nodemon seems to be a nice solution for keeping the bot running and restarting when changes to the files have been made!


[GPR-354] Sale Widget | Handle Default Error and Transaction Error

Summary

When transaction fails with txn hash display error view with View Details ( link to block explorer )

If not hash, display Dimiss ( closes widget )

When any other error, display default error view

@dreamoftrees Thanks for your comment here
Thats actually why this is just a different block explorer class, as I wasnt sure how much of the blockscout api/config we want to expose in the future, hopefully this should be enough for now. and easy to refactor if we want to move this to the existing Blockscout class.


Active project?

Hey @Desdaemon, this is a very interesting project. Are you planning on actively developing it?
I'm happy to contribute where I can. Is the todo list up-to-date?
On a side-note, I tried to build the project but flutter_rust_bridge throws an error:
[ERROR] panicked at 'not yet implemented: generate code for type "char"' in flutter_rust_bridge_codegen-1.81.0/src/ir/ty_unencodable.rs:59:9
Is it building fine for you?
Cheers

Hi, I'm using the polars branch of flutter_rust_bridge to build this project, beware it is semi-outdated and has some unmerged changes. polars_dart is as much about dogfooding flutter_rust_bridge as me playing with polars, but PRs are welcome as well! I'll update the todo with new items when I can.


bug: Repeatedly logged out of Cody

Version
Latest Pre-Release(couldnt find the number)
Describe the bug
When restarting Visual Studio Code, im logged out at all. I need to click sign-in with sourcegraph each time. I have a semi high-latency network:  Download Mbps
13.93  Upload Mbps
0.97
Expected behavior
That it sings me in automatically i would like too so that you can configure infinite timeout
Additional context
█ telemetry-v2: recordEvent: cody.extension/savedLogin
█ auth: Authenticating to https://sourcegraph.com/...
█ ModelsService: User model preferences changed {"defaults":{"chat":"anthropic::2023-06-01::claude-3.5-sonnet","edit":"anthropic::2023-06-01::claude-3.5-sonnet","autocomplete":"fireworks::v1::deepseek-coder-v2-lite-base"},"selected":{}}
█ ChatsController:constructor: init
█ GraphQLTelemetryExporter: telemetry: failed to evaluate server version: Error: accessing Sourcegraph HTTP API: ETIMEDOUT: timed out after 20000ms (https://sourcegraph.com/.api/graphql?SiteProductVersion)
█ auth: Failed to authenticate to https://sourcegraph.com/ due to likely network error accessing Sourcegraph HTTP API: ETIMEDOUT: timed out after 20000ms (https://sourcegraph.com/.api/graphql?CurrentUser)
█ telemetry-v2: recordEvent: cody.auth/failed
█ AutocompleteProvider:notSignedIn: You are not signed in.
█ GraphQLTelemetryExporter: evaluated export mode: 5.2.5+
█ UpstreamHealth: Ping took 13529ms (Gateway: 3020ms)
█ GraphQLTelemetryExporter: Error exporting telemetry events: Error: Variable "value" has invalid value null.
Expected type "JSONValue!", found null.
█ ChatController: updateViewConfig
█ ChatController: updateViewConfig
█ telemetry-v2: recordEvent: cody.webview.auth/simplifiedSignInGoogleClick
█ GraphQLTelemetryExporter: Error exporting telemetry events: Error: Variable "value" has invalid value null.
Expected type "JSONValue!", found null.
█ auth: Authenticating to https://sourcegraph.com/...
█ auth: Authentication succeeed to endpoint https://sourcegraph.com/
█ auth: Checking Cody subscription status for user viktvik882
█ auth: Checked Cody subscription status for user viktvik882: isActiveProUser=false
█ auth: Authenticating to https://sourcegraph.com/...
█ telemetry-v2: recordEvent: cody.auth.fromCallback.web/succeeded
█ telemetry-v2: recordEvent: cody.auth/connected
█ SymfRunner: unsafeEnsureIndex file:///home/viktor/Documents/Django%20Example%20App
█ ClientConfigSingleton: refreshing configuration
█ auth: Authentication succeeed to endpoint https://sourcegraph.com/
█ auth: Checking Cody subscription status for user viktvik882
█ AutocompleteProvider:initialized: using "dotcom-feature-flags": "fireworks::deepseek-coder-v2-lite-base"
█ GraphQLTelemetryExporter: evaluated export mode: 5.2.5+
█ GraphQLTelemetryExporter: evaluated export mode: 5.2.5+
█ ClientConfigSingleton: refreshed {"codyEnabled":true,"chatEnabled":true,"autoCompleteEnabled":true,"customCommandsEnabled":true,"attributionEnabled":false,"smartContextWindowEnabled":true,"modelsAPIEnabled":false,"latestSupportedCompletionsStreamAPIVersion":4}
█ ModelsService: new models API enabled
█ auth: Checked Cody subscription status for user viktvik882: isActiveProUser=false
█ ChatController: updateViewConfig
█ GraphQLTelemetryExporter: Error exporting telemetry events: Error: Variable "value" has invalid value null.
Expected type "JSONValue!", found null.
█ ModelsService: ModelsData changed 11 primary models
█ telemetry-v2: recordEvent: cody.experiment.deepCody/enrolled
█ UpstreamHealth: Ping took 102ms (Gateway: 192ms)
█ ClientConfigSingleton: refreshing configuration
█ ClientConfigSingleton: refreshed {"codyEnabled":true,"chatEnabled":true,"autoCompleteEnabled":true,"customCommandsEnabled":true,"attributionEnabled":false,"smartContextWindowEnabled":true,"modelsAPIEnabled":false,"latestSupportedCompletionsStreamAPIVersion":4}
█ ClientConfigSingleton: refreshing configuration
█ ClientConfigSingleton: refreshed {"codyEnabled":true,"chatEnabled":true,"autoCompleteEnabled":true,"customCommandsEnabled":true,"attributionEnabled":false,"smartContextWindowEnabled":true,"modelsAPIEnabled":false,"latestSupportedCompletionsStreamAPIVersion":4}

Is this issue still persisting or has it been resolved in the latest build(s)?
Thanks!

It is, for me. It happens on Ubuntu while I SSH to it, doesn't happen for my local OSX machine. Super frustrating. Even tried VPN to solve this to no luck, maybe I should forwarding try different ports or something?


feat: a new construct from me

Fixes #

✖  125:3  https://github.com/kcwinner/cdk-appsync-react-demo/blob/main/.projenrc.js  remark-lint:double-link
✖  215:3  https://github.com/kcwinner/cdk-appsync-react-demo/blob/main/.projenrc.js  remark-lint:double-link
Completely up to you what section you want it in

✖  125:3  https://github.com/kcwinner/cdk-appsync-react-demo/blob/main/.projenrc.js  remark-lint:double-link
✖  215:3  https://github.com/kcwinner/cdk-appsync-react-demo/blob/main/.projenrc.js  remark-lint:double-link
Completely up to you what section you want it in

opt to keep line 125 over line 215.

opt to keep line 125 over line 215.