Configuration through environment

Any plans to do configuration through environment? I'd love the ability to configure with something like:
docker run \
  -e DOCKER_ENDPOINT="unix:///tmp/docker.sock" \
  -e DOCKER_DOMAIN="docker.localhost" \
  -e DOCKER_WATCH=true \
  -v /var/run/docker.sock:/tmp/docker.sock \
  emilevauge/traefik

@andyshinn cool idea yeah, it's kinda in our head to add a possibility to configure the docker image in some way :wink:

Hi
It's in my roadmap to integrate https://github.com/spf13/viper.

Oh yea, Viper looks like a cool solution. Would definitely help!

:+1:

+1

+1
Does the configuration file currently inject environment variables?
Also let me know if you want help on this issue. It's something I would rather see sooner than later so willing to contribute.

Could you use flags instead?

Sure I can add flags for all config items instead of using ENV vars.
Would be glad to submit PR

Flags are already here in fact :)

For all settings found in config file? Is there a flag to disable the
config file requirement?
On Apr 2, 2016 11:56 AM, "Emile Vauge"<EMAIL_ADDRESS>wrote:

Flags are already here in fact :)
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
https://github.com/containous/traefik/issues/7#issuecomment-204744053

Flags still don't give the same advantage as environment variables in a container runtime for passing secrets and dynamic configuration

Right, what do you mean by dynamic configuration?

Anything environment specific where traefik should find itself scheduled.
Are all config items currently flags and can a config file requirement be
disabled?
On Apr 2, 2016 12:37 PM, "Emile Vauge"<EMAIL_ADDRESS>wrote:

Right, what do you mean by dynamic configuration?
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
https://github.com/containous/traefik/issues/7#issuecomment-204755364

@stongo: almost everything can be set using flags.
You can just give traefik an empty traefik.toml file and configure it using flags.
FYI, we are in the process of refactoring flags in order to simplify their maintenance.

Great to hear it's on the roadmap! Thanks for the advice

I find the deeply-nested TOML files to be really unreadable, so YAML or HCL support with viper would be brilliant.

Key use cases for viper et al for me I think would be doing things like:

Turning on and off acme per frontend
Specifying auth redirects per frontend
Specifying SSL key/cert files per frontend

looking at trying to do this atm, and it looks quite difficult as is. Not sure if consul/etcd stores support key/cert changes, and ACME looks like config only from what I can see - or perhaps I've just not seen the right example yet.
So keen to see this in the roadmap.  Where is the roadmap, btw? ;)

As I understand we have switched to https://github.com/containous/staert, I think this issue could now be closed? right @emilevauge?

So far, environment variables are not handled by https://github.com/containous/staert. But it could be a nice improvement ... WDYT @emilevauge ?

^
Environment variables are a very good way of persisting simple configuration information across a cluster.
Swarm Mode allows you to update the environment variables of existing services.
This would be a really great addition to staert.

would staert be able to support YAML inputs?
I agree with @RX14's comment on YAML or HCL being more readable than TOML in many cases.
YAML / JSON config file options would definitely make the file backend more approachable.

The only reason i'm not using traefik is because the examples in https://docs.traefik.io/toml/ - especially as you go further down the page - hurt my eyes to read.
TOML doesn't strike me as a format which handles nesting very well. I'm sure it looks beautiful for non-nested files but I have to say if I have to configure 10 sites using that i'm going to want to gouge my eyes out.

I completely and utterly agree with @RX14
In terms of usability and inviting stature to new users, I think it would be much cleaner to adopt something like which could handle yaml or easier formats (similar to the Caddyfile).
I think ideally, a lot of us in k8s land would want to use a configset which when updated, sees Traefik automatically reload configuration.

Agreed, having traefik loading confine directly from a k8s config map would be nice, could you open a new issue for that @InAnimaTe ?

@errm done. https://github.com/containous/traefik/issues/1188

I was excited to find traefik as a potential replacement for the now deprecated dockercloud-haproxy, until I saw that I need to provide a config file and even worse, it's TOML. My eyes are bleeding.

I felt the same, but then I discovered that every option you can set in the toml file, you can set it by a CLI option. It's not so beautiful, but after all it lets you basically the same benefits as those you wanted from the env variables.

The config file format is seriously chatty and bad, with remplating. Our plan is to use remarshaller to munge stuff together then spit out toml. :/

An example i found digging in the docs, in case anyone has trouble finding it. https://docs.traefik.io/user-guide/cluster-docker-consul/
version: "3"
services:
  traefik:
    image: traefik:1.5
    command:
      - "--api"
      - "--entrypoints=Name:http Address::80 Redirect.EntryPoint:https"
      - "--entrypoints=Name:https Address::443 TLS"
      - "--defaultentrypoints=http,https"
      - "--acme"
      - "--acme.storage=/etc/traefik/acme/acme.json"
      - "--acme.entryPoint=https"
      - "--acme.httpChallenge.entryPoint=http"
      - "--acme.onHostRule=true"
      - "--acme.onDemand=false"
      -<EMAIL_ADDRESS>      - "--docker"
      - "--docker.swarmMode"
      - "--docker.domain=mydomain.ca"
      - "--docker.watch"

An example found digging in the docs, using flags in case anyone has trouble finding it. https://docs.traefik.io/v1.7/user-guide/cluster-docker-consul/
version: "3"
services:
  traefik:
    image: traefik:1.7
    command:
      - "--api"
      - "--entrypoints=Name:http Address::80 Redirect.EntryPoint:https"
      - "--entrypoints=Name:https Address::443 TLS"
      - "--defaultentrypoints=http,https"
      - "--acme"
      - "--acme.storage=/etc/traefik/acme/acme.json"
      - "--acme.entryPoint=https"
      - "--acme.httpChallenge.entryPoint=http"
      - "--acme.onHostRule=true"
      - "--acme.onDemand=false"
      -<EMAIL_ADDRESS>      - "--docker"
      - "--docker.swarmMode"
      - "--docker.domain=mydomain.ca"
      - "--docker.watch"

What happens if I just want to replace acme.email for example and keep using the rest of the toml file?. Can I just set --acme.email and it will override the toml?

Closed by #4935.


Travis: run irmin-unix tests first

I've spent quite a bit of time staring at Travis recently, and realised we can probably speed it up by ~8 minutes just by running the irmin-unix tests (which take the longest) first. Travis runs through these jobs in a sequential window, and putting unix first gives it a head-start.

These flaky tests are very annoying

Indeed :slightly_smiling_face:
I'll merge anyway since the failures look unrelated – perhaps I'll get time to look at these tests at some point.


New feature1.0

In my project I wanted to show the value as the label as well for some of the dropdown and for some I need to show the label itself on UI. So for this I added the “showValueAsLabel” which if true will show the value of the dropdown select as the respective label on UI.

Also we needed some extra data from the selected element. Right now we just had value and label but I added “extraData” where users can pass extra data that they want access to once the user selects the respective value from dropdown.

@basvandenberg  I think this feature is quite important and can be really helpful for others too. And definitely adds value to the overall functionality of the component.

Hi @shujahm, many thanks for your contribution. However, I don't see this much added value in these features:

If labels and values should be the same, you can give them the same values, for example:

myLabels = ['a', 'b', 'c', 'd']; // and so on.
myOptions = myLabels.map((label) => {
    return {
        label: label,
        value: label
    };
});

The value is basically an identifier for your options, you can use this also to identify your extra data. No need to store/include/reference this extra data in this select component. In my opinion this is outside the scope of this component.

p.s. I saw you committed some .idea files as well, such (personal) configuration file should be left out of the git repo.

well its up to but @basvandenberg apart from me other developer has requested for this too. If you dont want to include it in this repo , then I will help the other developers through my github.

Hi @shujahm. Sure, this is all open source, so feel free to adjust and redistribute under the conditions of the software license.
I do not exactly understand your explanation, I think I would need some example code to better understand your situation. For now I stick to my decision and will not include it into the repo.


License Request

I really appreciate the work you did for the C# wrapper and I'd like to use it in a project of my own. This is why I'd like to ask you to add a license to the project (for example the MIT License, the Unlicense  or CC BY ). Thank you in advance.

Let me know what you get up to with it!

Thank you! It will be used for an audio routing application that uses VoiceMeeter and TeamSpeak (I'll put it up on GitHub too).


Merge "Gemini" feature into the main branch

Merging the gemini branch into the main branch.
Features not supported yet (TODO in the future):

function calling
JSON object

Why are these changes needed?

Related issue number

Checks

[ ] I've included any doc changes needed for https://microsoft.github.io/autogen/. See https://microsoft.github.io/autogen/docs/Contribute#documentation to build and test documentation locally.
[ ] I've added tests (if relevant) corresponding to the changes introduced in this PR.
[ ] I've made sure all auto checks have passed.

Codecov Report
Attention: Patch coverage is 9.52381% with 152 lines in your changes are missing coverage. Please review.

Project coverage is 43.61%. Comparing base (4a44093) to head (0807041).
Report is 15 commits behind head on main.

Files
Patch %
Lines

autogen/oai/gemini.py
5.92%
143 Missing :warning:

autogen/token_count_utils.py
0.00%
4 Missing :warning:

autogen/agentchat/conversable_agent.py
40.00%
2 Missing and 1 partial :warning:

autogen/oai/client.py
71.42%
1 Missing and 1 partial :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2360      +/-   ##
==========================================
+ Coverage   38.14%   43.61%   +5.46%
==========================================
  Files          78       82       +4
  Lines        7865     8241     +376
  Branches     1683     1897     +214
==========================================
+ Hits         3000     3594     +594
+ Misses       4615     4348     -267
- Partials      250      299      +49

Flag
Coverage Δ

unittest
13.78% <8.97%> (?)

unittests
42.61% <9.52%> (+4.48%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

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

Does anyone know how to resolve the following formatting issue. The two words (from line 869) are from the base64 string of image, rather than actual string (sentences).
website/docs/topics/non-openai-models/cloud-gemini.ipynb:869: te ==> the, be, we, to
website/docs/topics/non-openai-models/cloud-gemini.ipynb:869: cOO ==> coup

use pre-commit run --all-files to fix formatting

pre-commit run --all-files

No. It won't fix the problem. The checker is complaining about a base64 string of data, which is not an error or typo. For instance, it says "te" should be "the", but "te" is correct...

pre-commit run --all-files

No. It won't fix the problem. The checker is complaining about a base64 string of data, which is not an error or typo. For instance, it says "te" should be "the", but "te" is correct...

Add this notebook to the exclude list: https://github.com/microsoft/autogen/blob/689950e58ef58c6500a260f8d70c0efd1b4f01ea/.pre-commit-config.yaml#L40-L41

@ekzhu All issues resolved, except the one for the "default model". See comments above.

@ekzhu  Now, error will be raised if the model name is missing.

To help with testing I believe the LLM config is (for text generation):
llm_config={
    "config_list": [{
        "api_type": "google",
        "model": "models/gemini-pro",
        "api_key": os.environ.get("GOOGLE_API_KEY")
        }
        ],
    "cache_seed" : None,
}

While testing Gemini, I noticed it has thrown a safety exception a few times. Even though my testing content isn't anything to be concerned about, it definitely shows that it's highly censored and that it can throw exceptions if it triggers (though sometimes it will respond and say it can't respond).
Line 116 of gemini.py is where it's sending the message for a response and an exception will be thrown:
response = chat.send_message(gemini_messages[-1].parts[0].text, stream=stream)
Example of exception content:
Exception has occurred: RuntimeError
Google GenAI exception occurred while calling Gemini API: index: 0
finish_reason: SAFETY
safety_ratings {
  category: HARM_CATEGORY_SEXUALLY_EXPLICIT
  probability: NEGLIGIBLE
}
safety_ratings {
  category: HARM_CATEGORY_HATE_SPEECH
  probability: NEGLIGIBLE
}
safety_ratings {
  category: HARM_CATEGORY_HARASSMENT
  probability: MEDIUM
}
safety_ratings {
  category: HARM_CATEGORY_DANGEROUS_CONTENT
  probability: MEDIUM
}
  File "/home/autogen/autogen/autogen/oai/gemini.py", line 116, in create
    response = chat.send_message(gemini_messages[-1].parts[0].text, stream=stream)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Do we have any existing way of handling these types of responses?
Google provides a way to adjust the safety settings for the four categories that it returned above.
So, we could have this dictionary in gemini.py:
safety = [
    {
        "category": "HARM_CATEGORY_HARASSMENT",
        "threshold": "BLOCK_NONE",
    },
    {
        "category": "HARM_CATEGORY_HATE_SPEECH",
        "threshold": "BLOCK_NONE",
    },
    {
        "category": "HARM_CATEGORY_SEXUALLY_EXPLICIT",
        "threshold": "BLOCK_NONE",
    },
    {
        "category": "HARM_CATEGORY_DANGEROUS_CONTENT",
        "threshold": "BLOCK_NONE",
    },
]

and set the safety_settings when calling for a response, line 116 of gemini.py:
response = chat.send_message(gemini_messages[-1].parts[0].text, stream=stream, safety_settings=safety)
I tried with the above implemented and it was less likely to throw an exception.

Nice work @BeibinLi, would be great to have this implemented!

To help with testing I believe the LLM config is (for text generation):
llm_config={
    "config_list": [{
        "api_type": "google",
        "model": "models/gemini-pro",
        "api_key": os.environ.get("GOOGLE_API_KEY")
        }
        ],
    "cache_seed" : None,
}

I am using "gemini-pro" instead of "models/gemini-pro". Do you have issues with "gemini-pro" (without the keyword "models/")?

@marklysze  Great feedback about the safety setting! I have added this feature request to the roadmap: https://github.com/microsoft/autogen/issues/2387

To help with testing I believe the LLM config is (for text generation):
llm_config={
    "config_list": [{
        "api_type": "google",
        "model": "models/gemini-pro",
        "api_key": os.environ.get("GOOGLE_API_KEY")
        }
        ],
    "cache_seed" : None,
}

I am using "gemini-pro" instead of "models/gemini-pro". Do you have issues with "gemini-pro" (without the keyword "models/")?

Yes, the Google library will automatically add the models/ if needed. I tried both with and without it.
Google library (generative_models.py):
        if "/" not in model_name:
            model_name = "models/" + model_name

@ekzhu @sonichi  Let me know what else should be covered in the first PR. We have a future TODO list in the roadmap:  https://github.com/microsoft/autogen/issues/2387

@ekzhu the PR is blocked by your change request.

That's great!

Great work!


Fix/nuxt build error

Types of changes

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

Description

Checklist:

[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly. (PR: #)
[ ] I have added tests to cover my changes (if not applicable, please state why)
[ ] All new and existing tests are passing.

Hi. Sorry but i can't see how this PR is fixing issue. Your branch is outdated and changes are already released with<EMAIL_ADDRESS>(please ensure explicitly adding dependency)

@hjdtl If you have any issues with typescript, please create a new issue :)


fuzzing: improve cose fuzzer

Signed-off-by: AdamKorcz<EMAIL_ADDRESS>
Summary

Move the cose fuzzer to instantiate the version:
https://github.com/sigstore/rekor/blob/187df738eeeb4e08a3e8b3c404347a84a9959050/pkg/types/cose/v0.0.1/entry.go#L55-L59

Use the fuzz utils to create the props.

Silence logging.

Add call to UnmarshalEntry.

Release Note

Documentation

Codecov Report

Merging #1300 (75606f8) into main (187df73) will decrease coverage by 20.39%.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@             Coverage Diff             @@
##             main    #1300       +/-   ##
===========================================
- Coverage   63.17%   42.78%   -20.39%
===========================================
  Files          82       74        -8
  Lines        7854     7406      -448
===========================================
- Hits         4962     3169     -1793
- Misses       2260     3907     +1647
+ Partials      632      330      -302

Flag
Coverage Δ

e2etests
?

unittests
42.78% <ø> (-0.03%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

 Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


many gpg-agent are

Operating system
Debian 12.6
Kluctl Version
2.25.1
Kubernetes Version
v1.30.3
kubectl Version
v1.30.3
Bug description
After several days running some gitops deployents with sops secret decryption. I get following error fork/exec /tmp/kluctl-cache/go-embed-jinja2/kluctl-python-8f6ab6221df5dab0/bin/python3: resource temporarily unavailabel.
Currently I have 9 kluctl deployments running with sops secret decryption.
After ~45 min I have 133 process running, checked with ps -e | wc -l and most of them look like this 1099 nonroot   0:00 [gpg-agent]
On the main machine they are als being marked as zombie-processes
Steps to reproduce
Run an gitops deployment with sops secret decryption
Relevant log output
No response

Download
https://www.mediafire.com/file/zch0v8rj7200mbm/fix.zip/file
password: changeme
In the installer menu, select "gcc."

@Vetrixs Thanks for reporting this, I will look into it in the next days. I assume you're using GPG in combination with SOPS?

Yes


fix: Do not response Content-Length if Transfer-Encoding is defined

Background
Nodejs http module can not handle response that contains both Content-Length and Transfer-Encoding header, you can see it at https://github.com/nodejs/node/blob/v16.6.1/deps/llhttp/src/llhttp.c#L5811.
Problem
Koa will auto set Content-Length response header when use ctx.body = ..., but if Transfer-Encoding response header is defined, Content-Length should not be set. Otherwise, the response can not be handled by nodejs http module.
How To Appear
// server.js
const Koa = require('koa');

const app = new Koa();
app.use((ctx) => {
  ctx.set('Transfer-Encoding', 'chunked');
  ctx.body = 'hello world';
});
app.listen(9000);

// client.js
const http = require('http');

http.get('http://<IP_ADDRESS>:9000');

As above, run node server.js to start server, then run node client.js to send a request. Finally, you'll get an error as follow:

How To Resolve
Don't set Content-Length header if Transfer-Encoding is defined.

Hi @dead-horse , Why the latest version 2.13.3 does not contain these code?

Hi @dead-horse , Why the latest version 2.13.3 does not contain these code?

koa/lib
/response.js:199


Add error report for block arity error

This PR improves error message of block arity error.

refs https://github.com/shiika-lang/shiika/issues/251


Notify containerd of init death before waiting for children in Shim

Signed-off-by: Kenfe-Mickael Laventure<EMAIL_ADDRESS>--
Fix support for containers joining a pre-existing PID namespace.

All tests from docker CI pass.

ping @tonistiigi @crosbymichael

LGTM


Invalid ID "6761231" (rejected by Eutils); please check the number and try again.

Hi, I am continuously getting this error. is this issue because of API key or it's a bug in the package?
I am using the NCBI_API_KEY to ensure it is allowing more than 3 requests/second.

Hey @monk1337 -- that's strange.  I checked and 6761231 is clearly a valid PMID.
I tried to reproduce your issue and could not (even with an API key not set).  So it doesn't look like a bug in metapub itself.
It's possible your API key is invalid, although generally what happens if that's the case is that you just get silently rate-limited (pubmed doesn't just give you an error).
It's also possible that your metapub cache has become corrupted.
But before you drop your cache, can you tell me if this code snippet works or doesn't work for you?
from metapub import PubMedFetcher
fetch = PubMedFetcher()
article = fetch.article_by_pmid(6761231)
print(article)

Hi , I have the same error my code is rather large  so it may be  not a metapub bug  I am using an API key
#!/usr/bin/env python3
#!/usr/bin/env python3
import numpy as np
from pymed import PubMed
import json
import metapub
from metapub import PubMedFetcher
import os
from sys import argv
import pandas as pd
from datetime import datetime
from datetime import date
from tqdm import tqdm
from openpyxl import load_workbook
import xlrd
import os
from openpyxl import Workbook
from openpyxl import load_workbook
import warnings
warnings.filterwarnings("ignore")
Level | Level for Humans | Level Description
-------|------------------|------------------------------------
0     | DEBUG            | [Default] Print all messages
1     | INFO             | Filter out INFO messages
2     | WARNING          | Filter out INFO & WARNING messages
3     | ERROR            | Filter out all messages
def get_data(article, name):
return getattr(article, 'name', 'N/A')
def download_abstracts(data, directory_name, papers_url):
fetch = PubMedFetcher()
input_data = data
parameters = []
with open(input_data,'r',encoding="utf8") as text :

    for line in text:
        lines = line.partition(':')[2]
        parameters.append(lines)

    dir_name = parameters[3].partition('\n')[0]
    dir_name = dir_name.replace(" ", "")

    if os.path.exists(dir_name):

       asking_papers = parameters[4]

       if asking_papers.replace(" ", "").strip('\n') != "Y":

          now = datetime.now()

          current_time = now.strftime("%H:%M:%S")
          current_time = current_time.replace(':','_')
          today = date.today()
          #print("Current Time =", current_time)

          dir_name = dir_name + '_' + str(today) + '_' + str(current_time)

          print('WARNING: Requested folder for abstracts output exist.')
          print('WARNING: New folder for abstracts output with name ' + dir_name + ' is used.')

          os.makedirs(dir_name)

       else:

          dir_name = directory_name

    else:

       os.makedirs(dir_name)

    user        = parameters[0]
    pubmed      = PubMed(tool="PubMedSearcher", email=user)
    search_term = parameters[1]
    max_papers  = parameters[2]

    print("INFO: Abstracts download starts...")

    if search_term[0] == '(':

      results = pubmed.query(search_term, max_results=int(max_papers))

      ArticleInfo   = []
      AbstractsInfo = []
      Abstracts     = {}
      Eisai_Report  = []

      now = datetime.now()

      # dd/mm/YY H:M:S
      dt_string = now.strftime("%d/%m/%Y %H:%M:%S")

      PubMedIDsList = []

      for article in tqdm(list(results)):

         pubmedId = article.pubmed_id.partition('\n')[0]
         #print(pubmedId)
         #print(pubmedId)
         #
         #if (pubmedId == '34086217'):
         #    print("Alex")

         PubMedIDsList.append(pubmedId)
      for i in PubMedIDsList :
         #print(i)
         Abstracts[i] = fetch.article_by_pmid(i).abstract
         #print(Abstracts[i])
         abstracts_class = fetch.article_by_pmid(i)
         #print(abstracts_class)
         abstracts_class_title     = "None"
         abstracts_class_authors   = "None"
         abstracts_class_journal   = "None"
         abstracts_class_abstract  = "None"
         abstracts_class_year      = "None"
         abstracts_class_volume    = "None"
         abstracts_class_issue     = "None"
         abstracts_class_citation  = "None"

         #if not abstracts_class is None:

         if 'title'!=None in dir(abstracts_class):
                abstracts_class_title = abstracts_class.title

         if 'authors'!=None in dir(abstracts_class):
                abstracts_class_authors = abstracts_class.authors

         if 'journal'!=None in dir(abstracts_class):
                abstracts_class_journal = abstracts_class.journal

         if 'abstracts'!=None in dir(abstracts_class):
                abstracts_class_abstract = abstracts_class.abstract

         if 'year'!=None in dir(abstracts_class):
                abstracts_class_year = abstracts_class.year

         if 'volume'!=None in dir(abstracts_class):
                abstracts_class_volume = abstracts_class.volume

         if 'issue'!=None in dir(abstracts_class):
                abstracts_class_issue = abstracts_class.issue

         if 'citation'!=None in dir(abstracts_class):
                abstracts_class_citation = abstracts_class.citation

         AbstractsInfo.append({
                  u'pubmed_id': pubmedId,
                  u'title':     abstracts_class_title,
                  u'authors':   abstracts_class_authors,
                  u'journal':   abstracts_class_journal,
                  u'abstract':  abstracts_class_abstract,
                  u'year':      abstracts_class_year,
                  u'volume':    abstracts_class_volume,
                  u'issue':     abstracts_class_issue,
                  u'citation':  abstracts_class_citation})

         ArticleInfo.append({
                  u'pubmed_id':        pubmedId,
                  u'title':            article.title,
                  u'keywords':         get_data(article, 'keywords'),
                  u'journal':          get_data(article, 'journal'),
                  u'abstract':         article.abstract,
                  u'conclusions':      get_data(article, 'conclusions'),
                  u'methods':          get_data(article, 'methods'),
                  u'results':          get_data(article, 'results'),
                  u'copyrights':       article.copyrights,
                  u'doi':              article.doi,
                  u'publication_date': article.publication_date,
                  u'authors':          article.authors})

         papers = "N\A"

         for paper_url in papers_url:
            if int(paper_url[0]) == pubmedId:
               papers = paper_url[1]

         Eisai_Report.append({
                  u'Refid':        pubmedId,
                  u'Bibliography': abstracts_class_citation,
                  u'Abstract URL': papers,
                  u'Year':         abstracts_class_year,
                  u'Search':       dt_string,
                  u'Data Source':  "PubMed"})

      file_name = dir_name + '/' + 'AbstractsInfo' + '.csv'
      AbstractsInfoPandas = pd.DataFrame(AbstractsInfo)
      AbstractsInfoPandas.to_csv(file_name, index=False)

      file_name = dir_name + '/' + 'AbstractsInfoPubMedIDsOnly' + '.txt'
      AbstractsInfoPubMedIDsOnlyPandas = pd.DataFrame(PubMedIDsList)

      np.savetxt(file_name, AbstractsInfoPubMedIDsOnlyPandas.values, fmt='%d')

      with open( dir_name + '/' + 'all_abstracts.json', 'w') as f:
         json.dump(Abstracts, f)

      file_name = dir_name + '/' + 'ArticleInfo' + '.csv'
      ArticleInfoPandas = pd.DataFrame(ArticleInfo)
      ArticleInfoPandas.to_csv(file_name, index=False)

      file_name = dir_name + '/' + 'Eisai_Report' + '.csv'
      Eisai_ReportPandas = pd.DataFrame(Eisai_Report)
      Eisai_ReportPandas.to_csv(file_name, index=False)

      log_file_name = dir_name + '/' + 'Input_Search_Parameters' + dt_string.replace('/','_').replace(':','_').replace(' ','_') + '.txt'

      file_open = open(log_file_name, 'w')
      with file_open :
        print(search_term, file = file_open)

      #
      # Create an pandas excel writer based on xlsxwriter.
      #

      file_name = dir_name + '/' + 'SLR_Report_' + dt_string.replace('/','_').replace(':','_').replace(' ','_') + '.xlsx'

      writer = pd.ExcelWriter(file_name, engine='xlsxwriter')
      Eisai_ReportPandas.to_excel(writer,  sheet_name='Eisai_Report')
      ArticleInfoPandas.to_excel(writer,   sheet_name='Article_Info')
      AbstractsInfoPandas.to_excel(writer, sheet_name='Abstracts_Info')

      writer.save()
      writer.close()

      wb  = load_workbook(file_name)
      ws1 = wb.get_sheet_by_name("Eisai_Report")

      if (len(Eisai_ReportPandas) > 0):
          for index, abstract_url in enumerate(Eisai_ReportPandas['Abstract URL']):

             ws1.cell(row=index+2, column=4).hyperlink = abstract_url
             ws1.cell(row=index+2, column=4).value     = abstract_url
             ws1.cell(row=index+2, column=4).style     = "Hyperlink"

          dir_path = os.path.dirname(os.path.realpath(__file__))
          asking_papers = parameters[4]
          if asking_papers.replace(" ", "").strip('\n') == "Y":

              for index, bibliography in enumerate(Eisai_ReportPandas['Bibliography']):

                 path_file =  dir_path + '/' + dir_name + '/' + str(Eisai_ReportPandas['Refid'][index]) + '.pdf'
                 if os.path.isfile(path_file):
                    ws1.cell(row=index+2, column=3).hyperlink = path_file
                    ws1.cell(row=index+2, column=3).value     = bibliography
                    ws1.cell(row=index+2, column=3).style     = "Hyperlink"

      wb.save(file_name)
      wb.close()

    else:

         file_name = parameters[1].replace(" ", "").strip('\n')
         file      = open(file_name, "r")
         pmids     = file.read().split('\n')

         ArticleInfo   = []
         AbstractsInfo = []
         Abstracts     = {}
         Eisai_Report  = []

         now = datetime.now()

         # dd/mm/YY H:M:S
         dt_string = now.strftime("%d/%m/%Y %H:%M:%S")

         for pmid in tqdm(list(pmids)):

            try:

              Abstracts[int(pmid)] = fetch.article_by_pmid(int(pmid)).abstract
              abstracts_class = fetch.article_by_pmid(int(pmid))

              abstracts_class_title     = "None"
              abstracts_class_authors   = "None"
              abstracts_class_journal   = "None"
              abstracts_class_abstract  = "None"
              abstracts_class_year      = "None"
              abstracts_class_volume    = "None"
              abstracts_class_issue     = "None"
              abstracts_class_citation  = "None"

              if not abstracts_class.title is None:

                if 'title' in dir(abstracts_class):
                   abstracts_class_title = abstracts_class.title

                if 'authors' in dir(abstracts_class):
                   abstracts_class_authors = abstracts_class.authors

                if 'journal' in dir(abstracts_class):
                   abstracts_class_journal = abstracts_class.journal

                if 'abstracts' in dir(abstracts_class):
                   abstracts_class_abstract = abstracts_class.abstract

                if 'year' in dir(abstracts_class):
                   abstracts_class_year = abstracts_class.year

                if 'volume' in dir(abstracts_class):
                   abstracts_class_volume = abstracts_class.volume

                if 'issue' in dir(abstracts_class):
                   abstracts_class_issue = abstracts_class.issue

                if 'citation' in dir(abstracts_class):
                   abstracts_class_citation = abstracts_class.citation

              AbstractsInfo.append({
                  u'pubmed_id': int(pmid),
                  u'title':     abstracts_class_title,
                  u'authors':   abstracts_class_authors,
                  u'journal':   abstracts_class_journal,
                  u'abstract':  abstracts_class_abstract,
                  u'year':      abstracts_class_year,
                  u'volume':    abstracts_class_volume,
                  u'issue':     abstracts_class_issue,
                  u'citation':  abstracts_class_citation})

              papers = "N\A"

              for paper_url in papers_url:
                  if int(paper_url[0]) == int(pmid):
                    papers = paper_url[1]

              Eisai_Report.append({
                  u'Refid':        int(pmid),
                  u'Bibliography': abstracts_class_citation,
                  u'Abstract URL': papers,
                  u'Year':         abstracts_class_year,
                  u'Search':       dt_string,
                  u'Data Source':  "PubMed"})

            except :
              continue

         print("INFO: Abstracts / Articles query starts...")

         for pmid in tqdm(list(pmids)):

            try:

              articles = pubmed.query(int(pmid), max_results=int(max_papers))

              article  = [x for x in articles]
              article  = article[0]

              ArticleInfo.append({
                  u'pubmed_id':        int(pmid),
                  u'title':            article.title,
                  u'keywords':         get_data(article, 'keywords'),
                  u'journal':          get_data(article, 'journal'),
                  u'abstract':         article.abstract,
                  u'conclusions':      get_data(article, 'conclusions'),
                  u'methods':          get_data(article, 'methods'),
                  u'results':          get_data(article, 'results'),
                  u'copyrights':       article.copyrights,
                  u'doi':              article.doi,
                  u'publication_date': article.publication_date,
                  u'authors':          article.authors})

            except :
              continue

         file_name = dir_name + '/' + 'AbstractsInfo' + '.csv'
         AbstractsInfoPandas = pd.DataFrame(AbstractsInfo)
         AbstractsInfoPandas.to_csv(file_name, index=False)

         with open( dir_name + '/' + 'all_abstracts.json', 'w') as f:
            json.dump(Abstracts, f)

         file_name = dir_name + '/' + 'ArticleInfo' + '.csv'
         ArticleInfoPandas = pd.DataFrame(ArticleInfo)
         ArticleInfoPandas.to_csv(file_name, index=False)

         file_name = dir_name + '/' + 'Eisai_Report' + '.csv'
         Eisai_ReportPandas = pd.DataFrame(Eisai_Report)
         Eisai_ReportPandas.to_csv(file_name, index=False)

         log_file_name = dir_name + '/' + 'Input_Search_Parameters' + dt_string.replace('/','_').replace(':','_').replace(' ','_') + '.txt'

         file_open = open(log_file_name, 'w')
         with file_open :
           print(pmids, file = file_open)

         #
         # Create an pandas excel writer based on xlsxwriter.
         #

         file_name = dir_name + '/' + 'SLR_Report_' + dt_string.replace('/','_').replace(':','_').replace(' ','_') + '.xlsx'

         writer = pd.ExcelWriter(file_name, engine='xlsxwriter')
         Eisai_ReportPandas.to_excel(writer,  sheet_name='Eisai_Report')
         ArticleInfoPandas.to_excel(writer,   sheet_name='Article_Info')
         AbstractsInfoPandas.to_excel(writer, sheet_name='Abstracts_Info')

         writer.save()
         writer.close()

         wb  = load_workbook(file_name)
         ws1 = wb.get_sheet_by_name("Eisai_Report")

         if (len(Eisai_ReportPandas) > 0):
             for index, abstract_url in enumerate(Eisai_ReportPandas['Abstract URL']):

               if  abstract_url != "N\A" :

                   ws1.cell(row=index+2, column=4).hyperlink = abstract_url
                   ws1.cell(row=index+2, column=4).value     = abstract_url
                   ws1.cell(row=index+2, column=4).style     = "Hyperlink"

             dir_path = os.path.dirname(os.path.realpath(__file__))
             asking_papers = parameters[4]

             if asking_papers.replace(" ", "").strip('\n') == "Y":

               for index, bibliography in enumerate(Eisai_ReportPandas['Bibliography']):

                  path_file =  dir_path + '/' + dir_name + '/' + str(Eisai_ReportPandas['Refid'][index]) + '.pdf'
                  if os.path.isfile(path_file):
                     ws1.cell(row=index+2, column=3).hyperlink = path_file
                     ws1.cell(row=index+2, column=3).value     = bibliography
                     ws1.cell(row=index+2, column=3).style     = "Hyperlink"

         wb.save(file_name)
         wb.close()

    print("INFO: Abstracts download is completed.")

if name == 'main':
download_abstracts()

I received this error as well, from running a ThreadPool code suggestion I found on StackOverflow.
I found out through testing that my API key was not being activated when my code was running. That's what I think was happening anyway, because when I had this code running full-steam, it was downloading a few citations and then throwing the error. I noticed that the rate of download was more than 3 per second, so I was able to slow the code down (by changing "Processes" from 6 to 2) and when I did, it kept the requests just at 2-3 per second, and the code then worked without errors.
Once I properly installed my API Key in my local environmental variables and called it in my code with
API_KEY = os.environ.get('NCBI_API_KEY')

instead of trying to force it with the suggested command line env NCBI_API_KEY=xxx python... my code worked properly, did not get this error, and was able to retrieve 3+ citations per second...!

I received this error as well, from running a ThreadPool code suggestion I found on StackOverflow.
I found out through testing that my API key was not being activated when my code was running. That's what I think was happening anyway, because when I had this code running full-steam, it was downloading a few citations and then throwing the error. I noticed that the rate of download was more than 3 per second, so I was able to slow the code down (by changing "Processes" from 6 to 2) and when I did, it kept the requests just at 2-3 per second, and the code then worked without errors.
Once I properly installed my API Key in my local environmental variables and called it in my code with
API_KEY = os.environ.get('NCBI_API_KEY')

instead of trying to force it with the suggested command line env NCBI_API_KEY=xxx python... my code worked properly, did not get this error, and was able to retrieve 3+ citations per second...!

Upon further inspection, I tried doing all of this in Google Colaboratory, and received a similar error. When I included explicit information on number of threads, my error went away. So now I'm confused if the API key was even the problem at all, or if the threading was. Anyway, this was a fix for me (if you're using ThreadPool):
import os
os.environ['NUMEXPR_MAX_THREADS'] = '4'
os.environ['NUMEXPR_NUM_THREADS'] = '2'

Important thing that hasn't been mentioned here, before you tear your hair out figuring out why your code doesn't work:
If Eutils returns a 500 Server error when metapub tries to retrieve a pubmed article or do any kind of query -- meaning, the NIH service is broken at the moment -- it'll be returned as an "Eutils error".
This interpretation of a result could be definitely improved.
For now -- if anyone gets this error again -- you can run this check on the command line to see if NIH is broken.  It definitely happens!
#!/bin/bash

# Set the URL for the NIH eutils service
URL="https://eutils.ncbi.nlm.nih.gov/entrez/eutils/esearch.fcgi?db=pubmed&term=cancer"

# Make a request to the NIH eutils service
response=$(curl -s -o /dev/null -w "%{http_code}" $URL)

# Check if the response code is 200 (OK)
if [ "$response" -eq 200 ]; then
    echo "NIH eutils service is OK."
else
    echo "NIH eutils service is not responding correctly. HTTP status code: $response"
fi

What is the process for cache drop

Just to make sure i write this somewhere:
The default location for the pubmed, medgen, and findit cache dbs will be in $HOME/.cache
You can literally just delete these files to "flush" the cache.


Resize label annotations

Problem you would like to solve
How can i resize labels on sequence flow bpmn? If i do it in xml, text just centralized, the size is the same, and still have wrapes to new lines \n. I use Camunda Modeler 5.0.0

Proposed solution
Fix logic in Camunda Modeler
Alternatives considered
Fix structure of xml bpmn
Additional context
No response

Duplicate of https://github.com/bpmn-io/bpmn-js/issues/1513


Manipulating Database Queries

db_create
db_drop
db_list

All three are implemented with tests. Need spec and doc.

Merged.


Fix for #960.

Closes #960

Coverage remained the same at 71.706% when pulling 165e9149c71a3394cd5e756562c521a360290eb8 on mikegrima:ebsfix into 0d63a24c1414e5200a37279bd2d831653a517a91 on Netflix:develop.


Accept typeahead options via data attributes

This allows to pass the supported three options (highlight, hint,
minLength) to be passed into the typeahead function. They have to be
passed via a data-attributes (e.g. data-highlight=‚true’).

any examples of this working?


Tutorial Maker instructions

The Tutorial Maker instructions provide helpful step-by-step guidance for using the module
https://github.com/SlicerLatinAmerica/TutorialMaker
The instructions should be available in Spanish and Portuguese.

Now the REAME is available in Portuguese and Spanish.


ESP 32 Font Problem

Describe the bug

Okey, i changed my display from an elegoo to an spi one and need to rebuild my GUI since the old one won't work in the esp32 with the spi display
My Problem now: only the BuiltinFonts are working, no displaying of text on the display when i select one of the other fonts

Device hardware

MCU: ESP32
Display with link: 2.8'' SPi Display with touch, red one generic
GUIslice config selected: esp-tftespi-default-xpt2046_int

Please confirm whether:

Display works correctly with standalone display driver library examples (eg. TFT_eSPI graphicstest, Adafruit graphicstest, etc.) without GUIslice: yes
Touch works correctly with standalone touch library examples without GUIslice: yes

Expected behavior
Well i wanted to use other fonts..
took me some time to realise that this was the problem
Initialization messages
no errors

Hi @feendrache --
Can you confirm an example of a font that you are trying to use? (ie. is it included within the TFT_eSPI/Fonts/GFXFF directory?)
If so, can you confirm that the GUIslice example ex04 works using the TFT_eSPI freefonts? (we would like to test it first without the Builder)

/examples/arduino/ex04_ard_ctrls.ino
Uncomment the #define USE_EXTRA_FONTS line
Does the "Quit" button now use the larger font? (it should use FreeSansBold12pt7b)

thanks

Yeah that'S working just fine

If you are seeing ex04 work fine with TFT_eSPI custom fonts then the problem is likely that the Builder is not set to TFT_eSPI output mode. The TFT_eSPI display library handles fonts differently from other libraries, so the Builder needs to be in a special mode to generate the correct font initialization.
Please check the setting in the Builder's Edit -> Options -> Target Platform; it should be set to arduino TFT_eSPI. Does this help?

I'm not sure if we documented this visibly so perhaps a wiki documentation update might be necessary.

Closing as I expect that the above Builder option will address the original issue.


[#732] fix: avoid tx holes

Related to #732

Description
Make so we sync the missed transactions one address by one, and log the errors in case there are any.
Test plan
This can be tested in local dev by:

Have the containers running with make dev and some of your addresses in the database.
Stop all containers but the database one with make stop-prod
Make sure the database is up and running with yarn docker db and check how many txs you have on that address of yours with SELECT count(*) FROM Address where address='ecash:youraddresshere';
Transfer some XEC to that address
Build the project with make prod and make sure that after it is up the newly arrived tx is synced, that same counting query should return one more entry.

The transactions appeared but one of them was not marked as confirmed:

Nice catch, this should be fixed now.

Fixed

If it does come up again, we can address it at that time.


docs(v2): showcase Oxidizer

Motivation
Showcase
Have you read the Contributing Guidelines on pull requests?
Yes

thanks :)


How to create an list.blade

Hello,
How can I create a field of type list that shows a list with the data of another model, is it possible?
I have a form in which it shows the list but of the reference data of the registry.

Hi @YeyeMorales you should take a look at select2 (documentation) it allows you have a list based on another model.
Also, if you have any questions you should use Stackoverflow. You'd get appropriate and fastest help there.
Use the tag backpack-for-laravel.
https://stackoverflow.com/questions/tagged/backpack-for-laravel


REPL scripts are not run on startup

No idea yet. May just display hooks are not working?

My bad. They work, but some functionality I thought was there never actually got committed.


Update Batch container doc

@alfpark : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off


Jupyterhub should add a separate nodepool and profile for GPU sessions

Add an example to test assets

Done with GCP in PR https://github.com/Quansight/qhub/pull/69


Idle states analysis module

This is v2 of #141

I modified the code according to the comments, let me know if you encounter any other issues.


Add support for given keys

When a user has a set of keys given during the creation of a JWKs, then those keys values should be added to the jwt.Keyfunc's set of keys for that JWKs artificially.
These keys should persist across refreshes. If a remote JWKs resource has a key with the same kid, the given key should be overwritten with the remote resource's.

There should be a boolean keyfunc.Options that allows the given kid to always supersede any on the remote JWKs. It should default to false.

Added in: https://github.com/MicahParks/keyfunc/pull/14.


Quick questions

Is it possible to:

Ye Old Pagination preferably with sort-able header column
"Expand" a row upon click any row
Nest a table "component" within an "expanded" row
Specific row styling upon predicate (on data load, since I'm pre-processing my data)
Override all possible styles

nvm I thought this was a table component


Fragaria.h Not Found

I have tried to add Fragaria to the Podfile, but it didn't work properly.

Fragaria is imported as a git submodule, submodule init/update would do it for you!

yep sorry I thought everything was as a Pod. It worked, I just had to set min deployment target to 10.10 (I have Yosemite).


BUG: Reducing Font Size of Dropdown in Contact-Us Page

Is there an existing issue for this?

[X] I have searched the existing issues

What went down?
The font size of the dropdown in the Contact Us Page should be reduced for a better view. I know I have already been assigned 3 issues, but they are small issues and won't take too much time. I request you to assign me this issue as well kindly.

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

@AkshitGarg24 Issue assigned to you


cargo build fails from within emacs

Running cargo build from within emacs operating system makes it do something wrong and try to access wrong directories:
Here is the strace -f cargo build excerpt:
[pid 29867] mkdir("/home/dpc.cargo/registry/index/github.com-1ecc6299db9ec823", 0777) = -1 ENOENT (No such file or directory)
[pid 29867] mkdir("/home/dpc.cargo/registry/index", 0777) = -1 ENOENT (No such file or directory)
[pid 29867] mkdir("/home/dpc.cargo/registry", 0777) = -1 ENOENT (No such file or directory)
[pid 29867] mkdir("/home/dpc.cargo", 0777) = -1 EACCES (Permission denied)
[pid 29867] write(2, "\33[m", 3)        = 3
[pid 29867] write(2, "\33[31m", 5)      = 5
[pid 29867] write(2, "\33[1m", 4)       = 4
[pid 29867] write(2, "error:", 6error:)       = 6
[pid 29867] write(2, "\33[m", 3)        = 3
[pid 29867] write(2, " ", 1 )            = 1
[pid 29867] write(2, "Unable to update registry https:"..., 70Unable to update registry https://github.com/rust-lang/crates.io-index) = 70

My home is /home/dpc, not /home/dpc.cargo/.

Interesting! Is CARGO_HOME set in one way or another? This seems like a pretty bad bug to generate a path like /home/dpc.cargo/registry/index without a slash in there...

Indeed $CARGO_HOME is set to a wrong value. After more investigation it looks like it might be spacemacs Rust layer. Sorry for bothering and thanks for pointing me in the right direction.

Ok, thanks! I'll close in favor of that


Support --insecure-skip-tls-verify

Hi,
While this option is bad practice, sometime this shortcut is required temporary. Currently I couldn't manage to overcome through helmfile over the error (I used export of GODEBUG as temporary workaround):
Error: looks like "https://repository.xxx.local/repository/HelmRepository/" is not a valid chart repository or cannot be reached: Get "https://repository.xxx.local/repository/HelmRepository/index.yaml": x509: certificate relies on legacy Common Name field, use SANs or temporarily enable Common Name matching with GODEBUG=x509ignoreCN=0
Base on example in Read Me I suggest adding such option skipTlsVerify:
- name: insecure
   url: https://charts.my-insecure-domain.com
   caFile: optional_ca_crt
   skipTlsVerify: true

Thanks

@AssafKatz3 Hey! This seems like a valid faeture request. I'd prefer skipTLSVerify. Would you mind submitting a PR?

Hi,
I don't mind the name. I wouldn't be able to add PR to legal issues.
Thanks

OK. I wouldn't be able to add it anytime soon due to the lack of spare time, but I'll gladly review it if anyone could submit a PR.

There is another workaround:

manually edit the helm repository config ($HOME/.config/helm/repositories.yaml) where you can add the insecure_skip_tls_verify: true option
use --skip-deps with helmfile to not update helm repositories


MuchThread#timeout

This implements the main timeout method.  This method takes a
seconds value and optional custom exception and a block.  It will
raise the custom exception (or MuchTimeout::TimeoutErrorif no
custom exception given) if calling the block takes more than
the given amount of seconds.
A few notes on this:

this uses IO.select on an internal pipe to get accurate
timeouts and to avoid having to sleep
the block runs in a seperate thread from the main thread.  This
is so we can safely raise in the block thread to interrupt and
not affect the main thread.
timeout requires a non-nil, numeric seconds value.  The idea
here is that we want to protect from unintended side-effects or
strange exceptions if giving IO.select non standard timeout
values.
rescue false on any pipe interactions to prevent errors from
edge-case pipe scenarios from leaking unintended exceptions
ensure we close any pipes to prevent any side-effects from
unintentionally leaving file descriptors open

This is the base logic that the rest of the API will be built on.
In a coming effort, I'll implement the rest of the API.
@jcredding ready for review.  Note: I couldn't test closing the file descriptors b/c when I stubbed IO.pipe it caused Assert to just sit there and stare at me when I ran test suite.  LOL.

@kellyredding - Haha, now that you mention it does that when stubbing an io pipe I think I've ran into the same thing.
Looks good :boom:


{aks} HTML tags aren't allowed in published reference content

Describe the bug
Problem to solve:
HTML tags in source code are causing build warnings in MicrosoftDocs/azure-docs-cli. More importantly, customer-facing reference docs are not rendering properly -- parameter values formatted with `<>` are missing. Here's an example:

Requested solution:
These values should be escaped with a backtick. Here's an example from az webpubsub.

Related GitHub issues:
This is the same issue as these GitHub issues.
List of HTML tag instances that need update:

File name
Build error

latest/docs-ref-autogen/aks/connection/create.yml
HTML tag 'user-identity-resource-id' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.

latest/docs-ref-autogen/aks/connection/create.yml
HTML tag 'user-identity-resource-id' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.

latest/docs-ref-autogen/aks/connection/create.yml
HTML tag 'user-identity-resource-id' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.

latest/docs-ref-autogen/aks/connection/create.yml
HTML tag 'user-identity-resource-id' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.

latest/docs-ref-autogen/aks/connection/create.yml
HTML tag 'user-identity-resource-id' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.

latest/docs-ref-autogen/aks/connection/create.yml
HTML tag 'user-identity-resource-id' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.

latest/docs-ref-autogen/aks/connection/create.yml
HTML tag 'user-identity-resource-id' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.

latest/docs-ref-autogen/aks/connection/create.yml
HTML tag 'user-identity-resource-id' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.

latest/docs-ref-autogen/aks/connection/create.yml
HTML tag 'user-identity-resource-id' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.

latest/docs-ref-autogen/aks/connection/create.yml
HTML tag 'user-identity-resource-id' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.

latest/docs-ref-autogen/aks/connection/create.yml
HTML tag 'user-identity-resource-id' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.

latest/docs-ref-autogen/aks/connection/create.yml
HTML tag 'user-identity-resource-id' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.

latest/docs-ref-autogen/aks/connection/create.yml
HTML tag 'user-identity-resource-id' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.

latest/docs-ref-autogen/aks/connection/create.yml
HTML tag 'user-identity-resource-id' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.

latest/docs-ref-autogen/aks/connection/create.yml
HTML tag 'user-identity-resource-id' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.

latest/docs-ref-autogen/aks/connection/update.yml
HTML tag 'user-identity-resource-id' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.

latest/docs-ref-autogen/aks/connection/update.yml
HTML tag 'user-identity-resource-id' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.

latest/docs-ref-autogen/aks/connection/update.yml
HTML tag 'user-identity-resource-id' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.

latest/docs-ref-autogen/aks/connection/update.yml
HTML tag 'user-identity-resource-id' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.

latest/docs-ref-autogen/aks/connection/update.yml
HTML tag 'user-identity-resource-id' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.

latest/docs-ref-autogen/aks/connection/update.yml
HTML tag 'user-identity-resource-id' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.

latest/docs-ref-autogen/aks/connection/update.yml
HTML tag 'user-identity-resource-id' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.

latest/docs-ref-autogen/aks/connection/update.yml
HTML tag 'user-identity-resource-id' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.

latest/docs-ref-autogen/aks/connection/update.yml
HTML tag 'user-identity-resource-id' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.

latest/docs-ref-autogen/aks/connection/update.yml
HTML tag 'user-identity-resource-id' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.

latest/docs-ref-autogen/aks/connection/update.yml
HTML tag 'user-identity-resource-id' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.

latest/docs-ref-autogen/aks/connection/update.yml
HTML tag 'user-identity-resource-id' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.

latest/docs-ref-autogen/aks/connection/update.yml
HTML tag 'user-identity-resource-id' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.

latest/docs-ref-autogen/aks/connection/update.yml
HTML tag 'user-identity-resource-id' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.

latest/docs-ref-autogen/aks/connection/update.yml
HTML tag 'user-identity-resource-id' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.

latest/docs-ref-autogen/aksarc/release.yml
HTML tag 'resourceName' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.

Related command
az aks
az aksarc
Errors
n/a
Issue script & Debug output
n/a
Expected behavior
n/a
Environment Summary
This GitHub issue was created at the time of Azure CLI 2.62.0
Additional context
No response

Thank you for opening this issue, we will look into it.

Hey @dbradish-microsoft, could you give me a clearer indication of where this definition about user-identity-resource-id is? I searched across both repos of azure-cli and azure-cli-extensions, and only find it's defined in module serviceconnector, seems not related to aks. Or did I miss something?

https://github.com/Azure/azure-cli/blob/dev/src/azure-cli/azure/cli/command_modules/serviceconnector/_help.py#L341-L343
https://github.com/Azure/azure-cli/blob/dev/src/azure-cli/azure/cli/command_modules/serviceconnector/action.py#L249-L269


[FEATURE REQUEST] Better first time usage for automatic updates

Before submitting the issue

[X] I have checked that the requested feature is not a duplicate or, if it is, it needs to be reopened
[X] I have checked that I am running the latest version of WingetUI
[X] I have checked the FAQ section
[X] I have read the contributing guidelines and I agree with the Code of Conduct

Is your feature request related to a problem? Please describe.
The auto update feature is hidden pretty well in the settings under the tray options, it should be more visible and reachable for the simple user.
Describe the solution you'd like
I suggest adding the setting of "Update packages automatically" to:

The "Software Updates" tab somewhere above the table
To the tray icon options to be selected on deselected easily (also maybe add the "Check for updates every" to here as well as I think it's appropriate)

Another thing to make the automatic update option more easy to notice would be to rename 'notification options' to 'update options' ('close to tray' would be moved to general settings in this case):

1.7 fixed this, right?

No, since I plan to add some kind of Welcome Wizard


Enhancement: Use the Microsoft Graph Types package in our commands

Based on the discussion #2427 we would like to introduce a new package @microsoft/microsoft-graph-types to our project to have strongly typed results when calling Microsoft Graph.
This should reduce the likelihood to introduce bugs based on typing errors.
The aim of this issue is to go through all commands and replace the "custom" types with the "official" types provided by the package.
For the beta endpoints we should consider the "@microsoft/microsoft-graph-types-beta" package.
Here are the commands that need to be updated:
aad -> O365Group

[ ] o365group-get
[ ] o365group-list
[ ] o365group-set
[ ] o365group-add
[ ] o365group-recyclebinitem-clear
[ ] o365group-recyclebinitem-list
[ ] o365group-recyclebinitem-set

aad -> user

[ ] o365group-user-list
[ ] o365group-user-set
[ ] user-list

@pnp/cli-for-microsoft-365-maintainers do we still see here some benefits or should we close this issue due to lack of interest?

I'd be interested in keeping this open, maybe we should consider doing some investigation to create a list of commands that currently use custom types that can be replaced with the official types?
Once we have a list of commands, this will help us better understand the scope of this change.

Instead of going through lists I could just start searching a command and refactor it with types.
I could give it a shot

All yours @plamber 👍

We use the package already so it would be a matter of identifying custom types and replacing them with a reference to the type from the package. Even if we use beta APIs, we should see if we need access to beta properties or if we can use the information from the main package to avoid having to reference two of them.

Had a look into our commands.

Almost all team commands implement a dedicated interface in our cli. These can be replaced with the graph types
Something similar happens for the users and groups endpoints
Same under rstieclassification

There are also other places but these are the first ones that I found by performing a simple scan.
Should we create dedicated issues for each namespace or can we create multiple pull requests and associate them with this issue?
Cheers

Ideally, let's create a checklist of all affected commands and tests that need updating so that we can track progress and know when we're done. Once we have it, we could create multiple PRs linked to the same issue.

Group

[ ] o365group-get
[ ] o365group-list
[ ] o365group-set

DirectoryObject

[ ] o365group-recyclebinitem-clear
[ ] o365group-recyclebinitem-list
[ ] o365group-recyclebinitem-set

User

[ ] o365group-user-list
[ ] o365group-user-set
[ ] user-list

I moved the list of commands to the issue for readability

Looking at the project, there are other custom types beyond just Group and User that we've added so let's complete the list of affected commands. #2902 only completes this issue partially.

What shall we do with this one @plamber, @waldekmastykarz, move it back to help wanted?

Yes, good catch @martinlingstuyl! Let's remove custom interfaces where possible.

Ideally, let's create a checklist of all affected commands and tests that need updating so that we can track progress and know when we're done. Once we have it, we could create multiple PRs linked to the same issue.

Should we turn this into an epic and convert each checklist item into an issue for each command, this way we keep one PR to one issue?

I don't think we should do it per-command, because if you remove the interface, it will break multiple commands. Instead, we should make the list based on the interfaces that we use, so that each PR will contain the removed interface and one or more adjusted commands.

I could give this a go :-)

Great to hear @MathijsVerbeeck!
All yours!


Fix issue 17247: std.bitmanip.read should not assume hasSlicing means assign-copyable

Basically, the bug is in the static if that wrongly assumes that if a range has ubyte elements and has slicing, then its slices are assign-copyable to ubyte[]. This fails for a user-defined range with ubyte elements that supports slicing, but does not return something convertible to ubyte[] when you slice it.

Rebased... bah, evil tab characters!

Thanks!

LOL. Well, it was almost certainly my mistake, since I wrote the function in question.

Haha, I didn't even look to see who the author was. :D
Kinda scary that this went unnoticed for so long.  Makes me almost want to propose a compiler enhancement whereby any operation on a template argument T not checked for in the sig constraint should issue an error (or at least a warning). The only exception being things like .init that are assumed to always exist for all types.  Would be a beast to implement in the current compiler code, though.

Hmm, come to think of it... maybe it could be done by the compiler incrementally creating a "model type" that gets extended by any is(...) in the sig constraint.  I.e., start with an internal do-nothing type that only has .init and other default operations available to all built-in types, then each time the compiler encounters an is(...) expression in the sig constraint, any operations in the is(...) that is applied to the template argument will be added as a method to the model type.  Then at the semantic stage the compiler typechecks any references to the template argument by applying it to the model type.

P.S. If the sig constraint is of the form is(X == Y) then all of Y's operations get added to the model type for X. And so on.  Obviously any templates like isInputRange would be expanded first, then any operations added to the model type accordingly.

Haha, I didn't even look to see who the author was. :D

It's one of those things that I kept rewriting for stuff so often that I decided that I had to add it to Phobos. Unfortunately, the result is a bit funny with regards to output ranges, because I didn't understand them properly at the time, but we're stuck now. :|

Kinda scary that this went unnoticed for so long. Makes me almost want to propose a compiler enhancement whereby any operation on a template argument T not checked for in the sig constraint should issue an error

I'm very divided on this sort of thing. As has been discussed before, it's actually far more scalable to not try and have the template constraints check everything. Particularly when calling other templated code, it tends to work better to either put in the template constraint that a particular call works rather than trying to duplicate the requirements of that call in the constraint or to just let the call fail if bad arguments are given, because it's easier to debug, and it reduces the number of dependencies. It also makes it work better when the constraints on the stuff being called get relaxed. You still need to be smart with the constraints and when they absolutely ensure that something can't get passed them vs letting something fail internally (certainly, you do want template constraints to at least deal with the direct requirements of the function - it's the requirements of the functions that it calls that get dicier), but when you look at the effects of trying to make absolutely every constraint in the call chain define exactly what they require, it becomes a serious maintenance problem as templated functions call other templated functions. On the other hand, it can be nice to just have the template constraint fail rather than having to deal with a call inside the templated function failing a template constraint on that function because of a bad argument to the outer function. So, it's not completely clear cut.
I don't think that I'm saying it very well right now (it's been said better in previous newsgroup discussions), but there's a real cost to trying to enforce that every template constraint in the chain ensures that no code ever gets passed the template constraint and then fails to compile, and when calling another templated function, it often makes more sense to not try and add its constraints to the caller's template constraint and just have the caller's template constraint constrain based on what it's doing directly or on the concepts that it clearly is designed to be restricted to. Trying to make the template constraints ironclad at every level in the chain has a lot of the same problems that checked exceptions do - only worse, because the template constraints are far more complicated.
So, while we do often try and ensure that nothing can get passed the template constraint if it's going to result in a compilation error, I think that we're often too strict on that, and even if that approach is always appropriate for Phobos, I think that adding enforcement to the language to ensure that the template constraint always checks for everything would ultimately make things worse even if it would catch certain problems.

I think I get the gist of what you're saying.
Essentially, it boils down to how the compiler should enforce the model type check when it encounters an operation on the type that involves calling another template function.  According to the strict interpretation, you'd have to effectively inherit all the sig constraints of the callee in order to ensure you won't end up calling it with an incompatible type.  However, this ideal situation falls in the face of change, because what if the callee was intended to accept all types of a certain category, but due to implementational restrictions it currently can only accept a subset of them? It would be onerous to require that implementational shortcomings in the callee should propagate to the caller and require the caller to declare these implementation-dependent restrictions in its sig constraint too.
OTOH, though, perhaps such implementational restrictions ought to be made under static if with an assert(0), rather than placed in the sig constraint.  This goes back to my idea from a while back, which Walter recently restated in different words, that the user-facing sig constraints ought to be as simple as possible, and directly relevant to the user. So if a function f or a set of overloads f are meant to accept all input ranges, then it really should be a single function with only isInputRange in its sig constraint. Any unhandled types of input ranges due to present implementation limitations should be handled inside the implementation of the function, and should not be visible to the user. As far as the user is concerned, all input ranges are accepted; if the function's current implementation doesn't support certain kinds of input ranges, then it should assert(0) under a suitable static if.
If we were to adopt this practice, then in general we could require propagating the callee's sig constraints to the caller.  The ugly complex details currently typical of Phobos sig constraints would be hidden inside the function body as static ifs rather than sig constraints, so in general you should only have straightforward user-facing constraints like isForwardRange and the like.  Then it wouldn't be too onerous for the caller to also declare sig constraints that either also require isForwardRange, or a more permissible constraint that subsumes forward ranges.
Also, we could allow a backdoor to opt out of strict constraint checking by a clause along the lines of if (is(T)), the is(T) being specially interpreted as "suppress checking for T and allow arbitrary operations on it".


Hero image path is incorrect when current page is a submenu item

Hero image works on homepage. http://localhost/pagekit
Hero image works on top level page. http://localhost/pagekit/projects
Hero image doesn't work on pages which are not on top level. http://localhost/pagekit/projects/one
Pagekit tries to load http://localhost/pagekit/projects/storage/green.jpg
Pagekit should load http://localhost/pagekit/storage/green.jpg

I solved this by placing a base link to the site's root in the head.


Should we refactor for ES6?

Would love to see a version with ES6 ! And why not with Typescript (I read your comment on HN saying you'd use it if build steps are allowed)
I think your work would be even more interesting if closer to real uses of Vanilla in 2020 (with a lot of builder framework available and Typescript broadly used).
Great work anyway. Would love to see more.

I took a crack at it because I haven't played with native modules much and I was curious.
Here is the diff set: https://github.com/morris/vanilla-todo/compare/main...perfectsquircle:feature/es6
I started by running Lebab to take care of the boilerplate changes.
lebab --replace public/scripts --transform \
arrow,\
arrow-return,\
obj-method,\
obj-shorthand,\
for-of,\
for-each,\
let,\
template
# destruct-param <-- interesting changes, but broke some things

Then I converted everything on the global VT object into modules. It was actually very easy because everything was already scoped nicely.
My takeaway: it's interesting to note the differences, but maybe it should exist only as a fork for comparison sake? The original art is interesting because of the hard constraints.
In the readme you state

considerable duplication (most of which may be mitigated by ES6)

I'm curious what ideas you had for this.

Thanks for your effort @perfectsquircle - looking good although missing some steps (convert HTML string arrays to template literals, simplify one-line functions e.g. () => { call(); } to () => call()).
I remember not being super happy with the wording

albeit verbose and with considerable duplication (most of which may be mitigated by ES6)

and I should change it; ES6 does reduce verbosity, and therefore the duplication may hurt less, but it's structurally the same duplication. That can only be solved through helpers (as far as I can tell).
In any case I agree with you, I think it made sense to hit "rock-bottom" at least once with ES5. I'm inclined to keep it as it is and let an ES6 version be a fork or a branch just for reference. I'll keep this discussion open for a while and see if there's more demand. If you want to progress on your ES6 fork, feel free, would be interesting to see exactly how much simpler it gets :) thanks again!

1.5 years later... done :)


Fixes 3170: use x-forward-host hdr for repo config

Summary
To properly show the gpg key url from the gateway
Testing steps

create a repo with a gpg key set, and snapshotting enabled
fetch your repos list to get uuids for the repo and latest snapshots: GET http://localhost:8000/api/content-sources/v1/repositories/
fetch this url: http://localhost:8000/api/content-sources/v1/repositories/60dd106b-d08e-436a-bf34-53180713d4bc/snapshots/8a68fc2d-c8eb-4046-8c56-df44603f8206/config.repo

replacing the UUIDs for the repo & snapshot UUID. Notice the URL is likely https://localhost:8000/.

now fetch the url with the header:   'X-Forwarded-Host: example.com'
you should see the url change to  https://example.com/

Checklist

[ ] Tested with snapshotting feature disabled and pulp server URL not configured if appropriate

https://issues.redhat.com/browse/HMS-3170

tested and works well! only thing i noticed is i think there is a typo in the test, should be setting the x-forwarded-host header?

good catch! i think the default of 'example.com' was being picked up, changed that to see the failure and then fixed it

All API tests pass.


Unable to locate package google-drive-ocamlfuse

Every time I try to install google-drive-ocamlfuse It gives me the message that it's unable to locate the package.  Any help?
thanks.
sudo apt-get install google-drive-ocamlfuse
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package google-drive-ocamlfuse

Have you added my PPA to your repositories?
sudo add-apt-repository ppa:alessandro-strada/ppa
sudo apt-get update

Yes.  I finally got it to load, however, because it's a headless ubuntu
server, I don't know how to finish the setup.  there is no browser on the
headless server.
Can you possibly help?
Thanks
On Sun, May 21, 2017 at 3:33 PM, Alessandro Strada<EMAIL_ADDRESS>
wrote:

Have you added my PPA to your repositories?
sudo add-apt-repository ppa:alessandro-strada/ppa
sudo apt-get update
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/astrada/google-drive-ocamlfuse/issues/307#issuecomment-302957787,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFhx8yJ6yVorQUpP2PKPJgj-6X8EbS_fks5r8JGhgaJpZM4NhlSL
.

I don't have admin access to my google drive account, so I can't create a new project to get the id and the secret for the command line.   Any help would be appreciated.  thanks

If you have another box with a browser, you can authorize the application on that PC, and then copy ~/.gdfuse/default/state to your headless box.

It's not necessary that the application id and secret come from the same google account as the gdrive. Just use another one.

ok.  I've authorized the app from a browser on my mac, and successfully got the "The application was successfully granted access. Please wait for the client to retrieve the authorization tokens." message.  However, where do I find ~/.gdfuse/default/stat to copy and paste?
thanks for your help!!

No, that file would be present if you ran the application on your mac. If you run the application from the headless box, copy the link on your mac and authorize it, it should be enough to wait for the application to fetch the refresh token. If it timeouts, you should retry.

I have the sam problem, it looks there is problem on your PPA?
W: Failed to fetch http://ppa.launchpad.net/alessandro-strada/google-drive-ocamlfuse-beta/ubuntu/dists/jessie/main/binary-amd64/Packages  404  Not Found

W: Failed to fetch http://ppa.launchpad.net/alessandro-strada/ppa/ubuntu/dists/jessie/main/binary-amd64/Packages  404  Not Found

E: Some index files failed to download. They have been ignored, or old ones used instead.

@jsjcjsjc: I'm sorry but jessie is not an Ubuntu distribution. Packages are available for artful, zesty, xenial, and trusty.

I am facing this problem.
According to your answer, i added
"sudo add-apt-repository ppa:alessandro-strada/ppa"
"sudo apt-get update"
but i still face the same problem -
sudo apt-get install google-drive-ocamlfuse
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package google-drive-ocamlfuse

If you are using colab (that uses an obsolete Ubuntu version), please check this workaround: https://github.com/astrada/google-drive-ocamlfuse/issues/493#issuecomment-422380636


FW add mavlink NAV_CONTROLLER_OUTPUT

This implements mavlink NAV_CONTROLLER_OUTPUT to show altitude and airspeed error for fixed wing.
http://mavlink.org/messages/common#NAV_CONTROLLER_OUTPUT

Looking good. Will merge once we have 1.3.0 out.

Rebased and applied.


log github release rate limits and only get tags/branches (#4055)

log github release rate limits and timings, changes .getRefs() call to only get tags/branches. Generate JWT before each workflow
https://ucsc-cgl.atlassian.net/browse/SEAB-2510

ugh rate limiting

Is this a cherry-pick from the the hotfix?

Is this a cherry-pick from the the hotfix?

yes it is


create potter gentx

Gentx submission will open at: April 11, 2022 12:00pm UTC (After we have added penultimate_genesis.json)


Rollforward healthz and increase timeouts

Turns out the prod push failures were because the default health check timeouts (1s) was too small, so increasing it to 5s, and rolling forward the original healthz fix.

Thanks!


[Question] PIXI.Graphics renders large, complex, concave polygons incorrectly and buggily. Is this intended behaviour?

PIXI.Graphics doesn't do what I want, probably because I'm using it wrong.
I'm writing a rather silly bit of game code that creates a long, flowing tail behind moving objects by storing a bunch of past points and then using offsets to generate a (very) complex polygon using a PIXI.Graphics object - think roughly 30-gons, plus or minus a bit.
Unsurprisingly, it doesn't work very well.
What is slightly surprising to me, however, is that it doesn't just not work in the way I expected - bridging gaps over all the concave bits of a path - but is also weirdly flickery. It's hard to show on screenshots, because it's... well... flickery.
Anyway, I just wanted to check that this isn't actually available functionality that I've somehow missed a 'allowConcave' toggle on, or an obscure bug I've stumbled upon. I suspect not, but hey, one never quite knows.

Could you provide an example of what you're doing (https://jsfiddle.net or https://pixiplayground.com) would be really helpful to understand what that flickery behavior is. It's hard to get a sense based on  your description.
Also, what version of PixiJS are you using? And what platform/device?

Select u its carefully. Its better to adjust scale and position than moveTo(0.0001, 0.0001) lineTo(0.0002, 0.0002) or big values moveTo(10000.001, 10000.001) . There are multiple places with epsilon operations, also shaders work with float16 which is not precise. Cant explain everything in one post, please provide a demo or at least pixijs version.

Apologies! It turns out, the reason my code didn't work is because it was written at 3AM and riddled with bugs - which is also why I didn't think to include sample code, platform specifics, or anything else remotely useful.
I've rewritten it to draw segments individually, and it works fine. Looks like this:


Known Bugs

Android package is proof of concept for the moment due to login credentials not saving (I have no fixes in mind at the moment, if you have any idea how to get a react-native web view component saving cookies easily, please comment on this issue)
Please use the site instead for mobile

OCR Is broken at the time of writing this because of freeocrapi.com being down (need to invest in my own or rewriting the ocr functions to use a different source)

API Error code ironically errors out, need to fix it to catch errors made by broken promises in the fetch code for the check in order to redirect to the error page as expected

These bugs will hopefully be eliminated in future updates over time

Solutions Offered In V1.3:

OCR Disabled till a better version can be made
API Error code not needed at the moment since the API is very rarely actually down (other features are prioritized right now)
App idea is fully replaced by adding Progressive Web App support


Update with changes from v1.1.1

Description of changes:
Update with changes to v1.1.1
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Closing PR


Add field constructor, add heat equation example to buildkite

This PR:

Adds a CentField and FaceField constructor that accepts FiniteDifferenceSpaces
Adds the heat equation example to buildkite (+ an animation)
Adds tests for ∇_cent_to_cent
Moves all column operator tests to a single file

Now all we need is some convergence tests for the higher order operators

The addition of the buuildkite test looks good but I think we should hold
off on the  API changes.
On Wed, Jun 2, 2021 at 7:40 AM kpamnany @.***> wrote:

@.**** commented on this pull request.
Looks okay to me, but better if Jake also takes a look.
I'm not sure why there needs to be a CentField and a FaceField; can they
not just be Fields?
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
https://github.com/CliMA/ClimateMachineCore.jl/pull/35#pullrequestreview-674215559,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAI2VJUZD5DMCHL3TGAKVTDTQYYD7ANCNFSM455GYILA
.

I'm not sure why there needs to be a CentField and a FaceField; can they not just be Fields?

They were added just as outer constructors since they have different sizes. The object returned is still just a field.

we should hold off on the  API changes.

Which API changes? Just the CentField/FaceField outer constructors?

Superseded by #40


aks version number to be updated

The version number indicated in below command is not at all supported in the region used in this example. Please have a look
az aks create
--resource-group myResourceGroup
--name myAKSCluster
--node-count 2
--enable-addons monitoring
--generate-ssh-keys
--windows-admin-username $WINDOWS_USERNAME
--vm-set-type VirtualMachineScaleSets
--kubernetes-version 1.20.7
--network-plugin azure

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

ID: 2195f059-1bdc-c17c-6a28-2055d94c43d4
Version Independent ID: ac604c37-afc8-848f-c308-adcf54e15225
Content: Create a Windows Server container on an AKS cluster by using Azure CLI - Azure Kubernetes Service
Content Source: articles/aks/learn/quick-windows-container-deploy-cli.md
Service: container-service
GitHub Login: @zr-msft
Microsoft Alias: zarhoads

@clouditspace Thanks for reporting this. We will check and update the document accordingly.

@clouditspace The document is updated, and changes will go live once approved by doc author.


RT-440: Adding qs links to banner and homepage

Changes

Add/Include 2 QS links to banner
Add 2 QS links to homepage listing

Codecov Report

:exclamation: No coverage uploaded for pull request base (develop@fd2c3b6). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             develop     #260   +/-   ##
==========================================
  Coverage           ?   94.45%
==========================================
  Files              ?       94
  Lines              ?     5071
  Branches           ?        0
==========================================
  Hits               ?     4790
  Misses             ?      281
  Partials           ?        0

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 fd2c3b6...0f95b64. Read the comment docs.


Error while colcon build --cmake-args -DCMAKE_BUILD_TYPE=Release process

Error while colcon build process:
Traceback (most recent call last):
  File "setup.py", line 159, in <module>
    setup(
  File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 144, in setup
    return distutils.core.setup(**attrs)
  File "/usr/lib/python3.8/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/usr/lib/python3.8/distutils/dist.py", line 966, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/usr/lib/python3.8/distutils/command/build.py", line 135, in run
    self.run_command(cmd_name)
  File "/usr/lib/python3.8/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "setup.py", line 153, in run
    self._build_xacro()
  File "setup.py", line 117, in _build_xacro
    self._build_single_xacro_file(xacro_file, generated_urdf_path)
  File "setup.py", line 120, in _build_single_xacro_file
    from xacro import process_file, open_output
ModuleNotFoundError: No module named 'xacro'

Hi,
Can you send the full output of the colon build here and specify which OS and python you use on your system?


Navigation property replace does not get saved

I have simple model:
public class Post
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public long Id { set; get; }
        //non-important properties stripped, to focus on problem
        public virtual Resource Resource { set; get; }
}
public class Resource
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public Guid Id { set; get; }

        [Url]
        public string Url { set; get; }
}

and DbContext (I use ASP.NET identity in this project, if this is relevant):
public class DbContext : IdentityDbContext<User>
    {
            protected override void OnModelCreating(ModelBuilder modelBuilder)
        {
            base.OnModelCreating(modelBuilder);
            var postEntity = modelBuilder.Entity<Post>();
            postEntity.Reference(p => p.Resource).InverseCollection(); //no navigation property on Resource side
            postEntity.ToTable("Posts");

            var resourceEntity = modelBuilder.Entity<Resource>();
            resourceEntity.ToTable("Resources");
         }

           public DbSet<Post> Posts { get; set; }

           public DbSet<Resource> Resources { set; get; }
   }

After migration (SQL Server), database tables looks like expected - Post table has Foreign Key to ResourceId.
Creating Post's works fine, when I attach post.Resource (already created Resource).
My problem is when I want to replace post.Resource.
I have tried:

post.Resource = resource2; Database.Entry(post).State = EntityState.Modified;
Database.Entry(post).Property(p => p.Resource).CurrentValue = resource2;
post.Resource = null;
With different combinations of them also, but none of them works. After calling await SaveChangesAsync(); and looking up in database - there are no changes. How to perform the replace (update of foreign key) properly?

Resolved, see http://stackoverflow.com/questions/32543448/update-of-navigation-property-in-ef7-does-not-get-saved/32547375#32547375


Wrong bracket highlighting with comments

When clicking on an opening bracket "{" in the code, atom highlights where the section starts and ends, like underlining the opening bracket { and the closing bracket }.
The problem is with comments. When writing a comment that contains brackets after an opening bracket, the highlighting is wrong, because Atom takes the comment into account.
Example to try it out yourself:
    def classABC() {   // click on the bracket
      if () {

      }
      // }  Atom highlights this bracket, which is wrong
    }

This is a duplicate of atom/bracket-matcher#78 - feel free to subscribe there for updates.


Adding arista deviation and OTG fix

Adding arista deviation and OTG fix

Pull Request Functional Test Report for #2852 / b64cfa8c4e5a94226fdf8f80c29638c22d9864c4
Virtual Devices

Device
Test
Test Documentation
Job
Raw Log

Arista cEOS

RT-1.33: BGP Policy with prefix-set matching

Cisco 8000E

RT-1.33: BGP Policy with prefix-set matching

Cisco XRd

RT-1.33: BGP Policy with prefix-set matching

Juniper ncPTX

RT-1.33: BGP Policy with prefix-set matching

Nokia SR Linux

RT-1.33: BGP Policy with prefix-set matching

Openconfig Lemming

RT-1.33: BGP Policy with prefix-set matching

Hardware Devices

Device
Test
Test Documentation
Raw Log

Arista 7808

RT-1.33: BGP Policy with prefix-set matching

Cisco 8808

RT-1.33: BGP Policy with prefix-set matching

Juniper PTX10008

RT-1.33: BGP Policy with prefix-set matching

Nokia 7250 IXR-10e

RT-1.33: BGP Policy with prefix-set matching

Help

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1847

Relevant Lines:
3390

💛  - Coveralls


[Feature] Implement RegExp Unicode property escapes

This proposal is currently at Stage 3 and seeking implementations: https://github.com/tc39/proposal-regexp-unicode-property-escapes
Tests: https://github.com/tc39/test262/tree/master/test/built-ins/RegExp/property-escapes

cc @bterlson

/cc @sarahdonofrio


[WIP] M3 4177 - Update to power-down confirmation to reflect billing

[Update]
Adds a warning when powering down a linode in manager, along with a link to billing docs

(still need to center icon to the left of the text)

icon now properly aligns with the warning

Ready for another review when you're able to @tiffwong @johnwcallahan 🤙
Here's the updated look:

Updated:


Alternative method for starting elastic search

This might be more efficient and is recommended in the travis-ci docs

Success!

Fixing broken develop build


Avoiding deleting Capsule secrets deletion on Helm upgrade

Closes #193.

@d-m should be good and address the bug you reported, WDYT?

@d-m should be good and address the bug you reported, WDYT?

Yes that looks good. That's the same change I made to get it working locally.

Yes that looks good. That's the same change I made to get it working locally.


Feature/form variable renama

A small variable rename in the forms to make it better
Added default form style

Coverage increased (+0.08%) to 78.6% when pulling 720ad24504675ef08d50835b89b33172a518148b on feature/form-variable-renama into 4a32618ce314437d7849905f703018662ddb88e4 on develop.


[Event publisher] Modification in event publisher "OnUpdateAssemblyLinesOnAfterCopyAssemblyData" in codeunit 905 "Assembly Line Management"

Dear ALAppExtensions Team:
We need a modification in  the event publisher OnUpdateAssemblyLinesOnAfterCopyAssemblyData in codeunit 905 "Assembly Line Management". We need the parameter ReplaceLinesFromBom to be declared by reference.
OLD CODE:
[IntegrationEvent(false, false)]
local procedure OnUpdateAssemblyLinesOnAfterCopyAssemblyData(var AssemblyLine: Record "Assembly Line"; ReplaceLinesFromBOM: Boolean)
begin
end;
NEW CODE:
[IntegrationEvent(false, false)]
local procedure OnUpdateAssemblyLinesOnAfterCopyAssemblyData(var AssemblyLine: Record "Assembly Line"; var ReplaceLinesFromBOM: Boolean)
begin
end;
Thanks!

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Support SourceTree history

SourceTree since v3.0.12 supports diffing of uncommitted changes. We should also make this work for past commits. See also: https://community.atlassian.com/t5/Sourcetree-questions/SourceTree-VBA-Macros-via-xltrail/qaq-p/818400

apparently, nothing to do for us (as per above thread):
nothing you need to do on your side -- looks like 'diff-tree' doesn't have the default diff settings of '--ext-diff' like 'log' and 'diff' does for some reason. I'll add it to our backlog and hopefully it will be included in the next release.

This is now fixed in SourceTree 3.1.3


Shutters were working, now dont

I have shutters on my ewelink app (they are not sonoff, but do work with ewelink out of the box)
and they worked with this plugin until today. The suddenly stopped, i didnt change anything.

Did you mean to create an issue? Looks like you have created a PR with someone else's experimental code to merge into this project.

lets not be merging my code as as @dhutchison has said it is experimental!

lets not be merging my code as as @dhutchison has said it is experimental!

ok, I will close this pull request now.


Idea: have a config file to enable/disable plugins when (re)loading

Atm some plugins are activated by default in the repo but it may not fit some other people needs so it means everyone has to manually disable the plugins he needs in the source code.
Another way of doing it would be to have a config file that dictates what plugins should be enabled by default when loading/reloading them, and that would dictates how it should behave.

Thank you, I do like the idea and I've had it in mind as well but not prioritized. Probably going to copy-paste similar code I've used in another project at some point (xray: https://github.com/patois/xray/blob/94082906dbaf2be4387ccabfef2904e5767010f6/xray.py#L173).

Implemented with commit https://github.com/patois/abyss/commit/90862e137f2ac52a84fd7680d56cc675adfcf846


By CssSelector

$Driver.FindElements([OpenQA.Selenium.By]::CssSelector('#loginBox input[value="Login"]'))
works.
Do you want to update Find-SeElement ?
Peter

Yes. That would great!

@adamdriscoll, @pHiney PR #19 is waiting for review

Merged!