ListClusterAdminCredentials returns empty list without any error.

Bug Report

import path of package: github.com/Azure/azure-sdk-for-go/services/containerservice/mgmt/2022-01-01/containerservice
SDK version: master
output of go version: go version go1.17.3 linux/amd64

What happened?
I wanted to list cluster admin credentials, but the ListClusterAdminCredentials retruns an empty list, though the API requested (made from postman) returns values.
Code:

res, err := aksClient.ListClusterAdminCredentials(ctx, "rg-name", "cluster-name", "")

There is no error, but the returned list is empty.

What did you expect or want to happen?
I expected to get the cluster config
How can we reproduce it?

Create an AKS cluster
Setup Service Principle to use Azure API
Query: https://management.azure.com/subscriptions/{{subscriptionId}}/resourcegroups/{{rg-name}}/providers/Microsoft.ContainerService/managedClusters/{{cluster-name}}/listClusterAdminCredential?&api-version=2022-01-01. It should return a list of Kubeconfigs
Create an aksClient and use the above function.

Anything we should know about your environment.

The subscription on which I made the API call, as well I used the sdk was onboarded with Azure Lighthouse

@0x113 Thanks for reaching out to us and sharing this feedback. We will look into this and get back to you once we have an update.

Thank you @navba-MSFT.

@0x113 Could you share your complete sample code snippet here too ? So that we can debug the same code. Awaiting your reply.

Maybe not a full snippet, but I think the most crucial part:
	credConfig := auth.NewClientCredentialsConfig(creds.clientID, creds.clientSecret, creds.tenantID)
	authorizer, err := credConfig.Authorizer()
	if err != nil {
		return nil, err
	}

	aksClient := containerservice.NewManagedClustersClient(azSubscriptionID)
	aksClient.Authorizer = authorizer
        // List admin credentials
        res, err := aksClient.ListClusterAdminCredentials(ctx, rg.Name, aksCluster.Name, "")
	if err != nil {
		return nil, err
	}
        log.Info("Azure data", "Kubeconfigs", res.Kubeconfigs) // <- Empty list

I check and I use the same data in my API call. Also, I did some initial debugging, and I used ListClusterAdminCredentialsPreparer to see the request. From there, the URL matches the one I use in Postman to call Azure API. But, I tried to send that request with both http.Client, and aksClient.Send ( I did not use any decorators). Both methods returns (*http.Request, error'). In both cases, the error was nil, but when I printed out the response, I've seen such message:
json: unsupported type: func() (io.ReadCloser, error)

Perhaps there is something wrong with unmarshalling the response to the Golang struct, but I'm not sure.

@0x113 I tried to reproduce the issue using the sample code you had provided but it worked for me. I was able to fetch the Kubeconfig details:

Sharing the screenshot here. Could you confirm if this is what you were looking for ? Awaiting your reply.

@0x113 A quick follow-up on this to check if you had a chance to look at the above comment. Awaiting your reply.

@0x113 Thanks for getting back. Sharing my sample snippet here if that helps.
package main

import (
	"context"
	"log"
	"github.com/Azure/azure-sdk-for-go/services/containerservice/mgmt/2022-01-01/containerservice"
	"github.com/Azure/go-autorest/autorest/azure/auth"
)

var (
	subscriptionID      string
	objectID            string
	clientSecret        string
	clientID            string
	TenantID            string
	location            = "MyLocation"
	resourceGroupName   = "MyRG"
	managedClustersName = "MyClusterName"
	configName          = "MyConfigName"
)

func main() {
	subscriptionID = os.Getenv("AZURE_SUBSCRIPTION_ID")
	if len(subscriptionID) == 0 {
		log.Fatal("AZURE_SUBSCRIPTION_ID is not set.")
	}

	objectID = os.Getenv("AZURE_OBJECT_ID")
	if len(objectID) == 0 {
		log.Fatal("AZURE_OBJECT_ID is not set.")
	}

	clientSecret = os.Getenv("AZURE_CLIENT_SECRET")
	if len(clientSecret) == 0 {
		log.Fatal("AZURE_CLIENT_SECRET is not set.")
	}

	clientID = "7f68d8ff-XXXXX-XXXX-XXXX-XXXXXX309ed"
	if len(clientID) == 0 {
		log.Fatal("AZURE_CLIENT_ID is not set.")
	}

	TenantID = "72XXXX-XXXXX-XXXX-XXXX-XXXXXdb47"
	if len(clientSecret) == 0 {
		log.Fatal("AZURE_TENANT_ID is not set.")
	}
	ctx := context.Background()

	credConfig := auth.NewClientCredentialsConfig(clientID, clientSecret, TenantID)
	authorizer, err := credConfig.Authorizer()
	if err != nil {
		//return nil, err
	}

	aksClient := containerservice.NewManagedClustersClient(subscriptionID)
	aksClient.Authorizer = authorizer
	// List admin credentials
	res, err := aksClient.ListClusterAdminCredentials(ctx, resourceGroupName, managedClustersName, "")
	if err != nil {
		//return nil, err
	}
	log.Println("Azure data", "Kubeconfigs", res.Kubeconfigs)

}

C:> go version
go version go1.18.1 windows/amd64

Please test this once you get a chance. Awaiting your reply.

@0x113 Please let me know if you had any updates on this. Awaiting your reply.

@navba-MSFT, sorry for the late response, but I was really busy. I'll try your snippet and get back to you as soon as possible.

@0x113 Thanks for getting back. I shall wait for the updates from you.

@0x113 Any update on this ?

@navba-MSFT, I'm really sorry for not getting back. I've been quite busy in past last two weeks. I'll try to use your snipper during the weekend, and I'll get back to you.

@0x113 Thanks for getting back. I shall wait for your reply.

@0x113 The action is now pending on you to test the above sample and get back to us. We will now proceed with closure of this github issue. If you need any further assistance on this issue in future, please feel free to reopen this thread. We would be happy to help.


Feature request sequential downloads

如果反馈BUG，请提供以下信息，如果可能，同时提供英文描述，谢谢。

Transmssion 版本:
Tr Web Control 版本:
浏览器名称及版本：
问题描述:

For English User
Please provide the following information.

Transmssion version: 2.94
Tr Web Control version: 1.6.0 beta (20180906)
Browser name & version：Chrome 80.0.3987.149
Problem description:

It would be very nice to be able to download the files in sequential order so the movies download and I can watch them while they download, thank you very much

I have a fork in https://github.com/jjm2473/transmission-streaming

https://github.com/jjm2473/transmission-streaming/wiki


Moving back to live this project to help the migration to Spring Boot & Spring Cloud?

Hello,
I'm wondering if it would make sense to restart this project to help the migration of legacy Java applications to Spring Boot & Spring Cloud...
Best regards.

Sorry, but we don't have any plans to do that. This project is dormant and is unlikely to be updated.

Thanks @wilkinsona for your quick answer.
Working on the migration of legacy applications to PCF (after attending https://content.pivotal.io/blog/helping-partners-transform-the-pivotal-platform-acceleration-lab ), I might be interested in contributing to the update of this project. Is it something that could be possible?

No, sorry. This project has served its purpose. What you're proposing sounds like it would be better as a new, separate project.


symlink command missing a hyphen before option

ln sf -> ln -sf

thanks for the PR which you helped close this.


Spaces in fields get replaced with +

I see this issue on the server creation page. Could you tell me where else you have seen this?

Only there actually. Didnt comment on where it might be as im not fully sure if there is anywhere else you can find it.

This only happens for me if i click "Create server" and it gives an error about a field being incorrect.

I'll take a tackle at this.


Add Buildkite metadata/links to scans

This is done eyeballing the available variabels here: https://buildkite.com/docs/pipelines/environment-variables#buildkite-environment-variables
I've also set it up to link both the PR (if available) and the original commit sha.
I wanted to add a test for some of the URL handling, hope that's ok!
Resolves https://github.com/gradle/common-custom-user-data-gradle-plugin/issues/97

I don't fully understand the DCO check.  If the latter, I'm not sure how to even do that retroactively to commits 🤔

Hey folks, I'm a little confused on how to proceed here. CI appears to be passing, but I'm being told I need to go back and sign every commit retroactively. This is difficult to set up on my work laptop and the only repo I've ever contributed to that requires this. Would it be easier to just... squash all my commits into one of the verified commits @ribafish pushed to this branch?

Thanks!


Kodi fires a state playing when TV channel is changed

Home Assistant release (hass --version):
0.32.0.dev0
Python release (python3 --version):
Python 3.4.2
Component/platform:
media_player/kodi
Description of problem:
kodi fires state playing when tv channel is changed.
Or a television show ends and a new one starts.
(media_title changed)
Expected:
state playing only being fired when changed from idle, off or paused to playing.
Problem-relevant configuration.yaml entries and steps to reproduce:
- alias: Kodi started
  trigger:
  - platform: state
    entity_id: media_player.kodi
    to: 'playing'
  action:
  - service: switch.turn_on
    entity_id: switch.hk_select
  - service: notify.homebot
    data:
      message: Kodi started!

watch TV in Kodi
switch channel
"Kodi started" is triggered

Traceback (if applicable):
16-11-08 17:59:30 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: old_state=<state media_player.kodi=playing; volume_level=0.89, media_duration=1860, is_volume_muted=False, friendly_name=Kodi, media_title=nano spezial: USA vor der Entscheidung, media_content_type=video, entity_picture=/api/media_player_proxy/media_player.kodi?token=1829796720&cache=19eb2, supported_media_commands=4927 @ 2016-11-08T18:55:40.610843+01:00>, new_state=<state media_player.kodi=playing; volume_level=0.89, media_duration=2700, is_volume_muted=False, friendly_name=Kodi, media_title=Amerikas Westküste, media_content_type=video, entity_picture=/api/media_player_proxy/media_player.kodi?token=1829796720&cache=8538c, supported_media_commands=4927 @ 2016-11-08T18:55:40.610843+01:00>, entity_id=media_player.kodi>
16-11-08 17:59:30 INFO (MainThread) [homeassistant.components.automation] Executing Kodi started
16-11-08 17:59:30 INFO (MainThread) [homeassistant.core] Bus:Handling <Event logbook_entry[L]: domain=automation, name=Kodi started, entity_id=automation.kodi_started

Additional info:
probably related to #1803

@rawdlite are you seeing the notification fire more than once? as that shouldn't be the case.

@lwis: yes, i see this every time i change the channel or even while watching a channel when a tv show ends and another one starts.

Same issue here.

Looks like Kodi does support it;
http://kodi.wiki/view/JSON-RPC_API/v6#Player.Property.Name
[ boolean live = False ]


[SPARK-41157][CONNECT][PYTHON][TEST] Show detailed differences in dataframe comparison

What changes were proposed in this pull request?
use assert_eq in PandasOnSparkTestCase to compare dataframes
Why are the changes needed?
show detailed error message
before:
======================================================================
ERROR [0.667s]: test_fill_na (pyspark.sql.tests.connect.test_connect_basic.SparkConnectTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jenkins/python/pyspark/sql/tests/connect/test_connect_basic.py", line 244, in test_fill_na
    self.assertTrue(
AssertionError: False is not true
----------------------------------------------------------------------

after:
AssertionError: DataFrame.iloc[:, 0] (column name="id") are different

DataFrame.iloc[:, 0] (column name="id") values are different (100.0 %)
[index]: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
[left]:  [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
[right]: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]

Left:
   id
id    int64
dtype: object

Right:
   id
id    int64
dtype: object

Does this PR introduce any user-facing change?
No, test only
How was this patch tested?
existing UT

LGTM. Really nice way to compare things in test cases!


Port LDM Tutorials

Addresses part of #1769.
Description
This updates the tutorials for LDM models and copies over the notebooks from the GenerativeModels repo. These notebooks have been checked, the 3D one has its code updated but cell outputs left as-is to save time so may need checking later. The MAISI tutorial was untouched but should be updated as well.
Checks

[ ] Avoid including large-size files in the PR.
[ ] Clean up long text outputs from code cells in the notebook.
[ ] For security purposes, please check the contents and remove any sensitive info such as user names and private key.
[ ] Ensure (1) hyperlinks and markdown anchors are working (2) use relative paths for tutorial repo files (3) put figure and graphs in the ./figure folder
[ ] Notebook runs automatically ./runner.sh -t <path to .ipynb file>

Thank you so much for the PR! May I ask if you have run the tutorials for LDM models, including the multi-gpu script and notebook? Thank you!

Hi @ericspod, please help remove the output from these cells to help resolve the ci issue.
https://github.com/Project-MONAI/tutorials/actions/runs/10357197347/job/28668716848?pr=1775

The guidelines should be met now, we should check that the max_epochs replacement is working and things aren't too slow.

I find there are still one place in ldm need to be updated:
https://github.com/Project-MONAI/tutorials/blob/main/generation/3d_ldm/inference.py#L23

cc @ericspod @Can-Zhao


Bandit identifies many security issues

We can ignore the ones that we don't deem important, but here's the list for now:
Test results:
>> Issue: [B310:blacklist] Audit url open for permitted schemes. Allowing use of file:/ or custom schemes is often unexpected.
   Severity: Medium   Confidence: High
   Location: sfaira/data/dataloaders/loaders/d10_1038_s41586_020_2157_4/base.py:53
   More Info: https://bandit.readthedocs.io/en/latest/blacklists/blacklist_calls.html#b310-urllib-urlopen
52	        # download required files from loaders cell landscape publication data: https://figshare.com/articles/HCL_DGE_Data/7235471
53	        print(urllib.request.urlretrieve(
54	            'https://ndownloader.figshare.com/files/17727365',
55	            os.path.join(self.path, "human", self._directory_formatted_doi, 'HCL_Fig1_adata.h5ad')
56	        ))

--------------------------------------------------
>> Issue: [B310:blacklist] Audit url open for permitted schemes. Allowing use of file:/ or custom schemes is often unexpected.
   Severity: Medium   Confidence: High
   Location: sfaira/data/dataloaders/loaders/d10_1038_s41586_020_2157_4/base.py:57
   More Info: https://bandit.readthedocs.io/en/latest/blacklists/blacklist_calls.html#b310-urllib-urlopen
56	        ))
57	        print(urllib.request.urlretrieve(
58	            'https://ndownloader.figshare.com/files/21758835',
59	            os.path.join(self.path, "human", self._directory_formatted_doi, 'HCL_Fig1_cell_Info.xlsx')
60	        ))

--------------------------------------------------
>> Issue: [B310:blacklist] Audit url open for permitted schemes. Allowing use of file:/ or custom schemes is often unexpected.
   Severity: Medium   Confidence: High
   Location: sfaira/data/dataloaders/loaders/d10_1038_s41586_020_2157_4/base.py:61
   More Info: https://bandit.readthedocs.io/en/latest/blacklists/blacklist_calls.html#b310-urllib-urlopen
60	        ))
61	        print(urllib.request.urlretrieve(
62	            'https://ndownloader.figshare.com/files/22447898',
63	            os.path.join(self.path, "human", self._directory_formatted_doi, 'annotation_rmbatch_data_revised417.zip')
64	        ))

--------------------------------------------------
>> Issue: [B310:blacklist] Audit url open for permitted schemes. Allowing use of file:/ or custom schemes is often unexpected.
   Severity: Medium   Confidence: High
   Location: sfaira/estimators/keras.py:90
   More Info: https://bandit.readthedocs.io/en/latest/blacklists/blacklist_calls.html#b310-urllib-urlopen
89	            try:
90	                urllib.request.urlretrieve(self.model_dir,
91	                                           os.path.join(self.cache_path, os.path.basename(self.model_dir))
92	                                           )

--------------------------------------------------
>> Issue: [B310:blacklist] Audit url open for permitted schemes. Allowing use of file:/ or custom schemes is often unexpected.
   Severity: Medium   Confidence: High
   Location: sfaira/estimators/keras.py:96
   More Info: https://bandit.readthedocs.io/en/latest/blacklists/blacklist_calls.html#b310-urllib-urlopen
95	                try:
96	                    urllib.request.urlretrieve(urljoin(self.model_dir, f'{self.model_id}_weights.h5'),
97	                                               os.path.join(self.cache_path, f'{self.model_id}_weights.h5')
98	                                               )

--------------------------------------------------
>> Issue: [B310:blacklist] Audit url open for permitted schemes. Allowing use of file:/ or custom schemes is often unexpected.
   Severity: Medium   Confidence: High
   Location: sfaira/estimators/keras.py:102
   More Info: https://bandit.readthedocs.io/en/latest/blacklists/blacklist_calls.html#b310-urllib-urlopen
101	                    try:
102	                        urllib.request.urlretrieve(urljoin(self.model_dir, f'{self.model_id}_weights.data-00000-of-00001'),
103	                                                   os.path.join(self.cache_path, f'{self.model_id}_weights.data-00000-of-00001')
104	                                                   )

--------------------------------------------------
>> Issue: [B303:blacklist] Use of insecure MD2, MD4, MD5, or SHA1 hash function.
   Severity: Medium   Confidence: High
   Location: sfaira/estimators/keras.py:159
   More Info: https://bandit.readthedocs.io/en/latest/blacklists/blacklist_calls.html#b303-md5
158	        with open(fn, 'rb') as f:
159	            hsh = hashlib.md5(f.read()).hexdigest()
160	        if not hsh == target_md5:

--------------------------------------------------
>> Issue: [B303:blacklist] Use of insecure MD2, MD4, MD5, or SHA1 hash function.
   Severity: Medium   Confidence: High
   Location: sfaira/interface/user_interface.py:139
   More Info: https://bandit.readthedocs.io/en/latest/blacklists/blacklist_calls.html#b303-md5
138	                    with open(os.path.join(subdir, file), 'rb') as f:
139	                        md5.append(hashlib.md5(f.read()).hexdigest())
140	        s = [i.split('_')[0:7] for i in file_names]

--------------------------------------------------
>> Issue: [B311:blacklist] Standard pseudo-random generators are not suitable for security/cryptographic purposes.
   Severity: Low   Confidence: High
   Location: sfaira/models/made.py:111
   More Info: https://bandit.readthedocs.io/en/latest/blacklists/blacklist_calls.html#b311-random
110	            # Disallow unconnected units by sampling min from previous layer
111	            input_sel = [randint(np.min(prev_sel), shape[-1] - 2) for i in range(shape[-1])]
112

--------------------------------------------------
>> Issue: [B301:blacklist] Pickle and modules that wrap it can be unsafe when used to deserialize untrusted data, possible security issue.
   Severity: Medium   Confidence: High
   Location: sfaira/train/summaries.py:158
   More Info: https://bandit.readthedocs.io/en/latest/blacklists/blacklist_calls.html#b301-pickle
157	                    with open(fn_history, 'rb') as f:
158	                        histories[x] = pickle.load(f)
159	                else:

--------------------------------------------------
>> Issue: [B301:blacklist] Pickle and modules that wrap it can be unsafe when used to deserialize untrusted data, possible security issue.
   Severity: Medium   Confidence: High
   Location: sfaira/train/summaries.py:165
   More Info: https://bandit.readthedocs.io/en/latest/blacklists/blacklist_calls.html#b301-pickle
164	                    with open(fn_eval, 'rb') as f:
165	                        evals[x] = pickle.load(f)
166	                else:

--------------------------------------------------
>> Issue: [B301:blacklist] Pickle and modules that wrap it can be unsafe when used to deserialize untrusted data, possible security issue.
   Severity: Medium   Confidence: High
   Location: sfaira/train/summaries.py:172
   More Info: https://bandit.readthedocs.io/en/latest/blacklists/blacklist_calls.html#b301-pickle
171	                    with open(fn_hp, 'rb') as f:
172	                        hyperpars[x] = pickle.load(f)
173	                else:

--------------------------------------------------
>> Issue: [B301:blacklist] Pickle and modules that wrap it can be unsafe when used to deserialize untrusted data, possible security issue.
   Severity: Medium   Confidence: High
   Location: sfaira/train/summaries.py:179
   More Info: https://bandit.readthedocs.io/en/latest/blacklists/blacklist_calls.html#b301-pickle
178	                    with open(fn_mhp, 'rb') as f:
179	                        model_hyperpars[x] = pickle.load(f)
180	                else:

--------------------------------------------------
>> Issue: [B301:blacklist] Pickle and modules that wrap it can be unsafe when used to deserialize untrusted data, possible security issue.
   Severity: Medium   Confidence: High
   Location: sfaira/train/summaries.py:598
   More Info: https://bandit.readthedocs.io/en/latest/blacklists/blacklist_calls.html#b301-pickle
597	            with open(f"{file_path_base}_model_hyperparam.pickle", 'rb') as file:
598	                hyparam_model = pickle.load(file)
599

--------------------------------------------------
>> Issue: [B301:blacklist] Pickle and modules that wrap it can be unsafe when used to deserialize untrusted data, possible security issue.
   Severity: Medium   Confidence: High
   Location: sfaira/train/summaries.py:602
   More Info: https://bandit.readthedocs.io/en/latest/blacklists/blacklist_calls.html#b301-pickle
601	            with open(f"{file_path_base}_hyperparam.pickle", 'rb') as file:
602	                hyparam_optim = pickle.load(file)
603

--------------------------------------------------
>> Issue: [B301:blacklist] Pickle and modules that wrap it can be unsafe when used to deserialize untrusted data, possible security issue.
   Severity: Medium   Confidence: High
   Location: sfaira/train/summaries.py:640
   More Info: https://bandit.readthedocs.io/en/latest/blacklists/blacklist_calls.html#b301-pickle
639	        with open(fn, 'rb') as f:
640	            ids = pickle.load(f)
641	        return ids

--------------------------------------------------
>> Issue: [B301:blacklist] Pickle and modules that wrap it can be unsafe when used to deserialize untrusted data, possible security issue.
   Severity: Medium   Confidence: High
   Location: sfaira/train/summaries.py:1378
   More Info: https://bandit.readthedocs.io/en/latest/blacklists/blacklist_calls.html#b301-pickle
1377	            with open(os.path.join(resultspath, f'{model_id}_grads.pickle'), 'rb') as f:
1378	                gradients_raw = pickle.load(f)
1379	        else:

--------------------------------------------------

Code scanned:
	Total lines of code: 26483
	Total lines skipped (#nosec): 0

Run metrics:
	Total issues (by severity):
		Undefined: 0.0
		Low: 1.0
		Medium: 16.0
		High: 0.0
	Total issues (by confidence):
		Undefined: 0.0
		Low: 0.0
		Medium: 0.0
		High: 17.0
Files skipped (0):

Now using a rather large skip list:
skips: ['B101', 'B403', 'B404', 'B603', 'B607', 'B301', 'B303', 'B311', 'B310']

Now using a rather large skip list:
skips: ['B101', 'B403', 'B404', 'B603', 'B607', 'B301', 'B303', 'B311', 'B310']


Python interactive not accessible

Hi VS Code dev here 👋
Open the Python Interactive window. Notice the following issues due to which the interactive editor is unaccassible:

It is not possible to focus out of the input box pressing tab or shift + tab
Turn on the screen reader, go over the the buttons in the interactive window. The screen reader prounces them as Toggles. This is incorrect, they should be Button
Type something in the input. Navigate left / right the screen reader reads completely the wrong content.
The placeholder message "Type code here..." is not read out by the screen reader once the user focuses. This message should also be accessible, thus screen reader should read it

I was using VoiceOVer on mac but NVDA on windows would probably also read the wrong content under 3)

@joyceerhl should we try the same above things for native interactive? Does this behave ok now with regards to accessibility?


chore(RHTAPWATCH-794): tag DegradedArgoCdApp alerts correctly

an attempt to introduce logic that will be able to tag DegradedArgoCdApp alerts of different teams correctly.

/retest

@Omeramsc can we close this?

@amisstea yes, probably not relevant for now. closing.


can i get the api documentation?

face_recognition version:
Python version:
Operating System:

Description
Describe what you were trying to get done.
Tell us what happened, what went wrong, and what you expected to happen.
What I Did
Paste the command(s) you ran and the output.
If there was a crash, please include the traceback here.

There is a link in the README: https://face-recognition.readthedocs.io/en/latest/face_recognition.html


files don't open when there is a bad driver

I have come upon a strange issue. It manifests itself when using fiona in a method, in a class, in another module and one of the gdal drivers generates GDAL_ERROR. What happens is that ogr raises exception which bubbles up to Fiona basically saying 'dataset not found', which took me half a day to fix by removing the bad driver.
The error happens with Fiona 1.6 but NOT Fiona 1.4.
The error doesn't happen when importing fiona from console, but happened when I had a django project with views.py (worked in views) import form from forms.py, it happened anywhere in forms.py.
After I downgraded to fiona 1.4, things began to work, but I saw in the console:
GDAL_ERROR 1: dlopen(/usr/local/lib/gdalplugins/ogr_FileGDB.dylib, 1): Symbol not found: __ZN11OGRSFDriver14CopyDataSourceEP13OGRDataSourcePKcPPc
  Referenced from: /usr/local/lib/gdalplugins/ogr_FileGDB.dylib
  Expected in: flat namespace
 in /usr/local/lib/gdalplugins/ogr_FileGDB.dylib

Which prompted me to delete the driver, after which things worked. This made me think the driver could be the problem, and after upgrading back to 1.6, everything did work. I'm not sure I can provide more input on this, but I thought I'd at least document.

Did you test any of the OGR command line utilities for how it handled the bad driver?

Yes, and I even tested the python ogr bindings, and they worked in the code immediately after the exception.

I don't have enough information here for a solution, or for a work around other than "don't install busted driver plugins".
Good news is that once support for GDAL 2.0 lands, we'll have a lot more power to toggle drivers at runtime and navigate the FileGDB/OpenFileGDB gap.

I regret dismissing your bug report, @demiurg. The least I can do is to not hide the useful dlopen error message. Sorry.

Thanks, that would be informative to see OGR errors. They're usually indicative of 'pretty bad' things.

I've figured out why this appeared in Fiona 1.6.
Here https://github.com/Toblerity/Fiona/blob/1.6.0/fiona/_drivers.pyx#L96-L100 we registered drivers before we set the error handler that turns GDAL/OGR errors into Python exceptions. This was a reversal from 1.4.
We've been doing the correct thing since 1.7. I'm certain that this bug is no more.


gpg-zip missing from GnuPG formula

gpg-zip used to be included with the GnuPG formula, but appears to have been dropped when the package was upgraded to 2.1. Is it possible to have include it again?

Please note we may immediately close your issue without comment if you do not fill out the issue template and provide the requested information.

Fixed by https://github.com/Homebrew/homebrew-core/commit/1280015e4351a384946ec858e2a8b4f6f368d259 FYI.


Support for .NET Framework 4.8.1 & .NET 7

Hi! Thanks for reporting this feature/bug/question!
Please keep / fill in the relevant info from this template so that we can help you as best as possible.
Type (choose one):
[x] Feature request
NPE version:
6.0.64
Installed from:
Windows Store
in case of a FEATURE REQUEST:
Why do we need it?
Currently, NPE does not provide options for adding binaries for net481 or net7.0, unless they're built in Visual Studio.
Please provide an use case.
N/A

Implementation is in the works! :)

Trying to add a .NET 7 folder and it is not there... Is this because there is no support for .NET 7 yet?

Trying to add a .NET 7 folder and it is not there... Is this because there is no support for .NET 7 yet?

Hi @pantonis
I have implanted it, but the PR hasn't been merged yet.
cc. @clairernovotny

I renamed existing .NET 6 in an existing nupkg file and it seems to
be working. Will this cause a problem?
On Thu, 19 Jan 2023, 19:36 Peter Wagner, @.***> wrote:

Trying to add a .NET 7 folder and it is not there... Is this because there
is no support for .NET 7 yet?
Hi @pantonis https://github.com/pantonis
I have implanted it, but the PR hasn't been merged yet.
cc. @clairernovotny https://github.com/clairernovotny
—
Reply to this email directly, view it on GitHub
https://github.com/NuGetPackageExplorer/NuGetPackageExplorer/issues/1555#issuecomment-1397358375,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAZEO3S35UVWRNTWVDZOGBTWTF3QJANCNFSM6AAAAAARSGLQPU
.
You are receiving this because you were mentioned.Message ID:
@.***
com>

I renamed existing .NET 6 in an existing nupkg file and it seems to be working. Will this cause a problem?

@pantonis No, shouldn't be an issue, but if you want, you can build it from my branch

Added .NET 8 too

This has now been merged.


Moldova marriage abroad

https://trello.com/c/XRN1vDMy/882-moldova-marriage-tool-replace-embassy-contact-details-with-appointments-link-content-change-request
I've updated 12 outcomes (all 9 same sex, and the 3 user in Moldova opposite sex) to replace embassy contact details with a link to the embassy appointment booking service.
This doesn't affect the logic.

Superseded by #3182


ios upload flake

https://github.com/envoyproxy/envoy-mobile/runs/6494597211?check_suite_focus=true
"Check upload succeeded"
Run sed '/[2] Uploaded 7 MB of data/q' <(touch /tmp/envoy.log && tail -F /tmp/envoy.log)
4
Error: The operation was canceled.

We could reduce the amount of data being uploaded.

Doing that in #2299


Make privateKeyFile optional

This is necessary in order to use the agent option, because SSH2 will
ignore agent if a privateKeyFile is set as well.

Thanks for this! Changes made here are available in v0.2.2


Can't log in to instagram.

Describe the bug
A clear and concise description of what the bug is.
When I try to use the --login command, it gives a fatal
error and says I need to go to a different link and then retry. When I retry it gives the same error.
C:\Users\Admin\Downloads\57>instaloader +args.txt
Session file does not exist yet - Logging in.
Fatal error: Login: Checkpoint required. Point your browser to https://www.instagram.com/challenge/action/AXF0DaYKzOnFSowvem6EWpx-YvI5dMb2FPI7yvYHWVsh9TaN9ID61RVAICZQf-Q1Eo3XcsQ/Afwd1sxail14Qf1engfP1D4DQkuRhBg028j5YxPDaPU1qpV95KFIXoCIFTgyQ2fuTarcIJyd_QE6Lw/ffc_vSPmf7nfs67MPHwCVA6MHTp70AW7fOYRbynzL1vvgFG9ouP8ZHjBHgBgzRWC2Thp/ - follow the instructions, then retry.
To Reproduce
Steps to reproduce the behavior:
(e.g. Instaloader command line)
I made an args file, but it has the same error as putting --login to the command line.
Expected behavior
A clear and concise description of what you expected to happen (even if it seems obvious).
I expect the file to log into my account and download a profile, putting the file of images into the folder '57' in downloads.
Error messages and tracebacks
If applicable, add error messages and tracebacks to help explain your problem.
C:\Users\Admin\Downloads\57>instaloader +args.txt
Session file does not exist yet - Logging in.
Fatal error: Login: Checkpoint required. Point your browser to https://www.instagram.com/challenge/action/AXF0DaYKzOnFSowvem6EWpx-YvI5dMb2FPI7yvYHWVsh9TaN9ID61RVAICZQf-Q1Eo3XcsQ/Afwd1sxail14Qf1engfP1D4DQkuRhBg028j5YxPDaPU1qpV95KFIXoCIFTgyQ2fuTarcIJyd_QE6Lw/ffc_vSPmf7nfs67MPHwCVA6MHTp70AW7fOYRbynzL1vvgFG9ouP8ZHjBHgBgzRWC2Thp/ - follow the instructions, then retry.
Instaloader version
instaloader --version output.
4.9.5
Additional context
Add any other context about the problem here.

I have the same issue too. Can someone help on this? Thanks

maybe this will help
https://github.com/instaloader/instaloader/pull/1784

Try this
Using the login method did not work for me. What did work was logging out and signing into instagram on FireFox. Then just load the session from your login name

Try #240
Using the login method did not work for me. What did work was logging out and signing into Instagram on Firefox. Then just load the session from your login name

how do i load the session from my login name?

Duplicate of #1787


Quartus support

As far as I know, Quartus also supports TCL well. So, it should be easy to align scripts for Quartus.

Too complicated. Better start side project with the same idea


Earlgrey: yosys fails to parse flash_ctrl_reg_pkg

Yosys fails to parse flash_ctrl_reg_pkg.sv file. It is using typedefs with array to another typedef (with access to them, so it can't easy be changed to exact type).
Related issue: https://github.com/alainmarcel/uhdm-integration/issues/228

flash_ctrl_reg_pkg.sv was moved to uhdm by replacing typedefs with array to another typedef with code generated from sv2v. There is another issue to support this feature so closing this one.


Does coroot support clickhouse multi shards ?

Hello,
I tried to horizontally scale clickhouse to absorb more data but after scale to 3 shards it seem coroot display randomly one shard data only.
Does coroot support clickhouse multi shards ?
Also how to configure retention  like max 7d of data ?

@YoranSys,
Currently, Coroot does not support sharded ClickHouse.
You can alter tables to change TTL. Here is the relevant discussion: https://github.com/orgs/coroot/discussions/50


JOSS Review

Hi! I will be conducting my JOSS review in this issue.
epyt-flow is a really interesting and useful package that offers a large range of functions and very comprehensive documentation! The inclusion of several benchmark networks and scenarios from the literature is a great touch and will aid in adoption by water distribution systems (WDS) researchers. I was able to successfully install the package (using pip) and run all examples. Below I have included comments and questions on different aspects of the package, repository, and docs.
General

[ ] It was a little unclear to me how SCADA data is generated. Is SCADA data basically = pressure/flow simulations results for the nodes/links at which sensors are installed? So if we run a simulation with no uncertainties and no events, will SCADA data results be equal to the results of a basic hydraulic simulation as performed by EpyT or WNTR?
[ ] If I have a network model of a real WDS + SCADA data collected from meters placed throughout the system, I see from Docs -> In-depth Tutorial -> SCADA data that I can use epyt-flow to analyze the model and integrate the data. Would you be able to add an example demonstrating this (perhaps using a common network such as C-TOWN or BWFLNet)?
[ ] Can epyt-flow read controls from the .INP file of a model or must a user define an AdvancedControlModule class to specify controls (like those shown in the Custom Controls example)?
[ ] #16

Landing page

[ ] I recommend adding a line of code to plot a timeseries of the pressure and flow SCADA data results + the actual plots themselves for the Quick Example
[ ] #14

Docs: in-depth tutorial

[ ] A suggestion: I think it would be nice to add a page at the beginning of the in-depth tutorial summarizing the functionalities epyt-flow offers.  This could include a complete list of the uncertainties, events, faults, and controls you allow users to model, and ideally would include time series or spatial plots to better visualize these things (e.g., abrupt and incipient leaks, sensor override attacks, different uncertainty distributions, etc). Having all of these cases in one single page could provide users with a clear overview of what the package offers
[ ] #12
[ ] #11
[ ] Scenarios -> Basics: what sort of "potential exceptions that might occur during the process of setting up and running the simulation" might a user encounter?
[ ] Control: I see that in the example you set the tank diameter by calling self.__tank_diameter = 50.5. Is it possible to change all system parameters (e.g., pipe diameter, node elevation) in this way?
[ ] Control: EPANET offers simple time based controls, simple event based controls, and rule based controls. Can we use epyt-flow to model rule-based controls as well?
[ ] #13
[ ] #15
[ ] Events -> Sensor faults: currently epyt-flow can model only one kind of fault affecting any sensor, right? Just curious - in the future, will you consider allowing multiple faults to affect sensors?

Docs: examples

[ ] #18
[ ] Working with Network Topology: when we list the edges with print(topo.edges), why is the second element in each tuple a string?
[ ] Uncertainties Example: I am a huge fan of epyt-flow's ability to add uncertainties to model parameters! What parameters can one add uncertainty to besides demand patterns? And can we add different kinds of uncertainty to, say, different demand patterns or base demands or must all instances of a parameter be assigned the same uncertainty?
[ ] #19
[x] Water Age Analysis and Chloring Injection: would the results for these two examples be the same as in EPANET?
[ ] #17

Examples

[ ] I recommend adding the plotting functions from the docs into the Python files so users can immediately generate and reproduce your plots and do not have to refer to the docs (like for the event detection and net2-cl2 examples)

Paper

[x] You mention that WNTR does not consider industrial controls, but I believe it offers the same control functionalities that epyt-flow does (simple event- and time-based controls) as well as control rules!

Thanks a lot for this detailed and constructive feedback - much appreciated 🙏
I am currently on vacation until 5th October - I will work on those aspects once I am back in office.
Thanks for your understanding.
Best,
André

I was busy with administrative tasks the last days after I returned from a longer vacation -- sorry about the delay.
Regarding your comment on the paper: I think I did not make this clear enough in the paper. EPyT-Flow supports arbitrary controls that go beyond "simple" IF-THEN-ELSE rules as supported by EPANET. For instance, you could use a neural network to make control decisions based on the observed sensor readings. I added a clarifying statement to the paper and documentation in commit dee0de5
Let me know, what you think.
Also, how do you want me to work on your comments/tasks. There are quite a few of them and I was wondering whether it would make sense to convert some of them into issues to have a better overview.

Hi @andreArtelt  sorry for the late reply! That works for me - would you like me to split this comment up into separate issues or would you prefer to do that yourself?

Hi @andreArtelt sorry for the late reply! That works for me - would you like me to split this comment up into separate issues or would you prefer to do that yourself?

I can do that myself. I think I might just reply to some of your comments in this issue if your comment is more a question than an issue that requires changes (i.e. commits).

I recommend adding a line of code to plot a timeseries of the pressure and flow SCADA data results + the actual plots themselves for the Quick Example

Was already addressed in 9f2c895

You mention that WNTR does not consider industrial controls, but I believe it offers the same control functionalities that epyt-flow does (simple event- and time-based controls) as well as control rules!

Was addressed in one of my previous comments and in dee0de5

Water Age Analysis and Chloring Injection: would the results for these two examples be the same as in EPANET?

Yes, the results would be exactly the same because EPyT-Flow uses EPANET for the simulation.

Can epyt-flow read controls from the .INP file of a model or must a user define an AdvancedControlModule class to specify controls (like those shown in the Custom Controls example)?

Right now,  controls from .INP files are not parsed. I think, this smth. for a future release.

Working with Network Topology: when we list the edges with print(topo.edges), why is the second element in each tuple a string?

Every element in each tuple should be a string -- if you observe any other behavior, please create a bug report.
The result of topo.edges is a list of tuples (edges) -- each edge is represented by the IDs (strings) of the two nodes which it is connecting.

Working with Network Topology: when we list the edges with print(topo.edges), why is the second element in each tuple a string?

Every element in each tuple should be a string -- if you observe any other behavior, please create a bug report.
The result of topo.edges is a list of tuples (edges) -- each edge is represented by the IDs (strings) of the two nodes which it is connecting.

Ok I see - I think I was confused because in your docs (code block 7), it looks like the first element of the tuple is a regular string while the second element is a numpy.string_. Not a big deal!

Working with Network Topology: when we list the edges with print(topo.edges), why is the second element in each tuple a string?

Every element in each tuple should be a string -- if you observe any other behavior, please create a bug report.
The result of topo.edges is a list of tuples (edges) -- each edge is represented by the IDs (strings) of the two nodes which it is connecting.

Ok I see - I think I was confused because in your docs (code block 7), it looks like the first element of the tuple is a regular string while the second element is a numpy.string_. Not a big deal!

Oh, I never checked the readthedocs version since it looks fine on my local machine (i.e. no numpy.string_) -- I will investigate this.

Control: I see that in the example you set the tank diameter by calling self.__tank_diameter = 50.5. Is it possible to change all system parameters (e.g., pipe diameter, node elevation) in this way?

This does not change any EPANET parameters. This is just a local variable that is used in the control rule. As mentioned in the comment (in the notebook), the value could have been obtained by calling an EPANET function as well. However, changing this local variable has no effect on the actual tank diameter. The tank diameter can be changed by either editing the .inp file or by calling EPyT functions such as setNodeTankDiameter

Uncertainties Example: I am a huge fan of epyt-flow's ability to add uncertainties to model parameters! What parameters can one add uncertainty to besides demand patterns? And can we add different kinds of uncertainty to, say, different demand patterns or base demands or must all instances of a parameter be assigned the same uncertainty?

Uncertainties can be added to all parameters which are listed in the documentation of the ModelUncertainty class (see https://epyt-flow.readthedocs.io/en/stable/epyt_flow.uncertainty.html#epyt_flow.uncertainty.model_uncertainty.ModelUncertainty)
Right now, only "global" uncertainties can be added -- e.g. one type of uncertainty for all base demands. Being able to be more selective (e.g. having different kinds of uncertainties for different base demands) is a great idea and will be added to my todo list for future releases of EPyT-Flow :)

It was a little unclear to me how SCADA data is generated. Is SCADA data basically = pressure/flow simulations results for the nodes/links at which sensors are installed? So if we run a simulation with no uncertainties and no events, will SCADA data results be equal to the results of a basic hydraulic simulation as performed by EpyT or WNTR?

Yes, SCADA data refers to the simulation results (pressure, flows, species concentrations, pump states, etc.) that are accessible to the user by placing sensors. However, those SCADA data (i.e. sensor readings) might be affected by sensor faults, uncertainties, etc. Without any uncertainties and sensor faults, the results are the same as in EPyT/EPANET and should not differ much from WNTR (be aware of the units!).

If I have a network model of a real WDS + SCADA data collected from meters placed throughout the system, I see from Docs -> In-depth Tutorial -> SCADA data that I can use epyt-flow to analyze the model and integrate the data. Would you be able to add an example demonstrating this (perhaps using a common network such as C-TOWN or BWFLNet)?

I am not sure if I understand you correctly. Do you want to load real SCADA data into EPyT-Flow? If so, this could be done by manually creating an instance of ScadaData (see https://epyt-flow.readthedocs.io/en/stable/epyt_flow.simulation.scada.html#epyt_flow.simulation.scada.scada_data.ScadaData) -- however, I am not sure what you want to analyze or integrate in this context.

If I have a network model of a real WDS + SCADA data collected from meters placed throughout the system, I see from Docs -> In-depth Tutorial -> SCADA data that I can use epyt-flow to analyze the model and integrate the data. Would you be able to add an example demonstrating this (perhaps using a common network such as C-TOWN or BWFLNet)?

I am not sure if I understand you correctly. Do you want to load real SCADA data into EPyT-Flow? If so, this could be done by manually creating an instance of ScadaData (see https://epyt-flow.readthedocs.io/en/stable/epyt_flow.simulation.scada.html#epyt_flow.simulation.scada.scada_data.ScadaData) -- however, I am not sure what you want to analyze or integrate in this context.

This feature would be very useful in calibration and state estimation tasks where we want to use information from both the hydraulic simulation results and sparse SCADA data to correct parameters (like pipe roughnesses) or estimate real-time system-wide pressures and flows. There are different methods to actually perform the state estimation/calibration procedures, and I am not concerned about the implementation of those - just wondering how one could use EpyT-Flow to access a hydraulic model of their own network and use the function in the link you provided to bring in SCADA data! Does that make sense?
I'm asking this because I have been trying to test a simple example to see how EpyT-Flow could be used to load a custom network that is not built into your collection of networks/scenarios. I am trying this out with CTown (I know CTown is in your database but I am trying to load the network as an INP file and load in sensor data using numpy arrays). At this point I am not concerned with the analysis, I am just pretending I am a user trying to load my own network and data so I can do my own analyses later. Can you walk me through that procedure?  E.g., to manually create an instance of ScadaData, it looks like I have to build a new sensor config. When I build a new sensor config, how can I access the list of nodes and links etc from the network INP file? It is a little challenging to navigate the EpyT-Flow code to work with networks/data that are not loaded into the package, so any guidance would be appreciated! And please let me know if this question or comment doesn't make sense I am happy to elaborate further

Okay, I think I understood what you wanted to do. This is an interesting application of EPyT-Flow that I have not considered before. So far, I have always used (and built) EPyT-Flow to generate data but not to load external data (this is why there are export mechanisms for SCADA data but not import mechanisms).
Regarding your use case, here is how I would do it (I have not tested this -- there might be some typos xD):
# Load .inp file
ScenarioSimulator(f_inp_in="CTown.inp") as scenario:
	  # 1. Build a sensor placement that is consistent with the data that you want to load and analyze
          # You could also do this after running the simulation if you whish to have different sensor configurations for the external data and the simulated data
	  scenario.set_pressure_sensors(sensor_locations=[...])
	  sim.set_flow_sensors(sensor_locations=[...])
	  # ...

	  # 2. Export this sensor config
	  my_sensor_config = sim.sensor_config()

          # 3. Run simulation
          scada_data = scenario.run_simulation()

	  # 4. Load external SCADA data -- everything must be a Numpy array!
	  my_measurement_time_points = ...
	  my_pressure_data = ...
	  my_flow_data = ...
	  # ...

	  # 5. Create a SCADA data instance containing the external
	  my_scada_data = ScadaData(sensor_config=my_sensor_config,
			            frozen_sensor_config=True,	# Assuming that the sensor config can not be changed -- set this to False if you loaded data for every node and link in the network!
                                    sensor_readings_time=my_measurement_time_points,
                                    pressure_data_raw=my_pressure_data
                                    flow_data_raw=my_flow_data
                                    ...)

	  # 6. Analyze the SCADA data using EPyT-Flow -- e.g. plotting data, adding sensor noise, comparing to the simulated data, etc.

	  # Plot pressures at all nodes over time
	  plot_timeseries_data(my_scada_data.get_data_pressures().T,
			       labels=[f"Node {n_id}" for n_id in my_scada_data.sensor_config.pressure_sensors],
			       x_axis_label="Time steps", y_axis_label="Pressure")

	  # ...

Let me know if this is what you have in mind.

Thank you for the fast response, I appreciate how quickly you've addressed all my questions! :-) Yes - I think this is exactly what I was aiming for.  Would you be able to include a working example of this in your docs/examples for users to import their own networks and data? I tried to play with this rough code snippet a little bit and am confused about the format of the pressure data - you mention here that the input should be a numpy array, so I assumed it to be a 1D array containing my time-varying pressure data points, but the API docs say the pressure data input is "Raw pressure values of all nodes as a two-dimensional array – first dimension encodes time, second dimension pressure at nodes." Is that a 2 x T array (where T is the number of time steps) where the first row contains the time steps and second row contains the measurements? In any case,  using the 1D or 2D arrays using this code:
with ScenarioSimulator(f_inp_in='CTown.inp') as sim:
    sim.set_pressure_sensors(sensor_locations=['T1'])

    my_sensor_config = sim.sensor_config
    scada_data = sim.run_simulation()

    my_measurement_time_points = np.arange(0,3600*24, 3600)
    one_d_pressure_data = np.array([3, 2.82, 2.7, 2.62, 2.7, 2.89, 3.14, 3.26,
                                      3.4, 3.66, 3.73, 3.66, 3.73, 3.88, 4.07,
                                      4.23, 4.41, 4.44, 4.03, 4.03, 4.03, 4.03,
                                      4.03, 4.03])
    two_d_pressure_data = np.vstack([my_measurement_time_points, one_d_pressure_data])

    my_scada_data = ScadaData(sensor_config=my_sensor_config,
			         frozen_sensor_config=True,
                                 sensor_readings_time=my_measurement_time_points,
                                 pressure_data_raw=one_d_pressure_data,
                                 # pressure_data_raw=two_d_pressure_data,
                                 )

throws errors my way so I don't think I'm getting the pressure data format correct!

Just to add to my previous comment - the suggestion to add the additional example is totally optional and I think this paper definitely merits publication in JOSS without it, especially as you satisfy your goals to provide WDS data generation capabilities and a platform to host models and benchmark networks and scenarios. I only suggest its addition in the eventuality that researchers want to move beyond testing on benchmark networks/models/scenarios and begin to test their control strategies and analysis approaches on real systems and data.  I have no further comments beyond this and am happy to recommend this paper for acceptance. I will open a separate issue outside of the JOSS review requesting the example at a later date whenever convenient for the authors :-)


Add version label check for valid characters

https://jira.duraspace.org/browse/FCREPO-1246

Resolved with: https://github.com/fcrepo4/fcrepo4/commit/bb6072d83da9897bf4a20f357353387dd05efb09


Cannot load Knative configuration from file or env variable

Hello,
I trying to run the examples

oc create -f messages-channel.yaml
kamel run feed.groovy

In minikube console I have following message:
Failed to resolve endpoint: knative://channel/messages due to: Cannot load Knative configuration from file or env variable
Please find attached minishift log file.
feed-845b4f57b-8zqtz.log
Am I missing some configuration steps ?

This should have been fixed in the latest code, can you try to use kamel-k from master ?

Hi,
I'm using last version of camel-k and deployed on top minishift v1.33.0+ba29431
Cheers

BTW Im using macOS Mojave 10.14.4

Do you have Knative installed on your Minishift? Which installation procedure did you follow?

@Emmerson-Miranda are you still experiencing this issue ?

I am experiencing this issue on OCP 4.1 using Camel-K 1.0.0-M1

Here are the logs:
printer-7c659d566f-55jtc-integration.log
Steps:
OCP 4.1.8 installed on AWS
I logged into the OCP console and installed the Knative Server and Event operators. Afterwards, I created the message-channel and the words-channel in-memory channels using the Knative Event Operator in the console. I then installed the Camel-K CRDs
./kamel install --cluster-setup
I did this because I wasn't sure which project to install the two message channels.
I then created the user bob as a basic user
oc adm policy add-role-to-user basic-user bob
After logging in as the bob user I created the camel-k-project and ran the operator install in that project:
oc new-project camel-k-project
./kamel install
After that deployed I ran the basic sample install which worked corectly.  Then I tried to install the knative printer.groovy file as instructed:
./kamel run examples/knative/printer.groovy
This is when the error was thrown:
Exception in thread "main" org.apache.camel.FailedToCreateRouteException: Failed to create route route1: Route(route1)[From[knative:channel/words] -> [ConvertBodyTo[... because of Failed to resolve endpoint: knative://channel/words due to: Cannot load Knative configuration from file or env variable 	at org.apache.camel.reifier.RouteReifier.createRoute(RouteReifier.java:100) 	at org.apache.camel.impl.DefaultModel.start(DefaultModel.java:346) 	at org.apache.camel.impl.DefaultModel.startRoute(DefaultModel.java:320) 	at org.apache.camel.impl.DefaultModel.startRouteDefinitions(DefaultModel.java:313) 	at org.apache.camel.impl.DefaultModel.startRouteDefinitions(DefaultModel.java:292) 	at org.apache.camel.impl.AbstractModelCamelContext.startRouteDefinitions(AbstractModelCamelContext.java:330) 	at org.apache.camel.impl.engine.AbstractCamelContext.doStartCamel(AbstractCamelContext.java:2555) 	at org.apache.camel.impl.engine.AbstractCamelContext.lambda$doStart$2(AbstractCamelContext.java:2387) 	at org.apache.camel.impl.engine.AbstractCamelContext.doWithDefinedClassLoader(AbstractCamelContext.java:2404) 	at org.apache.camel.impl.engine.AbstractCamelContext.doStart(AbstractCamelContext.java:2385) 	at org.apache.camel.support.service.ServiceSupport.start(ServiceSupport.java:97) 	at org.apache.camel.impl.engine.AbstractCamelContext.start(AbstractCamelContext.java:2296) 	at org.apache.camel.main.Main.doStart(Main.java:117) 	at org.apache.camel.support.service.ServiceSupport.start(ServiceSupport.java:97) 	at org.apache.camel.main.MainSupport.run(MainSupport.java:196) 	at org.apache.camel.k.main.ApplicationRuntime.run(ApplicationRuntime.java:70) 	at org.apache.camel.k.main.Application.main(Application.java:44) Caused by: org.apache.camel.ResolveEndpointFailedException: Failed to resolve endpoint: knative://channel/words due to: Cannot load Knative configuration from file or env variable 	at org.apache.camel.impl.engine.AbstractCamelContext.getEndpoint(AbstractCamelContext.java:773) 	at org.apache.camel.support.CamelContextHelper.getMandatoryEndpoint(CamelContextHelper.java:55) 	at org.apache.camel.impl.engine.DefaultRouteContext.resolveEndpoint(DefaultRouteContext.java:114) 	at org.apache.camel.reifier.RouteReifier.doCreateRoute(RouteReifier.java:334) 	at org.apache.camel.reifier.RouteReifier.createRoute(RouteReifier.java:95) 	... 16 more Caused by: java.lang.IllegalStateException: Cannot load Knative configuration from file or env variable 	at org.apache.camel.component.knative.KnativeComponent.getKnativeConfiguration(KnativeComponent.java:129) 	at org.apache.camel.component.knative.KnativeComponent.createEndpoint(KnativeComponent.java:101) 	at org.apache.camel.support.DefaultComponent.createEndpoint(DefaultComponent.java:199) 	at org.apache.camel.impl.engine.AbstractCamelContext.getEndpoint(AbstractCamelContext.java:725) 	... 20 more

@sully6768 is this still an issue ?

this error indicates that Knative serving is missing on the cluster or that Camel K is misconfigured according to Knative serving (e.g. installation of Knative serving has been done after Camel K installation).
Serving is mandatory to inject proper K_SINK env var as part of sink binding when resolving broker URLs in the integration.
Reviewing Knative serving installation and Camel K configuration may help fixing this kind of error

@christophd this issue was closed long time ago, do you know if it's still relevant?

@squakez I think users are still able to hit that error when Knative serving is missing/misconfigured. I actually hit that yesterday and wanted to share a potential root cause so others hitting this may have an idea

The question is that comes to my mind is: Do we have an alternative way to configure a Knative component when serving is not available on the cluster. As mentioned at the moment we rely on the K_SINK injection mechanism provided by Knative Serving.

I guess you will need to explicitly provide the Knative broker URL then as a component property when Serving is not available

the same error message has been mentioned here: https://github.com/apache/camel-k/issues/1871

the knative environment concept has been added for that purpose so if that json is properly crafted, the component should work. As today I think, the camel-k operator automatically configure the sinkbinding trait or something like that so a K_SINK is expected.
Maybe the operator can create a synthetic K_SINK env var if serving is not installed.

Yes, K_SINK added by the Camel K operator could be a fallback option. But the user somehow needs to provide that broker URL in that case or do you think of adding some addressable resolver mechanism to the Camel K operator?

both are fine with me, like:

if user provide something use it
try to resolve it on the operator
if not resolved or missing requirements, don't deploy the integration (we have a similar issue opened already)

still relevant

I think this is no longer relevant after the changes introduced in https://github.com/apache/camel-k/pull/5186 - please, create a new issue if any other problem happens again.


Site needs appropriate title in head area.

User Story
AS A marketing agency
I WANT a codebase that follows accessibility standards
SO THAT our own site is optimized for search engines

Acceptance Criteria
WHEN I view the title element
THEN I find a concise, descriptive title

Included in https://github.com/Shagomir/challenge_week_01/commit/41396e57bcc1896de99a740d0c3bd0a9e1ef8979
head updated to:
<head>
    <meta charset="UTF-8" />
    <link rel="stylesheet" href="./assets/css/style.css">
    <title>Horiseon - Your Home for Digital Marketing and SEO</title>
</head>


Get App working

Description
Latest changes on the repositories do not work because we were working last year on branches different than develop. We have to get all the repositories building and running again before anything else.
Related
work must also be done in h9-ethernet-view, see this issue
Notes
Make sure to document the way to get the app working

See this comment


feat: diff operation

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

Current dependencies on/for this PR:

main

PR #130

PR #131

PR #132   👈

This stack of pull requests is managed by Graphite.


Unified guidance

I have implemented two new guidance classes:

StableDiffusionUnifiedGuidance (SDS+VSD)
Zero123UnifiedGuidance (SDS+VSD)

The new guidance classes also return predicted z0 (single step/multiple steps) so that we can visualize them for debugging and implement the losses proposed in HiFA.
I didn't change existing pipelines or configs and put new configs that use the new unified guidance in configs/experimental/unified-guidance. But ideally we'll switch to the new guidance for all default configs later.
To-do

ControlNet/Multi-ControlNet support
DU support
more flexible visualization helper functions

Hi @bennyguo, Great work!
I'm very interested in using diffusers implementation in SDS/SJC and found the unified implementation very useful. Is there more documentation on this so that I can know how to properly debug, tune params, and contribute? Thanks! I guess I will run some demos with the configs under the unified-guidance folder as the start point!


add support for attachments_file

This feature would be useful for us as well as Slack's basic formatting options are pretty limited. Not sure who's maintaining this project ATM, but gentle bump to @drnic @dennisjbell to think about merging.

@geofffranks do you know who maintains this repo>

thanks @norman-abramovitz!


Update README.md to include a link to superviews.js

How does this look?
I thought starting a list would be a good way to go to allow other examples to be added in the future.
Alternatively, it could go as a peer of the Closure and JSX examples.

I signed it!

I've updated and included an example like Closure and JSX.
Is it too much?
https://github.com/davidjamesstone/incremental-dom

Could you trim it down a bit? Perhaps just the major examples of what you provide like one example of control (either looping or if), one example of statics and maybe one example of setting style.

How's that looking? https://github.com/davidjamesstone/incremental-dom

Looks good, could you just rebase your commits together?

How's that? I think I have done what you're asking. I'm still learning git.
Cheers

Looks like there are still lots of commits. You could try following this guide: http://davidwalsh.name/squash-commits-git
One thing to remember that once you are done squashing everything into 1 commit, you'll need to push your changes with push -f to overwrite the previous commits. If you are using command-line git, you probably want to actually do a fixup rather than a squash since you don't care about the commit messages from the later commits.
Let me know if any of it is confusing and I'd be more than happy to set you through the process.

Thanks for the help and links. Hopefully it's now done and I've learnt something useful!


rb_define_global_const not documented?

Global constants defined in .rb files appear to be documented:
# This is a test.
HELLO_RUBY = 'Hi!'.freeze

That will appear under "Top Level Namespace".
But defining a global constant in C doesn't seem to document:
// Hello C World.
rb_define_global_const("SOME_NAME", Qtrue);

That doesn't appear anywhere in the docs - even though the constant regex appear to take into account the pattern for this function.
Is this intentional somehow or a bug?
If it's intentional, how can a plugin add constants to the Top Level Namespace?

It looks like it's not supported. handler_methods.rb has the following guard:
return unless type == 'const'

I wouldn't be opposed to a patch that added support for these constants. This shouldn't be a plugin, if you're going to implement this, please open a PR.

Cool. I'll look into that.

@lsegal - do you have a setup for using a Ruby debugger to step trough the code when YARD runs?


Intellisense not updating for JSONs imported using resolveJsonModule

VSCode Version: 1.27.2
OS Version: MacOS High Sierra

Steps to Reproduce:

Import a JSON using resolveJsonModule
Pull it into a function signature that references the JSON (I use keyof typeof on the JSON's keys)
Have the function get called with an key that doesn't exist on the JSON (it will highlight red)
Update the JSON with a key that matches what the code says
The red line remains.

You have to restart VSCode for it to recognise any changes in the JSON

Does this issue occur when all extensions are disabled?: Yes

@jpike88 Can you add a code sample? I assume this is typescript?

Yes, TypeScript. I'll add a sample by this time tomorrow

Does this reproduce in the latest VS Code insiders build? It seems to work for me using typescript 3.1 which is included in the latest insiders build


how to disable sentinel support in v1.9.0

I have a regular single instance of redis running in a k8s pod, and as a side car app I was running v1.8.0 of rq-exporter. Looked to upgrade the version to v1.9.0 and received the error
  File "/usr/local/lib/python3.8/site-packages/redis/sentinel.py", line 219, in discover_master
    raise MasterNotFoundError("No master found for %r" % (service_name,))
redis.sentinel.MasterNotFoundError: No master found for 'master'

How could I use rq-exporter v1.9.0 just for non-sentinel redis? Thank you and I really am grateful I found this tool for our monitoring purposes.

Nvm, went through the code and found out that we just need to setup the environment variable to an empty value, and that should take care of it
        - name: RQ_SENTINEL_HOST
        - name: RQ_REDIS_PASS
          valueFrom:
            secretKeyRef:

Asked and answered!!


SaveAs tool fix after latest merges

Changes

Adding back SaveAs to cornerstoneTools
Fix global example

@swederik Seems that one of the latest PRs removed some of the code for SaveAs tool and the pattern of the file names changed. This is just an update for it.

Doh, this was my fault, checked all the 'tools' were working, ommited save on the refactor, thanks @galelis.


Include GoatCounter Analytics

Requirement
Apart from the already included web analytics services, I think it might also be worth adding GoatCounter
Suggested implements
Having GoatCounter analytics with bridget will help a lot to those who are starting out.
[analytics.goatcounter]
code = "goatcounter_code"

Addition details
No response
Verify steps

[ ] Pull request is welcome. Check this if you want to start a pull request
[X] I have searched on Issue Tracker, No duplicate or related open issue has been found
[X] Ensure there is only one feature request in this issue. Please make mutiply issue for mutiply feature request

Don't have a proper backend to test it, if more people request this I might give it a try
Pull request is welcomed
For now, you can just add your analytic script tag in head section of baseof.html


sitemap

https://www.npmjs.com/package/sitemap#example-of-using-sitemapjs-with-express-

3fe12990782952a3bfc3b462cd02d0a7c4a8a7b7


Clean up Imath::Limits and numeric_limits issues

Get rid of the pre-C++11 era Imath::Limits. It's both unnecessary,
given C++11 std::numeric_limits<T>, and also the Imath versions are
very confusing because some of the nomenclature contradicts what C++11
says. For example, C++11 numeric_limits::min() is the smallest
normalized positive value, but Imath:::Limits::min() was the lowest
negative value (what numeric_limits calls lowest()).
Get rid of the ImathLimits.h and ImathHalfLimits.h headers entirely.
Fix the nomenclature of HALF_MIN, HALF_NRM_MIN, etc.
Add a constructor: half(FromBitsTag, unsigned short bits) that
allows easy construction from raw bits (the tag distinguishes it from
the ordinary constructor). This can be constexpr! Unlike the following
idiom which was used but can't be made constexpr in C++11:
half h;  // default ctr
h._h = ...bits...
return h;

Note that you can't have a constexpr default constructor that leaves
the memory uninitialized, which is part of the problem. (But still
something we desire from the default constructor, to match types like
float.)
Several holdouts of numeric_limits, which C++11 says ought to
all be constexpr, were not, because they returned half(a_float_val),
which is still not constexpr. But with the new "from bits"
constructor, these can finally be made constexpr. So now we have a
truly C++11 compliant std::numeric_limits<half>.
Signed-off-by: Larry Gritz<EMAIL_ADDRESS>

I'm not sure what that analysis failure means. Is it a system problem, not related to these chanages?

I'm not sure what that analysis failure means. Is it a system problem, not related to these chanages?

This looks good to me, it pretty much exactly mirrors what I'd briefly started on, but I'd only spent an hour or so on it.
It's going to be tough to merge this with the PR I just submitted with doxygen comments, let's discuss which should go first.

This looks good to me, it pretty much exactly mirrors what I'd briefly started on, but I'd only spent an hour or so on it.
It's going to be tough to merge this with the PR I just submitted with doxygen comments, let's discuss which should go first.

There is more to come, but this ended up touching so many files that I wanted to separate the "limits" work from the rest of the constexpr work I have almost ready to go. I didn't want the latter to get lost in a sea of limits changes.

There is more to come, but this ended up touching so many files that I wanted to separate the "limits" work from the rest of the constexpr work I have almost ready to go. I didn't want the latter to get lost in a sea of limits changes.

You can pick the order. If you want to merge the doxygen patch first, I can rebase and do the merge on my end.

You can pick the order. If you want to merge the doxygen patch first, I can rebase and do the merge on my end.

Rebased on top of Cary's comment rewrites. Cross fingers for passed CI's.


Replaced KonvaNode template string with render function.

This will allow this package to run with the runtime-only build of Vue.
I don't remember when the render function was introduced in Vue, so I'm not sure if this will effect current compatibility.

@MKRazz Thanks for PR!!
Works on 1.0.6 version


YoggSaron world boss, quest and item

Wow, this is really cool, good effort. Tooltip and icon and everything is super clean and the Artifact does a tonne, which is great for a world boss.
Only found one thing to fix, which is that the item says it gives me Mass Haste but it really gives me Rally:

Need to update the buff to correspond with the new ability name:


Add in does not allow any coercion type other than Text

I'm Trying to build a PowerPoint add-in
But I realize that add-in does not allow me to use any of coercion types other than Text
Here is the error message :
The enumeration isn't supported in the current host application
I want to insert image in my PowerPoint slide,
So, what should I do ?

@Zoha the PowerPoint add-in tutorial contains sample code that shows how to insert an image into a slide. I realize you're using the Yeoman generator for Office Add-ins to create your add-in, whereas the tutorial provides instructions for using Visual Studio -- but you should still be able to use the same JavaScript code as shown in the tutorial to insert an image into a slide.  Specifically, the code sample I'm referring to is located within the Insert an image section of that tutorial:
function insertImageFromBase64String(image) {
    // Call Office.js to insert the image into the document.
    Office.context.document.setSelectedDataAsync(image, {
        coercionType: Office.CoercionType.Image
    },
        function (asyncResult) {
            if (asyncResult.status === Office.AsyncResultStatus.Failed) {
                showNotification("Error", asyncResult.error.message);
            }
        });
}

If you still have trouble getting this to work using this code sample, then please post to Stack Overflow (tag your question office-js and include a description of what you're trying to achieve, the code that you're using, the expected result, and the actual result). By posting to Stack Overflow, you'll not only reach a broader audience of folks, but others may also benefit from answers you receive there. Thanks!

The getSelectedDataAsync doesn't work on Office.CoercionType.XmlSvg, Office.CoercionType.Image types. Is that expected? I get the error : "The specified coercion type is not supported."
Office.context.document.getSelectedDataAsync(Office.CoercionType.XmlSvg, function (asyncResult) {
if (asyncResult.status === Office.AsyncResultStatus.Failed) {
console.error(asyncResult.error.message);
} else {
console.log("Get Svg" + asyncResult);
console.log(JSON.stringify(asyncResult.value, null, 4));
console.log("Ravi 2");
}
});

The getSelectedDataAsync doesn't work on Office.CoercionType.XmlSvg, Office.CoercionType.Image types. Is that expected? I get the error : "The specified coercion type is not supported."
Office.context.document.getSelectedDataAsync(Office.CoercionType.XmlSvg, function (asyncResult) {
if (asyncResult.status === Office.AsyncResultStatus.Failed) {
console.error(asyncResult.error.message);
} else {
console.log("Get Svg" + asyncResult);
console.log(JSON.stringify(asyncResult.value, null, 4));
console.log("Ravi 2");
}
});

@prakashravi1234 I think your error is a little different from this old closed issue. Please create a new issue. Thanks.

@prakashravi1234 I think your error is a little different from this old closed issue. Please create a new issue. Thanks.


feat: add main.rs, and rest requirements

This is the final PR for the repository for now.
Signed-off-by: SiddheshKanawade<EMAIL_ADDRESS>

@hsluoyz @hackerchai please review


add accidentally missing cluster locator config

Also renamed the file to config.d.ts to follow the standard.
The diff is a bit bigger than needed because I rearranged the entries a bit (getting the per-provider ones at the bottom) but those are unchanged

fyi @mclarke47 as well


Notes can be attached to the wrong Highlights

Tried to sync highlights from a book on my Kindle, so I extracted out only the clippings entries I was interested in. I have attached that for use here. You can see in the file that some highlights have notes, and some do not.
When syncing via this add-on (on a new install, on latest Obsidian) it works fine. However upon further inspection I found that some of the notes were connected to the wrong highlights.
Pls fix :crossed_fingers: :pray:
qob.txt

Thanks for raising @ohare93 and sharing your clippings files.
Can you share with me a screenshot or a copy of highlights that were associated with the wrong note?

I have long since deleted them, but could recreate it when at the computer again. As I said in the original post, it was simply that the file a Kindle gives has both Highlight and an optional connected Note about that Highlight, however after importing via this add-on the note is connected to the wrong highlight. You can see the highlights from the notes as "My Note" or "My Highlight" and as far as I can see the Note should be connected to the Highlight directly before it.

No problems. I thought you had a specific example handy.
I'll go through your file and try to recreate the problem you experienced
On Mon, 20 Sep 2021 at 11:00 PM, ohare93 @.***> wrote:

I have long since deleted them, but could recreate it when at the computer
again. As I said in the original post, it was simply that the file a Kindle
gives has both Highlight and an optional connected Note about that
Highlight, however after importing via this add-on the note is connected to
the wrong highlight. You can see the highlights from the notes as "My Note"
or "My Highlight" and as far as I can see the Note should be connected to
the Highlight directly before it.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/hadynz/obsidian-kindle-plugin/issues/73#issuecomment-922824767,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACNBQI34RQR6ANHRLWBPPLUC4H5ZANCNFSM5CANCNYQ
.

--
Sent from Gmail Mobile

Just had time to go through your My Clippings file and can see at least one note attached to a highlight that is not being transformed. This will help me to get to the bottom of this.
If you can help me out by surfacing all the issues in your file, that would help a lot.

It's quite simple: notes (marked with "Your Note") that directly proceed a Highlight (marked with "Your Highlight") are linked.
Sometimes there are multiple notes after a highlight, such as the 4th and 5th entry in my file. The 4th entry ("Hollow") is attached to the 3rd (a highlight that I thought was rather hollow), but the 5th entry is merely a spelling correction. This does not connect directly to a highlight.
All the highlights after seems to be shifted, so perhaps that is the answer?

Thanks for raising this issue. Whilst working on it I realised how broken the My Clippings parsing for the plugin was. The plugin was making a very big assumption that all highlights and notes would be added in the file in a sequential manner. It also wasn't handling duplicate annotations well.
These issues have all been fixed and released in 1.2.0. Give it a try and let me know you think it has parsed your file as you would have expected.


Heatmap Documentation - developer's guide

Check that the proper comments are in place to ensure that a quality developer's guide is produced

Added link to google maps API and what we used.

This is done


Add tests for number range

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 91.07%. Comparing base (e817567) to head (d79f333).

Additional details and impacted files
@@            Coverage Diff             @@
##           master       #2      +/-   ##
==========================================
+ Coverage   82.65%   91.07%   +8.42%
==========================================
  Files           9        9
  Lines         196      213      +17
  Branches       32       39       +7
==========================================
+ Hits          162      194      +32
+ Misses         34       19      -15

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


Is there a way to make a tree chart populate vertically rather than horizontally?

Hi, Is there a way to make a tree chart populate vertically rather than horizontally?

Well, what I usually do is insert the whole tree inside a g element with the transform=rotate(90) attribute.
This has the unfortunate effect of rotating labels as well, but you can insert the opposite rotation.
I have been thinking whether to add a flag to make the tree vertical, but I am not sure if the additional parameter would be worth, given that SVG graphics allows rotations


Filepicker Chrome 87.0.4280.77 iPad/iOS looking for images

Hey folks!
Seems like the file picker on iPad using Chrome v87.0.4280.77 looks for images and doesn’t allow me to pick json/excalidraw files..

suggestions?

The second screenshot I assume comes from clicking on the "browse..." option, and it doesn't allow you to click on the grayed-out items?
/cc @tomayac

The second screenshot I assume comes from clicking on the "browse..." option, and it doesn't allow you to click on the grayed-out items?
/cc @tomayac

Hey @dwelle, thanks for the swift reply! Yes, that's exactly right! Let me know if I can do anything to help out!

Hey @dwelle, thanks for the swift reply! Yes, that's exactly right! Let me know if I can do anything to help out!

I can't reproduce this. I just went though the flow of saving, clearing the canvas, and re-opening, and could select .json files in both Safari and Chrome (via the Browse option. Have you verified in the Files app that the file is there and has the right extension?

I can't reproduce this. I just went though the flow of saving, clearing the canvas, and re-opening, and could select .json files in both Safari and Chrome (via the Browse option. Have you verified in the Files app that the file is there and has the right extension?

I can't reproduce this. I just went though the flow of saving, clearing the canvas, and re-opening, and could select .json files in both Safari and Chrome (via the Browse option. Have you verified in the Files app that the file is there and has the right extension?

Dang! My bad, yes! So in my use case I was saving the file initially as a .excalidraw one in GDrive from Chrome on Mac, then tried renaming it but yet could not get it to load on mobile. The trick is saving the file as .json initially from the desktop and everything works!
Apologies for the noise, perhaps I've missed some docs or we can add a note somewhere?

I can't reproduce this. I just went though the flow of saving, clearing the canvas, and re-opening, and could select .json files in both Safari and Chrome (via the Browse option. Have you verified in the Files app that the file is there and has the right extension?

Dang! My bad, yes! So in my use case I was saving the file initially as a .excalidraw one in GDrive from Chrome on Mac, then tried renaming it but yet could not get it to load on mobile. The trick is saving the file as .json initially from the desktop and everything works!
Apologies for the noise, perhaps I've missed some docs or we can add a note somewhere?

Do I understand it correctly that it doesn't work with .excalidraw, but works with .json? That is a problem, since we're exporting to .excalidraw by default, and no one will know they need to manually rename. Shouldn't we reopen?

Do I understand it correctly that it doesn't work with .excalidraw, but works with .json? That is a problem, since we're exporting to .excalidraw by default, and no one will know they need to manually rename. Shouldn't we reopen?

No worries. While we try to save as .excalidraw, Safari, which doesn't support the File System Access API, refuses to use that extension and saves as .json (the MIME type) instead. We accept .json and .excalidraw when opening, but again Safari only accepts .json.

No worries. While we try to save as .excalidraw, Safari, which doesn't support the File System Access API, refuses to use that extension and saves as .json (the MIME type) instead. We accept .json and .excalidraw when opening, but again Safari only accepts .json.


Vulkan: Incorrect normal mapping

Godot version:
3099f6f
OS/device including version:
Windows 10 / Nvidia GeForce GTX 1080 Ti (457.30) / Vulkan
Issue description:
Normal maps are weirdly warped, which leads to incorrect shading.
Cutout of the model in editor. vs Full model in GLTF Viewer
Steps to reproduce:
Open the project > Open untitled.glb > Select Perspective > Display Advanced... > Normal Buffer
Minimal reproduction project:
Here

There is one missing feature of the Godot Master autolod. So I think this is a autolod bug and not rendering in Vulkan. Please check if it's related by disabling lod.

There is one missing feature of the Godot Master autolod. So I think this is a autolod bug and not rendering in Vulkan. Please check if it's related by disabling lod.

Please check if it's related by disabling lod.

If LOD is in "Import" tab, then i tried it (re-imported and relaunched editor) and it's still buggy.

Please check if it's related by disabling lod.

If LOD is in "Import" tab, then i tried it (re-imported and relaunched editor) and it's still buggy.

Another example, now with model from Sketchfab.
Normal mapping as viewed on Sketchfab vs bugged normals in editor.
Found out that when scene with model was open, editor were spamming error in console:
ERROR: Condition "!uniform_set" is true.    at: draw_list_bind_uniform_set (drivers\vulkan\rendering_device_vulkan.cpp:6187)
After closing scene tab this error occured:
ERROR: Condition "!material" is true.    at: material_set_shader (servers\rendering\renderer_rd\renderer_storage_rd.cpp:1545)
And image of scene was still present, although no tabs were open. Image.
Also, this looks like a material shader problem for me - if i disable normal maps in material it looks ok.
Bugged vs Normal

Another example, now with model from Sketchfab.
Normal mapping as viewed on Sketchfab vs bugged normals in editor.
Found out that when scene with model was open, editor were spamming error in console:
ERROR: Condition "!uniform_set" is true.    at: draw_list_bind_uniform_set (drivers\vulkan\rendering_device_vulkan.cpp:6187)
After closing scene tab this error occured:
ERROR: Condition "!material" is true.    at: material_set_shader (servers\rendering\renderer_rd\renderer_storage_rd.cpp:1545)
And image of scene was still present, although no tabs were open. Image.
Also, this looks like a material shader problem for me - if i disable normal maps in material it looks ok.
Bugged vs Normal

+1 @Xartorx I have same problem with incorrect shading and it goes away when I use Triplanar in Shader.

@Xartorx @decepticlown Can you reproduce this when using a primitive mesh in a MeshInstance (such as a BoxMesh)?

@Calinou I can confirm that it only happens with gltf import. I imported same mesh through obj and it works fine without any issues. Could it be gltf importer problem?

@Calinou looks like it's an importing issue - using model straight from Sketchfab (and looks like model was made in 3DS Max) produces errors in normal mapping, but importing model into Blender and exporting it as OBJ fixes it:

Top - OBJ from blender, bottom - FBX from Sketchfab

Exporting as GLTF from Blender produces different problem - part of normal map just doesn't mapped:

And in normal buffer view this part just straight up missing:

Another problem.
Obj model from blender but flat shaded:

Obj Model but smooth shaded:

cc @fire

Maybe I should mention that I'm using Godot compiled from master branch?

Can I comment in another version if master branch has same problem?

I'd suggest opening a separate issue if you're encountering this issue in master. Note that master will currently display some materials as white after you set a texture in them; this can be solved by saving the scene then using Scene > Reload Saved Scene.

Looks like issue is resolved with latest PR (#49522).

Closed by #49522


Update to compile SDK 23 and support library 23.1.1

And build tools 23.0.2

@1zaman Please review? I don't think this will cause any issues.


Adding internal endpoints for trigger-cutoff and trigger-inbound

Changes

Add /.internal/trigger-cutoff endpoint
Add /.internal/trigger-inbound endpoint

Why Are Changes Being Made

Codecov Report

Merging #68 (2c43b96) into master (7dda8b7) will increase coverage by 0.41%.
The diff coverage is 67.79%.

@@            Coverage Diff             @@
##           master      #68      +/-   ##
==========================================
+ Coverage   41.33%   41.75%   +0.41%
==========================================
  Files          80       80
  Lines        3111     3152      +41
==========================================
+ Hits         1286     1316      +30
- Misses       1565     1572       +7
- Partials      260      264       +4

Impacted Files
Coverage Δ

internal/incoming/odfi/admin.go
0.00% <0.00%> (ø)

internal/pipeline/manual_cutoff_times.go
0.00% <0.00%> (ø)

internal/shards/repository.go
57.89% <58.33%> (-0.44%)
:arrow_down:

internal/incoming/web/api_files.go
73.41% <76.19%> (+0.53%)
:arrow_up:

internal/environment.go
50.00% <100.00%> (+2.99%)
:arrow_up:

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 7dda8b7...2c43b96. Read the comment docs.


To v1.43.0

Failures related with dual-stack dns are known and benign. These were fixed on master by https://github.com/grpc/grpc/pull/28344 but not back ported here.


DEV-267 | update the getting started

@hoavt please refer to github issue (@ #xxx) instead for the commit message.

@hoavt error:
$ docker-compose exec dev make generate
sphinx-build -b html -d _build/doctrees   . _build/html
Running Sphinx v1.5.1
loading pickled environment... done
building [mo]: targets for 0 po files that are out of date
building [html]: targets for 1 source files that are out of date
updating environment: 0 added, 1 changed, 0 removed
reading sources... [100%] getting_started
/opt/app/getting_started.rst:168: ERROR: Content block expected for the "note" directive; none found.
/opt/app/getting_started.rst:291: WARNING: Bullet list ends without a blank line; unexpected unindent.
looking for now-outdated files... none found
pickling environment... done
checking consistency... /opt/app/release.rst:: WARNING: document isn't included in any toctree
done
preparing documents... WARNING: html_favicon is not an .ico file
done
writing output... [100%] index
generating indices... genindex
writing additional pages... search
copying static files... WARNING: favicon file 'favicon.png' does not exist
done
copying extra files... done
dumping search index in English (code: en) ... done
dumping object inventory... done
build succeeded, 5 warnings.

Build finished. The HTML pages are in _build/html.

@hoatle: please review and merge it.

@hoavt still the problem:
/opt/app/getting_started.rst:293: WARNING: Bullet list ends without a blank line; unexpected unindent.

please make sure to check on local and travis-ci first.

@hoatle please review it and merge

need to keep minimal changes as possible, I see lots of unnecessary reformat content

closed, use this instead: https://github.com/teracyhq/dev/pull/236


make install command

Check the machine configuration make check :

[x] check.php

If ok, make install will do :

[x] bower install
[x] npm install
[x] composer install
[x] php app/console doctrine:database:create
[x] node ./node/create_wallet.js
[ ] generate jwt public/private keys

Then launch tests ?

Errors encountered:
nodejs missing.
ext-curl missing:
composer install
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. Run update to update them.
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Installation request for nbobtc/bitcoind-php 1.1.0 -> satisfiable by nbobtc/bitcoind-php[1.1.0].
    - nbobtc/bitcoind-php 1.1.0 requires lib-curl * -> the requested linked library curl has the wrong version installed or is missing from your system, make sure to have the extension providing it.
  Problem 2
    - Installation request for sensiolabs/security-checker v2.0.0 -> satisfiable by sensiolabs/security-checker[v2.0.0].
    - sensiolabs/security-checker v2.0.0 requires ext-curl * -> the requested PHP extension curl is missing from your system.
  Problem 3
    - Installation request for guzzle/guzzle v3.9.2 -> satisfiable by guzzle/guzzle[v3.9.2].
    - guzzle/guzzle v3.9.2 requires ext-curl * -> the requested PHP extension curl is missing from your system.

don't forget
jwt_private_key_path ('%kernel.root_dir%/var/jwt/private_test.pem'):
jwt_public_key_path ('%kernel.root_dir%/var/jwt/public_test.pem'):
jwt_pass_phrase (bambou):

bower install
make: bower: Command not found
make: *** [install] Error 127

cd node/ && npm install && cd ../
/bin/sh: 1: npm: not found
make: *** [install] Error 127

AltLayer Airdrop Season One Update

🚀 Exciting Announcement! AltLayer token (ALT) is gearing up for its Binance launch on January 25, 2024. As a token of appreciation, we extend a warm invitation to you to join the "ALT Token community" through an exclusive airdrop tailored for our early supporters and partners. Here's a quick overview:

Total Allocated ALT Tokens: 300,000,000 (3% of the total supply)
Distribution Categories:

Ethereum Mainnet
Binance Mainnet

For a comprehensive breakdown of criteria and further details, refer to the complete announcement Oficial Website.
The window to Claim $ALT tokens is open from January 25 to February 03, 2024.
Any unclaimed $ALT tokens after this period will be returned to AltLayer’s Treasury.
We deeply appreciate your contribution to AltLayer's success! Stay tuned for more exciting developments in Season One.
Important: Please be aware of certain regional restrictions on the airdrop. Review the disclaimer before participating.
wildblurgardin, @HeilAsuka, @anhtuan762, @Greicevianna, @yairmark, @jordn, @dillonhows, @sainity, @jsh1n, @ArthurOstapenko, @jp090699, @antnjen, @nagarajhubli, @Ultraman95, @thenry33, @RustMan88, @1683942030, @kakao-jun-e, @Sestertius, @samosudov


Add support ref-forwarding & fix issues 133,150

Summary
Pull request solve:

https://github.com/react-native-community/react-native-text-input-mask/issues/133
Support of ref object { current: x}

Test Plan
What's required for testing (prerequisites)?
1) Support ref-forwarding:
<TextInputMask  ref={console.log} />;

// ----------------------------
const ref = useRef(null);

useEffect(() => {
  console.log("shouldn't null: ", ref);
},[ref]);

<TextInputMask  ref={ref} />;

2) Warning about componentWillReceiveProps:

Create a new project react-native init
Install module with fix yarn add retyui/react-native-text-input-mask#support-refs
Add <TextInputMask mask={"+1 ([000]) [000] [00] [00]"} /> to App.js
Run an application
Enable Debug and check there is not warning message in a console panel

Compatibility

OS
Implemented

iOS
✅

Android
✅

Checklist

[x] I have tested this on a device and a simulator
[x] I added the documentation in README.md
[ ] I mentioned this change in CHANGELOG.md
[ ] I updated the typed files (TS and Flow)
[ ] I added a sample use of the API in the example project (example/App.js)

this should be merged!

ASAP

Bump can someone merge this @ivanzotov

@retyui This has been done as part of v3 refactor


Update config.toml

Bump Hugo

Thanks @erdembey the repo has an action that checks this and opens an automatic PR