As a student I want to submit my A4 Popular to Canvas

Description
The A4 popular is a professional skills requirement. The first deadline is on June 3rd.
https://canvas.tue.nl/courses/25283/assignments/119426
For a LaTeX template see the discord channel links-documents-saves, as currently there is not yet a template (besides pdf) available.
Currently we are waiting on the result of the handed in A4 Populars, check of when the A4 Popular has been marked as 'Complete' in canvas. If you receive an incomplete please work on improving and resubmitting.
Acceptance Criteria

[ ] T.T.A. Egberts
[ ] C. Fildan
[ ] V. Hategan
[ ] T.M.J. Nagel
[ ] M.R. den Ouden
[ ] R.M. den Ouden
[ ] T. Peters
[ ] R. Pilaar
[ ] A.T. Popescu
[ ] B.N.C. Sanders
[ ] E.T.S. Zandbelt

Everyone submitted their A4s. Task will be completed when everyone receives their feedback.


fix(MapValidator): Remove unnecessary linting

Description

Removes linting of variables in http call except input and do not validate types of arguments in inline call against result.
Motivation and Context

Wrong linting errors.
Types of changes

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

Checklist:

[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTION_GUIDE document.
[x] I haven't repeated the code. (DRY)
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

pls don't merge until i look at it and create dev branch (thursday)

@lukas-valenta we plan to take a look at linting and its bugs at the end of the week  👍

i'm not sure this is the right approach. you process the url parameters as typescript, which is not how it's processed in onesdk. i think the approaches should be similar. so what i think this should do:

check the parameters with regex
for each of them: split them into path
check if we have access to variable with that path
check if the path is correct, e.g. if we have input.something.x and something is scalar, it should pass, if something is number, it should not

Yeah I know it's bad, but I think it should be part of constant folding solution in the future. I store variables only if they were set before. Input, operation or http call variables are not stored in stack, they're checked within jessie expression visit function. This same validation of input is done in constructs so I'll remove it and let you know.

@lukas-valenta it's still the same approach and it doesn't process expressions in Url as sdk does, but it would take lot of  time to refactor it. It should be refactored in the end though, considering validator chain ADR.

we're not doing validator chain, not now and maybe not ever. this looks okay in the tests, so i guess it's good enough for now

@lukas-valenta I updated custom jest matcher to be able to receive array of errors, you can have final look at it before merge? I did same thing in #82, #81, #80, #78.


Rename project_template homepage to "Home"

I think it's a better name. Feel free comment/close if you disagree.

I prefer this.
AFAIK the title of this page doesn't get translated. Should it?

Unfortunately, it's a field. So that'll be a job for wagtail-trans or wagtail-modeltranslation

I guess this only affects the person who runs wagtail start, and they probably wouldn't have got as far as setting up Wagtail without knowing enough English to follow the instructions. Either way, it shouldn't block this PR.

Merged in c900f71117b15ecc61931eee98c30432a9d8a188


Always requests Sonnet in the API call despite Ollama being set in interface

Describe the bug

Link to the Bolt URL that caused the error
http://localhost:5173/chat/9
Steps to reproduce

Serve and run Ollama Qwen or other model
Start Bolt
Set Bolt provider and model to Ollama and Qwen
Make a request
Terminal out put show error above. Trying to set Sonnet

Expected behavior
Should look for the model set in the dropdown
Screen Recording / Screenshot
No response
Platform

OS: Win 11
Browser: Chrome
Version:

Additional context
No response

Same for me


Improve Schema Generation for Subscriptions

Purpose
Fixes:
Examples
Checklist

[ ] Linked to an issue
[ ] Updated the changelog
[ ] Added tests
[ ] Updated the spec

 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.


Frontend CI/CD for backend developers  - Guide and Recorded demo

A guide that shows a frontend CI/CD for backend developers. For example, frontend and backend build and test.
To-do:

[ ]  Guide
[ ]  Demo Video (don't start recording until guide contents is approved)

@mircubed is this still up-to-date?


"Collection was modified; enumeration operation may not execute."

Impossible to get past the following error on start:
System.InvalidOperationException: 'Collection was modified; enumeration operation may not execute.'
I understand this has to do with a kind of "circular binding" (perhaps not the right phrase) because the modified by adding FilteredList feeds to the binding??
Surely, there must be a workaround for this issue and wondering what you suggest. Otherwise this is a great contribution.
With thanks.

Hello,
Thanks for the feedback.
Could you provide a sample with that escribed problem, or the code that you are executing that is generating this error?

Hello,
Please find a sample project downloadable from my OneDrive storage with the link at the end below.
Type in a bit faster in the AutoComplete Editor and an exception will be throw.
Error: System.InvalidOperationException: 'Collection was modified; enumeration operation may not execute.'

net.70 project
Visual Studio Community 17.7.4
Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.25951
 OS Platform: Windows
 RID:         win-x64

Sample project file

Hello @dg2k
Thanks for the sample.
I haven't been able to look at it yet. Sorry.
Just wantde to let you know that this is not forgotten, and I'll look at it when I find a bit a time.

Hello again.
In which platform was this problem occurring?

Hi, I am also having this issue. Platform my end is Android, with .NET 7.

I'm having this issue too. The control doesn't work for me on Android due to this error.

This happens for me when calling .Clear() on the ObservableCollection that the control is bound to.
I had to change to not using .Clear() and .AddRange() to solve this bug.
This code works for me:
[ObservableProperty]
private ObservableCollection<School> filteredList = new();

public Command<string> TextChangedCommand => new(FilterList);
private void FilterList(string filter)
{
        SelectedSchool = null;
        FilteredList = new();

        if (filter.Length >= 3)
        {
            FilteredList = new ObservableCollection<School>(AllSchools.Where(s => s.Name.ToLower().Contains(filter.ToLower())).Take(10));
        }
}

I've recently changed the sample to stop using the AddRange in the filtered list, and instead, set a new list instance, as @donatellijl12 described.
Closing this issue for now. Thanks for the feedback!


New repository proposal: sdg

This document includes a proposal for a new repository which contains
a Python library focused on Synthetic Data Generation (SDG). This is a
discreet area of functionality that can evolve on its own with its own
group of contributors and maintainers.
Signed-off-by: Russell Bryant<EMAIL_ADDRESS>

@russellb Can we add a bit about creating a new SDG Triager/Maintainer team, in line with the scheme we have for the CLI teams? These team will be responsible for triaging, maintenance, releases, etc.
Alternatively this can be a proposal to the community repo CONTRIBUTORING_ROLES.md doc once the new repo is created.

I wonder if anyone can come up with a less cryptic name than SDG, but I don't have a good suggestion (data-gen or synth-data... etc don't thrill me)

Dumb question - why don't we just call it synthetic-data-generation? It does what it says on the tin.

Honestly I'm not opposed to @lhawthorn's suggestion or something like synthetic-datagen

I would prefer a rough mapping to the Python package included in the repo. This proposal was instructlab/sdg for the instructlab-sdg package. For the other name suggestions, a PyPI check to see if it can also be the Python package name would be good. It would also be helpful to know if the name suggestions are brainstorming or a “-1” for the proposed name.
Naming is hard.

big +1 to moving away from git submodules for the schema - a package on pypi makes sense to me

+1 to this as well

OK, I'll start some work towards this end.

https://github.com/instructlab/sdg


Setup deployment to live environment.

The puzzle 1-f7fafd1b from #1 has to be resolved:
https://github.com/codeforthailand/election-live/blob/12cc5ec75942427a48303dacff7356b138bc3970/.circleci/config.yml#L42-L42
The puzzle was created by Thai Pangsakulyanont on 19-Mar-19.
If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.

yay

The puzzle 1-f7fafd1b has disappeared from the source code, that's why I closed this issue.


[bug] Landing Page content overlaps with navbar

assign this to me under gssoc-ext and hacktoberfest

assigned


Adding support for case insensitive metadata keys on encrypted blobs

Description
Adding support for the encryption metadata key encryptiondata to be case-insensitive, which is used for Blobs client-side encryption.

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

Also please update the changelogs.

/check-enforcer override

Overriding since failing tests are unrelated to the changes made.


Add first layer of compatibility with new GEO Semi camera

WORK IN PROGRESS --- DO NOT MERGE

@po1 This repo's Travis CI is outdated I think. It uses the travis playbook, which, among other outdated things, refers to a webrtc role that I don't think is there any more. We can either try to update it or switch to the Docker-based CI approach (i.e., run CI in the gizmo_base Docker image)


Before update the tr_loss, make sure tr_loss_step is in the same device.

What does this PR do?

Fixes: https://github.com/huggingface/trl/issues/958
Fixes: https://github.com/huggingface/trl/issues/1399
It's a very strong assumption that tr_loss and tr_loss_step are on the same device. arg.device may not be as same as the current device.
For example, the dpo_trainer is child class of trainer. If you are running a DPO training job with one node multiple GPUs. If you set the device_map='auto'. The tr_loss_step could be on different device after computing the dpo_loss.
Based on the feedback of @guy1992l, @younesbelkada, @amyeroberts, I have open a PR in the transformers Trainer class to do a assert checking.
https://github.com/huggingface/transformers/pull/29695
This PR is put the tr_loss_step to the self.args.device before update.
Before submitting

[ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[x] Did you read the contributor guideline,
Pull Request section?
[x] Was this discussed/approved via a Github issue or the forum? Please add a link
to it if that's the case.
[ ] Did you make sure to update the documentation with your changes? Here are the
documentation guidelines, and
here are tips on formatting docstrings.
[ ] Did you write any new necessary tests?

Who can review?
@younesbelkada
@amyeroberts
@guy1992l
Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.

just double checking @kashif is this all good in your opinion?


_.deepSet(...) does not have the exact same behavior as _.set(...)

There is slight difference between lodash-deep _.deepSet(...) and lodash _.set(...).
With lodash _.set if an object property that you wish to set in the future is a string or number and then try to set it with an assumption that it is an object with properties it will silently err and not actually set the value. _.deepSet however will ignore the type of the originally initialized value and will set it with whatever you set (i.e. change the original value to an object with its associated properties).
Example:

/*
    _.set(...) === _.deepSet(...) if setting same type (i.e. Number -> Number)
*/
var obj = { 'a': [{ 'b': { 'c': 3 } }] };
console.log(obj.a[0].b.c) // prints out 3

// _.set(...) === _.deepSet(...)
// in this case
_.set(obj, 'a[0].b.c', 4000);
console.log(obj.a[0].b.c) // prints out 4000

/*
   _.set(...) !== _.deepSet(...) if setting different type (i.e. String -> Object)
*/
var obj = { 'a': [{ 'b': { 'c': '' } }] };
console.log(obj.a[0].b.c) // prints out empty string

// _.set(...) !== _.deepSet(...)
// in this case
// here we are treating 'c' as an object with a property
_.set(obj, _.set(obj, 'a[0].b.c.someProp', 4000);
console.log(obj.a[0].b.c) // still prints out empty string

// however _.deepSet(...) will set fine
_.deepSet(obj, _.set(obj, 'a[0].b.c.someProp', 4000);
console.log(obj.a[0].b.c) // prints out an Object { someProp: 4000 }

This isn't so much a bug, as much as an instance where the two are not exactly the same so it might be worth noting in the documentation somewhere. I'm open to creating a PR to modify the docs or if the main contribs for lodash-deep wish to increase parity between the two then I don't mind creating a PR for that as well.

I think it would be best to create a 2.0 version of lodash-deep, from which all methods which are covered by Lodash itself are removed (which is nearly everything).

I'm all for that solution


wip summed pauli op

Summary
Details and comments

Pull Request Test Coverage Report for Build 367368826

160 of 210 (76.19%)  changed or added relevant lines in 18 files are covered.
15 unchanged lines in 5 files lost coverage.
Overall coverage decreased (-0.05%) to 83.459%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

qiskit/aqua/operators/primitive_ops/pauli_op.py
8
9
88.89%

qiskit/aqua/operators/primitive_ops/primitive_op.py
4
8
50.0%

qiskit/aqua/operators/evolutions/evolved_op.py
10
15
66.67%

qiskit/aqua/operators/primitive_ops/summed_pauli_op.py
102
142
71.83%

Files with Coverage Reduction
New Missed Lines
%

qiskit/aqua/operators/primitive_ops/pauli_op.py
1
91.28%

qiskit/aqua/operators/primitive_ops/primitive_op.py
1
78.52%

qiskit/aqua/operators/state_fns/cvar_measurement.py
1
81.82%

qiskit/aqua/operators/list_ops/summed_op.py
5
83.33%

qiskit/aqua/operators/list_ops/list_op.py
7
84.54%

Totals

Change from base Build 366378047:
-0.05%

Covered Lines:
23981

Relevant Lines:
28734

💛  - Coveralls


fix(image): Once image is imported, not reconcile LH backing image an…

Problem:
To introduce image virtual size https://github.com/harvester/harvester/pull/5387, the VM image controller has a new behavior: it will sync with the LH backing image even if the VM image is already imported, this aims to update the virtual size for existing VM images, which is upgraded from previous Harvester version.
However, for issue #6894, the above behavior could leave the VM image stuck in a temporary state, as the controller does not always sync with the LH backing image.
Since https://github.com/harvester/harvester/blob/5bf33f8410e88310f41b23ba56f01c14e9add62e/pkg/controller/master/image/vm_image_controller.go#L53-L93 also handle the VM image virtual size both for the newly creation and upgrade case, we can rollback VM image controller's behavior: only sync with LH backing image during the create phase.
In addition, issue #6936 is for improving the sync logic between the VM image and LH backing image
Solution:
Only sync with LH backing image during the create phase
Related Issue:
#6894
Test plan:

Preparing a v1.3.2 Harvester cluster
Creating two images
Upgrading Harvester to this PR
Existing images should be in an active state with valid virtual size
Creating new images, the images should transit to an active state with the valid virtual size

@mergify backport v1.4


SvelteNativeDom: set attribute threw an error, attr:left on image: Invalid value:

Any ideas why this message would be thrown? I cannot narrow down the problem yet.

what value were you trying to set on image?

It looks like the valid values look like either  "auto" or "40dip" or "40px" or "40" (where 40 is some number)


audio2audio?

I would like train AudioLM in an audio2audio setting. i.e. instead of taking a prime wave and continuing it, instead taking audio and transforming it to audio, probably of the same length.
Would that extension by possible?

yea, i think so, as long as you build your dataset with the two audio spliced together. if the first audio segment is of constant length, i don't see why the transformer would not learn. if it isn't constant, you could separate them with some audio cue (or more appropriately with some delimiter token)

@lucidrains Okay so you're saying fine-tune on a dataset with input, output spliced.
Do you mind explaining in a little more detail?
If I want to pretrain on general purpose audio and then fine-tune on this dataset, could you provide rough pseudocode?


Fix embassy hangs

Needs more investigation.
At least x035 works now.
Fix #71

ch32v203 is also working.

Sorry, typo in my comment above: I meant to write v203, there is no v302 (AFAIK anyway).

FWIW https://github.com/embassy-rs/embassy/commit/9e6e09a8d747ec90aae215df8471dfe349993487

I plan to merge this after addressing the comment fixes. This update will resolve issues with the blinky example and other lower-speed peripherals. And it does not block the spin-executor. @Dummyc0m


Support --ignore-long-lines

pylint has --ignore-long-lines to specify a regular expression for a line that is allowed to be longer than the limit.
> pylint --help
  ...
  --ignore-long-lines <regexp>
    Regexp for a line that is allowed to be longer than the limit. (default: ^\s*(# )?<?https?://\S+>?$)

This option is useful when you insert a comment containing a very long URL.
# For more information, see https://very/long/URL/very/long/URL/very/long/URL/very/long/URL

As an alternative, should we just allow long lines that end in a URL?

Agreed!


Correction for raw affiliation GREThA UMR 5113 Université Montesquieu Bordeaux IV C

Correction needed for raw affiliation GREThA UMR 5113 Université Montesquieu Bordeaux IV C
raw_affiliation_name: GREThA UMR 5113 Université Montesquieu Bordeaux IV C
new_rors: 0086zww50;05h5wna09
previous_rors: 0086zww50;03pbgwk21
works_examples: W2154285649
contact: 096227ae318dfb47142937d981c20819:adf5e4943ef031b6ed60ee @ free.fr

This issue was accepted and ingested by the OpenAlex team on 2024-12-19. The new affiliations should be visible within the next 7 days.


Duplicate insert

I am getting duplicate inserts when I have a data set like this:
{ "guid":"a"},
{ "guid":"c"},

Followed by an import on data set like this:
{"guid":"a"},
{"guid":"b"},
{"guid":"c"},

After the first data set is inserted (just a and c) we try to import a new json set with a,b,c:
try to fetch objects a,b,c from managedObjectContext
return objects a,c

compare a==a
update a

compare b==c
insert b

compare c==b
insert c

object c is then duplicated

Classes/MDMCoreDataCore/MDMCoreDataMacros.h

Close


After very few hours unbound seems to stop working

After I've run unbound for very few hours it seems to stop working because I loose internet, I have to restart the service (many times I need first to disconnect the wired connection first and only after that to restart the unbound service and only then reconnect the Ethernet interface to have internet again.)
Fedora 32
unbound-1.10.1-1.fc32.x86_64
unbound.conf.txt

Was about to make the exact same issue. Unbound seems to mark all upstream resolvers as offline, but the recovery time seems to be not be reasonable at all if you have unstable internet.
I don't see which ttl I can adjust in the config to make the forward resolver liveness cache recover more quickly, but in forwarding mode, if all upstreams are marked offline then the cache needs a much quicker way to get invalidated.
Many people are using unbound a DNS over TLS forwarder, and the current behavior makes it impossible to use on laptops without restarting unbound every time it comes out of sleep.


Bootstrap Custom Footer Content text area missing in current develop

not had time to investigate why yet but noticed earlier that in current develop when you add the footer option to a Bootstrap project that didn't already have that option added the text area that is supposed to show labelled Custom Footer Content isn't shown in the editor and so custom footer content can't be created.
Existing projects with custom footer content seem to still work and display the custom footer.
I checked a 3.11 install and it works fine with new projects in 3.11.

@ronm123 I think this was caused by a change I made to editor a while ago to make it possible to have nested groups. I noticed an optional property in XOT had disappeared from a group a while after I made these changes and found it was because now all properties within an optional property group also need to have optional="true" on them. I checked the XOT xwd to make sure there weren't any other instances of properties disappearing (there weren't) but forgot to also check Bootstrap.


✨ [Feature request]: Add Dark Mode

Is your feature request related to a problem? Please describe.
There is no dark mode theme for web users.
Describe the solution you'd like.
Add dark mode theme for web users.
Describe alternatives you've considered.
Also can change the theme of the web from white to any other dark color.
Screenshot / Screenshare
No response
Additional context
No response
Code of Conduct

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

Is your feature request related to a problem? Please describe.
There is no dark mode theme for web users.
Describe the solution you'd like.
Add dark mode theme for web users.
Describe alternatives you've considered.
Also can change the theme of the web from white to any other dark color.
Screenshot / Screenshare
No response
Additional context
No response
Code of Conduct

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

Because may be it is a combination of light mode as well as dark mode

No, I don't agree only the hero image is comfortable for eye when user scrolls down he/she experience entire website in light mode.

I would love to pickup this issue.

Can I pickup this one?

@atapas sir @priyankarpal ma'am can you please assign this issue to me? surely I can do this.


error loading tree: id <VARIOUS ID's> not found in any index

Output of restic version
restic 0.7.3
compiled with go1.9 on windows/amd64

How did you run restic exactly?
.\restic -r b2:<B2_BUCKET_NAME>:school backup "D:\My Documents\School"
With both environment variables set to their applicable values:
B2_ACCOUNT_ID
B2_ACCOUNT_KEY
The following output was seen:
using parent snapshot 27a98a72
scan [D:\My Documents\School]
scanned 240 directories, 2009 files in 0:00
error loading tree: id 8db501448cc184533bb7b6c1140ffed4d7d6081433198900358f8e60b8a19e91 not found in any index
error loading tree: id e7c6023375ad827abfbd21d006c06de669d88b3ee204c7642334ebd0e55f3440 not found in any index
error loading tree: id 570949418d8a7b590b332ac5d1a293159220e7e977836e9f23b118e47f9deb91 not found in any index
error loading tree: id 4ccee502233588f826acadf61541025701bfa983ef02843577f2118c5e9b20fa not found in any index
error loading tree: id 63d5a38a6c1732b8182722b47aae37791db147dd0751b196e982e56983a7bd26 not found in any index
error loading tree: id 0a79f1e41f954ca48b305fcc902dd494b9bf1cb885d08f864279b600ee5d6456 not found in any index
error loading tree: id e62259c2549820f049c2ba428b72606f09e40563eb254ab9b5c41eb6f75f98d8 not found in any index
error loading tree: id 0cccda861703c498f9eeea3b3ed0b3c9c93d0081c160aedb1765b9ebe22d1a6d not found in any index
error loading tree: id 2a8215dc64a3f79f56fb65cf11541b2dd8300b54c88450cb9c3922b27ef5dce6 not found in any index
error loading tree: id 120c25720d54613fedbb408f4e6debfd4602c61733b1887f24be734650486a85 not found in any index
error loading tree: id 799aceed453e4adf84b2178d8446b0b89e5b40c3ab99e14ab047dfab32049515 not found in any index
error loading tree: id 49c0a6a8788c7fb2dc6df291779b500f085945dd3927dd2b36b62d5aca207abd not found in any index
error loading tree: id 7d44af60627ed135789166c23d639758d2052dbb947347c8baecf9b328b77d61 not found in any index
error loading tree: id 09586222e71a58b6157c96e260690c9aa960e6acab2b454d122db155d6297b64 not found in any index
error loading tree: id 6e70a3b03701e032e2236c3ff28c5b95c984d7110aa3f1ba174f4695f34b5490 not found in any index
error loading tree: id 527d8681426a440b06fd6850cbb39dfc82f82871ecab8d5a406ded0ac2a6d464 not found in any index
error loading tree: id e7b9f2165cc1036a5f41db7ac4ff20d3eb27b2432522f926397b613dc9fd6940 not found in any index
error loading tree: id 030d0861cf2d3df800c30c11a44763941a58fc2a4dd276bb076a8469cd6f9dc5 not found in any index
error loading tree: id 3c5c7c1cdf24424e0484a32478252ce4807899124b74c02dc312ce6dd3ef2a29 not found in any index
error loading tree: id 7139fd85551f9d80ee395d4af62ce8c8e3abba522608bfde807638dcb4a631b1 not found in any index
[39:34] 100.00%  90.414 KiB/s  209.614 MiB / 209.614 MiB  2249 / 2249 items  0 errors  ETA 0:00
duration: 39:34, 0.09MiB/s
snapshot b227d925 saved

What backend/server/service did you use?
Backblaze B2
Expected behavior
Was not expecting any errors.
Actual behavior
See sections above for output from command.
Steps to reproduce the behavior
Execute the command above from Windows 10 PowerShell
Do you have any idea what may have caused this?
No, these errors were seen when performing the second snapshot of this backup. There was no change to the source data between the first and second snapshots. I restored the first snapshot and diff'd against the original source data, and it looks good. I did notice that the B2 bucket is now 371 MB, whereas the data that was backed up is only 209 MB.
Do you have an idea how to solve the issue?
No

Thanks for the report. Can you reproduce the issue (fresh repo, first backup works, second backup shows the errors)? Does it happen every time?

Hello, unfortunately I was unable to reproduce this issue on B2 with a fresh repo and multiple backups to that fresh repo.

@man-deli Can you please provide the technical information like you did in your initial post? I suppose you're running with a newer restic and what not. FYI, the latest version is 0.8.3, try reproducing it with that for starters, please report back with technical info if the problem persists.

Thanks for the feedback, a bit more details would be nice (at least the restic version). I suspect you ran into https://github.com/restic/restic/pull/1589.
I'm closing this issue for now, please do add further comments if you have some :)
Thanks!


[stable/neo4j] Unable to run the cluster

Describe the bug
I follow the instruction to install the helm chart:
helm install neo4j-helm ./ --set acceptLicenseAgreement=yes --set image=neo4j  --set imageTag=4.0.0-enterprise --set core.persistentVolume.storageClass=do-block-storage --set core.persistentVolume.size=2Gi

I can see the pods running however when I check the logs I see the following lines:
Starting Neo4j.
2020-02-28 13:48:23.013+0000 WARN Unrecognized setting. No declared setting with name: PORT.7687.TCP.PORT
2020-02-28 13:48:23.019+0000 WARN Unrecognized setting. No declared setting with name: PORT.7474.TCP.ADDR
2020-02-28 13:48:23.019+0000 WARN Unrecognized setting. No declared setting with name: PORT.7687.TCP.PROTO
2020-02-28 13:48:23.019+0000 WARN Unrecognized setting. No declared setting with name: PORT.7474.TCP.PROTO
2020-02-28 13:48:23.020+0000 WARN Unrecognized setting. No declared setting with name: PORT
2020-02-28 13:48:23.020+0000 WARN Unrecognized setting. No declared setting with name: PORT.7474.TCP.PORT
2020-02-28 13:48:23.020+0000 WARN Unrecognized setting. No declared setting with name: PORT.7687.TCP.ADDR
2020-02-28 13:48:23.020+0000 WARN Unrecognized setting. No declared setting with name: PORT.6362.TCP.PROTO
2020-02-28 13:48:23.020+0000 WARN Unrecognized setting. No declared setting with name: SERVICE.PORT.6362TCP
2020-02-28 13:48:23.021+0000 WARN Unrecognized setting. No declared setting with name: PORT.6362.TCP
2020-02-28 13:48:23.021+0000 WARN Unrecognized setting. No declared setting with name: PORT.7687.TCP
2020-02-28 13:48:23.021+0000 WARN Unrecognized setting. No declared setting with name: SERVICE.PORT.7687TCP
2020-02-28 13:48:23.021+0000 WARN Unrecognized setting. No declared setting with name: SECRETS.PASSWORD
2020-02-28 13:48:23.021+0000 WARN Unrecognized setting. No declared setting with name: SERVICE.PORT.7474TCP
2020-02-28 13:48:23.021+0000 WARN Unrecognized setting. No declared setting with name: PORT.7474.TCP
2020-02-28 13:48:23.022+0000 WARN Unrecognized setting. No declared setting with name: SERVICE.PORT
2020-02-28 13:48:23.022+0000 WARN Unrecognized setting. No declared setting with name: PORT.6362.TCP.PORT
2020-02-28 13:48:23.023+0000 WARN Unrecognized setting. No declared setting with name: PORT.6362.TCP.ADDR
2020-02-28 13:48:23.023+0000 WARN Unrecognized setting. No declared setting with name: SERVICE.HOST
2020-02-28 13:48:23.061+0000 INFO ======== Neo4j 4.0.0 ========
2020-02-28 13:48:23.072+0000 INFO Starting...
2020-02-28 13:48:28.631+0000 INFO Resolved initial host 'neo4j-helm-neo4j.default.svc.cluster.local:5000' to [<IP_ADDRESS>:5000]
2020-02-28 13:48:29.576+0000 INFO Database 'system' is waiting for a total of 3 core members...
2020-02-28 13:48:33.635+0000 INFO Resolved initial host 'neo4j-helm-neo4j.default.svc.cluster.local:5000' to [<IP_ADDRESS>:5000]
2020-02-28 13:48:38.637+0000 INFO Resolved initial host 'neo4j-helm-neo4j.default.svc.cluster.local:5000' to [<IP_ADDRESS>:5000]
2020-02-28 13:48:39.638+0000 INFO Database 'system' is waiting for a total of 3 core members...

I also tried to read the logs from debug.log and got the following lines:
2020-02-28 13:52:36.092+0000 WARN [a.r.a.InboundHandshake$$anon$2] Dropping Handshake Request from [akka://cc-discovery-actor-system@neo4j-helm-neo4j-core-1.neo4j-helm-neo4j.default.svc.cluster.local:5000#-4381238615579183357] addressed to unknown local address [akka://cc-discovery-actor-system@<IP_ADDRESS>:5000]. Local address is [akka://cc-discovery-actor-system@neo4j-helm-neo4j-core-0.neo4j-helm-neo4j.default.svc.cluster.local:5000]. Check that the sending system uses the same address to contact recipient system as defined in the 'akka.remote.artery.canonical.hostname' of the recipient system. The name of the ActorSystem must also match.

Version of Helm and Kubernetes:
$ helm version

version.BuildInfo{Version:"v3.0.1", GitCommit:"7c22ef9ce89e0ebeb7125ba2ebf7d421f3e82ffa", GitTreeState:"clean", GoVersion:"go1.13.4"}

$kubectl version

Client Version: version.Info{Major:"1", Minor:"17", GitVersion:"v1.17.1", GitCommit:"d224476cd0730baca2b6e357d144171ed74192d6", GitTreeState:"clean", BuildDate:"2020-01-15T15:50:38Z", GoVersion:"go1.13.6", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"16", GitVersion:"v1.16.4", GitCommit:"224be7bdce5a9dd0c2fd0d46b83865648e2fe0ba", GitTreeState:"clean", BuildDate:"2019-12-11T12:37:43Z", GoVersion:"go1.12.12", Compiler:"gc", Platform:"linux/amd64"}

Which chart:
stable/neo4j

I do not think that this chart support neo4j 4.x at the moment. #20942 says that they plan on adding support in a different ticket.


Add CC & BCC to message object

Example usage:
from simplegmail import Gmail

gmail = Gmail()

# Unread messages in your inbox
messages = gmail.get_unread_inbox()

# Starred messages
messages = gmail.get_starred_messages()

# ...and many more easy to use functions can be found in gmail.py!

 You can see the edits I made here: 963a4b37f904321d836fe3a2a06c22d8f05eaec4. Github cannot understand that the rebased commit has been merged, so closing.


Visit duration

Right now, Offen can only tell that a visit happened, but there is no way of telling if if this visit was an instant bounce or how much time the visitor has actually spent on the site.
In case we decided to implement such a feature in Offen (this is something that should be looked at from a privacy point of view separately), there would be multiple ways of doing it.
Approach: using navigator.sendBeacon
Modern browsers expose the navigator.sendBeacon api that allows scripts to enqueue transmission of data on page unload. This would allow us to measure a delta between the event's creation date and an event's date of receipt. Almost every event could therefore be labeled with a duration value.
Pros

simple to implement
duration data can be attached to the same event
every event will have duration data

Cons

unclear how reliably it works
users that would instantly visit the Auditorium after opting in would see an empty Auditorium as no data has been sent yet
relies on the browser's time, which might not be what the server is using - resulting in incorrect values

Open question: does the sendBeacon API allow for augmenting data on sending? This would allow us to gather correct data in the client without risking comparison of out-of-sync clocks.
Approach: sending heartbeats
The client script receives the EventID used in the response to sending the initial event payload. It then sends so-called "hearbeats" to the server in a defined interval (10s?). This allows the server to record a heartbeat event which associates the EventID with a duration.
Pros

Allows users to instantly access this data

Cons

Additional outbound requests for the client
This can generate a lot of data that needs to be synced down to clients
Bounces will have no duration data at all
Resolution of duration data is coarse

Alternatively, a mix of both approaches could be used: the initial event is sent instantly. Then navigator.sendBeacon is used to send the visit's duration once finished.

An alternative and more privacy friendly approach to tracking the visit duration would be redefining what "bounce rate" means.
With a predefined bounce rate of 30s (this could be configurable), a pageview event could be marked as a bounce without having to record the exact duration of the visit.


Why is bro levitating🙏🙏🙏🙏🙏🙏

Bro just doesn't want to get wet!

Leaf Jesus aside for a second,
the reason why the leaves don't really "fall" here is because leaves stop their vertical momentum once they collide with water and the collision check is just a rough block check:
https://github.com/RandomMcSomethin/fallingleaves/blob/75b5ee6f70601d0f30ae988b9860361660106b4a/src/main/java/randommcsomethin/fallingleaves/particle/FallingLeafParticle.java#L82-L84
I remember trying to improve the water collisions ages ago, but it was still janky because the true water collisions are boxy and not as smooth as the water model suggest. Here's a very scientific illustration of what I mean:

The leaves would "hickup" when going from one water level to a lower one.
Looks like I didn't even feel the need to keep that experimental code around.
I'll give it some more thought, maybe there's a better way of handling this.

I improved the water physics a bit.
Leaves should flow on water, dip up and down a bit and ascend to the heavens when they hit a water fall from the side.
New version 1.15.5 is up!


Route LDAP IDPs in the oauth server through guest VPC

This changes makes us route LDAP IDPs in the oauth server to the guest
VPC by:

Setting the ALL_PROXY env var to the ldap dialer will use the socks5
sidecar
Extending the socks5 sidecar to optionally resolve everything through
the guest clusters cluster-dns

Ref https://issues.redhat.com/browse/HOSTEDCP-421

What this PR does / why we need it:
Which issue(s) this PR fixes (optional, use fixes #<issue_number>(, fixes #<issue_number>, ...) format, where issue_number might be a GitHub issue, or a Jira story:
Fixes #
Checklist

[ ] Subject and description added to both, commit and PR.
[ ] Relevant issues have been referenced.
[ ] This change includes docs.
[ ] This change includes unit tests.

/lgtm

/retest-required

/retest-required

Only the upgrade test failed and that is unrelated
/override ci/prow/e2e-aws


Maintain transactions bloom filter for each peer

Then we won't need to store which peer got which transaction. We just check against bloom filter instantly to see if particular peer hasn't ever saw particular transaction.
This should save us 128kb per peer and also lift 4096 known transactions per peer limitation.

Bloom filter will either get saturated quickly or grow beyond 128kb size eventually.

Bloom filter will either get saturated quickly or grow beyond 128kb size eventually.

No, with acceptable probability, bloom filter capacity per size is much greater than storing all known hashes per peer in map.

Bloom filter will either get saturated quickly or grow beyond 128kb size eventually.

No, with acceptable probability, bloom filter capacity per size is much greater than storing all known hashes per peer in map.

But we don't store all known hashes, do we?
https://hur.st/bloomfilter/?n=100000&p=1.0E-3&m=&k=
with these parameters 175kb bloom filter will saturate after 100000 transactions. Which is a realistic number for a long running node on a busy blockchain, such as ethereum.

But we don't store all known hashes, do we?

We don't but we don't store enough. 4096 transactions is barely one full block and it takes 128kb already.

with these parameters 175kb bloom filter will saturate after 100000 transactions. Which is a realistic number for a long running node on a busy blockchain, such as ethereum.

Yes, and to store note those 100,000 transactions like note them now it will require 3.2 Mb/peer + hashmap overhead ~ 18x as much?
Saturation over node running time can be handled by using 2 filters rotation.

Yes, and to note those 100,000 transactions like we note them now it will require 3.2 Mb/peer + hashmap overhead ~ 18x as much?

Well, you could just store 40 hash bits instead of 256 bits and get the same collision chance as bloom filter false positive probability.
Another problem with bloom filter is that with false positive you might end up not sending a transaction to a peer that needs it. And if everyone uses the same bloom filter hash function, that transaction will never be propagated.
Salting the hash does not resolve this completely, if transaction is created on a machine, that happens to have the same bloom hash output as some other previous transaction, it won't be sent out.

I don't really see a problem with the current hard-coded limit. There's no sense in tracking more than transaction pool capacity anyway. If a previously invalidated transaction enters the transaction pool again it would be rejected and won't be attempted to be propagated anyway.

And if everyone uses the same bloom filter hash function, that transaction will never be propagated.

This is not a problem, each peer has it's own salt, so it will be send to some peers anyway.
But otherwise yeah, good arguments.

https://github.com/w3f/research-internal/issues/141


New email code

Joypuke
https://imgur.com/4jQ3BAW

Thank you! Currently, the "maintained" list of codes is being provided by the /r/borderlands3 discord server, via this link (this is just a link to the spreadsheet):
https://docs.google.com/spreadsheets/d/1QfwdILwVv19sKeveaBzZwhQLEOzmFwnOmMZsWLKwgg8/htmlview?usp=sharing&sle=true


Connman fix master

Fix for OTA-3401.
In summary, moving from using connman to systemd-networkd broke dns.
This fix allows:

move from current version with connman to new versions with systemd-networkd (even without hack). This could maybe be upstreamed in some form
move from old versions with connman to this one, with a systemd hack at boot (fix the broken symlink)

Bumped aktualizr to try to fix these oe-selftest failures + added a small helpful change in the qemu run script.


Unrecognized descriptor: @168h

Gitea version (or commit ref):
Git version: 2.1.4
Operating system: Jessie i386
Database (use [x]):

[ ] PostgreSQL
[x] MySQL
[ ] MSSQL
[ ] SQLite

Can you reproduce the bug at https://try.gitea.io:

[ ] Yes (provide example URL)
[ ] No
[x] Not relevant

Log gist:

Description
Hi
I use 386 binary from https://dl.gitea.io
With 1.0.1, gitea run without problem : su -l git -s /bin/bash -c "/var/opt/gitea/gitea web --config /var/opt/gitea/webelys/custom/conf/app.ini"
If I update binary to 1.0.2 or more recent 1.1.x, I get this error : Unrecognized descriptor: @168h
2017/03/20 17:06:37 [I] Log Mode: File(Info)
2017/03/20 17:06:37 [I] XORM Log Mode: File(Info)
2017/03/20 17:06:37 [I] Cache Service Enabled
2017/03/20 17:06:37 [I] Session Service Enabled
2017/03/20 17:06:37 [I] Migration: generate and migrate wiki Git hooks
2017/03/20 17:06:38 [I] Git Version: 2.1.4
2017/03/20 17:06:38 [...modules/cron/cron.go:28 NewContext()] [E] Cron[Update mirrors]: Unrecognized descriptor: @168h

Ok
About this was a mistmake. Config file in 1.0.1 allowed this :
[cron.update_mirrors]
SCHEDULE = @168h

But since 1.0.2 is not valid, must be updated to :
[cron.update_mirrors]
SCHEDULE = @every 168h


Provide Access to Request/Response

Description
The current SDK API does not let middlewares/handlers access the server request/response that initiated the workflow.
Many frameworks, especially Express/Connect-like frameworks, rely on access to the req/res objects instead of globals. For example, attaching a DB connector or user info to the req object. Being able to access these objects will make integration with other frameworks significantly easier.
A few examples:

I use Pino for logging, with pino-http middleware that attaches req.log. Bolt's Logger API requires a global function that only has access to the msg argument and not the req/res context so I can't integrate my current logging solution.
I use Next.js and much of my code for API routes relies on being able to access req/res from the handler. Having access to req/res will allow me to reuse existing code.

The only workaround at the moment is to implement a custom receiver that wraps the Bolt app with AsyncLocalStorage, so that they can be accessed from inside the Bolt handlers.
I suggest providing access to req/res in Bolt middleware (app.use(...)), so that the user can use them to attach anything they'd like to the context object that Bolt passes around anyway.
What type of issue is this? (place an x in one of the [ ])

[ ] bug
[x] enhancement (feature request)
[ ] question
[ ] documentation related
[ ] example code related
[ ] testing related
[ ] discussion

Requirements (place an x in each of the [ ])

[x] I've read and understood the Contributing guidelines and have done my best effort to follow them.
[x] I've read and agree to the Code of Conduct.
[x] I've searched for any related issues and avoided creating a duplicate issue.

Once we release socket-mode v1.2.0, I will come up with a pull request for this enhancement. https://github.com/slackapi/node-slack-sdk/pull/1363


DOC: Add warnings of inversed order of y and t in f = dy/dt for ode a…

…nd odeint.
Add warning to the parameter description in the "entry level interface" odeint
and more prominently to the more sophisticated ode interface, on which users
fall back when needing more control.
This has been discussed in #1446.

Looks ok to me, can be merged soon unless someone objects. I noted this change on gh-1446.

+1 for adding a note about this to the docstrings.  However, the editor in me objects to the colloquialism "Buyer beware".  How about "Note that ..." or, if it is felt that more emphasis is need, "Important note! ...", or something similar?

@WarrenWeckesser, I used this formulation because it is used in similar case elsewhere in the scipy docs. No feelings involved from my side.

The docs should aim for neutral language, so "s/buyer beware/note that/g"

@philipp-germann Will you be able to update this with edited text, or should one of us take over?

Alternative PR: https://github.com/scipy/scipy/pull/5459

https://github.com/scipy/scipy/pull/5459 includes comments about the differing conventions of odeint and the ode class, so this PR can be closed.


290 parse error

Additional refactoring to ignore the PARSE_ERRORs mentioned in #290. Current tests pass and my own real life test setup works too, now.
@ryaneberly Would you mind reviewing it again and if you think it's good to go, merge into dev? :)

I think it's about ready.  Looks great.
I noticed 3 places in CFLint.java where it was calling both reportRule and fireCFLintException -in areas you had not changed.  I fixed those in dev.

Ah - yeah. I didn't change those because you said initially I should look for the exception being fired for PARSE_ERROR only - and wasn't sure what it'd do for PLUGIN_ERROR.


Publishing with a routing key crashes with InMemoryTestHarness

MassTransit version: 7.2.0
Microsoft.NET.Test.Sdk : 7.1.8 (or 7.2.1-develop.122)
In the test startup, I added test harness with
services.AddMassTransitInMemoryTestHarness()
...but it seams there is no publisher context allowing me to publish a message with routing key.
`    internal class EmittedAlarmPublisher : IAlarmPublisher
where TBus : IBus
{
private readonly IBus _massTransitBus;
    public EmittedAlarmPublisher( TBus massTransitBus)
    {  _alarmPublishingConfig = alarmPublishingConfig     }

    public async Task Next(Alarm alarm)
    {
        await this._massTransitBus.Publish(alarm, context =>
        {
            // ... get routingKeySuffix ..

            context.Headers.Set("Prom", alarm.Transmitter?.Prom);
            context.SetRoutingKey($"1.0.event.{routingKeySuffix}"); // <= System.ArgumentException: The RabbitMqSendContext was not available
        });
    }
}`

I have an exception with context.SetRoutingKey:
System.ArgumentException: The RabbitMqSendContext was not available
It works with the applications's configuration, without using Harness.
I need the routing key to be different accoding to the alarm information.

Well, yeah, InMemory isn't RabbitMQ.

Ok using TrySetRoutingKey I don't have exception, but I cannot check the routing key in the test as it is not set in the message.
To avoid going into this issue, the routing key should be supported by harness, otherwise the SetRoutingKey method should be removed from the MessageSendContext class.

To avoid going into this issue, the routing key should be supported by harness, otherwise the SetRoutingKey method should be removed from the MessageSendContext class.

I'm sorry, but I completely disagree with you. The in-memory test harness is meant to test consumers, sagas, etc. It isn't meant to test "broker dependent capabilities." If you want to test with a broker, don't use the in-memory harness but test with an actual broker. Asking the harness to support broker-dependent features is out of the question.
SetRoutingKey is an extension method, specific to the RabbitMqTransport package, to allow access to this broker-specific feature.


Primary axis dates for bar charts - bars are cut off

The "Multiple Axes" example is sufficient to describe the issue:

Look at Tue 16 and Thu 25 dates -- only two of the three bars are display.

Can confirm, even shouldNice doesn't help.

I'm running into this as well

For ordinal data types its throwing error.
const { data, randomizeData } = useDemoConfig({
series: 3,
dataType: "ordinal",
});

Hi @tannerlinsley, I have just submitted a sponsorship. This is the issue that we are hoping to see resolved.

Well alright! I’ll dig in asap and try to find a good solution.
Tanner Linsley
On Dec 15, 2021, 7:13 AM -0700, Paul Grieselhuber @.***>, wrote:

Hi @tannerlinsley, I have just submitted a sponsorship. This is the issue that we are hoping to see resolved.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.

I have a proposed fix here: https://github.com/tannerlinsley/react-charts/compare/beta...feat-padBandRange?expand=1
Let me know what you think

Hey @tannerlinsley it's not obvious how I can test this feature.  I tried via npm... do you mind sharing the best way to test this? Thanks!

We are having this issue as well. Installing react-charts from the commit (9c21df7) did not seem to help our issue.

In the above image, you can see that the right-most bar is completely cut off. If another "Yes" value is added, you can see it properly but the "No" bar is still hidden.

In this image, you can see that the two left-most bars are overlapping each other.
This is our primary/secondary axes definitions:
const primaryAxis = useMemo<AxisOptions<Datum>>(
  () => ({
      scaleType: "time",
      getValue: (datum) => datum.primary,
  }),
  []
);

const secondaryAxes = useMemo<AxisOptions<Datum>[]>(
  () => [
    {
      getValue: (datum) => datum.secondary,
      min: 0,
      elementType: "bar",
    },
  ],
  []
);


Simplified Conditional_Function_Theory.  Prover no longer uses the FR…

…estr.
Added negated interval theory.

Acknowledged and merged.


Honor aixterm color codes

these start with 90-97 for foreground, 100-107 for background.
example: \u001b[90m
See #6

Keep all discussion in #6.


Usage on the server-side

✅ Prerequisites

[X] Did you perform a cursory search of open issues? Is this feature already requested elsewhere?
[X] Are you reporting to the correct repository (magic-sdk)?

✨ Feature Request
I've been playing around with Magic (pretty cool!) and a web app in Remix, a relatively new React framework which puts a heavy emphasis on server-side computing in loader functions that get executed on the server before the route in the same file is rendered. From the Remix mental model, this would be the best place to run the auth callback logic and persist the DID token in a Remix createCookieSessionStorage or similar. However, right now the magic sdk relies on client-only variables such as window existing, and the magic admin sdk (for Node) doesn't include nearly all functionality of the client, including finishing the callback. Would it be possible to add this functionality to the Node admin sdk or make this sdk compatible with the server?
🧩 Context
In Remix, everything should be done on the server through "old-school" form submissions (ideally, not fetch), and rendered in advance, to provide browser compatibility and an overall smoother, more native user experience. This right now doesn't really align with the way Magic exposes its APIs.
💻 Examples
import { Magic } from "magic-sdk";
import { redirect, LoaderFunction, createCookieSessionStorage } from 'remix';

const sessionStorage = createCookieSessionStorage({
    cookie: {
		httpOnly: true,
		maxAge: 604800,
		name: "cms_auth",
		path: "/",
		sameSite: process.env.NODE_ENV !== "development" ? "strict" : "none",
		secrets: [process.env["COOKIE_SECRET"]],
		secure: process.env.NODE_ENV !== "development",
	},
})

export const loader: LoaderFunction = async ({ request }) => {
    const m = new Magic("<...>");
    if (await m.user.isLoggedIn()) throw redirect("/");
    const didToken = await m.auth.loginWithCredential(); // get the DID token
    const session = await sessionStorage.getSession(request.headers.get("Cookie")); // Remix+native Request
    session.set("token", didToken); // Store the token in the session to later validate again during authorization (SIDE NOTE: This token expires in 15 minutes. Storing the unencrypted DID in a cookie sounds insecure. How can I prevent de-authorizing the user after the token expires? The whole point of validating the token in the session on every necessary request is to make sure the token has not been invalidated/expired.)
    // Store some more user data here
    const cookieHeader = await sessionStorage.commitSession({ }); // Gets the `Set-Cookie` header value to be returned
    await m.auth.approveCallback(); // SUGGESTION: New method that approves the callback and allows the client in the original tab to proceed execution
   return redirect("/private", { headers: { "Set-Cookie": cookieHeader } }); // Immediately return to have cookie properly set before client in first tab continues/reloads
}

I saw that you have a Passport.js authentication strategy, maybe that's adaptable to remix-auth which is inspired by it.


Remove deprecated features of AMY

This issue lists parts of AMY that are not longer needed, deprecated or replaced by other software.
List of deprecated parts of AMY:

Web API* (see comment below) -- 3h
Deprecated section (event details):
I. event requests (not workshop requests) -- 2h
II. DC Self Organized event requests -- 2h
III. event submissions -- 2h
invoicing (appears in one filter and in event details table) -- 0.5h
PyData application -- 1h
Providing Group Name through URL parameter (see https://github.com/carpentries/amy/pull/1533#issuecomment-531780382) -- 2h
Possibly reporting + graphing -- 2h

EDIT 2019-09-21 (1): Web API may prove useful if we try to improve performance for DataTables by dynamically loading (see #1512), however I don't think anything from the current web API could be used in this case.
EDIT 2019-09-21 (2): I added time estimates to remove each feature.
EDIT 2019-09-21 (3): Web API is also used for downloading training requests in CSV.

No 5. - to verify.

Event sponsors.


deleted dev null in order to see what error is causing travis fail

Thanks for opening a Pull Request!
Here's a handy checklist to ensure your PR goes smoothly.

[ ] I signed Google's Contributor License Agreement
[ ] My code conforms to Google's python style.
[ ] My PR at a minimum doesn't decrease unit-test coverage (if applicable).
[ ] My PR has been functionally tested.
[ ] All of the tests pass

These guidelines and more can be found in our contributing guidelines.

No longer needed was used for debugging Travis. Closing.


Use linux vfio header

I've already mentioned the exact version in the commit message.
It's v5.8 https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tag/?h=v5.8

I've already mentioned the exact version in the commit message.
It's v5.8 https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tag/?h=v5.8

Ah yes, you have.


Can't build on Linux

The project for the extension has a post-build step that copies files to create a "pseudo-package" install so we can run integration tests. That step contains Windows paths that break the build on Linux. We'll have to find some other way to do it either by invoking a script that works on both environments or limiting the integration tests to the command-line builds that use Cake. For now, the Travis CI build is turned off.

@ChrisMaddock I'll take a look at this one. If we can't build it on Linux, however, it is not a great loss.


Nick new

It appears that the only change here is that you've added back the page on "Chained Three Body Parity Operators", but this page I already removed and replaced with a completely re-written section which comes directly after Kolmogorov-Zabih.

Dear Nick,
You have two commits mentioning the addition of the Rocchetto-Benjamin-Li paper, but the only files changed in those commits are the PDFs, and the PDFs do not seem to have any mention on of their paper.
With best wishes,
Nike

Dear Nick,
Can you put the year next to their names, in the title of the section?
See for example the section calleed: (Kempe, Kitaev, Regev, 2004)
or Kolmogorov & Zabih (2004).
Also, can you change trinary to ternary?
With best wishes,
Nike

Dear Nick,
In addition to the comment below from 2 minutes ago, why does "Chained Three Body Parity Operators" keep re-appearing? I had commented it out, because it's already described in the page directly after Kolmogorov-Zabih.
With best wishes!
Nike

Dear Nick,
Thank you for making the changes.
Regarding the RBL method you described, how is this a quadratization method?
You have said that a quadratic function is 0 if sum_i b_i  is even, and > 0 if odd. Where is the k-local to 2-local?

The quadratization comes from the fact that it reproduces the ground state manifold (but not the whole spectrum) of a 4 local operator out of a two local operator, for some applications, like LHZ this is sufficient, for others it is not.

Dear Nike,
You are right, the example I chose was a positive term reduction, although the paper contains both, negative and positive term reductions. Following what you have done in your sections I am actually going to split the RBL into two sections, one for positive and one for negative (even and odd sector selection respectively). This makes since since the methods in each case are different.
Note that the CZW symmetry based mapping can actually do both positive and negative terms, it is currently in the positive section, but should we include a note saying it can also do negative? I think dividing this into two sections would be unnecessary since the method for positive or negative is exactly the same.
Best,
Nick


Use builder system to clean main extension directory

Move icons in corresponding folder, move not-main scripts to folder, and directory with fully-working build

@ignat-zakrevsky solved by #33 ?

yes


fix: modifies release.go to remove and add release images to the mapping

Currently, the release images are being added as an additional key in the
mapping instead of overwriting the existing key pair. This is causing the
final release images to be written to the wrong repo.
Fixes #439
Signed-off-by: Jennifer Power<EMAIL_ADDRESS>Type of change

[X] Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

[X] Manual verification of the disk to mirror workflow per the issue

Checklist:

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

/lgtm


Add ownership.rs koan file

Still want to add some examples about explicit and implicit lifetime stuff.

@crazymykl Any changed needed?

Is it intentional that many of these lack blanks?

Yes. If you attempt the koans you'll see that a lot of them need something changed, added, or removed rather than just filling in a blank.


QNN support

This feature was requested before. Refer to  #1283 (This feature is still missing in Netron)
TL;DR: We want to visualize the QNN model (serialized.bin file). Currently, I get the error "File contains undocumented QNN serialized context." when I try to open the file in Netron. Is it possible to add support to visualize the this file?
Reference:
There are 4 files generated when converting a model from TFLite to QNN. Let us take the Resnet model as an example. You can refer to the files here (TFLite and QNN models):
TFLite:

resnet.tflite: Can be visualized on Netron

QNN files:

resnet.serialized.bin (actual model): Cannot run on Netron
resnet.json: (not the model, just a JSON with a general model structure, fewer ops, etc): Can be visualized on Netron
resnet.cpp: (not relevant)
resnet.bin: (not relevant)

Duplicate of #1283


[Type checker] Handle 'rethrows' checks for single-parameter functions.

The throw-checking code wasn't properly coping with functions that
take a single, labeled argument, due to the longstanding lie that
pretends that functions take a tuple argument vs. zero or more
separate arguments. Here, the lie manifests as spurious "call can
throw, but is not marked as such" errors.
Fixes rdar://problem/31794932.

@swift-ci please smoke test and merge


Publish Project/SQLCMD Variables: Reload values from project doesn't reload values

I'm a bit confused around this functionality. When I click the following button:

Nothing is reloaded if the variable is changed from outside of ADS (e.g. editing the .sqlproj in vscode) - this feels like a bug to me.
If I go and edit the value of the variable in ADS, I need to close the dialog, edit the value, then reopen the dialog (and the value is updated as expected).
Is there another scenario that I'm missing here?

The reload sqlcmd variables button was meant for if you change the value in the publish dialog, then decide you want to reload the values from the project instead, not for reloading after the .sqlproj is manually edited while the dialog is open.

Maybe the string should be "reset values"?
@chlafreniere does raise a good point, about detecting changes that happen to the project outside of ADS.  We have some ideas for that sorta thing in the DacFx library in an ADO task, but the idea needs a little more fleshing out and might make 1.1.

Proposal:
disable button if the values haven't been changed
Less important, but consider: "reset" or "revert" as the verb


Add the ability to normalize an SPDX expression

With a structured description of an SPDX expression it would be possible to render that expression into a canonical, normalized string representation.
This would allow correcting non-uniform SPDX expressions in places like package.json files and, combined with an ability to automatically correct slight deviations from SPDX expression syntax (e.g. saying Apache version 2 instead of Apache-2.0 or MIT or 0BSD instead of MIT OR 0BSD), outright fixing slightly broken expressions.
The ability to normalize a given SPDX expression into a canonical form would also mean that we'd have the ability to establish equivalence between two expressions, such as the fact that MIT OR 0BSD and (0BSD OR MIT) are the same thing.
Examples:
import normalize from "license-expressions"

// Remove redundant parenthesis:
assert.strictEqual("GPL-3.0 OR MIT", normalize("(GPL-3.0 OR MIT)"))
assert.strictEqual("MIT OR 0BSD OR LGPL-3.0", normalize("MIT OR (0BSD OR LGPL-3.0)"))

// Apply repeatable sorting:
assert.strictEqual(normalize("GPL-3.0 OR MIT"), normalize("(MIT OR GPL-3.0)"))

Closing this issue as it's already been implemented for a while now...


⚠ Bofrost.lu has degraded performance

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

HTTP code: 200
Response time: 1697 ms

Resolved: Bofrost.lu performance has improved in 29c905f after 9 minutes.


Parsing expressions with Abs expression gives different latex emitted from mathlive input

Description
When parsing expressions containing "Abs" the returned latex string is not working in mathlive.
mathlive returns latex \left|a\right| when writing manually
Steps to Reproduce

Paste ["Abs", "x"] into MathJSON-field in compute-engine demo
Add any input to the field

Actual Behavior
Following the steps above gives the following error ["Error", "'unexpected-delimiter'", ["LatexString", "'\\vert'"]] when giving the latex string to mathlive field
Expected Behavior
Expected behaviour is no latex errors and having possibillity to edit field further
Environment
MathLive version 0.98.4
ComputeEngine version 0.22.0

Fixed.


[Event Request] Page 1133 - Cost Bdgt. per Object Matrix - OnBeforeMATRIX_OnDrillDown

Dear ALAppExtensions team,
Through this issue we would like to request adding event publisher OnBeforeMATRIX_OnDrillDown in Page 1133 Cost Bdgt. per Object Matrix with the following signature:
[IntegrationEvent(false, false)]
local procedure OnBeforeMATRIX_OnDrillDown(var CostBudgetEntry: Record "Cost Budget Entry")
begin
end;

which would be called as follows in MATRIX_OnDrillDown:
local procedure MATRIX_OnDrillDown(ColumnID: Integer)
begin
    OnBeforeMATRIX_OnDrillDown(CostBudgetEntry);

    CostBudgetEntry.SetCurrentKey("Budget Name", "Cost Type No.", "Cost Center Code", "Cost Object Code", Date);
    if Type in [Type::Total, Type::"End-Total"] then
        CostBudgetEntry.SetFilter("Cost Type No.", Totaling)
    else
        CostBudgetEntry.SetRange("Cost Type No.", "No.");
    CostBudgetEntry.SetFilter("Cost Object Code", CostObjectMatrixRecords[ColumnID].Code);
    CostBudgetEntry.SetFilter("Budget Name", BudgetFilter);
    CostBudgetEntry.SetFilter(Date, GetFilter("Date Filter"));
    PAGE.Run(0, CostBudgetEntry);
end;

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


Upcoming removal of V1 primitive support

URL, if applicable
No response
Describe the new content you are requesting.
We plan to drop V1 primitives support on Aug 15. Various pages will need to be cleaned up to remove V1 reference.
If this new content request is accepted, do you want to write the content?
I can help the team by providing enough information to write the material

For legacy users who have not yet migrated, will the V1 migration guide be sufficient for them? I'm wondering how we can make the migration path smoother since not everyone will upgrade immediately.

The migration guide should be sufficient. At least I haven't heard any feedback about it being inadequate. The biggest complaint I heard was that Qiskit application modules, which are no longer maintained by IBM, were not updated to use V2. But there's little we can do besides reaching out to the maintainers.
Having said that, if you have ideas to help people make the transition, please feel free to share!

The migration guide should be sufficient.

Notably, most of the examples that are in the regular guides are in the migration guide.


Filename too long (Errno)

Crystal 0.27.0 [c9d1eef8f] (2018-11-01)

LLVM: 4.0.0
Default target: x86_64-unknown-linux-gnu
OS: Ubuntu 18.04.1
Editor: VSCode
Extensions: Crystal Language (with Scry)

Screenshot:

Code:
rest.zip

Not directly related to the Crystal compiler itself.
A library you use, seems it's scry, want to create a file superior to the 255 bytes limit (https://serverfault.com/questions/9546/filename-length-limits-on-linux#9548)

I think so, but not sure where to post.

You can post to https://github.com/crystal-lang-tools/scry/issues


etcd performance

I created etcd cluster and a gateway which forward all request to backend etcd cluster.
My gateway is just forward request using http2 proxy.
I find that my gateway's cpu usage higher than etcd cluster's cpu usage.
I am using benchmark to test my gateway.
I think etcd should do more work(process request and do raft) than gateway.
What caused gateway's cpu usage higher than etcd's cpu usage?

what is the gateway? something you build or etcd-gateway?

I build gateway, not etcd-gateway.

so you need to figure it out why the software you built uses more CPU, not etcd community i guess.


Add example for PipelineRun namespace context variable

Changes

In https://github.com/tektoncd/pipeline/issues/4540, users are having issues using context.pipelineRun.namespace. This variable needs to be passed via Parameters to reach the Task.
In this change, we add an example of using context.pipelineRun.namespace and add a reference to the example in the documentation.
/kind documentation
/closes https://github.com/tektoncd/pipeline/issues/4540
Submitter Checklist
As the author of this PR, please check off the items in this checklist:

[x] Docs included if any changes are user facing
[n/a] Tests included if any functionality added or changed
[x] Follows the commit message standard
[x] Meets the Tekton contributor standards (including functionality, content, code)
[x] Release notes block below has been filled in or deleted (only if no user facing changes)

Release Notes

NONE

/lgtm
Thanks @jerop !

/test pull-tekton-pipeline-alpha-integration-tests

Looks like the git-resource example was still running when the suite completed, possibly too slow? Trying once more:
/test pull-tekton-pipeline-alpha-integration-tests

/test pull-tekton-pipeline-integration-tests
/test pull-tekton-pipeline-alpha-integration-tests

/test pull-tekton-pipeline-alpha-integration-testsv

/test pull-tekton-pipeline-alpha-integration-tests

/test pull-tekton-pipeline-alpha-integration-tests

/test pull-tekton-pipeline-alpha-integration-tests

/retest

/retest

/retest


Can't build examples if cloning nonrecursive

When I tried to test the examples, I manually cloned this repo, but because of nim.cfg, the compiling failed.
C:\Users\...\webui-main\examples>nim c -d:useWebviewStaticLib call_nim_from_js.nim
Hint: used config file 'C:\Nim\config\nim.cfg' [Conf]
Hint: used config file 'C:\Nim\config\config.nims' [Conf]
Hint: used config file 'C:\Users\...\webui-main\examples\nim.cfg' [Conf]
............................................................................................
C:\Users\...\webui-main\webui\bindings.nim(76, 12) Error: cannot find: ./webui/src/mongoose.c

Copying the example folder outside of the repo folder will work. Also, just removing nim.cfg works too.
Regular cloning (nonrecursive) tries to rebuild webui.c instead of using the already installed one.

This is because of the --path:".." line in nim.cfg. I don't think I'll fix this, its not that hard to put --recursive when cloning. I'll put a note in the readme to clone recursively though when trying to run examples.


Transparent memory offloading: more memory at a fraction of the cost and power / Johannes Weiner, Dan Schatzberg @ Engineering in Meta Blog

URL: https://engineering.fb.com/2022/06/20/data-infrastructure/transparent-memory-offloading-more-memory-at-a-fraction-of-the-cost-and-power/
Review (1-2 sentences):  We can not say it's an actual data engineering article. But if you like deep drive to hardware,  you will appreciate

@k-tomak, could you add proper labels, please?

@k-tomak, could you add proper labels, please?

I'm still still thinking about if this is our topic.

I suppose it isn't our topic.


Process get killed tensorflow.python.ops.gen_stateless_random_ops.stateless_random_uniform_full_int

Click to expand!
Issue Type
Bug
Have you reproduced the bug with TF nightly?
Yes
Source
source
Tensorflow Version
2.10.0
Custom Code
Yes
OS Platform and Distribution
Ubuntu 22.04
Mobile device
No response
Python version
3.9
Bazel version
No response
GCC/Compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current Behaviour?
Due to Large tensor

Standalone code to reproduce the issue
import tensorflow as tf
import os
import numpy as np
from tensorflow.python.ops import gen_stateless_random_ops
try:
  arg_0_tensor = tf.constant(-129431154884146, shape=[1], dtype=tf.int32,)
  arg_0 = tf.identity(arg_0_tensor)
  seed_tensor = tf.random.uniform([2], minval=-256, maxval=257, dtype=tf.int32)
  seed = tf.identity(seed_tensor)
  dtype = tf.int64
  out = gen_stateless_random_ops.stateless_random_uniform_full_int(arg_0,seed=seed,dtype=dtype,)
except Exception as e:
  print("Error:"+str(e))

### Relevant log output

```shell
2023-01-21 12:09:17.165935: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  AVX2 FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2023-01-21 12:09:17.471905: E tensorflow/stream_executor/cuda/cuda_blas.cc:2981] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered
2023-01-21 12:09:18.323563: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libnvinfer.so.7'; dlerror: libnvinfer.so.7: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: :/lib/
2023-01-21 12:09:18.323758: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libnvinfer_plugin.so.7'; dlerror: libnvinfer_plugin.so.7: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: :/lib/
2023-01-21 12:09:18.323766: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Cannot dlopen some TensorRT libraries. If you would like to use Nvidia GPU with TensorRT, please make sure the missing libraries mentioned above are installed properly.
2023-01-21 12:09:19.340364: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:980] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2023-01-21 12:09:19.372486: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libcudnn.so.8'; dlerror: libcudnn.so.8: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: :/lib/
2023-01-21 12:09:19.372506: W tensorflow/core/common_runtime/gpu/gpu_device.cc:1934] Cannot dlopen some GPU libraries. Please make sure the missing libraries mentioned above are installed properly if you would like to use GPU. Follow the guide at https://www.tensorflow.org/install/gpu for how to download and setup the required libraries for your platform.
Skipping registering GPU devices...
2023-01-21 12:09:19.374114: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  AVX2 FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2023-01-21 12:09:19.402442: W tensorflow/core/framework/cpu_allocator_impl.cc:82] Allocation of<PHONE_NUMBER>0 exceeds 10% of free system memory.
Killed

</details>

@nimashiri,
The error message "Allocation of<PHONE_NUMBER>0 exceeds 10% of free system memory. Killed" indicates that the system has attempted to allocate more memory than is currently available and that the operating system killed the process to free up memory and keep the system from crashing. To resolve this issue, Optimize your code to reduce memory. Please find the gist to the working code here. Thank you!

@synandi : wrong answer. The termination of the process could have other causes, this needs further investigation to make sure it is not a vulnerability

hi @dmc1778,
Is @synandi  answer okay for you ? Can we resolve this ticket ? Please feel free let us know if you have more questions.
Thanks

Any update @dmc1778 ?
I will close this ticket 5 days later. Thanks

This seems ok to close. The issue likely got resolved


No splash screen when starting FEM-Design from grasshopper

https://wiki.fem-design.strusoft.com/xwiki/bin/view/Manuals/User Manual/Accessories/#HScripting
FD_NOLOGO=1

Duplicate of #652


Kwarg on Mean, Median, Mode, etc to filter nulls before computing?

Rather than having to filter the table first?

Went down this rabbit hole and totally regretted it. It makes the API much more complicated, breaks the instance method memoization, requires arguments to be passed around everywhich way between the math functions.
Not doing it.


Orquesta Runtime Context : Map value is not updating after publish.

SUMMARY
I am trying to update a variable in a map which is populated by publishing the result of a core.http action. It remains still the same even though I updated the title value by publishing the value to map again. Please see the workflow I have created to simulate the same problem.
STACKSTORM VERSION
st2 3.3.0, on Python 3.6.9
OS, environment, install method
Post what OS you are running this on, along with any other relevant information/
Docker | Host OS :  Windows 10
Steps to reproduce the problem
Please see my workflow.
version: 1.0

description: A basic sequential workflow to handle ToDos.

input:
  - url : "https://jsonplaceholder.typicode.com/todos/1"

vars:
  - todo_details : {}
  - failure_message: ""
  - final_result: "Initial Stage"
  - current_stage: "Initial Stage"

output:
  - final_result: <% ctx().final_result %>
  - failure_message: <% ctx().failure_message %>
  - current_stage: "<% ctx().current_stage %>"

tasks:
  get_todo_details:
    action: core.http url="<% ctx().url %>"
    retry:
      delay: 10
      count: 3
    next:
      - when: <% succeeded() %>
        publish:
          - todo_details: <% result().body %>
          - current_stage: "get_todo_details:succeeded"
        do: change_title
      - when: <% failed() %>
        publish:
          - failure_message: "Failed while trying to get todo"
          - final_result: <% result() %>
          - current_stage: "get_todo_details:failed"
        do: noop

  change_title:
    action: core.noop
    next :
      - when: <% succeeded() %>
        publish:
          - todo_details.title : "Hello World Title - Changed Once"
          - current_stage: "change_title:succeeded"
        do: publish_results

  publish_results:
    action: core.noop
    next :
      - when: <% succeeded() %>
        publish:
          - final_result : "<% ctx().todo_details %>"
          - current_stage: "publish_results:succeeded"
        do: noop

Expected Results
{
  "output": {
    "final_result": {
      "userId": 1,
      "id": 1,
      "title": "Hello World Title - Changed Once",
      "completed": false
    },
    "failure_message": "",
    "current_stage": "publish_results:succeeded"
  }
}

Actual Results
{
  "output": {
    "final_result": {
      "userId": 1,
      "id": 1,
      "title": "delectus aut autem",
      "completed": false
    },
    "failure_message": "",
    "current_stage": "publish_results:succeeded"
  }
}

Thanks!

You cannot publish to JSONPaths like you are attempting to do. In other words, as far as I am aware, this mechanism is not supported:
tasks:
  ...
  task_name:
    action: ...
    next :
      - when: ...
        publish:
          - todo_details.title : "Hello World Title - Changed Once"
          #             ^^^^^^ - won't work
        do: ...

What that will do is publish to a variable named todo_details.title, it will not update the dictionary.
To update a single dictionary key, you will need to use YAQL to set the key, and then publish the entire dictionary back to the dictionary variable name that you want to update. Something like this:
tasks:
  ...
  task_name:
    action: ...
    next :
      - when: ...
        publish:
          - todo_details : <% ctx().todo_details.set("title", "Hello World Title - Changed Once") %>
        do: ...

Since you're not the first person to have this question, I have updated the Orquesta Implementation Patterns page in this project's wiki. Hopefully that makes the solution slightly more discoverable for users.
I'm going to close this issue, but if it doesn't work, or if you still need help, feel free to drop a comment and I'll be happy to reopen it.


Usage of DOCUMENT() with bind vars

A user tried the following:

DOCUMENT("users/" + @_key) - no error, but evaluates to DOCUMENT(0) // null
DOCUMENT("users/@_key") - string literal, no bind parameter

Other possible mistakes:

DOCUMENT("users/", @_key) - slash included, but this will try to find the document in a collection called users/ and not users (which is not a legal name, shouldn't this raise an error?)

Solutions:

DOCUMENT("users", @_key) - but note that if @_key is all digits, then it is necessary to wrap the value in double-quotes in the web UI bind parameter table! Would be helpful to not rely on color coding in the UI alone, but also display the inferred type as a badge/tag.
DOCUMENT(CONCAT("users/", @_key)) - possible, but unnecessary to concatenate

BTW. some of the DOCUMENT() example in the docs use collection literals (unquoted strings) instead of strings. The optimizer seems to take care of this but in earlier versions this could lead to the materialization of the whole collection.

https://github.com/arangodb/docs/pull/817


make build possible without access to ui/core repo, temporarily

I just attempted the build process, here's what appears to be missing at first glance:

cables/build/libs
cables/src/ops/base
cables/src/ops/extensions
shared/libs
cables_ui/dist

open repos instead of temporary fix


Missing View?

Sorry, I'm not sure where the windows login button comes from in the MVC project. What am I not understanding?  Is there a missing view?
Thanks!

you have to configure the project then in the default login window (the one from the mvc template) you'll have a login button for every authentication provider

Thanks.
I was a little confused because the button for Windows is off to the side in the picture.

On Jan 10, 2016, at 4:19 PM, Luigi Trabacchin<EMAIL_ADDRESS>wrote:
you have to configure the project then in the default login window (the one from the mvc template) you'll have a login button for every authentication provider
—
Reply to this email directly or view it on GitHub.

All authentication providers will appear to the side, the list is generated by this view


Auto-merge dependabot PRs workflow invalid

From one of the latest attempts to run the CI - Activate auto-merge for Dependabot PRs workflow:

The workflow is not valid. In .github/workflows/ci_automerge_dependabot.yml (Line: 10, Col: 11): Error from called workflow<EMAIL_ADDRESS>(Line: 44, Col: 12): Unrecognized named-value: 'changes'. Located at position 1 within expression: changes

The actual run can be seen here.
Suggestions for "fixes":

Fix the immediate issue, i.e., fix the workflow file .github/workflows/ci_automerge_depedabot.yml.
Move over to using SINTEF/ci-cd for these "standard" workflows instead of implementing and maintaining them in this repo.

@CasperWA I don't understand the error. It seems that it is already using the SINTEF/ci-cd?

closed by  adding status checks for the ci/dependabot branch


Mithril Signer Local Error Policy : Error 182 - MuxError

Context & versions
cardano node version 8.9.1.
mithril-signer v2412.0.
Fresh mithril-signer setup on BP. Squid on Relay.
Pool is correctly registered on Mithril Explorer.
Actual behavior
Every 60 seconds, only when mithril-signer is running, this error appears in cardano-node process syslog :
cardano.node.LocalErrorPolicy:Error:182 IP LocalAddress "/socket@58" ErrorPolicyUnhandledApplicationException (MuxError MuxBearerClosed "<socket: 58> closed when reading data, waiting on next header True")

@falcucci is this something that could be related to the way pallas is communicating with the Cardano node?
(The Mithril signer is retrieving the epoch from the node at this pace of once every mninute)

@scarmuega FYI, this is the issue we talekd about during Office Hours

Could be because a non-graceful shutdown of the local state query. We should double-check whether the mithril-signer is sending a MsgRelease and MsgDone after the query.

Also seen on the devnet:
[jp:cardano.node.LocalErrorPolicy:Error:64] [2024-04-16 13:22:14.42 UTC] IP LocalAddress "node-pool2/ipc/node.sock@11042" ErrorPolicyUnhandledApplicationException (MuxError MuxBearerClosed "<socket: 34> closed when reading data, waiting on next header True")
[jp:cardano.node.LocalErrorPolicy:Error:64] [2024-04-16 13:22:14.42 UTC] IP LocalAddress "node-pool2/ipc/node.sock@11043" ErrorPolicyUnhandledApplicationException (MuxError MuxBearerClosed "<socket: 35> closed when reading data, waiting on next header True")
[jp:cardano.node.LocalErrorPolicy:Error:64] [2024-04-16 13:22:14.46 UTC] IP LocalAddress "node-pool2/ipc/node.sock@11044" ErrorPolicyUnhandledApplicationException (MuxError MuxBearerClosed "<socket: 36> closed when reading data, waiting on next header True")

I can try to investigate it

Steps to reproduce
To reproduce this issue it is enough just to run the devnet and watch logs:
# Terminal 1
cd mithril-test-lab/mithril-devnet
SKIP_CARDANO_BIN_DOWNLOAD=true \
FORCE_DELETE_ARTIFACTS_DIR=true \
NUM_BFT_NODES=1 NUM_POOL_NODES=2 ./devnet-run.sh

# Terminal 2
cd mithril-test-lab/mithril-devnet/artifacts && tail -n 62 -f ./node-pool1/node.log

# Terminal 3
docker logs -f artifacts-mithril-signer-node-pool1-1

Then after some time you will see in Terminal 2 an error
[andrew-d:cardano.node.LocalErrorPolicy:Error:62] [2024-04-18 13:51:30.14 UTC] IP LocalAddress "node-pool1/ipc/node.sock@3" ErrorPolicyUnhandledApplicationException (MuxError MuxBearerClosed "<socket: 28> closed when reading data, waiting on next header True")

and in Terminal 3 could not retrieve epoch settings at epoch Epoch(1) with nested error: Epoch service was not initialized, the function inform_epoch must be called first.
Causes
Signing node called /epoch-settings HTTP-endpoint of an aggregator. And the aggregator responds with an error Epoch service was not initialized, the function inform_epoch must be called first, which means:
    /// Raised when service has not collected data at least once.
    #[error("Epoch service was not initialized, the function `inform_epoch` must be called first")]
    NotYetInitialized,

So it is obviously that epoch_service wasn't initialized by calling inform_epoch first.
Finding the root cause
I'm not sure at the moment where epoch_service should be initialized by calling inform_epoch.One thing I notices is that there is self.runner.inform_new_epoch(new_time_point.epoch).await?; call in mithril-aggregator/src/runtime/state_machine.rs. And this seemed the only place where inform_epoch is called.

Steps to reproduce
To reproduce this issue it is enough just to run the devnet and watch logs:

You are right, running the devnet is not enough. In order to reproduce the problem, you can run the end to end test:
cargo build --release -p mithril-aggregator -p mithril-signer -p mithril-client-cli && cargo run -p mithril-end-to-end -- -vvvv --bin-directory target/release/ --work-directory=./artifacts --devnet-scripts-directory=./mithril-test-lab/mithril-devnet

or this one to keep the network alive:
cargo build --release -p mithril-aggregator -p mithril-signer -p mithril-client-cli && cargo run -p mithril-end-to-end -- -vvvv --bin-directory target/release/ --work-directory=./artifacts --devnet-scripts-directory=./mithril-test-lab/mithril-devnet --run-only

The problem is happening on the signer node so you should probably investigate what's happening between the Mithril signer and the Cardano node. The signer is asking the node the current epoch at regular interval (usually 2 min in production) and this is done by the ChainObserver which takes care of handling the n2c communcations.

@jpraynaud , thank you for pointing to e2e tests and to the right direction. I left a comment in #1644. Not 100% sure that this is correct solution, it seems works and error message is not appearing anymore.

After investigation, it appears that this is a normal behavior of the Cardano node and that it should probably not be flagged as an error (see https://github.com/input-output-hk/mithril/pull/1644#issuecomment-2161029856 for more details).