utils/run-test can't infer swift build directory

GettingStarted recommends runnings tests as:
utils/run-test --lit ../llvm-project/llvm/utils/lit/lit.py \
  ../build/Ninja-RelWithDebInfoAssert/swift-macosx-$(uname -m)/test-macosx-$(uname -m)

Being launched from swift directory it produces error:
utils/run-test --lit ../llvm-project/llvm/utils/lit/lit.py \
  ../build/Ninja-RelWithDebInfoAssert/swift-macosx-$(uname -m)/test-macosx-$(uname -m)
run-test: Can't infer swift build directory

Probably, GettingStarted.md should give more accurate instructions.

If you have a moment, I would kindly request that you check #70605 , please.

If you have a moment, I would kindly request that you check #70605 , please.

No, addition in #70605 doesn't make issue any clearer.

This pertains to case 1:

When the command is initiated from the swift directory, it results in an error. For this reason, the command should not
include the swift keyword nor should it specify paths starting from the swift directory. It is recommended to omit the swift
keyword to avoid such issues.

Commands I used didn't have swift keyword, paths starting from swift directory wasn't specified either.

Thank you for your comments.
Upon further testing, I've found that the results differ from my initial tests, suggesting that this issue might be beyond my current scope of resolution. Therefore, I will proceed to close this PR.


transpose a typo using a shortcut

Transpose a typo error in a word using a shortcut

technically, if we use a custom shortcut like Ctrl+T, it should act and change the word typo ie.,
ex., tset -> Ctrl+T -> test... having the text cursor placed in the middle of two chars' mistyped.

You make it sound so simple. But a few questions come to mind...
Which app or OS would handle the text editing? Who decides what is a typo (OS and apps may use different lists)? Does the app have spell-checking in the first place? What about conflicts with the default hotkey - they are app-specific, so whatever combination you choose there is always the possibility of a conflict, in any app.

@mailmevj, few q

is this a keyboard manager suggestion?
essentially you're looking for a shortcut to allow for typo correction? This is not in our current implementation plan, especially as it's more macro-like, we're as KBM is strictly remapping currently.


No support for hiding wall torch

I tried hiding wall_torch and torch so that player could not xray towards Mineshaft torches but even when adding it in the normal AntiXray's config as well as the plugin config, they cannot be hidden. Every other block besides entities of course seems to be working. If I am using wrong item ID please let me know the correct ID.

Hi, the ID seems to be correct. I suspect that the torches are actually hidden but the lighting engine sends block updates due to lighting updates. If so, unfortunately there's not much I can do about this, especially when the server's built-in Anti-Xray can't even handle this. Also note that RayTraceAntiXray (as most other Anti-Xrays) is about hiding ores. Ray tracing blocks that are commonly placed by players (or non-valueable blocks in general) isn't a great idea in the first place because it requires server resources. I'm not saying you can't, but that's not intended.


[stable/sentry]: adds extra AWS S3 variables used in configmap

What this PR does / why we need it:
Adds extra configmap variables, which are required to configure S3 bucket stored not in a default AWS region
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/mychartname])

/ok-to-test

/lgtm


submitSucceeded is set on redux-form/STOP_SUBMIT

Get a form with onSubmitHandler, that will return rejected promise
Do remote submit.

Event flow:

redux-form/START_SUBMIT
submitting: true
redux-form/STOP_SUBMIT
submitting: undefined
submitSucceeded: true
redux-form/SET_SUBMIT_FAILED
submitSucceeded: undefined
submitFailed: true

confirm, promise rejection is not working (

are you confident that your form looks like...
<Form onSubmit={handleSubmit(doAsyncSubmit} />
vs
```?

@cdaringe - no, for remote submit you have to use onSubmit prop of reduxForm.
So
reduxForm({
onSubmit:() => Promise.reject()
}, ({handleSubmit})...);
The problem is not how onSubmit work. It work fine.
The problem occurs then you observing state (see https://github.com/erikras/redux-form/pull/2289). You will have a moment then your failed form is succeeded!

ah, looks like both syntaxes are equivalent, http://redux-form.com/6.3.1/docs/api/ReduxForm.md .  anyway, bummer!

@theKashey this issue is getting quite old, could you confirm that it still exists?

@danielrob - according to http://redux-form.com/7.0.3/examples/remoteSubmit/ - everything is ok.
Look like issue was solved.

I confirm that even with 7.0.3 we still have this issue.
When onSubmit is called and return a rejected promise, the event STOP_SUBMIT sets submitSucceeded to true before that SET_SUBMIT_FAILED sets it to false and submitFailed to true

As far as I can read on :
https://github.com/erikras/redux-form/blob/171ed689cf998774c39bcd435d73dd8228cb7e02/src/createReducer.js#L391
and
https://github.com/erikras/redux-form/blob/0975a24c5ec3e82302cf2141f79ba2c46814de48/src/handleSubmit.js#L68
This happens when the rejection object is not an instance of SubmissionError.
I think that the submitSucceeded should not be passed to true when the Promise is rejected, even if we don't throw a SubmissionError instance.
(The reducer thinks it's not an error otherwise)

Seems like it's a leftover from issue #853 (pr #1428). I guess back then the setSubmitSucceeded action was not implemented.
So I believe now this behavior should be removed from stopSubmit.

I made a pull-request with a fix - #3830

Published fix in v7.3.0.


Add feature toggle for Types

Motivation
Users who do not need to use the content types data from Kontent should be able to excluded them from the build via configuration and get rid of kontentType* and allKontentType* queries.
Proposed solution
Add a feature toggle into the Gatsby configuration that will allow developers to turn off the type generation.
Additional context
It should clean out the QraphiQL UI as well as is should saves computation time linking content items<->content type.

https://github.com/Simply007/gatsby-kontent-packages/pull/3

Implemented in vNext version


[midcobra] add executionID

Summary
This PR adds an executionID to midCobra.Middleware.
We use this executionID in two ways:

We set executionID in both sentry.EventID and segment's sentry_event_id
For an error and stack trace reported when DEVBOX_DEBUG=1, we also print this executionID.
If a user reports a reproducible error, then we can ask them to enable DEVBOX_DEBUG to reproduce
it and report the executionID to us. We can then look up the corresponding events in both
sentry and segment to construct an understanding of the problem the user is facing.

How was it tested?
Set up:

via code changes, forced the midcobra.telemetry middleware to be enabled.
added a print statement where the segment.sentry_event_id is set to print
both the executionID and the eventID returned by sentry's CaptureException.
Manually inserted an error in devbox.Open and ran a CLI command to trigger it.

Observed:

executionID and eventID from sentry's CaptureException are the same.
the executionID is printed prior to the stack trace of the error.

Current dependencies on/for this PR:

main

PR #348

PR #349

PR #351

PR #352

PR #355

PR #358   👈

This comment was auto-generated by Graphite.


Skip docker build on some conditions

I added 2 additional conditions under which a Docker Build should be skipped

when project packaging is set to POM
when a dockerDirectory is specified but no Dockerfile is contained

Thanks for the contribution @marc-christian-schulze!
This looks good to me but I think it would be better if the log messages about why the build is being skipped were outputted at info or warning level, as I think most people don't default to running mvn -X ....

Can someone merge this it's very usefull feature

Its critical for multi-module project having docker build in few module.
+1


Push Linux support to NPM

Downloading fontfacegen with npm results in a version pre Linux compatibility commit.
To replicate:
npm install fontfacegen
cat fontfacegen.js

No isLinux check etc.
Just in case its me:
OS: Ubuntu 15.10
fontfacegen: 1.7
NPM: 3.6.0

Pushed 0.1.8 to npm. Ready for testing on Linux again ;-)


Add new field 'total_user_entries' to visualizations listing

Fixes #1742

@rafatower CR please

:+1:


Not a very user friendly error when the functionapp is not found.

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az functionapp identity assign
Errors:
'NoneType' object has no attribute 'identity'
Traceback (most recent call last):
python3.6/site-packages/knack/cli.py, ln 215, in invoke
    cmd_result = self.invocation.execute(args)
cli/core/commands/__init__.py, ln 654, in execute
    raise ex
cli/core/commands/__init__.py, ln 718, in _run_jobs_serially
    results.append(self._run_job(expanded_arg, cmd_copy))
cli/core/commands/__init__.py, ln 711, in _run_job
    six.reraise(*sys.exc_info())
...
cli/command_modules/appservice/custom.py, ln 706, in assign_identity
    webapp = _assign_identity(cmd.cli_ctx, getter, setter, role, scope)
cli/core/commands/arm.py, ln 1053, in assign_identity
    resource = setter(resource)
cli/command_modules/appservice/custom.py, ln 701, in setter
    webapp.identity = ManagedServiceIdentity(type='SystemAssigned')
AttributeError: 'NoneType' object has no attribute 'identity'

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Try calling az functionapp identity assing on a non-existing function app.
az functionapp identity assign -g {} -n {} --role {} --scope {}

Expected Behavior
I'd expect a slightly more user friendly error, instead of just showing the internal exception.
Environment Summary
Linux-4.15.0-1091-azure-x86_64-with-debian-stretch-sid
Python 3.6.10
Installer: DEB

azure-cli 2.8.0 *

Additional Context

functionapp

https://github.com/Azure/azure-cli/issues/14287


Update Growatt to V3.0.4

Please fix the following issue. Adding Info to README.md is suufficient, NO new release is required.

[ ] This adapter seems to use sentry, but no sentry info is added to Readme.md
This adapter seems to use sentry for error logging. Please add the suggested sentry information at the top of Readme.md
**This adapter uses Sentry libraries to automatically report exceptions and code errors to the developers.** For more details and for information how to disable the error reporting see [Sentry-Plugin Documentation](https://github.com/ioBroker/plugin-sentry#plugin-sentry)! Sentry reporting is used starting with js-controller 3.0.

Thanks
McM1957

changed

thanks

RE-CHECK!

3.0.4 created 03.07.2023
107 User (9%)
OK


Install tiller as well if it exists

What I Did
I modified scripts/get to install tiller as well if it exists in a version of release binary.
When tiller exists
$ HELM_INSTALL_DIR=/tmp/helm ./scripts/get --version v2.11.0-rc.1
Downloading https://kubernetes-helm.storage.googleapis.com/helm-v2.11.0-rc.1-darwin-amd64.tar.gz
Preparing to install helm and tiller into /tmp/helm
helm installed into /tmp/helm/helm
tiller installed into /tmp/helm/tiller
Run 'helm init' to configure helm.

When tiller does not exist
$ HELM_INSTALL_DIR=/tmp/helm ./scripts/get --version v2.9.1
Downloading https://kubernetes-helm.storage.googleapis.com/helm-v2.9.1-darwin-amd64.tar.gz
Preparing to install helm and tiller into /tmp/helm
helm installed into /tmp/helm/helm
warn: tiller is not included in this version of binary release
Run 'helm init' to configure helm.

Background
Since release candidates of v2.11.0, the binary releases got to include tiller in it.

The issue proposed to include tiller

https://github.com/helm/helm/issues/1690

The PR fixed the issue

https://github.com/helm/helm/pull/4443

would you mind rebasing now that https://github.com/helm/helm/pull/4653 has been merged? Thanks!

@bacongobbler
Thanks, rebased!

Manually tested and works with both newer and older releases.
><> ./get.sh --version v2.11.0-rc.3
Helm v2.11.0-rc.3 is available. Changing from version v2.10.0.
Downloading https://kubernetes-helm.storage.googleapis.com/helm-v2.11.0-rc.3-darwin-amd64.tar.gz
Preparing to install helm and tiller into /usr/local/bin
helm installed into /usr/local/bin/helm
tiller installed into /usr/local/bin/tiller
Run 'helm init' to configure helm.

><> ./get.sh --version v2.9.1
Helm v2.9.1 is available. Changing from version v2.11.0-rc.3.
Downloading https://kubernetes-helm.storage.googleapis.com/helm-v2.9.1-darwin-amd64.tar.gz
Preparing to install helm and tiller into /usr/local/bin
helm installed into /usr/local/bin/helm
info: tiller binary was not found in this release; skipping tiller installation
Run 'helm init' to configure helm.

kicked off a new job on Circle since the service has been a little flaky this afternoon.


No graphic screen after installing PocketDesk

Reboot after install has me locked in terminal asking for pocketDESK login and password, then tells me "The programs included with the Debian GNU/linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. chip@PocketDESK:~$
Great. Now what?

I ran into the same problem, ultimately I re-flashed my chip. I believe it has something to do with device drivers for armsoc, which you can grab a xorg-xserver-armsoc package for through apt-get. But trying to go this route just cause the system to complain that /dev/console is an inappropriate IOCTL device for X.
It probably comes down to missing a very specific device driver, but it wasn't worth the headache to continue to troubleshoot when you can just drop the chip into FEL mode, reflash, and try again.

well, same happened to me. I installed armsoc using apt and the device died, no screen after booting.
The owner of the project should include a warning or double check about the versions of the packages.

Because I ran into the same problem today, here is how I fixed it without re-flashing:
Change /etc/X11/xorg.conf to the following:
Section "Files"
        ModulePath "/usr/lib/arm-linux-gnueabihf/xorg/modules/"
        ModulePath "/usr/lib/xorg/modules/"
EndSection

Section "Monitor"
	Identifier	"VGA"
	Option		"PreferredMode"	"1024x768_60.00"
EndSection

Section "Monitor"
	Identifier	"HDMI"
	Option		"PreferredMode"	"1280x720_60.00"
EndSection

Section "Monitor"
	Identifier	"Composite"
	Option		"PreferredMode"	"NTSC10"
EndSection

Section "Device"
	Identifier	"Allwinner sun4i DRM"
	Driver		"armsoc"
	Option		"Monitor-Composite-0"	"Composite"
	Option		"Monitor-VGA-0"		"VGA"
	Option		"Monitor-HDMI-A-0"	"HDMI"
EndSection

Section "Screen"
	Identifier	"Screen0"
	Device		"Card0"
EndSection

Section "Device"
	Identifier	"Card0"
	Driver		"modesetting"
EndSection

After rebooting it should work again.

Hey big shout to thank you for bricking my PocketCHIP - waste of time - word to the wise - don't trust this rubbish...


After adding an issuer, return to the list of issuers

Since our just-added issuer screen is pretty blank, let's change the interaction so that you're left at the Issuers tile screen after adding an issuer.

No longer needed due to Small Planet fixes.


Rel300 defer MultiAZ to improve time to first test

Issue #, if available:

https://github.com/setheliot/aws-well-architected-labs/issues/62
https://github.com/setheliot/aws-well-architected-labs/issues/20
https://github.com/setheliot/aws-well-architected-labs/issues/39
(no issue) speed up RDS and RR clean-up by NOT taking a snapshot

Description of changes:

Create RDS DB as SingleAZ, then update to MultiAZ in parallel to webserver
Update wait logic on RDS DB and RR to be dynamic and remove 7 minute "dead wait"
Speed up RDS and RR clean-up by preventing creation of snapshot
Fix bugs in DMS deployment
Add db.t2.micro back to allowed DB instance and RR instance types and make it the default (free tier)
Do not delete LambdaResourceRole as part of CloudFormation deletion -- if it is deleted before the custom resource in the VPC stack is, then VPC stack deletion will hang for 1 hour
Update logic that checks for stack complete/in_progress to include updates as well as create
Fix various logging statements that expect strings
remove unused secondary_region_name from single-region deploy

Note this PR cumulatively ALSO includes everything in PR https://github.com/awslabs/aws-well-architected-labs/pull/52 -- so if you test this, then you are also testing https://github.com/awslabs/aws-well-architected-labs/pull/52
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

depends on https://github.com/setheliot/aws-well-architected-labs/pulls


Enable log appending for the server testsuite

Changed to filter out some excessive chattiness (e.g. from ApacheDS)


TextBlock Control does not display line breaks in inline text

Describe the bug
The Builtin TextBlock Control does not respect line breaks.
The Documentation claims otherwise: https://docs.avaloniaui.net/docs/next/reference/controls/detailed-reference/textblock
To Reproduce
Steps to reproduce the behavior:

Create a new Avalonia C# Project (i use the CommunityToolkit) in Visual Studio.
Paste the example code into the MainView.axml file (result repeated below for clarity.

<UserControl xmlns="https://github.com/avaloniaui"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             xmlns:vm="clr-namespace:TextBlockTest.ViewModels"
             mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
             x:Class="TextBlockTest.Views.MainView"
             x:DataType="vm:MainViewModel">

  <Design.DataContext>
    <!-- This only sets the DataContext for the previewer in an IDE,
         to set the actual DataContext for runtime, set the DataContext property in code (look at App.axaml.cs) -->
    <vm:MainViewModel />
  </Design.DataContext>

	<StackPanel Margin="20">
		<TextBlock Margin="0 5" FontSize="18" FontWeight="Bold">Heading</TextBlock>
		<TextBlock Margin="0 5" FontStyle="Italic">This is  a single line.</TextBlock>
		<TextBlock Margin="0 5">
			This is a multi-line display
			that has returns in it.
			The text block repects the line breaks
			as set out in XAML.
		</TextBlock>
	</StackPanel>
</UserControl>

As you can see, the last TextBlock is displayed in a single line, which it shouldn't.

Expected behavior
Either TextBlock should respect line breaks in the .axml file, or the Documentation should be updated to reflect that it does not.
Screenshots

Desktop (please complete the following information):

OS: Windows 10 Pro 22H2
Version 22H2 Build 19045.3208

Additional context
Using Avalonia 11.0.2
I am new to Avalonia, MVVM, Frontend Development and C#.
Please excuse any errors i might have made.
I have also tried adding xml:space="preserve" to the code which did work, but did not behave as implied by the documentation (it displayed all spaces, contrary to the docs example).

Works as expected
Either add line breaks explicitly via

Or add xml:space="preserve" to the TextBlock node

I missed that visual studio automatically formats my paste from the wiki.
My bad.

You're welcome anyway. Enjoy Avalonia 🙂


Fix api! method

https://github.com/Apipie/apipie-rails/pull/465

This solution generates SystemStackError with a large number of nested controllers (50+ controllers with 4-5 actions each)
SystemStackError (stack level too deep)
list of all controllers and controller modules parsed so far


Agent cuncurrency primitive

@Odomontois
Ready to discuss any ideas

Closing this for now. Feel free to reopen


Rc 3.0.0 - Node 18+<EMAIL_ADDRESS>security override

coverage: 99.245%. remained the same
when pulling c709005b93783209731be9788d37e9c5ab52d493 on rc-3.0.0
into 2287aaa9904cec9380ecfdf8c4043b1f502cdb19 on master.


ICC builds with too old libstdc++ not rejected during configuration

Original author: Jim Phillips (@jcphill)
Original issue: https://charm.cs.illinois.edu/redmine/issues/1744

module load intel/17.0
./build charm++ net-linux-x86_64 ibverbs iccstatic --no-build-shared --enable-randomized-msgq --with-prio-type=int --enable-error-checking -debug

../bin/charmc  -debug  -I.   -c -o DummyLB.o DummyLB.C
In file included from charm++.h(1107),
                 from LBDatabase.decl.h(3),
                 from LBDatabase.h(100),
                 from BaseLB.h(9),
                 from CentralLB.h(9),
                 from DummyLB.h(9),
                 from DummyLB.C(6):
ckmemcheckpoint.h(76): error: more than one instance of overloaded function "std::to_string" matches the argument list:
            function "std::to_string(long long)"
            function "std::to_string(unsigned long long)"
            function "std::to_string(long double)"
            argument types are: (int)
        fname = "/tmp/ckpt" + std::to_string(CkMyPe()) + "-" + std::to_string(idx) + "-XXXXXX";
                              ^

In file included from charm++.h(1107),
                 from LBDatabase.decl.h(3),
                 from LBDatabase.h(100),
                 from BaseLB.h(9),
                 from CentralLB.h(9),
                 from DummyLB.h(9),
                 from DummyLB.C(6):
ckmemcheckpoint.h(76): error: more than one instance of overloaded function "std::to_string" matches the argument list:
            function "std::to_string(long long)"
            function "std::to_string(unsigned long long)"
            function "std::to_string(long double)"
            argument types are: (int)
        fname = "/tmp/ckpt" + std::to_string(CkMyPe()) + "-" + std::to_string(idx) + "-XXXXXX";
                                                               ^

../bin/../include/pup_stl.h(212): error: class "std::vector<SDAG::Closure *, std::allocator<SDAG::Closure *>>" has no member "shrink_to_fit"
          v.shrink_to_fit();
            ^
          detected during instantiation of "void PUP::operator|(PUP::er &, std::vector<T, std::allocator<T>> &) [with T=SDAG::Closure *]" at line 168 of "sdag.h"

../bin/../include/pup_stl.h(212): error: class "std::vector<unsigned short, std::allocator<unsigned short>>" has no member "shrink_to_fit"
          v.shrink_to_fit();
            ^
          detected during instantiation of "void PUP::operator|(PUP::er &, std::vector<T, std::allocator<T>> &) [with T=unsigned short]" at line 169 of "sdag.h"

../bin/../include/pup_stl.h(212): error: class "std::vector<int, std::allocator<int>>" has no member "shrink_to_fit"
          v.shrink_to_fit();
            ^
          detected during instantiation of "void PUP::operator|(PUP::er &, std::vector<T, std::allocator<T>> &) [with T=int]" at line 171 of "sdag.h"

../bin/../include/pup_stl.h(212): error: class "std::vector<std::list<int, std::allocator<int>>, std::allocator<std::list<int, std::allocator<int>>>>" has no member "shrink_to_fit"
          v.shrink_to_fit();
            ^
          detected during instantiation of "void PUP::operator|(PUP::er &, std::vector<T, std::allocator<T>> &) [with T=std::list<int, std::allocator<int>>]" at line 264 of "sdag.h"

../bin/../include/pup_stl.h(212): error: class "std::vector<std::list<SDAG::Buffer *, std::allocator<SDAG::Buffer *>>, std::allocator<std::list<SDAG::Buffer *, std::allocator<SDAG::Buffer *>>>>" has no member "shrink_to_fit"
          v.shrink_to_fit();
            ^
          detected during instantiation of "void PUP::operator|(PUP::er &, std::vector<T, std::allocator<T>> &) [with T=std::list<SDAG::Buffer *, std::allocator<SDAG::Buffer *>>]" at line 265 of "sdag.h"

../bin/../include/pup_stl.h(212): error: class "std::vector<std::list<SDAG::Continuation *, std::allocator<SDAG::Continuation *>>, std::allocator<std::list<SDAG::Continuation *, std::allocator<SDAG::Continuation *>>>>" has no member "shrink_to_fit"
          v.shrink_to_fit();
            ^
          detected during instantiation of "void PUP::operator|(PUP::er &, std::vector<T, std::allocator<T>> &) [with T=std::list<SDAG::Continuation *, std::allocator<SDAG::Continuation *>>]" at line 266 of "sdag.h"

compilation aborted for DummyLB.C (code 2)
Fatal Error by charmc in directory /scratch/users/jcphill/charm-6.8.2-debug-build-2017-Nov-13-7172-net-linux-x86_64-ibverbs-iccstatic/charm-6.8.2/net-linux-x86_64-ibverbs-iccstatic/tmp
   Command icpc -DCMK_GFORTRAN -I../bin/../include -D__CHARMC__=1 -I. -O0 -g -std=c++11 -DCMK_GFORTRAN -I./../include -D__CHARMC__=1 -O0 -g -c DummyLB.C -o DummyLB.o returned error code 2

Original date: 2017-11-13 17:07:20

I think you need to load gcc as well as intel/17.0 to get more modern C++ headers with C++11 support

Original author: Jim Phillips (@jcphill)
Original date: 2017-11-15 04:53:26

Yup, that fixed it.  Thanks.

Original date: 2017-11-29 17:16:39

~~https://charm.cs.illinois.edu/gerrit/#/c/3338/~~ https://github.com/UIUC-PPL/charm/commit/5639429d02138d15b50a21f1cf662b89b96e3fe9


Website modified to take up data from OSSP-master.js

Features/changes with this PR:

run.js file for triggering data fetch from ossp-master file.
ossp-master altered with extra data(minimal) to enable visualization .
Modified BeSCVEViz file moved to mockscreen directory as it requires further enhancement.
50-prometheus-CVEdetails.json file introduced as individual data file for project, 50-prometheus-CVEdetails.json.

@asa1997
Please share your feedback

Outdated.
New Pull request raised with additional features along with the feature of this PR.


docs: update rugpi instructions to align with rugpi v0.6

Proposed changes

Update rugpi image building instrustions after refactoring the tedge-rugpi-image repo to use new Rugpi features (layers and repositories) introduced in 0.6.

https://github.com/thin-edge/tedge-rugpi-image (image)
https://github.com/thin-edge/tedge-rugpi-core (recipes)
Rugpi release notes:  https://oss.silitics.com/rugpi/blog/releases/0.6

Types of changes

[ ] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Improvement (general improvements like code refactoring that doesn't explicitly fix a bug or add any new functionality)
[x] Documentation Update (if none of the other choices apply)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Paste Link to the issue

Checklist

[x] I have read the CONTRIBUTING doc
[x] I have signed the CLA (in all commits with git commit -s)
[ ] I ran cargo fmt as mentioned in CODING_GUIDELINES
[ ] I used cargo clippy as mentioned in CODING_GUIDELINES
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation (if appropriate)

Further comments

Not related to the docs, but testing while reading, I got the following error:
$ just build-pi4

Error: loading library

Caused by:
    0: error reading recipe info from path `"/project/recipes/sbom/recipe.toml"
    1: No such file or directory (os error 2)

This error was unrelated. But because I reused a clone with remaining recipes from the old version.


Update DockerFile for 3.5.1

@xcompass please help with review?
I also noticed the team-and-enterprise branch is out of date, would you be able to help merge latest changes from master to the team-and-enterprise version too?
We'll add an item to our release checklist to help make the version upgrade smoother next time, this was our mistake.


Loop button displays wrong state

Godot version
c2babb6
System information
Windows 10 x64
Issue description
The loop in AnimationPlayer button is 3-state, but it no longer cycles between states. It's either pressed or not pressed and shows wrong icon. E.g. when you press it twice, it changes to pingpong animation, but it will appear non-looping. Icon changes to pingpong after scene reload.

Seems like recent regression.
Steps to reproduce

Add AnimationPlayer
Add Animation
Click the loop button twice
Save
Reload the scene
Check the loop button

Minimal reproduction project
No response

https://github.com/godotengine/godot/blob/c2babb65580d4dce3a0fc8834dd05fe177227b6e/editor/animation_track_editor.cpp#L1448-L1457
I think the call to update_values should be moved after undo_redo->commit_action, so icon & press state of the loop button will be in-sync with the new mode

While testing this, I noticed that if you play the animation in ping-pong mode and then change to linear (while playing backward), the animation will keep playing backward

I think this is probably due to a change in the timing of icon fetching. CC @YuriSizov

If it gets an icon, even if it's a wrong one, that means that the theming is working correctly. That said, theme utilization code in animation_track_editor.cpp needs a lot of improvement.
@gotnospirit is mostly correct. The call to update values (which is what changes the icon and the state of the button) is missing from the actual act of changing the loop mode. The UndoRedo action needs to call into this method as well as the other branch does.


Add release script

Create release (including src and bin)
skywalking-cli $ make VERSION=0.1.0 release
go clean ./...
rm -rf bin
rm -rf coverage.txt
rm -rf *.tgz
rm -rf *.tgz
rm -rf *.asc
rm -rf *.sha512
$(go env GOPATH)/bin/golangci-lint version || curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.21.0
golangci-lint has version master built from ? on
$(go env GOPATH)/bin/golangci-lint run -v ./...
INFO [config_reader] Config search paths: [./ /Users/kezhenxu/oss/skywalking-cli /Users/kezhenxu/oss /Users/kezhenxu /Users /]
INFO [config_reader] Used config file .golangci.yml
INFO [lintersdb] Active 30 linters: [bodyclose deadcode depguard dogsled dupl errcheck funlen goconst gocritic gocyclo gofmt goimports golint gosec gosimple govet ineffassign interfacer lll misspell nakedret staticcheck structcheck stylecheck typecheck unconvert unparam unused varcheck whitespace]
INFO [lintersdb] Active 30 linters: [bodyclose deadcode depguard dogsled dupl errcheck funlen goconst gocritic gocyclo gofmt goimports golint gosec gosimple govet ineffassign interfacer lll misspell nakedret staticcheck structcheck stylecheck typecheck unconvert unparam unused varcheck whitespace]
INFO [loader] Go packages loading at mode 575 (exports_file|files|compiled_files|deps|types_sizes|imports|name) took 233.783592ms
INFO [runner/filename_unadjuster] Pre-built 0 adjustments in 1.880652ms
INFO [runner/unused/goanalysis] analyzers took 0s with no stages
INFO [runner/goanalysis_metalinter/goanalysis] analyzers took 0s with no stages
INFO [runner] Issues before processing: 183, after processing: 0
INFO [runner] Processors filtering stat (out/in): path_prettifier: 183/183, exclude: 0/183, cgo: 183/183, skip_dirs: 183/183, autogenerated_exclude: 183/183, filename_unadjuster: 183/183, skip_files: 183/183, identifier_marker: 183/183
INFO [runner] processing took 9.097796ms with stages: exclude: 3.361903ms, identifier_marker: 2.778092ms, autogenerated_exclude: 1.595272ms, path_prettifier: 1.098771ms, skip_dirs: 219.527µs, cgo: 26.261µs, filename_unadjuster: 7.936µs, nolint: 6.621µs, max_same_issues: 1.081µs, diff: 651ns, max_from_linter: 321ns, exclude-rules: 294ns, skip_files: 264ns, source_code: 237ns, uniq_by_line: 200ns, path_shortener: 183ns, max_per_file_from_linter: 182ns
INFO [runner] linters took 101.163825ms with stages: unused: 76.597723ms, goanalysis_metalinter: 15.379329ms
INFO File cache stats: 0 entries of total size 0B
INFO Memory: 5 samples, avg is 69.2MB, max is 69.9MB
INFO Execution took 350.091758ms
go test ./... -coverprofile=coverage.txt -covermode=atomic
?   	github.com/apache/skywalking-cli/commands/endpoint	[no test files]
?   	github.com/apache/skywalking-cli/commands/flags	[no test files]
?   	github.com/apache/skywalking-cli/commands/instance	[no test files]
ok  	github.com/apache/skywalking-cli/commands/interceptor	1.354s	coverage: 56.5% of statements
?   	github.com/apache/skywalking-cli/commands/metrics/linear	[no test files]
?   	github.com/apache/skywalking-cli/commands/metrics/single	[no test files]
?   	github.com/apache/skywalking-cli/commands/model	[no test files]
?   	github.com/apache/skywalking-cli/commands/service	[no test files]
?   	github.com/apache/skywalking-cli/display	[no test files]
?   	github.com/apache/skywalking-cli/display/graph	[no test files]
?   	github.com/apache/skywalking-cli/display/graph/linear	[no test files]
ok  	github.com/apache/skywalking-cli/display/json	0.547s	coverage: 75.0% of statements
ok  	github.com/apache/skywalking-cli/display/table	0.951s	coverage: 100.0% of statements
ok  	github.com/apache/skywalking-cli/display/yaml	0.367s	coverage: 75.0% of statements
?   	github.com/apache/skywalking-cli/graphql/client	[no test files]
?   	github.com/apache/skywalking-cli/graphql/schema	[no test files]
?   	github.com/apache/skywalking-cli/logger	[no test files]
?   	github.com/apache/skywalking-cli/swctl	[no test files]
?   	github.com/apache/skywalking-cli/util	[no test files]
$(go env GOPATH)/bin/go-licenser -version || GO111MODULE=off go get -u github.com/elastic/go-licenser
go-licenser  ()
$(go env GOPATH)/bin/go-licenser -d -licensor='Apache Software Foundation (ASF)' .
tar -zcvf skywalking-cli-0.1.0-src.tgz \
	--exclude bin \
	--exclude .git \
	--exclude .idea \
	--exclude .DS_Store \
	--exclude .github \
	--exclude skywalking-cli-0.1.0-src.tgz \
	.
a .

The diff coverage is n/a.

@@          Coverage Diff           @@
##           master     #19   +/-   ##
======================================
  Coverage    64.7%   64.7%
======================================
  Files           5       5
  Lines          85      85
======================================
  Hits           55      55
  Misses         24      24
  Partials        6       6

Continue to review full report at Codecov.

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

Can we send a test e-mail to the dev ML now? anything that is pre-required before that?


How to load local llm and refit the weights of LLM Engine?

Hi, we are https://github.com/OpenLLMAI/OpenRLHF
We want to integrate vLLM with OpenRLHF to support large models
In RLHF we need to re-fit the weight of LLM models during the training
We even need to free the vLLM GPU memory to leave more memory for training, but not destroy the vLLM object
And then we can refit the LLM model weights from the training framework.
thx for your reply!

I am also facing this issue, have you solved them already?


node-local-dns data generates changes for each run

I missed this during the implementation but even though it's just data terraform seems to think that it should reapply the changes. When reapplying the helm chart get's a bit crazy and disappears.
It's probably enough the ignore any changes to the data resources.
If not we need to change it to a variable.
  # module.aks1_core.module.node_local_dns["node-local-dns"].data.kubernetes_namespace.this will be read during apply
  # (config refers to values not yet known)
 <= data "kubernetes_namespace" "this"  {
      ~ id   = "kube-system" -> (known after apply)
      ~ spec = [
          - {
              - finalizers = [
                  - "kubernetes",
                ]
            },
        ] -> (known after apply)

      ~ metadata {
          - annotations      = {} -> null
          ~ generation       = 0 -> (known after apply)
          - labels           = {
              - "control-plane" = "true"
            } -> null
            name             = "kube-system"
          ~ resource_version = "477" -> (known after apply)
          ~ uid              = "14fdfb50-00c9-4783-9817-936b34271409" -> (known after apply)
        }
    }

  # module.aks1_core.module.node_local_dns["node-local-dns"].data.kubernetes_service.this will be read during apply
  # (config refers to values not yet known)
 <= data "kubernetes_service" "this"  {
      ~ id     = "kube-system/kube-dns" -> (known after apply)
      ~ spec   = [
          - {
              - cluster_ip                  = "<IP_ADDRESS>"
              - external_ips                = []
              - external_name               = ""
              - external_traffic_policy     = ""
              - health_check_node_port      = 0
              - load_balancer_ip            = ""
              - load_balancer_source_ranges = []
              - port                        = [
                  - {
                      - name        = "dns"
                      - node_port   = 0
                      - port        = 53
                      - protocol    = "UDP"
                      - target_port = "53"
                    },
                  - {
                      - name        = "dns-tcp"
                      - node_port   = 0
                      - port        = 53
                      - protocol    = "TCP"
                      - target_port = "53"
                    },
                ]
              - publish_not_ready_addresses = false
              - selector                    = {
                  - "k8s-app" = "kube-dns"
                }
              - session_affinity            = "None"
              - type                        = "ClusterIP"
            },
        ] -> (known after apply)
      ~ status = [
          - {
              - load_balancer = [
                  - {
                      - ingress = []
                    },
                ]
            },
        ] -> (known after apply)

      ~ metadata {
          - annotations      = {} -> null
          ~ generation       = 0 -> (known after apply)
          - labels           = {
              - "k8s-app" = "kube-dns"
            } -> null
            name             = "kube-dns"
          ~ resource_version = "408" -> (known after apply)
          ~ uid              = "9e6fa608-54a8-4945-b22e-a58d615a97d2" -> (known after apply)
            # (1 unchanged attribute hidden)
        }
    }

I don't think this is a problem, I can run my terraform without having any issues.
Can't reproduce the issue so I will close it.


add rustfmt config file

adds some initial configuration for rust fmt. it primarily just cleans up and makes imports consistent atm.
a reference for all configuration options can be found here: https://rust-lang.github.io/rustfmt/
im open to changing any of the initial options i set.

should be good to merge.


Add sort option for Test Cases

Requesting the ability to sort test cases by name. This functionality will allow for better grouping and quicker navigation to test cases.

Hello @Zamily84 will you be able to help us in identifying the screen where you need this feature? screen short will be more helpful.

On test cases

Thank you @Zamily84 We will look into this :)


animationFrames() has memory leak.

Describe the bug
animationFrames will add subscriptions again again before unsubscribe.
Expected behavior
Here I describe the problem.
I can't find the logic of removing sub subscription inside animationFrames.
So I add this to source code in Subscription class.

Add this to project code.

You will see this.

Shouldn't they be removed from array:this._finalizers over time???
Reproduction code
As shown in the prev section.

Reproduction URL
No response
Version
7.5.5
Environment
No response
Additional context
No response

I can confirm that it accumulates a new Subscription for each animation frame. The Subscriptions returned from animationFrameProvider.schedule are never closed/unsubscribed, therefore they are not removed from the list of finalizers.
I tried fixing this, but I don't know which is the preferred solution:

don't collect all subscriptions in a parent subscription in animationFramesFactory, instead save the latest subscription in a local variable and return a finalizer function that unsubscribes from that subscription
in animationFrameProvider.schedule, unsubscribe from the returned subscription after calling the callback
don't use animationFrameProvider.schedule at all, because creating a Subscription for every invocation seems unnecessary (wasteful and complex). instead just use animationFrameProvider.requestAnimationFrame

Yeah, generating sub subscriptions and replacing in turn is unnecessary, I may vote solution 3 ( directly use raf ).
It's crazy that there is such a hidden array growing over time. And suddenly stop the world to resize itself to store more items for nothing. It should be fix as soon as possible.

In my opinion:

in animationFrameProvider.schedule, unsubscribe from the returned subscription after calling the callback


[fix] benchmark run with compose

Which issue does this PR close?
Closes #665.
Rationale for this change
The the following command from the README:
docker-compose run ballista-client cargo run benchmark ballista --host ballista-scheduler --port 50050 --query 1 --path /data --format tbl

was failing because --host was taken as an option for docker-compose instead of cargo run benchmark.
Also binding to a folder outside the project folder:
  volumes:
    - ../..:/ballista

is dangerous as you might end up overriding random files on the host filesystem.
What changes are included in this PR?
Removed the binding to ../.. and documentation update.
Are there any user-facing changes?
No

Thanks @rdettai !


Problem with typing

Some error is occurring with sentry for python (using python 3.8)
[ERROR] AttributeError: type object 'Callable' has no attribute '_abc_registry'
Traceback (most recent call last):
  File "/var/task/handler.py", line 609, in lambda_handler
    return LambdaHandler.lambda_handler(event, context)
  File "/var/task/handler.py", line 240, in lambda_handler
    handler = cls()
  File "/var/task/handler.py", line 134, in __init__
    self.app_module = importlib.import_module(self.settings.APP_MODULE)
  File "/var/lang/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/var/task/src/main.py", line 6, in <module>
    import sentry_sdk
  File "/var/task/sentry_sdk/__init__.py", line 1, in <module>
    from sentry_sdk.hub import Hub, init
  File "/var/task/sentry_sdk/hub.py", line 8, in <module>
    from sentry_sdk._compat import with_metaclass
  File "/var/task/sentry_sdk/_compat.py", line 3, in <module>
    from sentry_sdk._types import MYPY
  File "/var/task/sentry_sdk/_types.py", line 2, in <module>
    from typing import TYPE_CHECKING as MYPY
  File "/var/task/typing.py", line 1357, in <module>
    class Callable(extra=collections_abc.Callable, metaclass=CallableMeta):
  File "/var/task/typing.py", line 1005, in __new__
    self._abc_registry = extra._abc_registry

Any hint?

I think you should be able to reproduce this by running import typing in a REPL, so I don't think this is Sentry-related.


test/planning-component-with-data

Please review before merging.

:tada: This PR is included in version 1.5.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


GUI is not hidden after invoking hide() method

Expected Behavior
After invoking hide() method the gui should not be visible.
Current Behavior
After invoking hide() method the css class skitt-ui--hidden is applied but the gui is still visible.
All themes seem to have same behaviour.
Possible Solution
The problem could be fixed with a stronger rule
#skitt-ui.skitt-ui--hidden {
    display: none !important;
}

Your Environment

Version used: 0.3.0
Browser Name and version: Google chrome 51.0.2704.63
Operating System and version (desktop or mobile): Ubuntu 16.04

May I close this issue?

Thank you 👍


Feat/docker images

I prepared 2 eo-learn docker images and connected them with a (semi-)automatic build and deploy procedure at Docker Hub. I also documented the instructions.
Issues which I'm leaving for future improvements:

Notebook with cartopy visualizations doesn't work in the built docker image (kernel keeps dying).
Build procedure at Docker Hub is not completely automatic as it doesn't allow build chaining. In our case image latest-examples depends on image latest but Docker Hub can only trigger their build at the same time. Hence latest-examples will have to be triggered manually.

👍

I've checked the issue with visualisation notebook; uninstalling shapely and reinstalling it with --no-binary fixed the kernel crashes.
After that, another issue was found:
/usr/local/lib/python3.8/site-packages/eolearn/visualization/xarray_utils.py in new_coordinates(data, crs, new_crs)
    230     bbox = BBox((x_values[0], y_values[0], x_values[-1], y_values[-1]), crs=crs)
    231     bbox = bbox.transform(new_crs)
--> 232     xmin, ymin = bbox.get_lower_left()
    233     xmax, ymax = bbox.get_upper_right()
    234     new_xs = np.linspace(xmin, xmax, len(x_values))

AttributeError: 'BBox' object has no attribute 'get_lower_left'

Thanks @batic, I was able to fix visualization issues and the notebook now runs correctly.
Note: we'll have to release new eo-learn version before images will build correctly. For testing purposes the following 2 lines have to be additionally used in build
COPY ./visualization ./visualization
RUN pip3 install ./visualization --upgrade


Add support for typescript

I tried using it in typescript project and it keeps throwing error

Could not find a declaration file for module 'google-currency-scraper'. '/home/zaeem/Downloads/Practice/Javascript/node_modules/google-currency-scraper/index.js' implicitly has an 'any' type.
Try npm i --save-dev @types/google-currency-scraper if it exists or add a new declaration (.d.ts) file containing declare module 'google-currency-scraper';

I tried installing @types/google-currency-scraper but it doesn't exist in the registry. Can typescript support be added?

Hi.
We talked about this yesterday. 😄  (#13)
I've just added type declarations. It should be fine now. Could you please upgrade to 3.2.0 and let me know if it helps? I would like to mark this issue as resolved and close it.

Yes, thank you for adding the typescript support. But I've ran into another issue, there seems to be problem with running the code when I try with ts-node or using it inside NestJS server, server doesn't start.

Error [ERR_REQUIRE_ESM]: require() of ES Module /home/zaeem/Downloads/Projects/Barter/BARTER-BE-DEV/node_modules/google-currency-scraper/index.js from /home/zaeem/Downloads/Projects/Barter/BARTER-BE-DEV/dist/modules/currency-exchange/currency-exchange.service.js not supported.
Instead change the require of index.js in /home/zaeem/Downloads/Projects/Barter/BARTER-BE-DEV/dist/modules/currency-exchange/currency-exchange.service.js to a dynamic import() which is available in all CommonJS modules.
at TracingChannel.traceSync (node:diagnostics_channel:315:14)
at Object. (/home/zaeem/Downloads/Projects/Barter/BARTER-BE-DEV/dist/modules/currency-exchange/currency-exchange.service.js:14:35)

Error looks something like this, although when I tried running the ts file with bun it worked. but doesn't work ts-node.

Yes, thank you for adding the typescript support. But I've ran into another issue, there seems to be problem with running the code when I try with ts-node or using it inside NestJS server, server doesn't start.

Error [ERR_REQUIRE_ESM]: require() of ES Module /home/zaeem/Downloads/Projects/Barter/BARTER-BE-DEV/node_modules/google-currency-scraper/index.js from /home/zaeem/Downloads/Projects/Barter/BARTER-BE-DEV/dist/modules/currency-exchange/currency-exchange.service.js not supported.
Instead change the require of index.js in /home/zaeem/Downloads/Projects/Barter/BARTER-BE-DEV/dist/modules/currency-exchange/currency-exchange.service.js to a dynamic import() which is available in all CommonJS modules.
at TracingChannel.traceSync (node:diagnostics_channel:315:14)
at Object. (/home/zaeem/Downloads/Projects/Barter/BARTER-BE-DEV/dist/modules/currency-exchange/currency-exchange.service.js:14:35)

Error looks something like this, although when I tried running the ts file with bun it worked. but doesn't work ts-node.

google-currency-scraper is an ES Module and cannot be imported using require() in a CommonJS module. Instead, you need to use the dynamic import() syntax available in CommonJS.
(async () => {
  const googleCurrencyScraper = await import("google-currency-scraper);
})();

You can read more about it here: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c

Alright, thanks.


feature: Increase search bar padding & adjust filter spacing

Changes:

Increased search bar padding for better visibility
Adjusted filter spacing for improved UI compactness

This is a long standing ticket that is not a neccessary change - therefore I will be closing it.


Click event for VertexControl

Implemented a Click event that has similar behavior to that of Button controls, which do not fire the Click event until the button is released. Here, the Click event is only wanted if the user doesn't drag the control.
Several changes are made to DragBehavior, mainly to reduce conflicts between VertexControl and DragBehavior trying to handle the same events and conflicting with each other. For example, prior to these changes, the VertexControl was not getting the MouseUp events it was expecting.
VertexControl MouseDoubleClick handler no longer marks the event handled because it prevents parent controls from receiving the bubbling event. Marking the other mouse events handled might be undesirable as well because notifying the RootArea of the events doesn't necessarily mean other elements of the visual tree shouldn't get a chance at the event. The corresponding RootArea events are fine, but they are different events and bypass the rest of the bubbling that the events on the VertexControl would continue through. In my opinion, the event handlers of the VertexControl should not mark the events handled, but I have only changed that for MouseDoubleClick at this time.
PLEASE NOTE: My development system is Windows 7 and I'm not in a position to test the METRO changes at this time. I modified the code to try to get it close, but it needs to be checked. I apologize that I can't do that right now.

I'm going to advise waiting a bit on this one.  I have a TextBox in one of my vertex types and dragging the mouse over the TextBox drags the vertex instead of selecting text. Let me see if I can get that right first.

Ok, thanks for nice set of fixes anyway :)

Sorry for taking so long to get back to this. I reverted most of the changes in DragBehavior.cs, but switched it to use PreviewMouseLeftButtonUp and don't mark the event handled. When DragBehavior performs the mouse capture, it appears to cause a MouseMove event even if the mouse hasn't moved. The click handling in VertexControl has been modified to deal with that.

Thanks!


NameItemTemplate sample

I found a NameItemTemplate sample that seems to work here too; see:
https://github.com/Microsoft/WPF-Samples/blob/master/Data Binding/MultiBinding/MainWindow.xaml
I added both the line for local:NameConverter and the block for the DataTemplate. I also added the NameConverter class to my project.
Is that an appropriate sample for here?

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

ID: 8ac4b6bb-c5d4-8ef9-7785-82d6f399e8c6
Version Independent ID: 8848fa84-4853-175d-5408-9e2e3af33d0b
Content: How to: Create and Bind to an ObservableCollection
Content Source: docs/framework/wpf/data/how-to-create-and-bind-to-an-observablecollection.md
Product: dotnet-framework
GitHub Login: @dotnet-bot
Microsoft Alias: dotnetcontent

Thanks, @SimpleSamples, for your feedback; I apologize that it's taken us so long to respond to you. Yes, that is an appropriate sample for the documentation. If you'd like to open a PR, we'd be delighted to review it. The sample code goes in the dotnet/samples repo.

Thank you. I have a working project that I can copy from for the samples. I am not sure how to proceed. I assume you want to add the sample code to this article instead of referring to it. I think that most or all of the changes involve updating the resources sample code and adding the NameConverter class. The following is what I have for the resources.
    <Window.Resources>         <c:NameList x:Key="NameListData"/>         <c:NameConverter x:Key="MyNameConverter"/>         <DataTemplate x:Key="NameItemTemplate">             <TextBlock>                 <TextBlock.Text>                     <MultiBinding Converter="{StaticResource MyNameConverter}">                         <Binding Path="FirstName"/>                         <Binding Path="LastName"/>                     </MultiBinding>                 </TextBlock.Text>             </TextBlock>         </DataTemplate>     </Window.Resources>
Do I update the article the same way I have updated articles or is there something special I should do to link it to here? I don't know how to update code or add code to the dotnet/samples repo. Perhaps that will be obvious when I update the article.

I believe I originally submitted a link to an article and that link got changed to a link to the code in GitHub. The link to GitHub helps but it would help if I could see how the sample code was referred to. I have searched for the article that had the NameItemTemplate sample and related code and I cannot find it.
As for my other questions, I have created Updating Microsoft's documentation in GitHub.


Role are not visible on the login screen.

The role is not visible on the login screen, so user unable to select the role. Kindly do the needful.

Missed your message. It's been resolved.
I will proceed to close this issue. Thanks.


Recommended CPU features?

For DNSCrypt, dnscrypt-wrapper and/or Unbound: is there an advantage or benefit if the CPU has a special feature like aes, avx, avx2, avx512f, avx512cd, sse4_1, sse4_2, bmi, bmi2 or whatever? What I mean, advantage or benefit in regard to DNSSEC, Signing, En-/Decryption.
Is there a feature that the CPU should have?

AVX will help a little bit for elliptic curve arithmetic. AVX2 will make encryption a bit faster.
AVX512 and AES are not required.

Ok, thanks. I'm looking for a "faster" DNSCrypt server machine ;-)


OAuth instead of Bot Credentials

Users should be able to edit the wikibase through a simple authentification instead of some bot credentials.

maybe the code from https://github.com/rdmorganiser/rdmo-plugins-zenodo/blob/main/rdmo_zenodo/exports.py and from rdmo.services.providers import OauthProviderMixin could be re-used for this

Yes, that is the idea I currently try to follow. I am in contact with the MaRDI staff responsible for the MaRDI Portal (wikibase) to set up a new oauth consumer.


feat(core)!: make select pseudo elements not to be moved around

Alternative to #2174

@chu121su12 I ran git bisect against #987 and it seems regression is caused by #1127. Some of these changes are reverted in #1162 but the source of the problem is coming from what's left. Probably around here:
https://github.com/unocss/unocss/pull/1127/files#diff-72ab94343d47e2266a978d9981390f8bb9a6546dbdf17d0727b6a6687a769ca4R123-R137

OK, I fixed the issue and ditched movePseudoElementsEnd. I always wanted to fix this on the generator level instead of later patching with regex. @chu121su12's work on #1127 led us here 🙏


Handle silent WebSocket connection break

🐞 Bug report
Virtual sockets can be broken silently, the browser do not identify that the connection is closed and therefore don't close or even notify the WebSocket handle.
This happens, for example, when using a VPN that has multiple servers, the exit server can be changed without and the virtual connections made on top of it will break.
Steps to reproduce
The example commands are for NordVPN, but tested with NortonVPN

Connect to a VPN: nordvpn connect us
Open the Playground
Change the server: nordvpn connect uk
The connection will be there, but no messages are truly being sent

Expected behavior
The connection should be dropped and a new one should be created using the new routing.
Screenshots

Additional context
If you set your VPN to not handle connection during server change this behavior apparently becomes random. But this is not recommended anyway as it programs to bypass the VPN and open a raw connection during this window. On NordVPN this is done exactly be disabling the killswitch nordvpn set killswitch off

Possible solution, recycle channel after X retries

Closing this as we have completely refactored the SDK to use HTTP instead of WebSockets, so this is no longer an issue.


Expose raw data

Have you tested this on real 3 and 4 colour raw images? Your code assumes that iwidth is the same for 3 and 4, colour, which it isn't, and I would expect that you either get a segfault or part of the image . Therefore the addition I made in #104 is slightly different than your _get_raw. Except for this the code is good.

@paalge nice catch. I'll get this sorted out tonight and add some integration tests to make sure it continues to work in the future.

If you need, I can send some test images.

@paalge that would be really helpful actually. Or at the very least just knowing a camera model that does each format would be great. If I have model names then I can just pull images from www.rawsamples.ch

For the 4 colour I used images from a Nikon D7000 (.NEF)
For the 3 colour I downloaded a x3f file from the Sigma X3F
Test code I used (for 4 colour):
    from rawkit.raw import Raw
    url2 = "DSC_0666.NEF"
    raw = Raw(url2)
    raw.options.bps=16
    raw.unpack()
    import numpy as np
    f,col = raw.get_4_col_raw()
    f = np.asarray(f)
    import matplotlib.pyplot as plt
    plt.imshow(f[:,:])
    plt.show()

Perfect! I'll get this branch all fixed up when I get off work today.

After several hours of research and testing and banging my head on the desk I've concluded that this branch is more broken than any of us realized.
First off iwidth = sizes.width * num_col doesn't really make sense, because num_col is just len(cdesc), which is always 4 no matter what. I'm pretty sure we should have iwidth = sizes.width * 3 for color3_image and iwidth = sizes.width * 4 for color4_image.
Now for the fun part. There are actually 3 places raw data can get allocated. raw_image, color3_image, and color4_image. According to the docs, raw_image is used for storing data from cameras with bayer sensors. color3_image and color4_image are special cases for a handful of cameras that give you direct, non-mosiaced, RGB data. Only one of these three should ever be non-null for a given image. That means if you're trying to get bayer data from the 99% of cameras with that type of sensor (which I think you are), you should be using raw_image.
So why did color4_image even exist for the images you were working with? This is what I don't understand. Almost every image we tested, both raw_image and color4_image were non-null, and they both pointed to the same address in memory. This directly contradicts what the documentation says the behavior should be.
Aside from all that, I'm not sure the way we're building the 2D array is correct. It results in 4 side by side images, when I would expect it to show me a single, mosaiced image.
More research is required. I'll continue work on this tonight.

Hi
I agree that this is hard.
First of the 4 times for the colour makes sense for the 4 colour images as the width of the image is defined as the interpolated pixels, (For instance the sensor is MxN pixels, thich means there are M/2xN/2=MxN/4 pixels per colour, where M=iwidth and N=iheight, ..., and then one interpolates these colours for each of the pixels to get an image MxN.
For the 3 colour there are 3 sensors, one for each colour, each with the size of MxN, meaning that the real image actually is MxN, without any interpolation, though in order to store it, it looks like they add a fourth colour as zero and make the array Mx4xN, making iwidth=4M.
I've also noticed that raw_image rarely is nonzero, and I never understood what it was for (maybe grayscale images?)
As for the images, my testing gave images as explained in the help text, ie for 4 colour:
       R B R B ...
       G B G B ...

        R G B 0 R ...

        --------

Which is what one would expect, as this is easily interpolated/moved to a 3D array

raw_image is for bayer data, and is the only field that should be set for 99% of cameras. color4_image and color3_image are what should be null. The fact that they are populated is probably a bug in libraw (or at the very least undocumented behavior), and using them when raw_image exists is technically undefined behavior.
Also the layout you give for 4 color images seems wrong. It has twice the number of blue pixels, but it should have twice the number of green pixels.

Ok. I tried reading the docs for librawbut found the documentation very different to the real behaviour, which suggests a bug.
As for the layout, it is defined by the cdesc and is different between some models of cameras. But I agree in most cases it is two green and not two blue, though there are other variations with a different blue in on pixel.

As for the layout, it is defined by the cdesc and is different between some models of cameras.

They layout is different, but not the length (since it's always one of RGBG, RGBE, GMCY, or GBTG.

Agreed.

Ok, I figured it out. The data you want is raw_image, which is stored as single component bayer data. This data is of size raw_width * raw_height. It is not of size raw_width * 4 * raw_height as we were doing. What was actually happening was we were overflowing by doing that. So row 0 of the generated array would actually contain rows 0, 1, 2, and 3 of the raw data, then row 1 would contain rows 1, 2, 3, 4, and so on, until you get to the end and the last images have some rows missing at the bottom.
I still don't know why color4_image is non-null, but it shouldn't be used here. It only exists for use with certain Foveon cameras that don't use bayer sensors.

I think a lot of confusion I had was about how the mosaiced data worked. I was assuming that the 2x2 RGBG (or RGGB, etc.) block in the raw data corresponded to a single RGB pixel in the demosaiced image. This is incorrect. The 2x2 block corresponds to a 2x2 block in the final image. For clarity and future reference I want to document that here.

Did lots of cleanup, tweaking, and rebasing. Now the APIs have changed a little but I've verified everything works as expected across several different raw images. The code looks something like:
from rawkit import Raw
from scipy import misc

with Raw('some_file.CR2') as raw:
    data = raw.bayer_data(include_margin=True)  # include_margin defaults to False
    cdesc = raw.color_description  # if you need it

    if data:
        # display the raw bayer data as an image
        misc.toimage(data).show()

The reason I broke color description out into its own property is because the previous code encouraged writing a line like data, cdesc = raw.bayer_data(), which will crash if bayer_data returns None.

Correction: now I have rebased everything correctly.

It looks good now, though I still feel that including the cdesc is advantageous, as it is necessary to understand the data. But the description shows how to get it at least.

That was totally a trade off. cdesc belongs with the bayer data, but at the same time people expect a function that returns a tuple to always be unpackable. I did at least try to make it as accessible as possible though, so hopefully this isn't too annoying to use.

Ok, I went back and changed bayer_data to raw_image, and made a new bayer_data function that returns a tuple of raw_image and color_description.
I also changed raw_data to return an empty list instead of None so you can throw the result straight into a for loop without worrying about None errors. Empty lists are falsy so code that does if data: will still work fine.

Sorry for going through so many revisions with this. I'm really happy with the current state of things, so if @paalge signs off I'll merge.

:shipit:

Loosely lurking on that, do you have an up to date minimal example on how the new objects work (bayer data & pattern)? Something like that?
from rawkit import Raw
from scipy import misc

with Raw('some_file.CR2') as raw:
    data, cdesc = raw.bayer_data(include_margin=False)

I assume data is the bayer data in the form of a 2d array? and cdesc ?

By the way, we have some demosaicing code available here: https://github.com/colour-science/colour-demosaicing/

data is a 2D array formatted as a list of rows. cdesc is a string like RGGB. I don't have usage examples yet but the return format is in the doc strings.

That's perfect, I should be able to feed that directly!

This is a nice solution. I haven't tested it on any image, but if you've done it. I'm good with this

I pulled the code and the PR, did python setup.py install but it looks like I'm missing all the objets:
(colour-2.7)Lilith:rawkit kelsolaar$ python
Python 2.7.11 |Anaconda 2.4.1 (x86_64)| (default, Dec  6 2015, 18:57:58)
[GCC 4.2.1 (Apple Inc. build 5577)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
Anaconda is brought to you by Continuum Analytics.
Please check out: http://continuum.io/thanks and https://anaconda.org
>>> import rawkit
>>> dir(rawkit)
['VERSION', '__builtins__', '__doc__', '__file__', '__name__', '__package__', '__path__']
>>>

How do you proceed to build / test that?

That's just how Python works, you'll have to import the things you want to use:
>>> import rawkit
>>> dir(rawkit)
['VERSION', '__builtins__', '__cached__', '__doc__', '__file__', '__loader__', '__name__', '__package__', '__path__', '__spec__']
>>> from rawkit.raw import Raw
>>> dir(rawkit)
['VERSION', '__builtins__', '__cached__', '__doc__', '__file__', '__loader__', '__name__', '__package__', '__path__', '__spec__', 'errors', 'metadata', 'options', 'raw']
>>>

Nothing prevents you to have the Raw class imported at the base package level (which would make sense), I haven't checked that particularly. Anyway:
(colour-2.7)Lilith:rawkit-0.4.3 kelsolaar$ python
Python 2.7.11 |Anaconda 2.4.1 (x86_64)| (default, Dec  6 2015, 18:57:58)
[GCC 4.2.1 (Apple Inc. build 5577)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
Anaconda is brought to you by Continuum Analytics.
Please check out: http://continuum.io/thanks and https://anaconda.org
>>> import rawkit
>>> from rawkit import Raw
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: cannot import name Raw
>>>

Sorry, I made a mistake in my example. from rawkit.raw import Raw is the correct line.

@campaul Much better, no more import error, however I have a cryptic exception while loading a CR2 file. Can I can confirm if libraw has been properly binded, I have libraw-0.17.0 installed at the moment.
>>> from rawkit.raw import Raw
>>>
>>> IMAGE = '/Users/kelsolaar/Documents/Development/colour-science/colour-hdri/colour_hdri/resources/colour-hdri-tests-dataset/IMG_2601.CR2'
>>>
>>> with Raw(IMAGE) as raw:
...     data, cdesc = raw.bayer_data(include_margin=False)
...
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "rawkit/raw.py", line 72, in __init__
    self.libraw.libraw_open_file(self.data, filename.encode('ascii'))
  File "libraw/errors.py", line 121, in check_call
    raise_if_error(exit_code.value)
  File "libraw/errors.py", line 141, in raise_if_error
    }[error_code]
IOError
>>>

@KelSolaar we haven't gotten support for 0.17 yet, right now we require 0.16. But support for 0.17 is coming soon.

I saw that in the docs but wasn't sure it was still current, I'll get that installed and give it another go.

I managed to load my first image with libraw-0.17.0, however I need to double check and it could be on my side but there is "maybe" an issue in the way the CFA mask is returned on my tests images I'm expecting RGBG  but I receive * RGBG*.
I'll investigate further and will open an issue accordingly.

@KelSolaar This appears to work fine for me; we're just grabbing the value LibRaw gives us either way, so if it's a bug it would be upstream.

It could be related on how libraw returns the CFA mask pattern. On this image: https://github.com/colour-science/colour-hdri-tests-dataset/blob/master/frobisher_001/IMG_2602.CR2
I should have a CFA mask pattern as follow: RGGB
R G
G B

It looks like libraw is returning the pattern in a clock-wise order instead of per row basis.

That's correct; it's returning the pattern of a beyer sensel (the 2x2 grid). Sorry, I was actually misunderstanding your question; I thought you meant there was a space in the string :)

Yeah but I'm not sure what is the order of it and their docs on cdesc don't provide any more answers: http://www.libraw.org/docs/API-datastruct-eng.html

char cdesc[5];
Description of colors numbered from 0 to 3 (RGBG,RGBE,GMCY, or GBTG).

From the look of it (and using my data as comparison basis) they return the CFA pattern in a clock-wise order:
1 2
4 3

instead of per row:
1 2
3 4

I'll ask them confirmation for that.

Yah, this is definitely returning different results than dcraw. Will advise.

I opened a related thread a while back on their forum, I just replied asking for the above: http://www.libraw.org/node/2137

Glancing at the code and docs, I don't think cdesc is supposed to return information about the order of the colors at all; just about what colors are there, which actually makes sense.

@KelSolaar check out https://github.com/photoshell/rawkit/issues/113. cdesc doesn't tell you the order of the pixels, only what colors are there.

Yeah I just saw, thanks! I haven't dived too much in libraw yet as I'm mainly using dcraw for my stuff.


alexs caves are not loading into the world

Issues that do not follow this template will be closed
Describe the Bug: no matter how much we search we cannot find alexs caves
How Can We Reproduce the Bug:
1.we just made a world
2.
3.
4.
More steps...
Expected behavior:
If Applicable, Add Screenshots or Video to Explain the Bug:
Crash Report or Game Log
Paste your crash report or log file to https://gist.github.com/ and paste the link here.
Please complete the following information:

Which Game Launcher are you using? :
Have you checked if your bug has already been reported, including closed issues? :
Have you added or removed any mods, and if so, which?:
Modpack Version Number :
Does this issue affect Server, Client, or Both? :

Additional context:

Hey there!
You can't find find the Alex's Caves biomes in the Overworld because we moved them all over to their own custom dimensions!  We mention this in several places:

Have fun exploring and opening up portals to these dimensions!  Don't forget to read all the quests thoroughly!


Design Doc: Horizontal Autoscaling

Here is better for review.
Fix https://github.com/PaddlePaddle/cloud/issues/379

This design doc can close the discussions in the issue.

@helinwang
One thing I would suggest is that the design should not be horizontal scaling focused. I would image you guys eventually add more and more features into the controller, thus more fields into the CRD.

Do you mean CRD should be a general description of what the user want the training job to be, rather than focusing specifically on horizontal scaling?

Yes

That is a very good tip! Do you have anything in mind that the current design doc could improve on?

Nothing comes into my mind immediately. I have to give everything a closer look during the weekend to provide more feedbacks. But do not block on me to move this forward.

@xiang90 Thank you very much!


Updated the pom to 2.0.5-SNAPSHOT and cut a release

https://github.com/capitalone/Hygieia/releases/tag/Hygieia-2.0.4

Does the jenkins plugin version need to correspond to the Hygieia version or is that on its own lifecycle?

@MarkRx we made a decision a while back to make all version of each component same for ease of support .
@tabladrum Do you think we should separate the Jenkins plugin and manage it separately

At this point, we are ready to make them all even and make Jenkins plugin part of the main project and publish to maven central.

LGTM

LGTM


[<IP_ADDRESS>] Update References

Issue Details
Description
This Sub-Issue is about updating a sub section of the Introduction called the "References".
Goals
To update our current References section.
Success or Completion Criteria
An Updated comprehensive list of compiled references relevant to the project.
Allocated Time
3 Days
Start Date: 02/10/23, 0900
End Date: 04/10/23, 1200

Issue Comments
Description
Updated the grammar and changed the Section to a third-party tone.
Changes to success or completion criteria? y/n (if y, describe)
No Changes, Criteria Completed!
Start Date: 02/10/23, 0900
End Date: 04/10/23, 1200


cargo-whatfeatures: 0.9.10 -> 0.9.11

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/project/cargo-whatfeatures/versions.
meta.description for cargo-whatfeatures is: A simple cargo plugin to get a list of features for a specific crate
meta.homepage for cargo-whatfeatures is: https://github.com/museun/cargo-whatfeatures
Updates performed

Rust version update

To inspect upstream changes

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.9.11 with grep in /nix/store/fzvlrvabavgkjvv1cx4m5pqdn1d5kvgw-cargo-whatfeatures-0.9.11
found 0.9.11 in filename of file in /nix/store/fzvlrvabavgkjvv1cx4m5pqdn1d5kvgw-cargo-whatfeatures-0.9.11

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

cargo-whatfeatures

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/fzvlrvabavgkjvv1cx4m5pqdn1d5kvgw-cargo-whatfeatures-0.9.11 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A cargo-whatfeatures https://github.com/r-ryantm/nixpkgs/archive/d6f70ca544862669bcbbbe75a5ec5a0e3e41a2b9.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/d6f70ca544862669bcbbbe75a5ec5a0e3e41a2b9#cargo-whatfeatures

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/fzvlrvabavgkjvv1cx4m5pqdn1d5kvgw-cargo-whatfeatures-0.9.11
ls -la /nix/store/fzvlrvabavgkjvv1cx4m5pqdn1d5kvgw-cargo-whatfeatures-0.9.11/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

1 package built:

cargo-whatfeatures

Maintainer pings
cc @bobrik @matthiasbeyer for testing.

Result of nixpkgs-review pr 308183 run on x86_64-linux 1

1 package built:

cargo-whatfeatures


Shared memory not being created on macOS

Problem Description
I am considering using eCAL for real-time synchronization of large-sized 3d mesh data. When I tested it on windows os using minimal_rec and minimal_snd samples, there was no problem. However, the test did not work on macOS, so I tried to find the cause of the problem.

macOS is very limited in the filename of shared memory. The maximum length for a filename currently is 31 characters per section (see PSHMNAMELENGTH in /usr/include/sys/posix_shm.h)
For this reason, the minimal_rec and minimal_snd samples are also problematic because the longest shared memory name created when running the minimal_rec sample is 38 characters.(/Hello_1058310900281_shm_38316_ack_evt)
And the default shutdown process memory name is also a problem because it is over 31 characters long.(/ecal_shutdown_process_38316_evt)
The solution is to use a random 4-character UNIQUE ID instead of the 13-character EPOCH TIME used to create the shared memory name to avoid duplicating the shared memory (if the reason for the EPOCH TIME is to avoid duplicates...).
This change allows you to use topic names of up to 7 characters.
Also, overriding EVENT_SHUTDOWN_PROC to "ecal_shutdown_proc" solves the shutdown process memory name issue.

Please see the code snippet below.

//strTest.cpp
#include <iostream>
#include <string.h>

int main()
{
	uint32_t length = 25;
	char buf[length];
	char origin[] = "/usr/temp";

	strncpy_s(buf, sizeof(buf), origin, sizeof(origin));
	std::string bufStr = std::string(buf, length);

	std::cout << bufStr << std::endl;

	return 0;
}

After building clang 13.0.0 x86_64-apple-darwin20.6.0, the results of the run are shown below.
jerry@Jerry-MacBookAir ~ %  ./strTest
/usr/temp�?l`QG�
jerry@Jerry-MacBookAir ~ %

As you can see above, a strange value is added to the string.
The problem can be easily fixed as shown below.
std::string(buf);

There is an issue with not finding the ecaltime-localtime dynamic lib.
This can be easily fixed with a small modification to ecal_timegate.cpp.

Let's create a pull request to fix the above issue I found.
How to reproduce
.
How did you get eCAL?
Custom Build / Built from source
Environment

eCAL : 5.11.2
OS : macOS Big Sur(v11.5.2)
CMake : 3.25.2
clang : 13.0.0 x86_64-apple-darwin20.6.0

eCAL System Information
No response

Hi @JerryHyun,
thank you for reporting this and especially looking into this and opening a PR! We have discussed internally how we can improve MacOs support, as none of us are Mac Developers.
First, I'd suggest to create different PRs for the three different topics.

31 character limit sounds like something which Windows would do 😄 Hashing the values to create unique IDs sounds pretty reasonable. However we will be a bit hesitant to include more and more dependencies.
Maybe we can find a good way for creating unique names for the SHM files, which doesn't implicate a 7 character topic name length.

Let me take a deeper look at the sample. Creating a string with a length from a char array is necessary if that array might contain \0 characters. I am not sure if that might be the case here, or not.

Agreed.

As mentioned, please make 3 separate PRs for the different issues, they might be easier to track / merge.
Also please make sure to sign the Eclipse CLA as it is mandatory in order to merge your PR.

This was fixed by #1009


rename CheckboxModelConfig to match convention

Hello,
Been working with this package for just under a week now and I'm digging it. Wrote a custom UI module to deal with some additional input types we needed. So first I want to say thanks.
Now the issue:
It seems like CheckboxModelConfig should be DynamicCheckboxModelConfig to match the convention used for the other input model and config types.
Cheers

@philrowan-mtb Cool, thanks for your contribution!  Will be fixed with next version.

fixed in 2179553


Add charting library with common chart types

Codecov Report

Merging #1104 into main will decrease coverage by 1.89%.
The diff coverage is 5.62%.

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


Add counters to a set to track all counters

Using Split.redis.keys("co:*") in production is dangerous; if the Redis datastore has a large amount of keys, this command can cause timeouts. Instead of searching across all keys for the counters, this will add them to a set when incremented, remove them when deleted, and simply check the set to find all of the counters.

@jacobaweiss Thank you. Just processed the Pull Request (my first). Please note that upgrading might hide counters from the dashboard until a counter is inc'ed.

thanks!


AlphaFold-multimer v3 training data

Hi,
Is there a chance that the training data for v2.3 is shared/could be shared somewhere (either just the list of used pdbs and chains)? It would be great for one of our projects.
Thank you!

Hi @gezmi! Thanks for the question. We don't plan on releasing the training data, but this can be reproduced by following the AlphaFold2 paper, and the updated instructions for 2.3 in https://github.com/deepmind/alphafold/blob/main/docs/technical_note_v2.3.0.md


ERR_MODULE_NOT_FOUND when I run the installed application but the unpacked application works fine

Describe the bug
I get this error when I run the installed application:
Error [ERR_MODULE_NOT_FOUND]: Cannot find package **** imported from

However the unpacked application works fine.
To Reproduce
Steps to reproduce the behavior:

You can clone my repo I created for this specific issue: https://github.com/adnanlah/vite-electron-builder-issue
Run npm install
Run npm run compile

Expected behavior
The app runs normally without any errors.
Screenshots

Additional context
What I have done in my repo is I added a new workspace package named api and then I exported my fastify server to be called from the electron backend.

Hello,
Thanks to Claude I have fixed it by adding this to electron builder config:
extraResources: [
    {
      from: "node_modules/nanoid",
      to: "node_modules/nanoid"
    }
],

I am not sure if this solution is the most optimal one or not but it worked and it gave a glimpse of hope after days of searching. I am not sure why did that happen, my guess is it would be because 2 versions of nanoid package were installed (3.3.7 as a nested package for postcss package and 5.0.9 I just installed):

Hence the nanoid package folder existed in the root node_modules folder and in the node_modules in the packages/api folder.
I would appreciate any insight about this matter.
Thanks everyone.

Due to compilation electron-builder truing to resolve dependency tree and copy only what is needed. In your case I suppose you need to install api package as dependency in backend package.

Due to compilation electron-builder truing to resolve dependency tree and copy only what is needed. In your case I suppose you need to install api package as dependency in backend package.

Thanks, but I believe I have it installed in the package.json as a dependency here: https://github.com/adnanlah/vite-electron-builder-issue/blob/main/packages%2Fmain%2Fpackage.json#L15 or am I doing something else wrong.

Hello, quick update: I have been trying and playing around for the whole day, trying to install different versions of different packages and so on. At the end of the day I kind of was sure it's a dependency conflict thing but I had no proof.
So I migrated to yarn from npm and it's working just fine.
I will need to keep adding things to the project and see if I get the same issue again.


feedback

Since I didn't see another place to post feedback, I'm posting it here.

have noticed that JSON has become the developers’ choice for APIs, and that developers will often go out of their way to avoid XML.

This, this, this, and this, 1000 times. I'm a developer. I've got 17 year old APIs I still support using XML and/or SOAP. In every case, high on the TODO list is deprecating the XML support entirely. XML is big, slow, and we have to upgrade the XML libs regularly due to vulnerabilities. I've had to write XML generators, validators, and parsers over the years so I don't fear XML, but fondness is something I've never felt for it.
JSON just works. A line or two of code in every programming language that matters.

Thanks @msimerson!


Fix bug in run_og_usa.py

This PR fixes a bug in the example script, run_og_usa.py that was introduced in PR #122.  The error was not updating the baseline and output_base parameters for the reform run, which mean that the reform run was saved over the baseline run.

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

Project coverage is 45.22%. Comparing base (a504ff6) to head (2cc35ed).

Additional details and impacted files

@@           Coverage Diff           @@
##           master     #123   +/-   ##
=======================================
  Coverage   45.22%   45.22%
=======================================
  Files          18       18
  Lines        1404     1404
=======================================
  Hits          635      635
  Misses        769      769

Flag
Coverage Δ

unittests
45.22% <ø> (ø)

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

@jdebacker. This PR looks ready to go. Is this ready for merge? I don't know how I've missed this one from nearly a month ago.

@rickecon yes, this is easy to go.


[CFINet] How did cfinet do it on the soda-a data set?

What's the feature?
I want to reproduce the network on this dataset,how do i do it?
Any other context?
No response

please refer to here


InvalidOperationException

I have built this project as Webassembly and as server (net5). On my dev system both types work fine in visual studio testing .
I published to IIS on my dev system and can run both in the local browser (edge) and it works .
If I use another computer on the same network and open the app in browser (edge) ,  on Webassembly I get error but I can't get any error details, just say reload.
on server version , I get error below ,
I set the ASPNETCORE_ENVIRONMENT  to Development to see error
InvalidOperationException: JavaScript interop calls cannot be issued at this time. This is because the component is being statically rendered. When prerendering is enabled, JavaScript interop calls can only be performed during the OnAfterRenderAsync lifecycle method.
what would server side code change be to use OnAfterRenderAsync
I also tested by connecting to my dev system using an android phone browser and iPad browser , received same error on server, webassembly just said reload.

@cbrownmobile
Thanks for feedback.
Library doesn't support ServerPrerender mode at this moment.
As a workaround edit your serverside project's _Host.chtml file to try other modes if possible:
change: <component type="typeof(App)" render-mode="ServerPrerendered" />
with <component type="typeof(App)" render-mode="Server" />
I updated library using Net5.0 too.

@cbrownmobile
Thanks for feedback.
Library doesn't support ServerPrerender mode at this moment.
As a workaround edit your serverside project's _Host.chtml file to try other modes if possible:
change: <component type="typeof(App)" render-mode="ServerPrerendered" />
with <component type="typeof(App)" render-mode="Server" />
I updated library using Net5.0 too.

Thank you
Clark Brown
<EMAIL_ADDRESS><EMAIL_ADDRESS>Mobile |<PHONE_NUMBER>
From: Sabit Igde<EMAIL_ADDRESS>Sent: Wednesday, January 27, 2021 6:46 PM
To: sabitertan/BlazorBarcodeScanner<EMAIL_ADDRESS>Cc: cbrownmobile<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [sabitertan/BlazorBarcodeScanner] InvalidOperationException (#3)
@cbrownmobile https://github.com/cbrownmobile
Thanks for feedback.
Library doesn't support ServerPrerender mode at this moment.
As a workaround edit your serverside project's _Host.chtml file to try other modes if possible:
change:
with
I updated library using Net5.0 too.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/sabitertan/BlazorBarcodeScanner/issues/3#issuecomment-768675641 , or unsubscribe https://github.com/notifications/unsubscribe-auth/APKB6ORU6OHEMXSBAAC3GULS4CXWHANCNFSM4WVTJLSQ .  https://github.com/notifications/beacon/APKB6OUGW4S6SPO72KOIODDS4CXWHA5CNFSM4WVTJLS2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFXIQ6OI.gif

Thank you
Clark Brown
<EMAIL_ADDRESS><EMAIL_ADDRESS>Mobile |<PHONE_NUMBER>
From: Sabit Igde<EMAIL_ADDRESS>Sent: Wednesday, January 27, 2021 6:46 PM
To: sabitertan/BlazorBarcodeScanner<EMAIL_ADDRESS>Cc: cbrownmobile<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [sabitertan/BlazorBarcodeScanner] InvalidOperationException (#3)
@cbrownmobile https://github.com/cbrownmobile
Thanks for feedback.
Library doesn't support ServerPrerender mode at this moment.
As a workaround edit your serverside project's _Host.chtml file to try other modes if possible:
change:
with
I updated library using Net5.0 too.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/sabitertan/BlazorBarcodeScanner/issues/3#issuecomment-768675641 , or unsubscribe https://github.com/notifications/unsubscribe-auth/APKB6ORU6OHEMXSBAAC3GULS4CXWHANCNFSM4WVTJLSQ .  https://github.com/notifications/beacon/APKB6OUGW4S6SPO72KOIODDS4CXWHA5CNFSM4WVTJLS2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFXIQ6OI.gif


[Bug]: Glitched scroller in Knowledge Base-Configuration page

Is there an existing issue for the same bug?

[X] I have checked the existing issues.

Branch name
0.10.0
Commit ID
e18f07
Other environment information
Client:
Mozilla Firefox 130.0b8 / Chromium Edge 128.0.2739.42
Windows 10 Professional version 19045.4780

Server:
Ubuntu 24.04
Nginx 1.24.0-2ubuntu7

Actual behavior
When the scroller of "Embedding Model" is scrolled over to a certain point (I believe it's "PerfXCloud" section), items in the scroller begin to duplicate and override all contents before and after it, resulting in other options not being selectable anymore.

Expected behavior
The scroller is able to display and select all the available options without missing, duplicating, or overriding items.
Steps to reproduce
Create a new knowledge base, then enter the configuration page, click Embedding Model to open the scroller and scroll it down to the point mentioned.

Additional information
No particular error message has been shown in browser console.

It's fixed for dev version of image and demo.


accidental cautionary support

This fixes test 01f (more accidentals types added) and adds support for cautionary accidentals.

I will merge the two open PRs they should resolve a few fail tests


What is the purpose of window.crypto.getRandomValues(d)?

(Ln 39), it does not look like this method is being used.
This line also prevents isaacCSPRNG from being run on NodeJS since the window.crypto object is undefined.
Should it be removed?

The logic on line 39 creates a default random seed in the event the user does not specify one. It is always invoked, but the result is not always utilized.
If you're looking to bring this into NodeJS, you'll find some tips here:
https://stackoverflow.com/questions/25725596/use-window-crypto-in-nodejs-code

I understand! Thanks for the answer (and library).