chore(example): upgrade example project to<EMAIL_ADDRESS>

@jspizziri haven't fully looked yet but seems like we have to update the CI workflow to make them build the app

@dcvz I updated the workflow to use node 16 which is currently in LTS. The next LTS is 18 which was released earlier this month so I didn't feel like upgrading to that one yet (I haven't even used it yet).
You'll notice I also migrated the example tracks to the docs website as Google Drive has an access limit which causes issues during testing.


Docs not styled when viewed offline locally

I'm about to board a plane and am using the docs folder locally to develop. Currently it's missing styles.css because it's calling https://straker.github.io/kontra/assets/styles.css instead of a relative path.
There's also a couple other js files not being loaded, like kontra.js itself for the same reason.
I would expect the docs to be styled using the local copy of styles.css

How are you loading them locally? I had to use a "hack" to get them to work both locally and on github pages, so I detect localhost and change the <base> tag. I could probably do it the other way around though so it defaults to local and only changes the base if on github.

To access them I was just loading the index.html file in the browser, no file serving stuff.

Added a service worker to the docs so you can now view them offline. The pages are cached progressively so it will only cache what you have visited. I added an icon to indicate which pages are cached


Click Main Option to Open

Is there a way I can make it so you have to click or press enter/space to get the first level of the menu to open?  I don't want it to happen on hover of the mouse.  Most menu scripts I have seen have some parameters that can be set through JavaScript but I can't find any API with this one that does this.
Thank you in advance.

Does anyone review the items out here anymore?

Well I don't know if this is a good way to do this or not, but I changed the following in line 752 of the js file.
.on("mouseover.accessible-megamenu", $.proxy(_mouseOverHandler, this))

To:
.on("click.accessible-megamenu", $.proxy(_mouseOverHandler, this))

This seems to have worked but not sure if there is another way to do this that won't equal modifying the mouseover event.

This would be fixed by https://github.com/adobe-accessibility/Accessible-Mega-Menu/pull/27

Thanks for the response.  I did the same eventually.  I just figured there would be a better way.

I'm trying to do the same. I followed austinstudio's suggestion above and that opens the menu on first click, but I need it to close when the user clicks it again. Suggestions?

There might be another place where the close event is called that needs to also be changed.

I'm having the same issue as tactics2.
Anyone have any suggestions?


bugfix

as mailed, with this bugfix write, sector and mass erase work for the 3 boards I have currently available (128k_v2.1, 32k_v1.2 and 32k_v1.3). Please see Bootloader_Overview.ods for details

changed Makefile as proposed
replacing 1 by 1U makes no difference, I still get a warning. Seems to be caused by ~ operator. But I removed the typecast anyway, as it was only to avoid a warning

Hmm, that's weird that the 1U change doesn't make any difference. I do that on several other projects and it works there. Also, I just noticed I'm a dumbass and totally missed putting the bitshifts in flash_block_prg_enable() and flash_block_prg_option_wr_enable()! Can't believe I didn't spot that until now. That might explain why things didn't seem to work until now. :-)

as the warnings for commons.c only appear in lines with ~(), I assume the reason is not 1 vs. 1U but the ~ operator

I found the report of the original SDCC bug: https://sourceforge.net/p/sdcc/bugs/2733/.
Basically, when an assignment of an expression that evaluates to a constant value is made to a uint8_t (or unsigned char), at some point in the evaluation of the expression the value is interpreted as a signed char and the "overflow in implicit constant conversion" warning is produced. So, basically, any value where bit 7 is set triggers the warning.
I'm still puzzled as to why using 1U doesn't fix it. I went back and checked a previous project where I do that, and it definitely compiles without such warnings, even though I'm definitely making assignments to 8-bit registers with bit 7 set.

strange! But I think it is not quite as straiightforward. Because for the following code
void main(void) {
  volatile unsigned char x;
  x = ~(1U<<0);
  x = ~(1U<<7);
  x = 0x80;
}

only the 1st assignment throws "warning 158: overflow in implicit constant conversion". So yes, it seems to be related to bit 7, but only in combination with ~. So probably you are correct, but IMHO the bit 7 bug is in the handling of ~


Garbled text with ligature font

I have a font I can't live without (some form of psychotic disability I guess) - Fixedsys
MacVim is the only editor I use and once I noticed that it supports ligatures I started working on the font (I didn't do the whole font, only added programming ligatures). Everything was nice and easy until snapshot-147 which broke these ligatures. Now a>=b looks like  instead of
(the vertical alignment is fine, it's just my screenshotting abilities).
The change that ruined it is this: https://github.com/macvim-dev/macvim/commit/ee668a459acf4e2d41f382b87e551bcb7931b6c0 by @ichizok
I tried to debug this for a couple of days, but my understanding of CoreText is close to zero and I'm mostly wandering around printing different things. There's of course a possibility that there's something wrong with the font itself, but it works everywhere else (except for Konsole in Arch Linux, which is a known issue and in Windows Powershell), at least on MacOS. It works in TextEdit, which I suppose is a "reference implementation" of CoreText based editor.
I'm willing to invest some more time with proper guidance from someone who knows how all of this works. For now, the workaround is just take MMCoreTextView.m from snapshot-146 and slap it into the snapshot-153 source tree and rebuild.
Relevant issue from the font repository: https://github.com/kika/fixedsys/issues/16

Hmm I’ll need to take a look. Coincidentally I was wondering whether people use the ligature feature. Now I know.

I can confirm this issue with another font (PragmataPro). Check this screen recording.

@zrzka It could be related but it's a different problem. And I believe MacVim was always like that when the cursor is on the line with ligature the ligature breaks up into components and then assembles back again. But the space taken by the ligature remains the same. In this particular issue the ligature takes half of the horizontal space and thus the next letter overlaps with the ligature.

@kika I have Fira Code Light:12 set and have no such problem. Could you try this font to check if you can reproduce?
@zrzka it was all the time and I somewhat agree with that as I see it as a minor problem.

@eirnym Fira Code is not monospaced. Fixedsys emulates monospacingness (:-)) by clever geometry in the font metrics, and it works everywhere, except MacVim, Windows Powershell and Linux konsole.

This is late, but is this issue still there? I would imagine it should have been fixed but i never got around to circling back to this. @kika


Where do you save the uploaded files before steam to s3 store

I've my app hosting in the Modulus, and have the S3 as my file storage. In my apps, the client may upload more than 200 MB files to server. I am wondering the files are all saved in a temp directory or in the memory  or in the db before transfer to the S3 server.  If it's in the memory, then I may have to upgrade my servo's memory to 2048MB...

It's written to FS first. Then sent to S3.
Library uses writableStreams, so memory usage is minimal. The max is chunkSize*streams

got it thx.


Replacing rules for clipboard content

A clipboard manager could automatically replace certain occurences within the clipboard content, especially for URLs.
The user could add/edit/delete/activate/deactive search and replacing rules, for example
search: "https://www.youtube.com/watch?v="
replace with: "https://youtu.be/"
Links for Youtube would automatically be shortened after copying.
But, in some cases, the content must be kept original. For that, an "undo replace" button would make sense.

Thank you for this issue @lazytyper, Do you want to work on this feature?

I would like to work on this feature, I am not sure how but hope to learn in the process

@the-gem-dev This project is made using electronjs and reactjs, are you familiar with these framework/library?
Also I would suggest that this feature imo would be a very low priority and very specific to a users experience for which i am not sure if its needed or not. So if you want to learn something from it, I would suggest you to pickup some easy task to get familiar with this process and framework.
If you want to contribute something, I can give you a few ideas and open a separate issue about them. Thank you 😄


Add generated proto sources to repo

What type of PR is this?
/kind cleanup
What this PR does / why we need it:
This should make the integration with some IDEs easier by directly
linking the code into src/.
Which issue(s) this PR fixes:

None
Special notes for your reviewer:
None
Does this PR introduce a user-facing change?

None

@mrunalp PTAL :)

/lgtm


how do I make a 4x4 identity matrix?

I see this: http://tomaka.github.io/glium/nalgebra/struct.Mat4.html#method.new_identity
But why does it take a dim: usize argument? We already know it is 4x4.

found it: http://tomaka.github.io/glium/nalgebra/struct.Mat4.html#method.one
if you put:
/// Returns the identity matrix before the method then it would have shown up in the docs and my Ctrl+F would have found it.

The current comment for the function One::one() is "Returns the multiplicative identity." (http://nalgebra.org/doc/nalgebra/trait.One.html) While it could be found by a Ctrl+F on the trait doc, rustdoc does not seem to inline the comments of trait functions for its implementors… So I think this is more a limitation on the documentation generator.


Comic Shanns related issues

Consider the following comparison between Cascadia and Comic Shanns. It's apparent Comic Shanns isn't truly mono-spaced.

Sphinx of Black Quartz, Judge My Vow!!! Sphinx of Black Quartz, Judge My Vow!!! Sphinx of Black Quartz, Judge My Vow!!!
12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
[                                                                                ]
In a constant-width font, the 117 spaces between the [] above would make the line start/end points align perfectly!

The numbers alignment seems to be way off as well. E.g.:

Additionally, extended Latin glyphs like Č, Ř, Ě are incorrect.

Could we find an OFL-like licensed fork solving most of these issues?


Add ForceDeploy option to Installer and to Deployment API via the new DeploymentInitializeOptions runtime class

Add DeploymentInitializeOptions runtime class (containing ForceDeployment Boolean), DeploymentManager Initialize method overload to take DeploymentInitializeOptions object as parameter and add API Contract to Deployment IDL.
Add -f command line option and implement ForceDeployment functionality in WindowsAppRuntimeInstall.exe.
Add -f command line option and implement ForceDeployment functionality in WindowsAppRuntime_MSIXInstallFromPath.exe.
In all 3 cases above, add attempt to restart push notifications LRP when ForceDeployment is specified.

/azp run

/azp run

/azp run

/azp run

/azp run

/azp run


How to speed up insert process?

The insert process is quite slow for a small document. I tried to change llm_model_max_async value but the speed is never change. I also saw that the insert process is only using single core of my CPU. Is there any way to speed up the process? Maybe by using multiple thread or process?

Try to use GPU instead, the spped will boost up. The insert process of LightRAG is much faster than that in GraphRAG, based on my actual testing.

@JavieHush Can you elaborate on that more?

@JavieHush
Facing same issue, Could you describe how to achieve this?

Guys :) I'm not quite sure about the situation you've encountered. my detailed situation is as follows
Suggestions
The insert process is highly related to LLM/Embedding model (the process use LLM to extract entities & relations, and EB model to index). This requires a significant amount of computing resources. If you run this locally, a GPU-accelerated model is recommended. if use CPU only, it will be much slower.
And, use a model with few params may have a higher processing speed. (But be aware that a model with fewer params may have a worse performance. So you must make a balance)
Also, I noticed that using external graph DB & Vector DB may accelerate the insert process.(also accelerate the query process) We're currently working on how to integrate all these.
About my situation
we use Ollama local service to power the framework, and a work station with 8 × Tesla P100 GPU.
Evaluation
Using a fake fairy tale (2k tokens, generated by GPT-4o, this means all LLMs don't know this story) to test the LightRAG & GraphRAG. The insert process of LightRAG cost 2~3min, while it costs more than 15min for GraphRAG.

@JavieHush That is why I got confused as in my situation I am not running LLM locally but rather using APIs so wondered what did you mean by using GPU.

@JavieHush That is why I got confused as in my situation I am not running LLM locally but rather using APIs so wondered what did you mean by using GPU.

btw, how long did it cost for u to finish the inserting process? It should be much faster using API than local model service🤔

@JavieHush I used different document which at the end had 3k entities. I used 6.1 million GPT4o mini tokens and around 1 million embedding tokens (which is very cheap). So around $1

@JavieHush I'm running locally with ollama, can you explain the process to make use to GPU while indexing.
import os
import logging
from lightrag import LightRAG, QueryParam
from lightrag.llm import ollama_model_complete, ollama_embedding
from lightrag.utils import EmbeddingFunc
import pdfplumber
######## Environment="OLLAMA_KEEP_ALIVE=-1"
WORKING_DIR = "./mydir"
logging.basicConfig(format="%(levelname)s:%(message)s", level=logging.INFO)
if not os.path.exists(WORKING_DIR):
os.mkdir(WORKING_DIR)
rag = LightRAG(
working_dir=WORKING_DIR,
chunk_token_size=1200,  # 1200 based on resources
llm_model_func=ollama_model_complete,
llm_model_name="qwen2.5",
llm_model_max_async=4,  # reduce to 4 or 8 depending on cpu and mem resources
llm_model_max_token_size=32768,
llm_model_kwargs={"host": "http://localhost:11434", "options": {"num_ctx": 32768}},
embedding_func=EmbeddingFunc(
embedding_dim=768,
max_token_size=8192,
func=lambda texts: ollama_embedding(texts, embed_model="nomic-embed-text", host="http://localhost:11434"),
),
)
pdf_path = "../CompaniesAct2013.pdf"
pdf_text = ""
with pdfplumber.open(pdf_path) as pdf:
for page in pdf.pages:
pdf_text += page.extract_text() + "\n"
rag.insert(pdf_text)
print("------------------------------------------naive--------------------------------------------------------")
Perform naive search
print(rag.query("What are the top themes in this story?", param=QueryParam(mode="naive")))
print("--------------------------------------------local------------------------------------------------------")
Perform local search
print(rag.query("What are the top themes in this story?", param=QueryParam(mode="global")))
print("----------------------------------------------global----------------------------------------------------")
Perform global search
print(rag.query("What are the top themes in this story?", param=QueryParam(mode="global")))
print("-------------------------------------------------hybrid------------------------------------------------")
Perform hybrid search
print(rag.query("What are the top themes in this story?", param=QueryParam(mode="hybrid")))

@JavieHush I'm running locally with ollama, can you explain the process to make use to GPU while indexing.
import os import logging from lightrag import LightRAG, QueryParam from lightrag.llm import ollama_model_complete, ollama_embedding from lightrag.utils import EmbeddingFunc import pdfplumber
######## Environment="OLLAMA_KEEP_ALIVE=-1"
WORKING_DIR = "./mydir"
logging.basicConfig(format="%(levelname)s:%(message)s", level=logging.INFO)
if not os.path.exists(WORKING_DIR): os.mkdir(WORKING_DIR)
rag = LightRAG( working_dir=WORKING_DIR, chunk_token_size=1200, # 1200 based on resources llm_model_func=ollama_model_complete, llm_model_name="qwen2.5", llm_model_max_async=4, # reduce to 4 or 8 depending on cpu and mem resources llm_model_max_token_size=32768, llm_model_kwargs={"host": "http://localhost:11434", "options": {"num_ctx": 32768}}, embedding_func=EmbeddingFunc( embedding_dim=768, max_token_size=8192, func=lambda texts: ollama_embedding(texts, embed_model="nomic-embed-text", host="http://localhost:11434"), ), )
pdf_path = "../CompaniesAct2013.pdf"
pdf_text = ""
with pdfplumber.open(pdf_path) as pdf: for page in pdf.pages: pdf_text += page.extract_text() + "\n"
rag.insert(pdf_text)
print(rag.query("What are the top themes in this story?", param=QueryParam(mode="naive")))
print(rag.query("What are the top themes in this story?", param=QueryParam(mode="global")))
print(rag.query("What are the top themes in this story?", param=QueryParam(mode="global")))
print(rag.query("What are the top themes in this story?", param=QueryParam(mode="hybrid")))

First of all you must make sure your GPU support accelerating model reasoning, are u using Nvidia series or ?
GPU accelerating setting should be configured in ollama settings.
plz refer to Run ollama with docker-compose and using gpu

I have been able to offload the insert processes onto a free cloud service (streamlit.io) and provide a insert, query, visualize, download buttons on a LightRAG Gui.
This does not exactly speed up insert, but it does offload compute in case you are constrained by local device resources.

Can we do parallel inserts to RAG? Did anyone try?

@JavieHush That is why I got confused as in my situation I am not running LLM locally but rather using APIs so wondered what did you mean by using GPU.

I'm facing the same issue. It took me around 3 minutes to process 1 text chunk that has only 600 tokens. Did you figure out how to speed up the insert process using API?


MR Auth: Fix AAD authentication scope for 1.2.0

Fixed an issue that prevented proper AAD authentication in regions other than East US 2 using the mixedreality.azure.com account domain.

API change check
API changes are not detected in this pull request.


[Feature] Support OpenAPI3 "style" parameters in SDK generators

There is a feature of OpenAPI 3 that lets you change the style of how repeated parameters are specified https://spec.openapis.org/oas/v3.0.3#parameterStyle and https://spec.openapis.org/oas/v3.0.3#style-examples
The particular use case I have is to set explode=false to have CSV parameters rather than multiple query params.
Minimal OpenAPI spec file:
{
  "info": {
    "title": "My API",
    "version": "1.0.0"
  },
  "openapi": "3.0.3",
  "paths": {
    "/test/": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "explode": false,
            "name": "parameter",
            "required": true,
            "schema": {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  }
}

When called with multiple params this should result in ?parameter=a,b,c but it always/only produces ?parameter=a&parameter=b&parameter=c.
I've checked the python and Go SDK generators, and neither handle these style parameters, so I assume this is a universal feature request, though specifically I'm exploring Go, Python and Typescript generators.

@ashb thanks for the issue! I'll pull this forward from our backlog and see where we can slot it in. Will keep you updated here!


[KAFKA] Remove Upgrade code for next version 1.1.21, since already up…

…graded Configuration format from 1.1.19 to 1.1.20

retest this please

retest this please

I mark this as WIP.
If we delete Configuration format upgrade code, we automatically enforce subsequent framework upgrades. In order to upgrade to v 1.1.21, you should have upgraded to v 1.1.20.
This does not have to be a necessary requirement. If we keep the Configuration upgrade code, you can switch from v 1.1.19 to 1.1.21, or 1.1.18 to 1.1.21.
We can merge this PR later, but I do not see any reason to rush, and merge it now.  After a couple of versions, after Kafka binary is also upgraded, we can merge this PR.

Too old.  Re-open if still relevant


fix(ng-update): hammer v9 migration should not unnecessarily set up gestures

We currently do not properly handle the scenario where a project
uses a custom gesture config with event names matching the ones
provided by the deprecated Angular Material gesture config.
Prior to this commit, the migration would set up the Material
gesture config next to the custom one. This is incorrect, and
we should do nothing since a gesture config is already configured.
Though, if we detect that there are manual references to the
Angular Material gesture config, the detection is ambiguous
and the migration should warn that the developer should manually
remove the references to the deprecated Material gesture config.
Also improves messaging for the migration, adds a description
of the expected migration behavior into the migration rule and
adds safety checks for ts.Symbol#declaration (should never
be undefined according to typing, but for odd reasons it can be
undefined, and we do not want to throw accidentally).

Adding P1 label since this should go into the next possible RC.


Cybersecurity: 2.5 UDP #736

Cybersecurity: 2.5 UDP #736

Description 📜
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context.
Fixes # <issue_number_here>

Type of change 📝

[ ] Audio (Should be in mp3 format Includes speech clarity, Concise ,Low distortion)
[ ] Video (Animations, screen-recordings, presentations and regular explanatory films are all possibilties etc)
[x] Documentation (Content Creation in the form of codes or tutorials)
[ ] Other (If you choose other, Please mention changes below)

Domain of Contribution 📊

[ ] Android Dev (Flutter, Java, Kotlin)
[ ] Backend Dev (Java, .NET, Python)
[ ] C/CPP
[ ] Competitive Programming
[x] Cyber Security
[ ] DSA
[ ] Database
[ ] Datascience with Python
[ ] Datascience with R
[ ] Frontend Dev HTML/CSS/JS
[ ] Frontend Dev React/Angular/Vue
[ ] Golang
[ ] Interview Prep
[ ] Java_Domain
[ ] JavaScript
[ ] MERN
[ ] Machine Learning
[ ] Open Source
[ ] Python_Domain
[ ] Rust
[ ] Statistics
[ ] UI/UX

Checklist ✅

[x] I follow Contributing Guidelines & Code of conduct of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I'm GWOC'21 contributor

Screenshots / Gif (Optional) 📸

@prithwishpramanik  remove all other domains from your comment..
Kindly follow the issue template from next time

@Anant1711 pls merge this commit it contains an image that should be present in my document udp.md


Issue while importing QAgent from src.q_agent

My machine configuration:
   Static hostname: --
         Icon name: computer-laptop
           Chassis: laptop
        Machine ID: --
           Boot ID: --
  Operating System: Ubuntu 18.04.6 LTS
            Kernel: Linux 5.4.0-150-generic
      Architecture: x86-64

Python version: 3.7.5

There is an error (1) when trying to import the QAgent class from src.q_agent. Attempting to run relative import also generates an error (2).
Error 1:
---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-3-366876298703> in <module>
      1 # No need to copy paste the same QAgent
      2 # definition in every notebook, don't you think?
----> 3 from src.q_agent import QAgent
      4
      5 # hyper-parameters

ModuleNotFoundError: No module named 'src'

Error 2:
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
<ipython-input-4-135f3e1d5891> in <module>
      1 # No need to copy paste the same QAgent
      2 # definition in every notebook, don't you think?
----> 3 from ..src.q_agent import QAgent
      4
      5 # hyper-parameters

ValueError: attempted relative import beyond top-level package

The issue is quite clear, however what would be the most suitable solution in this case? Should I mess with the PYTHONPATH variable or should I create a file one level above notebooks where I import the src module? Maybe something else?

Hi,
Just move the src folder into the notebook path. This solved my issue


Add committime exporter support fot Gitea and Azure DevOps

Describe the behavior changes introduced in this PR
This PR add support for Gitea and Azure Devops as an source to get Lead time for change metric
Linked Issues?
resolves #260
resolver #189
Testing Instructions
Please include any additional commands or pointers in addition to our standard PR testing process.
Gitea
1- Login into https://try.gitea.io/ using your github account
2- Execute the steps describe on this repo https://github.com/konveyor/pelorus/blob/master/labs/consultant/03-Exporters.md#configuring-exporters , but using your gitea account instead of github.
3- Configure GIT_PROVIDER env on the exporter as "gitea"
4- Create a commit and check Pelorus dashboard to see the metrics
Azure Devops

Create and account on azure devops

2- Execute the steps describe on this repo https://github.com/konveyor/pelorus/blob/master/labs/consultant/03-Exporters.md#configuring-exporters , but using your gitea account instead of github.
3- Configure GIT_PROVIDER env on the exporter as "azure-devops"
4- Create a commit and check Pelorus dashboard to see the metrics
@redhat-cop/mdt

Can you provide some more detail around the instructions for azure gitops so I can verify that path.

Can you provide some more detail around the instructions for azure gitops so I can verify that path.

You need to create and account on azure devops https://azure.microsoft.com/es-es/services/devops/
Then you need to import the https://github.com/kkoller/container-pipelines.git  into your organization repo

After that you need to create your access token

Execute the steps describe on this repo https://github.com/konveyor/pelorus/blob/master/labs/consultant/03-Exporters.md#configuring-exporters , but using your azure-devops account instead of github.
Configure GIT_PROVIDER env on the exporter as "azure-devops"
Create a commit and check Pelorus dashboard to see the metrics
Testing the exporter locally
export GIT_USER=fmeneses
export GIT_TOKEN=
export GIT_PROVIDER=azure-devops
export GIT_API=https://dev.azure.com/
export LOG_LEVEL=DEBUG


shrink source data to help with memory issue on Ubuntu CI runners?

see #341
one possible cause is the source data alone could be taking up a lot of space
basic idea, use smaller training / test sets
we really do not care about accuracy or performance on usual CI runs, just need to test we didn't break anything.
Later can add "benchmark" functionality if needed.

Looking at this now.
Starting with ./tests/data_for_tests/source
$ du -h --max-depth=1 .
88M	./spect_mat_annot_yarden
476M	./audio_cbin_annot_notmat
4.2G	./audio_wav_annot_textgrid
87M	./audio_wav_annot_koumura

4.2 GB (!) in the source data comes from the Cassin's Vireo dataset.

and I'm not even sure how much we use this data?
yes, after investigating: we use the (gigantic!) .WAV files only to test that one function is case-insensitive
and we don't even use the textgrids

next biggest is from audio cbin annot notmat, at ~500 M

should determine how many of these we really need just to run tests

fixed by #360


Make plot panel scrollable

When there are more than three.
Alternatively (and in addition?) draggable and resizeable?
See: http://stackoverflow.com/questions/3614200/draggables-and-resizables-in-svg

Addressed in #41.


ERROR self signed certificate in certificate chain

Good Afternoon,
I'm having a problem with preact-cli, when I create a new project it returns the following:
ℹ INFO Assuming you meant preactjs-templates/default...
(node:1068) ExperimentalWarning: The fs.promises API is experimental
✖ ERROR self signed certificate in certificate chain

Can you give me a light around this case? Was it a bug? or do I have a configuration error?
thank you in advance
Infos:

<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>macOs 10.13.4

@developit

Are you behind a corporate proxy?


Create and Improve Documentation at Logistic KIT

Overview

Explain the topic in 2 sentences
Releasing KIT for logistics and customs content so far: vision, mission and benefits, digital twin for transport unit and transport itself as well as matching aspect models like "PackingList" and "ShippingData". Seems to be as draft and transfer-vehicle to continue work on this topic in new setup in association.
What's the benefit?
Ensure proper Logistic KIT representation.
What are the Risks/Dependencies ?
low risk / no depencies to other teams
Detailed explanation
Please look at explaination in 2 sentences
Current implementation
No Implementation available
Proposed improvements
KIT for logistics and customs are available
Feature Team
Look at Contributors
Contributor

Corina Stolz
Klaus Nirschl

Committer

Thibault Grandemenge
Daniel Miehle

User Stories

No User Stories will be defined.
Acceptance Criteria

Logistic & Customs KIT is documentated and available
Ensure compability with Logistic Standard CX-0150
Initial PR
Final PR
Test Cases

Not necessary, it is only a KIT documentation
Architectural Relevance

The following items are ensured (answer: yes) after this issue is implemented:

[ ] This feature aligns with our current architectural guidelines

Data Sovereignty: All data sharing activities across company boundaries follow the Catena-X Regulatory Framework, in particular the Data Exchange Governance, and the Dataspace Protocol via a compliant Connector (like the tractusx-edc or similar, see Connector KIT)

[ ] CX-0010 Business Partner Number
[ ] CX-0013 Identity of Member Companies
[ ] CX-0018 Data Space Connectivity (EDC)
[ ] CX-0049 DID Document Schema
[ ] CX-0050 Framework Agreement Credential
[ ] CX-0149 Verified Company Identity

Interoperability: Digital Twins are used (compliant to the Digital Twin KIT and the Industry Core KIT)

[ ] CX-0001 EDC Discovery API
[ ] CX-0002 Digital Twins in Catena-X
[ ] CX-0018 Data Space Connectivity (EDC)

Data Format:

[ ] The data model is based on a published Semantic Model

[ ] The impact on the overall system architecture has been assessed. The Feature does not require changes to the architecture or any existing standard? Please have a look here on the overarching architecture
[ ] Potential risks or conflicts with existing architecture has been assessed

Justification: (Fill this out, if at least one of the checkboxes above cannot be ticked. Contact the Architecture Management Committee to get an approval for the justification)
Additional information

[ ] I am aware that my request may not be developed if no developer can be found for it. I'll try to contribute a developer (bring your own developer)

Some hints from Release Management (@ther3sa) and Tractus-X Project Lead (@stephanbcbauer)

Status currently in Inbox. ⇾ Only features with status backlog are considered in open planning
Please add missing sections from the feature template, or fill them out
Please remove @Grand-Thibault as a committer, since he is no
Please add assignee (overall responsible person who drives the feature)

Hi @danielmiehle, I have registered you as a committer. I hope that works for you.

Duplicate to #988 this issue can be closed


make prefix optional and update vector field args

This PR makes the prefix field optional and an empty string by default, which mirrors the default because of the RediSearch API. It also removes the vector field args for block size and initial cap as these are not user friendly fields.

Codecov Report
Patch coverage: 100.00% and project coverage change: -0.15% :warning:

Comparison is base (1e97e3c) 86.84% compared to head (46ed6b7) 86.69%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #63      +/-   ##
==========================================
- Coverage   86.84%   86.69%   -0.15%
==========================================
  Files          16       16
  Lines         859      857       -2
==========================================
- Hits          746      743       -3
- Misses        113      114       +1

Files Changed
Coverage Δ

redisvl/index.py
86.53% <100.00%> (-0.65%)
:arrow_down:

redisvl/schema.py
90.36% <100.00%> (-0.23%)
:arrow_down:

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


Better to disable copying of SequentialFile and RandomAccessFile

Not a bug, but a coding style improvement. To prevent anyone from passing
SequentialFile or RandomAccessFile by value to a function incidentally.

What version of the product are you using? On what operating system?

Revision 37. on Ubuntu 10.04 x86-64 with g++ 4.4.3

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 17 Jul 2011 at 3:11
Attachments:

disable_copying.diff

Original comment by<EMAIL_ADDRESS>on 30 May 2012 at 5:23

Changed state: Started

Original comment by<EMAIL_ADDRESS>on 17 Jul 2011 at 5:35

Changed state: Accepted

Original comment by<EMAIL_ADDRESS>on 8 Oct 2012 at 9:23

Changed state: Fixed


[CELEBORN-683][SPARK][PERF] Avoid calling CelebornConf.get multi-time when columnar shuffle wri…

…te is enabled.

What changes were proposed in this pull request?
as title.
Why are the changes needed?
frame graph and stage duration before:

frame graph and stage duration after:

Does this PR introduce any user-facing change?
No, only perf improvement.
How was this patch tested?
tested locally.

Thanks, merged to main/0.3


Insert Media3P images in canvas when clicked.

Task Description
Insert Media3P images in canvas when clicked.

@diegovar can you review this and see if it can be closed? If not, what's the priority?


Responsive Browse pages and refactored Home directory

Completed and fully responsive pages for the Browse/Category pages

ItemEntry component has been renamed to ProductListing instead of just Product

The Category nav that's on top of the Homepage has been turned into a sharable component, CategoryNav. It is in the category-nav folder in the shared directory

The Category menu icons in the Search and Category routes have been changed into a sharable component, CategoryMenu. It is in the category-menu folder in the shared directory.

Home.js now displays the same products as the Category and Search routes. It is now fetching data from mockProducts.

Refactored the home directory. Home.js is now built upon Components rather than many lines of repetitive code. To achieve this, the following has been done:

Added a helper renderProducts in the helper directory. This function takes in a group of data, the category and display count to return an array of ProductListing components.
There is now a sections folder in the home directory. This contains the components: SpecialSection, DerivedSections, and OriginalSections. These components are in Home.js and return the refactored code for these sections.

Good work. The Product will need some more work as it doesn't fit my screen - which indicates some flaws in responsiveness


Errors in Cloud Service and Cloud Networks

Environment

Python version: 3.11.9
Nautobot version: 2.3.0b1
Database platform, version: postgresql 14

Steps to Reproduce
1.click "Add Cloud Service" on the Cloud Services page
2.click on the "Cloud Networks" page

Expected Behavior

Observed Behavior
When I click "Add Cloud Service" on the Cloud Services page, the following error occurs:
Server Error
A database programming error was detected while processing this request. Common causes include the following:

 Database migrations missing - When upgrading to a new Nautobot release, the upgrade script must be run to apply any new database migrations. You can run migrations manually by executing nautobot-server migrate from the command line.

 Unsupported PostgreSQL version - Ensure that PostgreSQL version 12.0 or higher is in use. You can check this by connecting to the database using Nautobot's credentials and issuing a query for SELECT VERSION();.

The complete exception is provided below:

<class 'django.db.utils.ProgrammingError'>

relation "cloud_cloudservicenetworkassignment" does not exist
LINE 1: ...."parent_id" FROM "cloud_cloudnetwork" INNER JOIN "cloud_clo...
                                                             ^

Python version: 3.11.9
Nautobot version: 2.3.0b1

When I click on the "Cloud Networks" page, the following error occurs:
Server Error
A database programming error was detected while processing this request. Common causes include the following:

 Database migrations missing - When upgrading to a new Nautobot release, the upgrade script must be run to apply any new database migrations. You can run migrations manually by executing nautobot-server migrate from the command line.

 Unsupported PostgreSQL version - Ensure that PostgreSQL version 12.0 or higher is in use. You can check this by connecting to the database using Nautobot's credentials and issuing a query for SELECT VERSION();.

The complete exception is provided below:

<class 'django.db.utils.ProgrammingError'>

relation "cloud_cloudservicenetworkassignment" does not exist
LINE 1: ...*) AS "c" FROM "cloud_cloudservice" U0 INNER JOIN "cloud_clo...
                                                             ^

Python version: 3.11.9
Nautobot version: 2.3.0b1

I have already executed the "nautobot-server migrate" command.

My issue has been resolved.
I installed the nautobot-dev version two weeks ago, and this feature had a problem. Then I installed version 2.3.0, but the issue still existed. I deleted the django-migrations records and re-executed migrate, and now everything is working fine.


dirvers: eth_stm32_hal: No interrupt is generated on the MII interface.

Describe the bug
After completing the stm32f745vet mcu board setup, we are testing Ethernet operation using mii interface and spi communication with ksz8863 phychip of microchip.
Through spi communication, we confirmed that the register settings of ksz8863 phychip, such as checking the connection status of the LAN line, are well established.
In addition, the parts related to pinmux were additionally modified to support the mii interface.
It was confirmed that the clock generation of 25MHZ at PA1 (ETH_MII_RX_CLK) and PC3 (ETH_MII_TX_CLK) pins and the waveform at ETH_MII_RXD[0..3] pins occur when the LAN wires are connected.
The interrupts did not occur in the rx_thread function of dirvers:eth_stm32_hal.c. so semaphore cannot be obtained.
In the normal operation development board stm32f745g_disco, supported by zephyr,
interrupts occur when the LAN line is connected while rx_thread is running, and semaphore is acquired and eth_rx function is executed.
I don't know why interrupts don't happen.
I'd appreciate your help.
To Reproduce
Steps to reproduce the behavior:

mkdir build; cd build
cmake -DBOARD=stm32f745ve ..
west flash

Expected behavior
When the LAN cable is connected, an interrupt will occur to obtain semaphore and perform the eth_rx function.
Logs and console output
*** Booting Zephyr OS version 2.2.99  ***
[00:00:05.421,000] <inf> eth_stm32_hal: Register 0 (0x00): ksz8863 Chip ID0 = 0x88
[00:00:05.431,000] <inf> eth_stm32_hal: MAC 02:80:e1:00:15:78
Single-threaded TCP echo server waits for a connection on port 4242...

Environment (please complete the following information):

OS: Linux ubuntu 18.04
Toolchain: zephyr-sdk-0.11.1
Commit SHA or Version used: 2d9baf97f9fbda8cdd3eb05a82b505333c196cf9

Additional context
The register initialization setting of ksz8863 phychip is completed, and it has been confirmed that chip id, connection status check of LAN line, etc. is read by spi communication.
And we checked and started the normal operation of samples/net/socket/echo/socket_echo.c through the sm32f746g_disco board.
To support the mii interface, CONFIG_ETH_STM32_HAL_MII=y was set to and drivers/pinmux/stm32/pinmux_stm32f7.h was added correctly.
~/zephyrproject/zephyr/boards/arm/stm32f745ve/pinmux.c:
#ifdef CONFIG_ETH_STM32_HAL
	//{STM32_PIN_PA2, STM32F7_PINMUX_FUNC_PA2_ETH}, /* ETH_MDIO */
	//{STM32_PIN_PC1, STM32F7_PINMUX_FUNC_PC1_ETH}, /* ETH_MDC */

	{STM32_PIN_PC3, STM32F7_PINMUX_FUNC_PC3_ETH}, /* ETH_MII_TX_CLK */
	{STM32_PIN_PB12, STM32F7_PINMUX_FUNC_PB12_ETH}, /* ETH_MII_TXD0 */
	{STM32_PIN_PB13, STM32F7_PINMUX_FUNC_PB13_ETH}, /* ETH_MII_TXD1 */
	{STM32_PIN_PC2, STM32F7_PINMUX_FUNC_PC2_ETH}, /* ETH_MII_TXD2 */
	{STM32_PIN_PE2, STM32F7_PINMUX_FUNC_PE2_ETH}, /* ETH_MII_TXD3 */
	{STM32_PIN_PB11, STM32F7_PINMUX_FUNC_PB11_ETH}, /* ETH_MII_TX_EN */

	{STM32_PIN_PA1, STM32F7_PINMUX_FUNC_PA1_ETH}, /* ETH_MII_RX_CLK */
	{STM32_PIN_PC4, STM32F7_PINMUX_FUNC_PC4_ETH}, /* ETH_MII_RXD0 */
	{STM32_PIN_PC5, STM32F7_PINMUX_FUNC_PC5_ETH}, /* ETH_MII_RXD1 */
	{STM32_PIN_PB0, STM32F7_PINMUX_FUNC_PB0_ETH}, /* ETH_MII_RXD2 */
	{STM32_PIN_PB1, STM32F7_PINMUX_FUNC_PB1_ETH}, /* ETH_MII_RXD3 */
	{STM32_PIN_PA7, STM32F7_PINMUX_FUNC_PA7_ETH}, /* ETH_MII_RX_DV */
	{STM32_PIN_PB10, STM32F7_PINMUX_FUNC_PB10_ETH}, /* ETH_MII_RX_ER */
	{STM32_PIN_PA0, STM32F7_PINMUX_FUNC_PA0_ETH}, /* ETH_MII_CRS */
	{STM32_PIN_PA3, STM32F7_PINMUX_FUNC_PA3_ETH}, /* ETH_MII_COL */
#endif /* CONFIG_ETH_STM32_HAL */

~/zephyrproject/zephyr/samples/net/sockets/echo/prj.conf:
# General config
CONFIG_NEWLIB_LIBC=y

# Networking config
CONFIG_NETWORKING=y
CONFIG_NET_IPV4=y
CONFIG_NET_IPV6=n
CONFIG_NET_TCP=y
CONFIG_NET_SOCKETS=y
CONFIG_NET_SOCKETS_POSIX_NAMES=y

# Network driver config
CONFIG_TEST_RANDOM_GENERATOR=y

CONFIG_SPI=y

CONFIG_NET_L2_ETHERNET=y
CONFIG_ETH_STM32_HAL=y
CONFIG_ETH_STM32_HAL_MII=y
CONFIG_ETH_KSZ_MII_SPI=y

# Network address config
CONFIG_NET_CONFIG_SETTINGS=y
CONFIG_NET_CONFIG_NEED_IPV4=y
CONFIG_NET_CONFIG_MY_IPV4_ADDR="<IP_ADDRESS>"
CONFIG_NET_CONFIG_MY_IPV4_NETMASK="<IP_ADDRESS>"
CONFIG_NET_CONFIG_MY_IPV4_GW="<IP_ADDRESS>"

CONFIG_LOG=y

What should I do?
PA1 (ETH_MII_RX_CLK) and PC3 (ETH_MII_TX_CLK) clocks are occurring at 25MHZ, and when the LAN is connected, signals are generated at the ETH_MII_RXD [0..3] [PC4, PC5, PB0, PB1] pins, and why is there no interrupts at MCU?
I'm not sure what's wrong.
What do you think is the problem?

@lochej @Nukersson would you have time to look at this ?

@lochej @Nukersson would you have time to look at this ?

I'd be glad to help but not sure I'll be able to, I don't own any F7 board to troubleshoot the ethernet 😫

*** Booting Zephyr OS version 2.2.99 ***

@wngur300 Can you try with master ?

Hello @wngur300 and thank you for your question.
I'll try to answer/understand better your questions/suggestions step by step:

Interrupt does not occur

Have you looked at eth_isr() in eth_stm32_hal.c? Is something happened here after LAN cable connection?

*** Booting Zephyr OS version 2.2.99 ***

See previous answer. Try with latest master of Zehyr or at least replace eth_stm32_hal.c by one from master.

In the normal operation development board stm32f745g_disco, supported by zephyr,
interrupts occur when the LAN line is connected while rx_thread is running, and semaphore is acquired and eth_rx function is executed.

Are you sure? In my opinion there is only stm32f746g_disco and it definitely has RMII (see Sheet 12 of Shematic). If the interrupts are still not occur, you need to look further on section 38.7 of RM0385 Rev 8 for example. Try take a look at register of your stm32f7 after cable connection.
Last important thing: The current driver was not tested with MII interface, cause (kick me if I am wrong 😄) nobody of active participants of stm32 eth driver development thread does not have board with MII interface 😄

*** Booting Zephyr OS version 2.2.99 ***

@wngur300 Can you try with master ?

*** Booting Zephyr OS build zephyr-v2.4.0-542-g0d04754652e9  ***

Even in the master commit above, interrupt does not occur when the LAN cable is connected..

Have you looked at eth_isr() in eth_stm32_hal.c? Is something happened here after LAN cable connection?

When debugging, the eth_isr() function is not executed even if the LAN line is connected.

See previous answer. Try with latest master of Zehyr or at least replace eth_stm32_hal.c by one from master.

*** Booting Zephyr OS build zephyr-v2.4.0-542-g0d04754652e9  ***

Even in the master commit above, interrupt does not occur when the LAN cable is connected..

Are you sure? In my opinion there is only stm32f746g_disco and it definitely has RMII (see Sheet 12 of Shematic). If the interrupts are still not occur, you need to look further on section 38.7 of RM0385 Rev 8 for example. Try take a look at register of your stm32f7 after cable connection. I would say, that MII is not fully tested within Zephyr for stm32 platform and could be your problem here!

I have a stm32f746g_disco board that supports Ethernet from zephyr to rmii interface, so I checked its operation.
On the stm32f746g_disco board, an interrupt occurred when the rx_thread was executed and the LAN line was connected, but on the test board stm32f745bet mcu connected by mii interface, no interrupt was generated.
It was confirmed that 25 mhz waveforms were occurring at eth_mii_tx_clk, eth_mii_rx_clk pins, and that waveforms also occurred at eth_rx pins when the LAN line was connected.
And I debugged the MAC, DMA register, which is initialized by sm32f7xx_hal_eth.c, comparing it with the stm32f746g_disco board, but there seemed no particular difference or problem.

And I debugged the MAC, DMA register, which is initialized by sm32f7xx_hal_eth.c, comparing it with the stm32f746g_disco board, but there seemed no particular difference or problem.

There should be no difference between stm32f7 series.

Are you able to read whole register stm32f7 peripheral register set with your debugger? Here seems to be something wrong with eth peripheral configuration within the SoC.

I'm sorry but I didn't exactly understand reading the sm32f7 peripheral register.
For example, is it correct to ask if the ETH_TypeDef member variable MACSR value can be read..?

Are you able to read whole register stm32f7 peripheral register set with your debugger? Here seems to be something wrong with eth peripheral configuration within the SoC.

I'm sorry but I didn't exactly understand reading the sm32f7 peripheral register.
For example, is it correct to ask if the ETH_TypeDef member variable MACSR value can be read..?

I mean, just reading ETH_MACCR register of MAC peripheral for example, to see which interrupts MAC module generates on register level.

Check all your ETH_MAC registers, if they correctly configured by the driver.

1. The captured images below are values written in mac, dma memory of the test board consisting of the stm32f745ve mcu and ksz8863 phychips (MII interface).  I tried debugging in the rx_thread function.

2.  Debugged and compared on the stm32f746g_disco board operating normally with the rmii interface. The mac, dma register initialization is the same without any particular difference.

Check if your ETH_PHY ksz8863 has correct settings in registers.

I thought that the basic initialization of the phychip register was successful and that the waveform would come from the rx data pins when the LAN wires were connected..

Try to understand it right, how your ETH_PHY propagates interrupts to stm32f7 and which hardware part of stm32f7 is responsible for interrupts generation.
I hope, I can bring you on right way. I would like to test your system, but I do not own board with MII.
Maybe you want provide a PR with correct MII settings and ksz8863 phy support?

If normal operation is completed, I will provide pr. I'm not ready because I'm testing right now.
MAC,DMA registers are initialized,and signals are generated from ethernet rx data pins,so I think the eth_isr function should be executed.
I don't do the eth_isr function at all. I don't know what the problem is.

@wngur300 Are you using SMI for ETH PHY configuration (see 38.4.1 of RM0385 Rev 8)?

@wngur300 According to your MACMIIAR = 0x50 value the Bits 4:2 (aka CR - clock range) configured for 150-216 MHz ( HCLK/102 ) MDC clock range (see ETH_MACMIIAR of RM0385 Rev 8 on page 1603).
Even if you use SPI instead of SMI for KSZ8863 configuration you should probably try to configure ETH_MACMIIAR for correct clock range first.
Also take a look at SYSCFG_PMC register (see section 38.4.4 of RM0385 Rev 8 on page 1539).
I would say, you should carefully check all MAC registers first according to reference-manual.

My PCB has 8MHZ oscillator. My board setting is as follows.
CONFIG_SOC_SERIES_STM32F7X=y
CONFIG_SOC_STM32F745XX=y
# 216MHz system clock
CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=216000000

CONFIG_SERIAL=y

# console
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y

# enable pinmux
CONFIG_PINMUX=y

# enable GPIO
CONFIG_GPIO=y

# clock configuration
CONFIG_CLOCK_CONTROL=y

# Clock configuration for Cube Clock control driver
CONFIG_CLOCK_STM32_HSE_CLOCK=8000000
CONFIG_CLOCK_STM32_SYSCLK_SRC_PLL=y
# use HSE as PLL input
CONFIG_CLOCK_STM32_PLL_SRC_HSE=y
# produce 216MHz clock at PLL output
CONFIG_CLOCK_STM32_PLL_M_DIVISOR=4
CONFIG_CLOCK_STM32_PLL_N_MULTIPLIER=216
CONFIG_CLOCK_STM32_PLL_P_DIVISOR=2
CONFIG_CLOCK_STM32_PLL_Q_DIVISOR=2
CONFIG_CLOCK_STM32_AHB_PRESCALER=1
CONFIG_CLOCK_STM32_APB1_PRESCALER=4
CONFIG_CLOCK_STM32_APB2_PRESCALER=2

The stm32f746g_disco board, which operates normally with an RMII interface, also operates with a system clock of 216 mhz.
It has been confirmed that the SYSCFG_PMC register is also set to MII MODE.

Thanks for the info. Then I can't do more here, since it is difficult to test without appropriate HW.

@wngur300 Since the issue you report seems specific to your board set up, I think it will be useful you could share more info to help in support.
In order not to be blocked, I propose the following:

Share your board support in a draft PR, so code review could be done
Share your issue on stcommunity.com as maybe some other could face similar issue on the specific SoC you're using.

@wngur300 Since the issue you report seems specific to your board set up, I think it will be useful you could share more info to help in support.
In order not to be blocked, I propose the following:

Share your board support in a draft PR, so code review could be done
Share your issue on stcommunity.com as maybe some other could face similar issue on the specific SoC you're using.

It was a problem of hardware configuration. I solved it. Thank you.

@wngur300 Great, you can thanks @Nukersson since I didn't did much :-)
Is that ok if we close the ticket then ?

@wngur300 Can you please 8j short explain, what the problem was? Maybe somebody will face same problem later and your experience can help?

@Nukersson Sure, closing it now.

@wngur300 Can you please explain in short, what the problem was? Maybe somebody will face same problem later and your experience can help?

Sorry for replying late.
Let me tell you the problem.
1. PC1(MDC) incorrectly connected with PB10(rx_err) pin.
2. I didn't use MMI interface and I used SPI to interface with phy chip, and there was an MMI function defined in pinmux.
3. Do not use rx_errpin on ksz8863 chips.
There is a record of my definition of pinmux above.

Hey, I'm having a similar issue with the mii interface on a custom board based on stm32f429. I copied over and edited the board files rom nucelo_f429zi but am constantly getting the HAL_ETH_Init timed out error. I have cross checked pin connections and alternate functions and the board filed etc and don't have any other ideas forward. I made a post about this on slack here. Is there any other way to get further help on this?


Getting an empty list when running iotedge list

I'm running on Ubuntu 16.04 machine
I followed the quick-start instructions for Linux:
https://docs.microsoft.com/en-us/azure/iot-edge/quickstart-linux
When running the command:
sudo iotedge list
I'm getting an empty list:
administrator@administrator-desktop:~$ sudo iotedge list
NAME             STATUS           DESCRIPTION      CONFIG
These are the logs:
[ERR!] - Io(Os { code: 110, kind: TimedOut, message: "Connection timed out" })
[WARN] - Error in watchdog when checking for edge runtime status:
[WARN] - Identity error
[WARN] -         caused by: IoT Hub service error
[WARN] -         caused by: Core error
[WARN] -         caused by: Hyper error
[WARN] -         caused by: Connection timed out (os error 110)
[INFO] - Checking edge runtime status
[INFO] - Creating and starting edge runtime module edgeAgent

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

ID: 57c035a2-9ca9-2bbf-f9db-263bb0411de8
Version Independent ID: aa0c1a42-7d19-996e-cd57-51c838f40677
Content: Simulate Azure IoT Edge on Linux
Content Source: articles/iot-edge/quickstart-linux.experimental.md
Service: iot-edge
GitHub Login: @kgremban
Microsoft Alias: kgremban

@belkinirena Thanks for the feedback. We are actively investigating and will get back to you soon.

This is being tracked at https://github.com/Azure/iotedge/issues/58. #please-close

@belkinirena We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


AstraComputeAPI interface added to support developement of online and…

In this pull request, the AstraComputeAPI interface is introduced to support development of offline/online compute backends on  top that.
Offline Compute Backend: These backends are used to get the runtime of compute kernels which is offline from the main simulation. Once these backends are called, we blocking wait for them to get the compute runtime before proceeding with the rest of simulation. For example, we can use these backend to obtain the runtime of all compute kernels at the beginning of simulation even before the simulation starts. The interface function for using these backends is get_static_runtime() in the interface.
Online Compute Backend: These backends are used to simulate the runtime of compute kernels in the similar way we simulate the communication operations. Hence, they simulate the runtime in an online manner with the main simulation. To do this, they need to interact with the system layer to put events in the main event queue of the simulator (which could possibly interfere with comm operations and hence, get more realistic runtimes).  The interface function for using these backends is simulate() in the interface.

Hi Saeed, thank you for pushing the compute API.
I am not fully clear on the intended use of this, however. For example, I am trying to simulate a distributed system consisting of a high-end GPU and a low-end GPU. Then, I should create two GPU models (like by connecting to GPGPUSim or just two roofline models), both inheriting AstraComputeAPI. Additionally, I will describe my workload using the provided ComputeKernel class.
Would this be the intended way of implementing this?
Thank you in advance.

@jinsun-yoo I just assigned you (for now) for the commenting we discussed today.


ChildrenWatch should not log exceptions if the node its watching is deleted

Given the following code:
import sys
import logging

logging.basicConfig(level=logging.DEBUG)

from time import sleep
from kazoo.client import KazooClient
from kazoo.recipe.watchers import ChildrenWatch

def child_watch(c):
    print "child_watch: {}".format(c)

zk = KazooClient("<IP_ADDRESS>:2181")
zk.start()

watch = ChildrenWatch(zk, "/test", child_watch)

while True:
    sleep(1)
    print ".",
    sys.stdout.flush()

How can I gracefully handle the removal of /test from ZooKeeper ? The code raises the following exception, apparently in a watcher thread and I can't act based on that.
I used a DataWatch to work around this issue and re-set the ChildrenWatch when /test reappears, but the presence of the exception makes me think there's a bug/unhandled exception case in the kazoo code.
INFO:kazoo.client:Received EVENT: Watch(type=4, state=3, path=u'/test')
INFO:kazoo.client:Sending request(xid=2): GetChildren(path='/test', watcher=<bound method ChildrenWatch._watcher of <kazoo.recipe.watchers.ChildrenWatch object at 0x102271910>>)
DEBUG:kazoo.client:Reading for header ReplyHeader(xid=2, zxid=103345, err=0)
INFO:kazoo.client:Received response(xid=2): []
 child_watch: []
. . . .DEBUG:kazoo.client:Sending request(xid=-2): Ping()
DEBUG:kazoo.client:Received Ping
 . . .DEBUG:kazoo.client:Sending request(xid=-2): Ping()
DEBUG:kazoo.client:Received Ping
 .INFO:kazoo.client:Received EVENT: Watch(type=2, state=3, path=u'/test')
INFO:kazoo.client:Sending request(xid=3): GetChildren(path='/test', watcher=<bound method ChildrenWatch._watcher of <kazoo.recipe.watchers.ChildrenWatch object at 0x102271910>>)
DEBUG:kazoo.client:Reading for header ReplyHeader(xid=3, zxid=103346, err=-101)
INFO:kazoo.client:Received error(xid=3) NoNodeError((), {})
ERROR:kazoo.handlers.threading:Exception in worker queue thread
Traceback (most recent call last):
  File "/home/user/.pyenv/versions/mac_venv/lib/python2.7/site-packages/kazoo/handlers/threading.py", line 201, in thread_worker
    func()
  File "/home/user/.pyenv/versions/mac_venv/lib/python2.7/site-packages/kazoo/handlers/threading.py", line 289, in <lambda>
    self.callback_queue.put(lambda: callback.func(*callback.args))
  File "/home/user/.pyenv/versions/mac_venv/lib/python2.7/site-packages/kazoo/recipe/watchers.py", line 305, in _watcher
    self._get_children(event)
  File "/home/user/.pyenv/versions/mac_venv/lib/python2.7/site-packages/kazoo/recipe/watchers.py", line 22, in wrapper
    return func(*args, **kwargs)
  File "/home/user/.pyenv/versions/mac_venv/lib/python2.7/site-packages/kazoo/recipe/watchers.py", line 283, in _get_children
    self._path, self._watcher)
  File "/home/user/.pyenv/versions/mac_venv/lib/python2.7/site-packages/kazoo/retry.py", line 122, in __call__
    return func(*args, **kwargs)
  File "/home/user/.pyenv/versions/mac_venv/lib/python2.7/site-packages/kazoo/client.py", line 945, in get_children
    return self.get_children_async(path, watch, include_data).get()
  File "/home/user/.pyenv/versions/mac_venv/lib/python2.7/site-packages/kazoo/handlers/threading.py", line 107, in get
    raise self._exception
NoNodeError: ((), {})
 . . . .DEBUG:kazoo.client:Sending request(xid=-2): Ping()
DEBUG:kazoo.client:Received Ping

+1...Would this issue be solved sometime? The exception logging really annoy me.

+1 Has this been resolved in any way?

@tonyseek Also I think ChildrenWatch should stop watching, remove itself from client's listeners, etc if the node its watching is deleted.

@vblazhnov I modified the implementation to close watching after node gone.


chore: Update unmaintained deps

Checklist

[x] only relevant code is changed (make a diff before you submit the PR)
[ ] run tests npm run test
[ ] tests are included
[x] commit message and code follows the Developer's Certification of Origin

Checklist (for documentation change)

[ ] only relevant documentation part is changed (make a diff before you submit the PR)
[ ] motivation/reason is provided
[ ] commit message and code follows the Developer's Certification of Origin

Thank you...
Is there any need for a new release?

Maybe ;)
I saw that some i18next packages I use for a personal project( this one and react-i18next ) had unmaintened dependencies : why not give a hand ?


ihaskell fails to build

Issue description
IHaskell is not GHC 8 compatible, and so it doesn't build on 16.09 onwards. Instead I get this error:
Setup: Encountered missing dependencies:
base >=4.6 && <4.9, ghc >=7.6 && <7.11
builder for ‘/nix/store/9bbjk1lknn94y4b7wf9wd9pfgfcfms37-ghc-parser-<IP_ADDRESS>.drv’ failed with exit code 1
cannot build derivation ‘/nix/store/ybqc2p7qk1p2i8ka889xh5ksid1xv0kn-ghc-8.0.1-with-packages.drv’: 1 dependencies couldn't be built
cannot build derivation ‘/nix/store/6mg7sz0sl6ki7r877g3agc3slqwmnlsf-ihaskell-<IP_ADDRESS>.drv’: 1 dependencies couldn't be built
building path(s) ‘/nix/store/qjcg07sw2hammhy3jxkarif5i0jszpgk-ipykernel-4.3.1.tar.gz’
cannot build derivation ‘/nix/store/5z2rsbvisv77hqz7rmxlhg1m7kfj7c7y-ihaskell-with-packages.drv’: 1 dependencies couldn't be built
error: build of ‘/nix/store/5z2rsbvisv77hqz7rmxlhg1m7kfj7c7y-ihaskell-with-packages.drv’ failed

Steps to reproduce
nix-build '<nixpkgs>' -A ihaskell

Technical details

System: 16.09.1512.6b28bd0 (Flounder)
Nix version: nix-env (Nix) 1.11.6
Nixpkgs version: 16.09.1512.6b28bd0

Thanks for filing an issue! I see you already filed the GHC 8 incompatibility upstream.
You could try the following patch:
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 0dc5b81..886a603 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -2253,7 +2253,7 @@ in

   ihaskell = callPackage ../development/tools/haskell/ihaskell/wrapper.nix {
-    inherit (haskellPackages) ihaskell ghcWithPackages;
+    inherit (haskell.packages.ghc7103) ihaskell ghcWithPackages;

     ipython = python3.buildEnv.override {
       extraLibs = with python3Packages; [ ipython ipykernel jupyter_client notebook ];

but it'll require re-building substantial amounts of old code that are no longer being build by hydra. If it works we can apply the patch, otherwise I think I'd vote for removing the package. What do you think?

After applying your patch, I'm getting an error building gtk2hs-buildtools (#18586). Is there an easy workaround for this? I'm hopeful that IHaskell will gain GHC 8 compatibility in the near term, so I'd rather not remove the package :smile:

Reading https://github.com/NixOS/nixpkgs/issues/18586 I doubt there is.
In order to save other people time maybe we should at least add an assert with an informative message and a link to this bug so other people won't lose time trying to install ihaskell?

Sure, that's a good idea.

I can't see an easy way of disabling ihaskell, so I suggest removal, followed by re-introduction when fixed. @vaibhavsagar - would you be able to own this?

I've created a pull request.


Improve the documentation for macOS

Please improve the documentation about the pre-requirements packages for macOS here
Now, the configure process is not easy for macOS. For instance, I faced some problems when realpath  wasn't installed on my PC. So, I had to install coreutils.

We made our best to improve the docs at https://userver.tech/d3/da9/md_en_2userver_2tutorial_2build.html#autotoc_md468
Please open a new issue with more details, if something is missing or wrong


Heroku APP_KEY generation instructions very unclear

Describe the bug
The wiki guide for setting up on Heroku says to run php artisan key:generate but doesn't give any instructions on how to set up the tools needed to do that. I managed to figure it out on my own but it was really not obvious. I hadn't heard of Laravel of artisan before so it was hard to even know what to search. I could see other people struggling with this a lot more than I did.
Also, that command is actually wrong. You have to run php artisan key:generate --show otherwise it won't output anything.
Expected behavior
The step by step guide should have more detail for how to generate this application key.
Screenshots

@JonnyHaystack Thanks for reporting!
I've updated the wiki to use the --show option in that command: https://github.com/stefanzweifel/screeenly/wiki/Deploy-to-Heroku.
When I wrote that guide, I remember struggling on exactly this part of the documentation. People who want to deploy the app to Heroku don't necessarily have any knowledge or experience with PHP or Laravel and might run into issues when wanting to run php artisan key:generate --show.
That's why I have added an example value to the wiki, so people could just copy and paste that.
IMHO the vulnerability risk is quite small, as people probably don't share their Heroku instance with the world and don't store sensitive information in the app itself.
But I just had an idea on how to solve this problem in the long run by making a website that just generates and displays Laravel application keys for you. Will work on that over the next couple of days.

I could see other people struggling with this a lot more than I did.

Yeah, it's not ideal. I'm happy about any feedback I get about this topic (you're the first so far).
Sorry if this generated a headache or was complicated to setup for you.
Appreciate the input!

Thanks! The changes look good. The main thing that caused me to waste time was I didn't realise until the end of the guide that I could just run the command in the heroku app, so I ended up having to figure out how to set up laravel locally to use artisan. Looks like you've made that clear now which is great :smile:

I've updated the guide again. I've now deployed a separate app that just generates new encryption keys on every page request. You and others can now just head to the website and grab a key from there. No need to manually invoke the commands anymore.
→ https://laravel-encryption-key-generator.vercel.app/


Add support for ioctl VIDIOC_S_CTRL

Closes #12
I've largely used the other files in the ioctl as a template for this, rather than fully understanding the inner workings of your library. Does this look reasonable for an implementation of the above ioctl function call?
Of note, and it should probably be in a separate pull request, but I've made Encoder.device public. The purpose of this is to act as an escape hatch when using the Encoder api to drop down to the lower level ioctl. I'm not experienced with Arc<_>, so I don't know if it's more appropriate to make a separate method that looks more like this pseudocode:
pub fn device(&self) -> Arc<Device> {
    Arc::clone(self.device)
}

Hi! Sorry for taking so long to come back to this. PR #14 adds support for S_EXT_CTRL and requests, could you take a look and check if this fits your needs as well?

Yes, let's close this in favour of #14 for now.


Wallaby JS seems to be crashing the application

The branch feature/wallaby-integration has some changes on it which should allow the wallaby runner to execute.
It seems instead to crash the machine

Raised question wallabyjs/public#1053 with the wallaby crew cause I'm spent on this one. I've got no idea what should be done any more.


implement gas handling

Work in progress
Checklist

[ ] Linked to Github Issue
[ ] Unit tests added
[ ] Integration tests added.
[ ] This change requires new documentation.

[ ] Documentation has been added/updated.

Codecov Report

Merging #251 (57d27c0) into main (b71757b) will decrease coverage by 0.08%.
The diff coverage is 60.00%.

:exclamation: Current head 57d27c0 differs from pull request most recent head 0c0e150. Consider uploading reports for the commit 0c0e150 to get more accurate results

@@            Coverage Diff             @@
##             main     #251      +/-   ##
==========================================
- Coverage   68.06%   67.99%   -0.08%
==========================================
  Files         108      109       +1
  Lines       19645    19891     +246
==========================================
+ Hits        13372    13524     +152
- Misses       6273     6367      +94

Files Changed
Coverage Δ

src/bin/sierrajit.rs
0.00% <0.00%> (ø)

src/easy.rs
0.00% <0.00%> (ø)

src/error/jit_engine.rs
14.70% <0.00%> (-3.37%)
:arrow_down:

src/metadata.rs
97.43% <ø> (ø)

src/libfuncs/gas.rs
61.53% <48.68%> (-6.94%)
:arrow_down:

src/jit_runner.rs
86.61% <80.95%> (-1.13%)
:arrow_down:

src/metadata/gas.rs
85.71% <85.71%> (ø)

src/compiler.rs
96.51% <100.00%> (+0.03%)
:arrow_up:

src/libfuncs/felt252_dict.rs
100.00% <100.00%> (ø)

src/libfuncs/felt252_dict_entry.rs
100.00% <100.00%> (ø)

... and 1 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


aligned bindingdb

Modified the edge granularity to be chemical/target/measure_type.  This means that it's ok to average the affinities into a single number
Simplified the affinities into a single list
Provided an average affinity
Pulled the publications into a single place
removed patent and aid from the publications: these are not specific to the edge but are really features of the assay
Changed the predicates from just binds to increases/decreases activity where appropriate
Changed handling of >,< and 0 affinities.

@beasleyjonm can you show those examples?  Is it because the agonists are binding in a competitive inhibition assay or something?

@beasleyjonm can you show those examples? Is it because the agonists are binding in a competitive inhibition assay or something?

pKi_agonists_BindingDB.csv
Sure thing! In the attached file I have some examples of GPCR agonists with BindingDB edges, many of which have just pKi reported. This was from the first pass at making a BindingDB parser, so the publications attribute is messed up, but the measurement data should all be the same.
It's probably possible to do some more complicated assignment of predicates by looking at assay description text or by considering the protein family and the types of measurements typically reported for it, but that might be a tough endeavor.


Add ContinuousEncoder

I propose adding a new built-in transformer, called ContinuousEncoder, implemented in this PR, which combines one-hot encoding with coercion of Count data and feature dropping to ensure a table has only Continuous features. Multiple issues have suggest to me that users, especially beginners, would appreciate this tool.
edited
Composing this transformer with just about any supervised model delivers a model that can be applied to any data, dropping only columns that are not Count, Continuous, OrderedFactor or Multiclass. I have an idea to augment the registry with "virtual" models that are ordinary models wrapped in this transformer, to dramatically expand the number of models found by models(matching(X, y) - but I'll invite discussion on this proposal in a separate issue.
Below is the docstring for the new transformer proposed in this PR. I will leave this unmerged until Monday at least to allow feedback, which is very much appreciated.
A review from @OkonSamuel  or @tlienart, at their leisure, would be great.
Oh, and this PR also add the keyword ignore to OneHotEncoder (logic as in Standardizer)

ContinuousEncoder(one_hot_ordered_factors=false, drop_last=false)

Unsupervised model for arranging all features (columns) of a table to
have Continuous element scitype, by applying following protocol
applied to each feature ftr:

If ftr is already Continuous retain it.

If ftr is Multiclass, one-hot encode it.

If ftr is OrderedFactor, replace it with coerce(ftr, Continuous) (vector of floating point integers), unless
ordered_factors=false is specified, in which case one-hot
encoded it.

If ftr is Count, replace it with coerce(ftr, Continuous).

If ftr is of some other element scitype, or was not observed in
fitting the encoder, drop it from the table.

If drop_last=true is specified, then one-hot encoding always drops
the last class indicator column.
Warning: This transformer assumes that the Multiclass or
OrderedFactor features in new data to be transformed have the same
underlying CategoricalVector encodings as those during the fit.

Closed in favour of #232


rename app adapter test file

This test file wasn't getting run because its name didn't end in "test.js".

:+1: Good to see you @bantic!  Thanks!

Sure thing @sandersonet :) I sometimes test new versions of code I'm working on against Aptible's ember apps, and I noticed this today when I did so. :)


postDigestQueue poor performances

One of our page is very heavy. To decrease our watcher count and to accelerate the angular digest cycle we are using a lot the On-Time-Binding syntax ::. We are also using angular-bind-notifier to avoid unnecessary watchs over our expressions on this page.
This strategy allowed us to reduce the angular digest cycle considerably.
But this strategy has one down side:  It uses the $$postDigest (postDigestQueue) to unwatch the expression after it has been evaluated successfully.
So what ?
At the end of the digest, angular will run through the postDigestQueue. As we used a lot of On-Time-Binding expressions, our postDigestQueue can grow up to more than 100 000 queued tasks.
The problem is that angular uses the following code to loop over the queue:
while (postDigestQueue.length) {
  try {
    postDigestQueue.shift()();
  } catch (e) {
    $exceptionHandler(e);
  }
}

The shift method removes the element at the zeroeth index and shifts
the values at consecutive indexes down, then returns the removed
value.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/shift

Yes, Array.prototype.shift() is a very expensive call when there is a lot of elements in the array.
Our digest cycle will sometimes take more than 20 seconds because of that.
When we change the previous code with the following one, it is way faster:
for (var i = 0; i < postDigestQueue.length; i++) {
  try {
    postDigestQueue[i]();
  } catch (e) {
    $exceptionHandler(e);
  }
}
postDigestQueue.length = 0;

Is there a reason why they did that ?
Shouldn't we use that much the one time binding ?
I could see one reason: if a task add itself a need task in the queue. Is is possible ? ($$postDigest is a private queue) An answer would be to use popinstead of shift if the order of execution is not important, but is it ?
Edit: The order seems important because the postDigestQueue is used with the animations.

One way to see if a change to the code causes any problems is to make the change in the code and the run the tests to see if any of them fail. You can open a PR with the change, and Travis will run the tests if you can't do it locally.
Generally I'd say if you have 100.000 queued tasks then even one-time binding won't help much. I'm not sure though if you really have 100.000 one-time bindings on the page. But that's definitely a lot.

The order of execution is definitely important. I guess the purpose of using shift is exactly to be able to add more items in the $$postDigest queue that will be executed before other tasks. Since this is a private API, I would be OK changing this "contract" if we are not using it internally.
If this provides any noticeable speedup, I beieve it is a change worth making. It is indeed a shame that one-time bindings cause a slow-down (even if just a tiny one).
FWIW, I agree with @Narretz, that 100K tasks sound like too many. But we shouldn't need 20s either :smiley:

For some reason tests fail if I use this code:
for (var i = 0; i < postDigestQueue.length; i++) {
  try {
    postDigestQueue[i]();
  } catch (e) {
    $exceptionHandler(e);
  }
}
postDigestQueue.length = 0;

But the tests pass with #14545.

We merged a perf improvement that will be in the next 1.5.x release, see https://github.com/angular/angular.js/commit/cb2f8c0d75bde9ac91f4129e871ff4a8301871f3 I don't have numbers but it should speed up large post digest queues


New-NavContainer -assignPremiumPlan and Entitlements?

Describe the issue
After reading throught Working with Development Sandboxes and Entitlements I created a docker container with New-NavContainer -assignPremiumPlan.
In the real cloud environment, the entitlements said that I wasn't allowed to modify the Sales Shipment Header directly. In my example report the permission wasn't set.

When I run my exsample report in a real cloud environment. This will cause an error as expected.

When I do the same in the cloud sandbox docker container, the report can change the Sales Shipment Header though. So when we are developing something, we have no way of knowing if my developed solution will work the same way in the real cloud environment.

I've created a Cloud Sandbox with a premium user plan and I'm wondering why this Docker container doesn't behave like the real thing?

Scripts used to create container and cause the issue
New-BcContainer `
    -accept_eula `
    -alwaysPull `
    -updateHosts `
    -containername assignPremiumPlan `
    -artifactUrl "https://bcartifacts.azureedge.net/sandbox/22.4.59114.60133/de" `
    -PublicDnsName dockerhub.company.org `
    -useSSL `
    -useTraefik `
    -shortcuts None `
    -myscripts @("C:\ProgramData\company\SetupCertificate.ps1", "C:\ProgramData\company\companySSL.PFX") `
    -auth NavUserPassword `
    -Credential $credential `
    -licenseFile "C:\ProgramData\company\dockerLicenseFiles\lic.bclicense" `
    -assignPremiumPlan

Full output of scripts
BcContainerHelper is version 5.0.3
BcContainerHelper is running as administrator
HyperV is Enabled
UsePsSession is True
Host is Microsoft Windows Server 2019 Standard - 10.0.17763.4737
Docker Client Version is 19.03.5
Docker Server Version is 19.03.5
Removing Desktop shortcuts
Fetching all docker images
Fetching all docker volumes
Enabling SSL as otherwise all clients will see mixed HTTP / HTTPS request, which will cause problems e.g. on the mobile
 and modern windows clients
Pulling image mcr.microsoft.com/businesscentral:10.0.17763.4737
10.0.17763.4737: Pulling from businesscentral
Using image mcr.microsoft.com/businesscentral:10.0.17763.4737
PublicDnsName is dockerhub.company.org
Creating Container assignPremiumPlan
Style: sandbox
Multitenant: Yes
Version: 22.4.59114.60133
Platform: 22.0.60117.0
Generic Tag: <IP_ADDRESS>
Container OS Version: 10.0.17763.4737 (ltsc2019)
Host OS Version: 10.0.17763.4737 (ltsc2019)
Using process isolation
Using locale de-DE
Adding special CheckHealth.ps1 to enable Traefik support
Disabling the standard eventlog dump to container log every 2 seconds (use -dumpEventLog to enable)
Using license file C:\ProgramData\company\dockerLicenseFiles\lic.bclicense
Additional Parameters:
-e webserverinstance=assignPremiumPlan
-e publicdnsname=dockerhub.company.org
-l "traefik.protocol=https"
-l "traefik.web.frontend.rule=PathPrefix:/assignPremiumPlan"
-l "traefik.web.port=443"
-l "traefik.soap.frontend.rule=PathPrefix:/assignPremiumPlansoap;ReplacePathRegex: ^/assignPremiumPlansoap(.*
) /BC$1"
-l "traefik.soap.port=7047"
-l "traefik.rest.frontend.rule=PathPrefix:/assignPremiumPlanrest;ReplacePathRegex: ^/assignPremiumPlanrest(.*
) /BC$1"
-l "traefik.rest.port=7048"
-l "traefik.dev.frontend.rule=PathPrefix:/assignPremiumPlandev;ReplacePathRegex: ^/assignPremiumPlandev(.*) /
BC$1"
-l "traefik.dev.port=7049"
-l "traefik.snap.frontend.rule=PathPrefix:/assignPremiumPlansnap;ReplacePathRegex: ^/assignPremiumPlansnap(.*
) /BC$1"
-l "traefik.snap.port=7083"
-l "traefik.dl.frontend.rule=PathPrefixStrip:/assignPremiumPlandl"
-l "traefik.dl.port=8080"
-l "traefik.dl.protocol=http"
-l "traefik.enable=true"
-l "traefik.frontend.entryPoints=https"
--env customNavSettings=PublicODataBaseUrl=https://dockerhub.company.org/assignPremiumPlanrest/odata,PublicSOAPBaseUrl=https://dockerhub.company.org/assignPremiumPlansoap/ws,PublicWebBaseUrl=https://dockerhub.company.org/assignPremiumPlan
Files in C:\ProgramData\BcContainerHelper\Extensions\assignPremiumPlan\my:
- AdditionalOutput.ps1
- CheckHealth.ps1
- license.bclicense
- MainLoop.ps1
- companySSL.PFX
- SetupCertificate.ps1
- SetupNavUsers.ps1
- SetupVariables.ps1
- updatehosts.ps1
Creating container assignPremiumPlan from image mcr.microsoft.com/businesscentral:10.0.17763.4737
5d1ebf08f7b781775698647003d3518201875faa7378adcdf4a1eebadaa31106
Waiting for container assignPremiumPlan to be ready
Adding DAGO-ASSIGNPREM to hosts file
Using artifactUrl https://bcartifacts.azureedge.net/sandbox/22.4.59114.60133/de
Using installer from C:\Run\210-new
Installing Business Central
Installing from artifacts
Starting Local SQL Server
Starting Internet Information Server
Copying Service Tier Files
c:\dl\sandbox\22.4.59114.60133\platform\ServiceTier\Program Files
c:\dl\sandbox\22.4.59114.60133\platform\ServiceTier\System64Folder
Copying PowerShell Scripts
c:\dl\sandbox\22.4.59114.60133\platform\WindowsPowerShellScripts\Cloud\NAVAdministration
c:\dl\sandbox\22.4.59114.60133\platform\WindowsPowerShellScripts\WebSearch
Copying Web Client Files
c:\dl\sandbox\22.4.59114.60133\platform\WebClient\Microsoft Dynamics NAV
Copying ModernDev Files
c:\dl\sandbox\22.4.59114.60133\platform
c:\dl\sandbox\22.4.59114.60133\platform\ModernDev\program files\Microsoft Dynamics NAV
Copying additional files
Copying ConfigurationPackages
C:\dl\sandbox\22.4.59114.60133\de\ConfigurationPackages
Copying Test Assemblies
C:\dl\sandbox\22.4.59114.60133\platform\Test Assemblies
Copying Extensions
C:\dl\sandbox\22.4.59114.60133\de\Extensions
Copying Applications
C:\dl\sandbox\22.4.59114.60133\platform\Applications
Copying Applications.DE
C:\dl\sandbox\22.4.59114.60133\de\Applications.DE
Copying dependencies
Copying ReportBuilder
Importing PowerShell Modules
Restoring CRONUS Demo Database
Setting CompatibilityLevel for tenant on localhost\SQLEXPRESS
Exporting Application to CRONUS
Removing Application from tenant
Modifying Business Central Service Tier Config File for Docker
Creating Business Central Service Tier
Installing SIP crypto provider: 'C:\Windows\System32\NavSip.dll'
Starting Business Central Service Tier
Importing license file
Copying Database on localhost\SQLEXPRESS from tenant to default
Taking database tenant offline
Copying database files
Attaching files as new Database default
Putting database tenant back online
Mounting tenant database
Mounting Database for default on server localhost\SQLEXPRESS with AllowAppDatabaseWrite = False
Sync'ing Tenant
Tenant is Operational
Stopping Business Central Service Tier
Installation took 306 seconds
Installation complete
Initializing...
Setting host.containerhelper.internal to <IP_ADDRESS> in container hosts file
Starting Container
Hostname is assignPremiumPlan
PublicDnsName is dockerhub.company.org
Using NavUserPassword Authentication
Certificate File Thumbprint 28EAC4018B94AB194E7F1E3FE451385C82C3AC1F
Import Certificate to LocalMachine\my
Modifying Service Tier Config File with Instance Specific Settings
Modifying Service Tier Config File with settings from environment variable
Setting PublicODataBaseUrl to https://dockerhub.company.org/assignPremiumPlanrest/odata
Setting PublicSOAPBaseUrl to https://dockerhub.company.org/assignPremiumPlansoap/ws
Setting PublicWebBaseUrl to https://dockerhub.company.org/assignPremiumPlan
Starting Service Tier
CertificateThumprint 28EAC4018B94AB194E7F1E3FE451385C82C3AC1F
Registering event sources
Creating DotNetCore Web Server Instance
Using application pool name: assignPremiumPlan
Using default container name: NavWebApplicationContainer
Copy files to WWW root C:\inetpub\wwwroot\assignPremiumPlan
Create the application pool assignPremiumPlan
Create website: NavWebApplicationContainer with SSL
Update configuration: navsettings.json
Done Configuring Web Client
Enabling Financials User Experience
Using license file 'c:\run\my\license.bclicense'
Import License
Dismounting Tenant
Mounting Tenant
Mounting Database for default on server localhost\SQLEXPRESS with AllowAppDatabaseWrite = False
Sync'ing Tenant
Tenant is Operational
Creating http download site
Setting SA Password and enabling SA
Creating admin as SQL User and add to sysadmin
Creating SUPER user
Assign Premium plan for ADMIN
Container IP Address: <IP_ADDRESS>
Container Hostname  : assignPremiumPlan
Container Dns Name  : dockerhub.company.org
Web Client          : https://dockerhub.company.org/assignPremiumPlan/?tenant=default
Dev. Server         : https://dockerhub.company.org
Dev. ServerInstance : BC
Dev. Server Tenant  : default
Setting assignPremiumPlan to <IP_ADDRESS> in host hosts file
Setting assignPremiumPlan-default to <IP_ADDRESS> in host hosts file
Setting assignPremiumPlan-default to <IP_ADDRESS> in container hosts file

Files:
http://dockerhub.company.org:8080/ALLanguage.vsix

Container Total Physical Memory is 511.9Gb
Container Free Physical Memory is 236.9Gb

Initialization took 43 seconds
Ready for connections!
Reading CustomSettings.config from assignPremiumPlan
Cleanup old dotnet core assemblies
Container assignPremiumPlan successfully created
Because of Traefik, the following URLs need to be used when accessing the container from outside your Docker host:
Web Client:        https://dockerhub.company.org/assignPremiumPlan
SOAP WebServices:  https://dockerhub.company.org/assignPremiumPlansoap
OData WebServices: https://dockerhub.company.org/assignPremiumPlanrest
Dev Service:       https://dockerhub.company.org/assignPremiumPlandev
Snapshot Service:  https://dockerhub.company.org/assignPremiumPlansnap
File downloads:    https://dockerhub.company.org/assignPremiumPlandl
Health check returns False, restarting container
Removing Session assignPremiumPlan
assignPremiumPlan
Waiting for container assignPremiumPlan to be ready

Initializing...
Setting host.containerhelper.internal to <IP_ADDRESS> in container hosts file
Restarting Container
PublicDnsName unchanged
Hostname is assignPremiumPlan
PublicDnsName is dockerhub.company.org
Using NavUserPassword Authentication
Starting Local SQL Server
Starting Internet Information Server
Starting Service Tier
Container IP Address: <IP_ADDRESS>
Container Hostname  : assignPremiumPlan
Container Dns Name  : dockerhub.company.org
Web Client          : https://dockerhub.company.org/assignPremiumPlan?tenant=default
Dev. Server         : https://dockerhub.company.org
Dev. ServerInstance : BC
Dev. Server Tenant  : default
Setting assignPremiumPlan to <IP_ADDRESS> in host hosts file
Setting assignPremiumPlan-default to <IP_ADDRESS> in host hosts file
Setting assignPremiumPlan-default to <IP_ADDRESS> in container hosts file

Files:
http://dockerhub.company.org:8080/ALLanguage.vsix

Container Total Physical Memory is 511.9Gb
Container Free Physical Memory is 239.7Gb

Initialization took 12 seconds
Ready for connections!
Waiting for tenants to be mounted

Use:
Get-BcContainerEventLog -containerName assignPremiumPlan to retrieve a snapshot of the event log from the containe
r
Get-BcContainerDebugInfo -containerName assignPremiumPlan to get debug information about the container
Enter-BcContainer -containerName assignPremiumPlan to open a PowerShell prompt inside the container
Remove-BcContainer -containerName assignPremiumPlan to remove the container again
docker logs assignPremiumPlan to retrieve information about URL's again
...

report 50100 "Set Package Tracking No."
{
    UsageCategory = ReportsAndAnalysis;
    ApplicationArea = All;
    ProcessingOnly = true;

    dataset
    {
        dataitem(SalesShipmentHeader; "Sales Shipment Header")
        {
            trigger OnAfterGetRecord()
            begin
                SalesShipmentHeader."Package Tracking No." := 'Test';
                SalesShipmentHeader.Modify();
                Message('Sales Shipment Header successfully modified.');
                CurrReport.Break();
            end;

        }
    }
}

@DanielGoehler , i wonder if you found answer to your question. Ran into the same question today :)

@gntpet Unfortunately, there is still no solution.


github-release: 0.6.2 -> 0.7.2

Semi-automatic update. These checks were done:

built on NixOS
ran /nix/store/xs14bywjij7rdz2drjgfz17fxmlxgcqm-github-release-0.7.2/bin/github-release -h got 0 exit code
ran /nix/store/xs14bywjij7rdz2drjgfz17fxmlxgcqm-github-release-0.7.2/bin/github-release --help got 0 exit code
ran /nix/store/xs14bywjij7rdz2drjgfz17fxmlxgcqm-github-release-0.7.2/bin/github-release --version and found version 0.7.2
found 0.7.2 with grep in /nix/store/xs14bywjij7rdz2drjgfz17fxmlxgcqm-github-release-0.7.2
found 0.7.2 in filename of file in /nix/store/xs14bywjij7rdz2drjgfz17fxmlxgcqm-github-release-0.7.2

cc @ardumont

Success on x86_64-darwin (full log)
Partial log (click to expand)
these paths will be fetched (1.81 MiB download, 1.81 MiB unpacked):
  /nix/store/8zy07hfahkvb5sw2vp40hwyal5lwl7f7-darwin-amd64-github-release.tar.bz2
copying path '/nix/store/8zy07hfahkvb5sw2vp40hwyal5lwl7f7-darwin-amd64-github-release.tar.bz2' from 'https://cache.nixos.org'...
building '/nix/store/a6giqm68b9wqgk167di0niqfzq9hbxy8-github-release-0.7.2.drv'...
unpacking sources
unpacking source archive /nix/store/8zy07hfahkvb5sw2vp40hwyal5lwl7f7-darwin-amd64-github-release.tar.bz2
source root is bin
setting SOURCE_DATE_EPOCH to timestamp<PHONE_NUMBER> of file bin/darwin/amd64/github-release
installing
/nix/store/d1sqwv4qrb7xcfsgi1w0qkr1rxrabkv0-github-release-0.7.2

Failure on aarch64-linux (full log)
Partial log (click to expand)
error: while evaluating the attribute 'installPhase' of the derivation 'github-release-0.7.2' at /var/lib/gc-of-borg/nix-test-rs-30/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-aarch64-community-30/pkgs/stdenv/generic/make-derivation.nix:148:11:
assertion failed at /var/lib/gc-of-borg/nix-test-rs-30/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-aarch64-community-30/pkgs/development/tools/github/github-release/default.nix:7:14

Success on x86_64-linux (full log)
Partial log (click to expand)
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100   624    0   624    0     0   4837      0 --:--:-- --:--:-- --:--:--  4837

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 2324k  100 2324k    0     0  4034k      0 --:--:-- --:--:-- --:--:-- 5943k
building path(s) ‘/nix/store/xs14bywjij7rdz2drjgfz17fxmlxgcqm-github-release-0.7.2’
unpacking sources
unpacking source archive /nix/store/ks47172n2vzg52pwfdm252xbjl8z3nsq-linux-amd64-github-release.tar.bz2
source root is bin
setting SOURCE_DATE_EPOCH to timestamp<PHONE_NUMBER> of file bin/linux/amd64/github-release
installing
/nix/store/xs14bywjij7rdz2drjgfz17fxmlxgcqm-github-release-0.7.2

I'll leave this open for a little bit in case someone wants to use this as the base for updating the other architecture versions, but as-is this shouldn't be merged.


Navigator panel had 1 px visible line on screen.

You can just commit directly to master instead, to avoid triggering extra CI builds


Support minecraft 1.17.1

Shouldn't be that difficult of a change, should hopefully just require bumping the version on the gradle.properties

done!
was a bit more than that (loom 8+ required a change in the build.gradle), but was easy enough


Added option to generate actual abstract classes for abstract OPC UA DataTypes

As mentioned in https://github.com/OPCFoundation/UA-ModelCompiler/issues/149 the modelcompiler currently can not properly generate abstract datatypes.
This is due to the missing abstract keyword in the generated code - see full explanation in the linked issue.
To fix this, I've simply added a placeholder to the classes template the allows the code generator to add the abstract keyword, if the datatype thats being generated is abstract. If it's not abstract, the placeholder is simply removed.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Checked in a fix without using the pull request.


Allow the user to evaluate the objective function using the Hessian matrix, it should be noted that the Hessian_approximation option of ipopt must be modified to exact

Allow the user to evaluate the objective function using the Hessian matrix, it should be noted that the Hessian_approximation option of ipopt must be modified to exact

I am not sure what is up with the diff. Can you rebase on dev?

Ok, I'll create a new branch. If diff still not work, please tell me what your Diff shows


help

can ini.but kannot receive message.help me

This is not in any way a good issue and it should be closed. If you want help, ask a proper question without spelling mistakes in every second word and add a meaningful title.


A place to share configs?

We could even do it here, here's what i've added to mine:
fallback = ''

[matching]
'discord' = ''
'balena-etcher' = ''
'Chia Blockchain' = ''
'Steam' = ''
'vlc' = ''
'org.qbittorrent.qBittorrent' = ''
'Thunderbird' = ''
'thunderbird' = ''
'Postman' = ''
'Insomnia' = ''
'Bitwarden' = ''
'Slack' = ''
'Code' = ''
'code-oss' = ''
'Spotify' = ''
'/NVIM ?\w*/' = ''
'/npm/' = ''
'/node/' = ''
'/yarn/' = ''
'Alacritty' = ''
'telegramdesktop' = ''
'Telegram' = ''
'Wfica' = ''
'org.remmina.Remmina' = ''
'SchildiChat' = ''
'Element' = ''
'nheko' = ''
'/Firefox .*Private Browsing/' = ''
'/(?i)Google Drive.*Firefox/' = ''
'/(?i)Google Calendar.*Firefox/' = ''
'/(?i)MAX.*Iridium/' = ''
'/(?i)Dashboards -.*Iridium/' = ''
'/(?i) youtube.*Firefox/' = ''
'// Twitter.*Firefox/' = ''
'/ eBay.*Firefox/' = ''
'/(?i)reddit.*Firefox/' = ''
'/(?i)drive.*Firefox/' = ''
'/(?i)play.*Firefox/' = ''
'/(?i)Github.*Firefox/' = ''
'/Google.*Firefox/' = ''
'/.exe/' = ''
'yakyak' = '🙷'
'copyq' = ''
'Microsoft Teams - Preview' = ''
'clonehero' = ''
'/trash:/ .*Dolphin/' = ''
#'/home/.*Documents – Dolphin/' = ''
'org.kde.dolphin' = ''
'/home/.*Dolphin/' = ''
'org.kde.ark' = ''
'firefox' = ''
'Nightly' = ''
'firefoxdeveloperedition' = ''
'Google-chrome' = ''
'Chromium' = ''
'Chromium-browser' = ''
'org.kde.kcharselect' = ''
'Zim' = ''
'image-roll' = ''
'pavucontrol' = ''
'obs' = ''
'galculator' = '🖩'
'mpv' = '🎞'
'yuzu' = ''
'rpcs3' = ''
'blueberry.py' = ''
'com.github.wwmm.easyeffects' = ''
'citra' = ''
'wdisplays' = '🖵'
'Pinta' = '🖌'
'dolphin-emu' = ''
'GParted' = '🖴'
'/GParted/' = '🖴'
'stoken-gui' = ''
'polkit-gnome-authentication-agent-1' = ''
'org.inkscape.Inkscape' = '🖋'
'audacity' = ''

Oooh that's a great idea. I don't think you need to include the whole default config in your file, though; I specified only my patterns and the default ones still work. Anyway here's my modest one so far:
[matching]
'foot' = ''
'org.qutebrowser.qutebrowser' = ''
'WhatsAppQT' = ''
'Ardour-6.9.0' = '🎵'

# this one will catch PDFs opened by Emacs as well, but it has to be specified before the catch-all emacs line
'/pdf/' = ''
'emacs' = ''

Here's a couple more useful ones:
'anki' = { type = 'generic', value = ''}
'/(?i)settings*/' = { type = 'generic', value = ''}
'/(?i)calendar*/' = { type = 'generic', value = ''}

I made a discussion place for this: https://github.com/Lyr-7D1h/swayest_workstyle/discussions/28
Feel free to share there!


Masking Coefficients?

Hi Patrick,
Thanks for all your work with Diffrax and torchcde.
I noticed that for each time step in a two channel time series dataset, there are 4 coefficients associated with that particular time step (so 10 time steps would have 40 coefficients per example in batch).
To this end, I am attempting to incorporate a Neural CDE with a Transformer Decoder and wanted to apply masking on the coefficients to avoid any lookahead bias with the CDE model. My question then is if this is something that can be done?
My immediate thought would be reshaping the coefficients into a (batch_size, 4, 10) matrix and trying to find some way to use a (10, 10) tril mask and unsqueeze to pass into a CubicSpline interpolation, but I'm not sure how exactly this could be done.
Any help with this would be greatly appreciated!
Thanks,
Aashish

Take a look at https://arxiv.org/abs/2106.11028 and https://docs.kidger.site/diffrax/api/interpolation/. These discuss handling causality in the input.
(It's quite complicated, unfortunately!)

Thanks Patrick! Appreciate those two resources. Since I'm doing discretely online prediction, I've chose to stick to the hermite cubic splines and make use of the z_T output of the model at each time step to ensure that there isn't any look ahead bias in making predictions.
I have a question with the z_T matrix though: the documentation mentions that the shape should be a tensor of shape (..., len(t), hidden_channels) whereas I'm observing with my data that even with an X.interval of [0, 8], I'm getting a z_T with a last dimension of 8, not a second to last dimension of 8.
Is this an indication that I've done something wrong? I'm not sure why I'm not getting an output for each time step.


Improve a view of extra fields in SlackHandler.

SlackHandler supported extra fields in v1.12.0.
But the all of extra fields is set into an 'Extra' field. So, it's hard to see each extra field.

Do you have a before/after screenshot of how this renders in slack maybe?

before (v1.12.0)

after(this PR)

#507 fixed it in a better way I believe so closing this, you just need to set $includeExtra to true in the constructor.


[feature] Transactions API

If you send a pull request with transaction support, I will merge. At the moment the this library supports upstream batch operations.


Use h5py by default, fixes 35

tests pass, should we merge this?
This only changes a human interface, nothing that could really break.
Ah, I only realize ... should we update something in a README or so about this change?