How to use self defined variable in an Agent?

This issue may sound silly, I apologize for not being able to find the answer (and for my poor English).
For example, I want my chatbot only use paths from a list I give. I tried to include the following content in suffix:
"""
omit...
You should only use the following file paths:
{path_list}
omit...
"""

But how can I add path_list to input_variables? I noticed that the create_prompt method has the following statement:
if input_variables is None:
    input_variables = ["input", "chat_history", "agent_scratchpad"]

So I tried adding input_variables in agent_kwargs:
agent = initialize_agent(
    tools,
    llm,
    agent="conversational-react-description",
    verbose=True,
    memory=memory,
    return_intermediate_steps=True,
    agent_kwargs={
        'prefix': CHAT_BOT_PREFIX,
        'format_instructions': CHAT_BOT_FORMAT_INSTRUCTIONS,
        'suffix': CHAT_BOT_SUFFIX,
        'input_variables': ["input", "chat_history", "agent_scratchpad", "path_list"], # here
    },
)

This does create a prompt in the agent with a path_list variable in it. But how can I pass the value of path_list?
The way I thought was to pass it togethor with input.
result = agent({"input": str_input, "path_list": path_list_str})

But this doesn't work. It raises the following error:
ValueError: One input key expected got ['path_list', 'input']

I don't know if there's another way or if I'm missing something.

I think that input_key="input" is fix that you are asking for!
Just define memory like this or so...
memory = ConversationBufferMemory(memory_key="chat_history",
                                  input_key="input",
                                  output_key='output',
                                  ai_prefix='GPT-4',
                                  human_prefix='User')

@draganjovanovich Thanks for your reply. But I think my question is more focused on how to customize a variable in the prompt used in an Agent and replace it with the desired content during the conversation. For example, I want to replace the following content:
You should only use the following file paths:
{path_list}

into
You should only use the following file paths:
E:\dir1\file1
E:\dir1\dir2\file2
E:\dir3\file3

I think this need to customize a variable called path_list and passing in the specific content of path_list during the conversation. But I did not find the way to do this in the documentation.
Perhaps the Agent class does not provide this feature?

@draganjovanovich Thanks for your reply. But I think my question is more focused on how to customize a variable in the prompt used in an Agent and replace it with the desired content during the conversation. For example, I want to replace the following content:
You should only use the following file paths:
{path_list}

into
You should only use the following file paths:
E:\dir1\file1
E:\dir1\dir2\file2
E:\dir3\file3

I think this need to customize a variable called path_list and passing in the specific content of path_list during the conversation. But I did not find the way to do this in the documentation.
Perhaps the Agent class does not provide this feature?

The advice in his reply should get rid of the error you're seeing.
You need to add set the input_key when you define your memory so that the memory save_context method knows where to place the user input. The error you're seeing right now is because there's ambiguity about whether input or path_list should contain the new user input.
When you create your memory define the input_key like this and you should be set:
memory = ConversationBufferMemory(memory_key="chat_history", input_key="input", output_key='output')

Yes that is exactly what I meant. and it works...
On Fri, Mar 24, 2023, 20:10 Willem @.***> wrote:

@draganjovanovich https://github.com/draganjovanovich Thanks for your
reply. But I think my question is more focused on how to customize a
variable in the prompt used in an Agent and replace it with the desired
content during the conversation. For example, I want to replace the
following content:
You should only use the following file paths:
{path_list}
into
You should only use the following file paths:
E:\dir1\file1
E:\dir1\dir2\file2
E:\dir3\file3
I think this need to customize a variable called path_list and passing in
the specific content of path_list during the conversation. But I did not
find the way to do this in the documentation.
Perhaps the Agent class does not provide this feature?
The advice in his reply should get rid of the error you're seeing.
You need to add set the input_key when you define your memory so that the
memory save_context method knows where to place the user input. The error
you're seeing right now is because there's ambiguity about whether input
or path_list should contain the new user input.
When you create your memory define the input_key like this and you should
be set:
memory = ConversationBufferMemory(memory_key="chat_history",
input_key="input", output_key='output')
—
Reply to this email directly, view it on GitHub
https://github.com/hwchase17/langchain/issues/1774#issuecomment-1483287958,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADHLOZH65F24X4FZ5CAONMDW5XWQPANCNFSM6AAAAAAWABLD5Y
.
You are receiving this because you were mentioned.Message ID:
@.***>

Oh, I understand now! Thank you for your response. @draganjovanovich @wct432


Fix outdated CoverageRunner API call

There was a change in the API for JUnit4JacocoRunner in https://github.com/STAMP-project/test-runner/commit/c84fc308f771b567b24867915066ee116cbeeca5#diff-096a6386373022f07d4955429a36301c451464f9d0e3df0681235c968d1133ee.
Updated the calls. Tests are green locally.

Great, thanks @andre15silva !


Docker VS2017 instructions: installPath ignored & dev prompt errors out

I copy-pasted the dockerfile shown here, and replaced:
--add Microsoft.VisualStudio.Workload.AzureBuildTools
with:
--add Microsoft.VisualStudio.Workload.VCTools;includeRecommended
So extremely minimalistic example.
First issue is that the --installPath is ignored (installs to default path nontheless). This appears to be a recurring problem looking at other issues here, why?
Second issue (if I use the default path) is that the VsDevCmd.bat script fails to start:
**********************************************************************
** Visual Studio 2019 Developer Command Prompt vError 0x57: Unknown parameter: path
** Copyright (c) 2019 Microsoft Corporation
**********************************************************************

Also, why does it say "Visual Studio 2019 Developer Command Prompt" when I'm explicitly installing the VS2017 tools?

FWIW, this example works (and shows correct "2017" command prompt)...

And --installPath stops working and the Unknown parameter: path error happens if I change base image from:
microsoft/dotnet-framework:3.5-sdk-windowsservercore-1709
to:
mcr.microsoft.com/dotnet/framework/sdk:4.7.2-windowsservercore-ltsc2019

Small note:
Using above base image I'm having trouble cloning repositories with git, which appears to be related specifically to the 1709 build:
https://github.com/git-for-windows/git/issues/1403

Update:
Changed to base image mcr.microsoft.com/powershell:lts-windowsservercore-1809 and it solves above mentioned problems.

Hi @helmesjo, just to confirm, was your issue solved? If so, I'll close out this issue.

@ornellaalt Sorry for late response!
Well "not all", but yes it at least fixes the issues related to this issue so you can close it. :)

I am hitting very similar issues I wonder if anyone can help. Why does installing using 2017 sometimes put things in 2019? Is it actually installing 2019 underneath?

#reassign:@anandmeg

#reassign:@ghogen container related issue?

#reassign:@anandmeg This relates to the installation of VS tools into a container, which I don't own. I only own the Container Tools docs for developers working with their own containers (e.g. deploying and debugging containerized apps)

@hjmallon - thank you for your feedback. This appears to be a product issue rather than a documentation issue. Please add it here:

Report a Problem

I am closing this issue now; thanks again for contacting us.


Consider exposing a SessionCompleted event in Processor

This would allow users to specify an event handler that will be called when the processor finishes processing each session (i.e. when a receive call times out for a particular session), which would offer more fine grained control in terms of doing other operations with a session that the processor doesn't expose. For instance, if they want to receive deferred messages from a given session, they could use the SessionCompleted event as a cue to know that they can now create a receiver scoped to this session, as the session lock should be available.
See https://github.com/Azure/azure-sdk-for-net/issues/11061

Technically, a session that timed out does not necessarily end and messages for that session ID can arrive much later. Therefore, would the name SessionCompleted accurately the intent?

Yeah I suppose SessionLockReleased would be more technically accurate, but it doesn't convey the "why" of why the session lock is being released. Maybe ProcessSessionCompleted or ProcessSessionEnd?

ProcessSessionCompleted  and ProcessSessionEnd both sound as if the session was done.
What is really happening? Session processing timeouts as there are no new messages for a given session, right? So perhaps that should be the event name foundation. Not the "processor" or "completion/ending". Justin thinking out loud.

SessionTimedOut?

Well, we do want to have a start event to go along with the end one. So using SessionTimedOut would be a bit awkward there, as it isn't obvious what the start event would be named.

That was just a name candidate. As long as the event conveys what happened rather than give a wrong impression, it's good. The challenge I had with SessionCompleted is that a session is never completed if yet another message with the same session ID arrives.


Power shell test action

🗣 Description
Add step to action to remove pre-installed Microsoft,Graph version 2.0 from image.  Will need to remove when #205 is worked.
closes #437
💭 Motivation and context
Fix "Run PowerShell Test" action to work with baseline.
🧪 Testing
Manually execute GitHub action, "Run PowerShell Tests" .  Verify Microsoft.Graph.Authentication is not causing failure on installing.  NOTE: THere are still some errors (i.e., OneDrive/SharePoint merge) that are addressed in other issues.
📷 Screenshots (if appropriate)

✅ Pre-approval checklist

[X] This PR has an informative and human-readable title.
[X] Changes are limited to a single goal - eschew scope creep!
[X] All future TODOs are captured in issues, which are referenced
in code comments.
[X] All relevant type-of-change labels have been added.
[X] All relevant repo and/or project documentation has been updated
to reflect the changes in this PR.
[X] Tests have been added and/or modified to cover the changes in this PR.
[X] All new and existing tests pass or have issues.

✅ Pre-merge checklist

[ ] Revert dependencies to default branches.
[ ] Finalize version.

✅ Post-merge checklist

[ ] Create a release.

@crutchfield any reason we can't add this to main to fix those tests as well?

If you mean to the action in the main branch.  Yes, absolutely.

@crutchfield any reason we can't add this to main to fix those tests as well?

If you mean to the action in the main branch. Yes, absolutely.

Could you remake this PR from a branch based off of main then? Just tried to change the base branch myself and it hit me with the 146 files changed 😆

I will need to make a branch off main and manually copy over the fix.  So I will submit another separate PR for that.  Otherwise it is a big merge conflict tsunami.


Is there a way to get the selected labels of a Pull Request?

Hello everybody!
Is there a way to get the selected labels of a Pull Request? Sorry for this silly question.
I would like to create some rules using the selected labels in a pull request. I didn't notice any labels property into the pullRequest object.
Do you guys know how can I list the labels? :)
Thx!!

Labels live in the issue in the GitHub API

Thank you!!! :D


Restore access to realms on Keycloak

Once Keycloak access is restored (#7), I will need to have my access + permissions restored on dev / test Keycloak realms.

Brad sorted this out for me.


Cherry-pick PR #9668 into release-1.5: [storage] fix fuzzer for schema decoding

This cherry-pick was triggerd by a request on #9668
Please review the diff to ensure there are not any unexpected changes.

Motivation
The fuzzer expects schema decoding never panics, while it's no longer the case because #9304 called InternalNode constructor in decoding.
Have you read the Contributing Guidelines on pull requests?
Y
Test Plan
Using corpus that failed the coverage test for branch 1.5, the failure was reproduced on main and not reproducable on this fix.

cc @msmouse

This fixes a Fuzzing failure introduced in 1.5. We'd like this fix to go in so that our fuzzing environment can be deployed for 1.5.
I downloaded the corpus in production environment and reproduced the breakage locally. Then with this fix it didn't break soon after the start of running like before, although it failed with another target (fix needed from the VM team).
I also added a proptest to do the same thing as the fuzzer, although it's hard to trigger in an unittest environment, but it's an effort to hopefully make the unittests flaky on a similar break in the future so we see signals before fuzzing is deployed. The proptest (#9669) is not picked, to minimize the pick.


Automated build / test of OSX wheels for PyAV

I made a repo for automated building of standalone OSX wheels for PyAV:
https://github.com/MacPython/PyAV-wheels
Builds are listed here:
https://travis-ci.org/MacPython/PyAV-wheels
The built wheels currently go to http://wheels.scipy.org
Example install command:
pip install -f http://wheels.scipy.org av

Me installing into a virtualenv:
$ mkvirtualenv av-test
New python executable in av-test/bin/python
Installing setuptools, pip...done.
(av-test)$ pip install -f http://wheels.scipy.org av
Collecting av
  This repository located at wheels.scipy.org is not a trusted host, if this repository is available via HTTPS it is recommend to use HTTPS instead, otherwise you may silence this warning with '--trusted-host wheels.scipy.org'.
  DEPRECATION: Implicitly allowing locations which are not hosted at a secure origin is deprecated and will require the use of --trusted-host in the future.
  Downloading http://wheels.scipy.org/av-0.2.2-cp27-none-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (6.7MB)
    100% |████████████████████████████████| 6.7MB 1.3MB/s
Installing collected packages: av
Successfully installed av-0.2.2
(av-test)$ python -c 'import av'
(av-test)$

I took the liberty of inviting you (@mikeboers) to the team owning that repo.
I still haven't wrinkled out all the tests yet, but I thought I would let you know.

I think I've now set up the tests correctly, but some of them are failing:
https://travis-ci.org/MacPython/PyAV-wheels/jobs/61658435
======================================================================
FAIL: test_matroska (tests.test_containerformat.TestContainerFormats)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/travis/build/MacPython/PyAV-wheels/tmp_for_test/tests/test_containerformat.py", line 13, in test_matroska
    self.assertEqual(fmt.extensions, set(('mkv', )))
AssertionError: Items in the first set but not the second:
'mks'
'mk3d'
'mka'
======================================================================
FAIL: test_container_probing (tests.test_file_probing.TestAudioProbe)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/travis/build/MacPython/PyAV-wheels/tmp_for_test/tests/test_file_probing.py", line 20, in test_container_probing
    self.assertEqual(self.file.bit_rate, 270494)
AssertionError: 269558 != 270494
-------------------- >> begin captured logging << --------------------
libav.mpegts: DEBUG: parser not found for codec none, packets or times may be invalid.
--------------------- >> end captured logging << ---------------------
======================================================================
FAIL: test_container_probing (tests.test_file_probing.TestVideoProbe)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/travis/build/MacPython/PyAV-wheels/tmp_for_test/tests/test_file_probing.py", line 50, in test_container_probing
    self.assertEqual(self.file.duration, long(1580000))
AssertionError: 1620000 != 1580000L
-------------------- >> begin captured logging << --------------------
libav.mpeg2video: ERROR: Invalid frame dimensions 0x0.
libav.mpeg2video: ERROR: Invalid frame dimensions 0x0.
libav.mpeg2video: ERROR: Invalid frame dimensions 0x0.
libav.mpeg2video: ERROR: Invalid frame dimensions 0x0.
libav.mpeg2video: ERROR: Invalid frame dimensions 0x0.
libav.mpeg2video: ERROR: Invalid frame dimensions 0x0.
libav.mpeg2video: ERROR: Invalid frame dimensions 0x0.
libav.mpeg2video: ERROR: Invalid frame dimensions 0x0.
libav.mpeg2video: ERROR: Invalid frame dimensions 0x0.
libav.mpegts: WARNING: PES packet size mismatch
--------------------- >> end captured logging << ---------------------
======================================================================
FAIL: test_stream_probing (tests.test_file_probing.TestVideoProbe)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/travis/build/MacPython/PyAV-wheels/tmp_for_test/tests/test_file_probing.py", line 79, in test_stream_probing
    self.assertEqual(stream.coded_width, 720)
AssertionError: 0 != 720
-------------------- >> begin captured logging << --------------------
libav.mpeg2video: ERROR: Invalid frame dimensions 0x0.
libav.mpeg2video: ERROR: Invalid frame dimensions 0x0.
libav.mpeg2video: ERROR: Invalid frame dimensions 0x0.
libav.mpeg2video: ERROR: Invalid frame dimensions 0x0.
libav.mpeg2video: ERROR: Invalid frame dimensions 0x0.
libav.mpeg2video: ERROR: Invalid frame dimensions 0x0.
libav.mpeg2video: ERROR: Invalid frame dimensions 0x0.
libav.mpeg2video: ERROR: Invalid frame dimensions 0x0.
libav.mpeg2video: ERROR: Invalid frame dimensions 0x0.
libav.mpegts: WARNING: PES packet size mismatch
--------------------- >> end captured logging << ---------------------
======================================================================
FAIL: test_movtext (tests.test_subtitles.TestSubtitle)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/travis/build/MacPython/PyAV-wheels/tmp_for_test/tests/test_subtitles.py", line 24, in test_movtext
    self.assertEqual(subs[0][0].ass, 'Dialogue: 0,0:00:00.97,0:00:02.54,Default,- Test 1.\\N- Test 2.\r\n')
AssertionError: 'Dialogue: 0,0:00:00.97,0:00:02.54,Default,,0,0,0,,- Test 1.\\N- Test 2.\r\n' != 'Dialogue: 0,0:00:00.97,0:00:02.54,Default,- Test 1.\\N- Test 2.\r\n'
----------------------------------------------------------------------
Ran 38 tests in 6.202s
FAILED (failures=5)

I actually have some of the same types of failures on my workstation (I see AssertionError: 0 != 720 every time). There are, apparently, some subtle changes in FFmpeg for OS X, or OS X, that has inspected values come out a little different.
I would love to squash them, but have not yet figured them out.

I think a few of those are also related to the specific version of FFmpeg being used. The change in ASS format being one.
(Testing the wrapper of a constantly changing library with two forks is not easy business. =P)

Is there a better ffmeg version I should pin to?

The tricky part with that question is if PyAV versions should bind to specific FFMpeg/LibAV versions, or be as generally supportive as possible.
To answer the specific question, I don't think so. OS X has not been passing a few specific tests (on my machines) for a long time, because the issues are actually in the wrapped libraries (e.g. using ffprobe gives the same values).

I can see that the tricky question is - tricky.
For the wheels specifically, you can build a particular version of the library (ffmpeg, libav), and the way the wheel is built, you can ship the built version safely inside the wheel. I can see it would be much more difficult in the general case - for example on Linux.

@matthew-brett Can you make a separate FFmpeg wheel? I built separate conda packages for FFmpeg, x264, yasm (which is only a build dep, not a run dep) and PyAV.  I chose FFmpeg n2.2.4, but others could be built and swapped out.

I don't know of any real thought that has gone into wheels for things that don't get installed into Python installation directories.
Wheels for the various Python packages that use hdf5, currently just ship their own copies of the hdf5 library.
What would the ffmpeg wheel be used for do you think?

By having the FFmpeg wheel separate from the PyAV wheel, one could specify
a version of FFmpeg and a version of PyAV without building the outer
product of all possibilities into wheels.
On Thu, May 14, 2015 at 1:22 PM Matthew Brett<EMAIL_ADDRESS>wrote:

I don't know of any real thought that has gone into wheels for things that
don't get installed into Python installation directories.
Wheels for the various Python packages that use hdf5, currently just ship
their own copies of the hdf5 library.
What would the ffmpeg wheel be used for do you think?
—
Reply to this email directly or view it on GitHub
https://github.com/mikeboers/PyAV/issues/89#issuecomment-102107513.

I see - I hadn't considered that case.   I guess that, most of the time, you want some PyAV version, compiled against the most recent compatible version of ffmpeg.
Maybe it would be reasonable to cover on that case for now, with wheels, leaving some small number of users to compile their own PyAV, if they need to.

Sounds good.
On Thu, May 14, 2015 at 1:36 PM Matthew Brett<EMAIL_ADDRESS>wrote:

I see - I hadn't considered that case. I guess that, most of the time, you
want some PyAV version, compiled against the most recent compatible version
of ffmpeg.
Maybe it would be reasonable to cover on that case for now, with wheels,
leaving some small number of users to compile their own PyAV, if they need
to.
—
Reply to this email directly or view it on GitHub
https://github.com/mikeboers/PyAV/issues/89#issuecomment-102112460.

Another issue is that PyAV does have slightly different code paths compiled into it depending on the library you are building it against.
FFMpeg vs LibAV are certainly not runtime compatible, and even the cutting edge stuff on FFMpeg has been providing some problems.
So... it might actually be "best" (especially for now) to provide a single wheel with the FFMpeg it is built against.

I see. We can address this on the conda side by listing the dependency on
FFmpeg as being on a specific version.
On Thu, May 14, 2015 at 1:47 PM Mike Boers<EMAIL_ADDRESS>wrote:

Another issue is that PyAV does have slightly different code paths
compiled into it depending on the library you are building it against.
FFMpeg vs LibAV are certainly not runtime compatible, and even the cutting
edge stuff on FFMpeg has been providing some problems.
So... it might actually be "best" (especially for now) to provide a single
wheel with the FFMpeg it is built against.
—
Reply to this email directly or view it on GitHub
https://github.com/mikeboers/PyAV/issues/89#issuecomment-102115282.


feat(text-field): adds TextField decorator

:tada: This PR is included in version 3.0.0-beta.13 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Facing the error x509: certificate signed by unknown authority when running helm fetch inside the pod

Output of helm version:
Client: &version.Version{SemVer:"v2.15.2", GitCommit:"8dce272473e5f2a7bf58ce79bb5c3691db54c96b", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.15.2", GitCommit:"8dce272473e5f2a7bf58ce79bb5c3691db54c96b", GitTreeState:"clean"}
Output of kubectl version:
prafull@prafull-ThinkPad-E470:~/Trilio$ kubectl version
Client Version: version.Info{Major:"1", Minor:"15", GitVersion:"v1.15.6", GitCommit:"7015f71e75f670eb9e7ebd4b5749639d42e20079", GitTreeState:"clean", BuildDate:"2019-11-13T11:20:18Z", GoVersion:"go1.12.12", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"15", GitVersion:"v1.15.6", GitCommit:"7015f71e75f670eb9e7ebd4b5749639d42e20079", GitTreeState:"clean", BuildDate:"2019-11-13T11:11:50Z", GoVersion:"go1.12.12", Compiler:"gc", Platform:"linux/amd64"}
Cloud Provider/Platform (AKS, GKE, Minikube etc.):  Microk8s
I am trying to write a helm operator using client-go and want to fetch the chart from my controller using the RepoURL, and chartname. I have written a sample piece of code which is working perfectly fine on my local machine. But the same code throws error when I run the same code inside the container. Please find the following piece of code:
`func FetchURL() error {
repoURL := "https://kubernetes-charts.storage.googleapis.com"
username := ""
password := ""
var settings environment.EnvSettings
flags := pflag.NewFlagSet("helm-env", pflag.ContinueOnError)
settings.AddFlags(flags)
settings.Init(flags)
getters := getter.All(settings)
getters := getter.All(settings)

var err error
destDir, err := ioutil.TempDir("", "helm-")
if err != nil {
    return fmt.Errorf("Failed to untar: %s", err)
}
defer os.RemoveAll(destDir)

chartURL, err := repo.FindChartInAuthRepoURL(repoURL, username, password, chartRef, "", "", "", "", getter.All(settings))
if err != nil {
    return fmt.Errorf("Error finding the Chart URL: %s", err)
}
fmt.Println(chartURL)
return nil

}
`
The above function is throwing following error while getting the chartURL:

Error finding the Chart URL: Looks like "https://kubernetes-charts.storage.googleapis.com" is not a valid chart repository or cannot be reached: Get https://kubernetes-charts.storage.googleapis.com/index.yaml: x509: certificate signed by unknown authority

I get that it is asking for some ca certificate, but I am not sure which ca certificate as I have initialised helm without tls certificates.
I also tried to copy the helm binary inside the pod and tried to run:
helm init --client-only helm repo update Hang tight while we grab the latest from your chart repositories... ...Skip local chart repository ...Unable to get an update from the "stable" chart repository (https://kubernetes-charts.storage.googleapis.com):     Get https://kubernetes-charts.storage.googleapis.com/index.yaml: x509: certificate signed by unknown authority ...Unable to get an update from the "bitnami" chart repository (https://charts.bitnami.com/bitnami):     Get https://charts.bitnami.com/bitnami/index.yaml: x509: certificate signed by unknown authority Update Complete.

Perhaps you need to install the ca-certificates package in your container?

Yes, I have resolved that using installing ca-certificates in my package. This can be closed.


How can I set width="100%"? style doesn't work.

Can you provide the entire affected part of your code?

I would like to have margin or padding from left and right. I can't have it because the map will always be 100% (screen size). So I am not going to see margin from the right.
For example:
<View style={{marginLeft: 10, marginRight: 10}}>
    <ClusteredMapView ....>
</View>

I have also noticed that issue.
I have tried even setting fixed width of the map. But it always renders full screen

I have found a not so nice workaround if you are interested I can share it with you. It would be nice if someone could fix it.

Hi @gabrielmicko @karlis-berzins-accenture .
Sorry for the late reply, i'm fixing right now. The correct behaviour will be available in the next release.
Thank for the tip.


What is the license of dsl4xml?

Some information about the license would be appreciated.

what license would you like? Apache 2?

I consider using it in an Android app that needs modifications that would be uninteresting to most users and probably break backwards compatibility. A BSD/Public Domain licence would be the simplest.

BSD licensed d543adac36c147c1ab9ef508425a70b3a2105555


My DICSS bigger than friend's

Hello, recently a friend of mine tried DICSS, and he loved it. When I went to get it though, it seemed a lot larger. Also, the colors are much darker. Anyone else experiencing this?

This also happened to me, but kinda in the opposite way: all my friends told me that their DICSS were so small that they couldn't notice the difference, but for me, DICSS looks kinda large. Some friends also took a look and noticed that my DICSS was really larger than theirs, but thay couldn't explain why.

It's mostly a matter of perception. When you actually compare the size of your DICSS, you'll likely find that they're very similar.

The size of the stylesheet isn't as important as how it's used

It's probably the way it's compressed. Try extracting everything into a normal format. You should have the same size. Otherwise, you could always ask them for a CDN to use if your client likes bigger packages.


High inference memory usage

If a piper http server comes under heavy load, GPU memory usage can spike up multiple GBs and remain high until the server is stopped. Sometimes requests can get OOM errors if memory usage increases too much.
I'm not sure if these are bugs or expected behaviors:

Why does memory usage permanently remain high and not decrease if inference load decreases?
Initial memory usage for a loaded model is around 500MB, much larger than a low/medium quality model itself (50MB)

To recreate, run the http_server and serve it high requests per second:
python3 -m piper.http_server -m en_US-lessac-medium --cuda --port 6000

Have you been able to figure it out?


Databases result objects have invalid ids

Report bugs here only for the Node JavaScript library.
If you're having problems using Notion's API, or have any other feedback about the API including feature requests for the JavaScript library, please email support at<EMAIL_ADDRESS>Describe the bug
if i fetch my databases through https://api.notion.com/v1/databases
i get invalid ids (separated through - )
{
  "object": "list",
  "results": [
    {
      "object": "database",
      "id": "8154ca77-0c6a-4191-adb7-28273265c28a",
      "created_time": "2021-07-16T21:42:00.000Z",
      "last_edited_time": "2021-07-16T21:44:00.000Z",
      "title": [

To Reproduce
Node version: v14.15.1
Notion JS library version: ^0.2.2
Steps to reproduce the behavior:
fetch databases from https://api.notion.com/v1/databases
use id

const data = await notion.databases.query({
    database_id: "8154ca77-0c6a-4191-adb7-28273265c28a",
})

///
body: '{"object":"error","status":400,"code":"validation_error","message":"path failed validation: path.databaseId should be a valid uuid, instead was `\\"8154ca77-0c6a-4191-adb7-28273265c28\\"`."}'

the correct id would be
const data = await notion.databases.query({
    database_id: "8154ca770c6a4191adb728273265c28a,
})

Expected behavior
A clear and concise description of what you expected to happen.
Some Ideas:

ids are returned with proper formatting
the sdk can accept those ids
or the sdk will trim the -'s
or the sdk documentation has info about this :)

Screenshots
Please include any screenshots that help explain your problem.
Additional context
Add any other context about the problem here.

Please run the following CURL command in the terminal, using your bot token, and let us know if you receive a valid response.
curl --location --request POST 'https://api.notion.com/v1/databases/8154ca77-0c6a-4191-adb7-28273265c28/query' \
--header 'Content-Type: application/json' \
--header 'Notion-Version: 2021-05-13' \
--header 'Authorization: Bearer YOUR_BOT_TOKE' \
--data ''

Closing because this is expected behavior. For future reference, we'd like issues in this repo to be related to the SDK specifically, whereas this issue appears to be related to the API.


[CHORE] Explain block_on function in common-runtime

Addresses: https://github.com/Eventual-Inc/Daft/issues/3435

@andrewgazelka Lmk if it makes sense

it makes sense. so this function is kinda jank then? cause the sync function should probably be async in that situation? since trend seems we are moving to asyncland except on top level might wanna document that this is kinda a workaround to use this then and maybe at some point we can deprecate it?

it makes sense. so this function is kinda jank then? cause the sync function should probably be async in that situation? since trend seems we are moving to asyncland except on top level might wanna document that this is kinda a workaround to use this then and maybe at some point we can deprecate it?

Just for more context, the main issue is calling expression evaluation trait methods which are sync.
#[typetag::serde(tag = "type")]
pub trait ScalarUDF: Send + Sync + std::fmt::Debug {
    fn as_any(&self) -> &dyn Any;
    fn name(&self) -> &'static str;
    fn evaluate(&self, inputs: &[Series]) -> DaftResult<Series>;
    fn to_field(&self, inputs: &[ExprRef], schema: &Schema) -> DaftResult<Field>;
}

The url-download expression implements ScalarUDF, and in the evaluate method it needs to call some async code, i.e. to download from the url. But the evaluate trait method is sync, and it is called from the executor, which is in a tokio runtime context.
So we need a way run the async url download code, thus we came up with the block_on method.
Of course, ideally we just want to somehow do a url_download.await from the executor.


Portal docs

Part of #40 this is the portal documentation.  It uses some of what was previously in the Getting Started: Basics within the API documentation. I added screenshots and additional information on credentials, managing users, and batch change. The batch change information came from the batch change section of the API documentation.
To run locally:
In one terminal: sbt ";project docs ;makeMicrosite"
In another terminal: cd modules/docs/target/site then jekyll serve
View at: http://localhost:4000/user/portal

Codecov Report

Merging #70 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #70   +/-   ##
=======================================
  Coverage   93.76%   93.76%
=======================================
  Files         103      103
  Lines        4765     4765
  Branches       75       75
=======================================
  Hits         4468     4468
  Misses        297      297

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 dada99d...9bff34b. Read the comment docs.

If anything looks wonky you may have to delete your local target directory before running the makeMicrosite command. I've noticed makeMicrosite doesn't seem to remove deleted files or renamed links between runs.

Example of documentation (admittedly subjective but found this on other people's blogs about really good documentation)...
https://docs.bmc.com/docs/cloudlifecyclemanagement/46/using-the-my-cloud-services-console-669200602.html
Definitely, most of the nav bar things are task based.  How do I do x?
They go the extra mile in that documentation of having a Using the My Cloud Services console where it describes the screen elements with screen shots.
https://docs.bmc.com/docs/cloudlifecyclemanagement/46/requesting-cloud-services-669200612.html
Notice how the screen shots are inlined / cropped to be what is relevant.  They are also rather small, so the user can click on the screen shot to "expand" it.
Obviously, their app is a lot more complicated than ours, so I imagine our tasks wouldn't be this involved.
If we map out common tasks:

Create a Group
Add a member to a Group
Change group admins
Connect to a Zone
Manage record sets in a Zone
Manage zone information
Manage zone ACL rules
View record audit history
Create a batch change
Viewing batch change history
Downloading Credentials

Thinking that that we provide an overview of each "screen"
Like, provide a screen shot with circles around main things and a sentence or two on each?
For example, instead of Zones dropping you into Connecting to a Zone, we have a Zones Screen that says what the different tabs are, the sections in the tab, etc.
I also agree that we should circle / highlight buttons and what not in the screen shots.

I would also add a few sentences in "Groups" about why we do groups (for membership and simplifying access to zones and records).
Also makes sense to indicate that these are not presently synced with LDAP.


connectionId is zero when connecting in a P2P scenario

I recently picked up on this project to get a grasp on Network scenarios with Oculus Quest 2. I had to made some changes to some methods due to Mirror changes, nothing major.
I'm having an issue with the transport, in a P2P scenario sometimes the connectionId on the ServerSend method inside the OculusTransport class is zero.
I also tried to connect two clients to the host and the connectionId is always 1.
Any insight on what might be causing this?

Well, that was fast. I managed to fix it.


Rework CLI error reporting for the --blockfrost-token-file

[x] I have changed the way token parsing errors are reported.

Comments
Example:
[cardano-wallet.main:Error:4] [2022-03-18 17:44:51.47 UTC] File /nix/store/7mxbly45mn9x8lijmigk3k25wlzvcn3a-cardano-node-deployments/testnet/genesis-byron.json specified in the --blockfrost-token-file argument doesn't contain a valid Blockfrost API token.
[cardano-wallet.main:Debug:4] [2022-03-18 17:44:51.47 UTC] Logging shutdown.

Issue Number
ADP-1426

bors r+

bors r+

bors merge

bors r+

bors r+


FEAT: do not throw error if previous release was not found

Since I found no way to add a test for it I'd like to check out if it actually works before merging this. I will let you know if this PR prevents the build pipeline from failing in case a release commit wasn't found.
Closes https://github.com/Exelord/ember-cli-deploy-sentry-cli/issues/10

@Exelord
Something strange is going on, it seems like sentry-cli doesn't expect multiple flags to be set. First, it created a release "--ignore-missing", then threw an error that ignore-missing is not an argument when I moved flags to the end of the command. I suspect that it expects --auto OR --ignore-missing flags to be passed. I will ask around in sentry-cli repo and get back to you 🥲

@Exelord I think I figured out what's going on here. Seems like the problem is about the order of passed flags vs actual release version.
So if "set-commits --active --ignore-missing " flags are passed before the release version, the second argument (in our case --ignore-missing) will be treated as a release version and release named "--ignore-missing" will be created, and we'll publish another release with proper name from the didDeploy hook. In that case all assosiated commits will stay in "--ignore-missing" release and the proper release will have no assosiated commits 🤦♂
I've moved the flags after the release version and now it seems to work as expected, also I've opened a new issue in the sentry-cli repo.
I think it's still safe to go with the workaround of moving flags to after the release version, but before actually merging this I'd like some one else to test this version too 🙂

I think we are good :)

@rreckonerr how's the testing going? :)

Thanks, @Exelord 🎉🎉🎉

@Exelord hi, first of all thanks for the plugin would you accept a PR to also add --ignore-empty to this command?

Hey @urbany :) Could you briefly explain what it does?

I think it's because I don't have sentry integrated with my repository, this is what is written in the docs:

Dealing With Missing Commits
There are scenarios in which your repositories may be missing commits previously used in the release. This can happen whenever you modify the commit in question by, for example, amending it, rebasing, or squashing multiple commits together. In this case, Sentry CLI will be unable to find it, and will throw an error that the commit cannot be found.
When this happens, you can pass an additional --ignore-missing flag. This will allow the command to fall back to the default behavior, which is creating a release with a specified number of commits (see the section above).
https://docs.sentry.io/product/cli/releases/#dealing-with-missing-commits

Basically it does not error if the commit is not found.


Add new page to show contents of packages.json

One more for issue #14

This is excellent. Thanks for all your contributions!


[Feature] [Connector-V2] Support connector-file-obs

This pull request adds connector-file-obs

Hi @linsen55 , please follow the guide to open ci on your fork repository. https://github.com/apache/seatunnel/pull/6000/checks?check_run_id=19560285027

Same as https://github.com/apache/seatunnel/pull/4578/


PLANNER-505: adding support for JMS

Adding support for JMS transport.
@ge0ffrey not sure why the kjar with the planner cloudbalance example is raising compilation failures. It is not related to my changes, as it was already happening. Will investigate tomorrow.

@ge0ffrey @mswiderski @sutaakar this is ready for merging. All tests passed locally. Can you please review?

+1 for me

changes looks ok to me though we have quite a few test failures related to this changes, or did I missed something?

:( I will try to see what's going on. Tests succeeded locally, but I had a bunch of environment issues before.

OK, additional fixes in, squashed, rebased and re-submitted.
@sutaakar @mswiderski @ge0ffrey in case you want to check again, tests should succeed now.

Tests failing because of changed behaviour of REST DELETE request in Kie client.

Hi Karel, yes, I fixed it locally, and I am re-running all the tests now.

Jenkins, be nice to me! :)

YEY, all tests succeeded! :) ready to merge.

+1 to merge

merged.


Make table of content render relative links

We need to use relative links for the anchor (#) to work.
Original changes: https://github.com/orditeck/cheap-publish/commit/a4d07cdb86a7c06b20a832cb9da7bdf562ae85da?diff=unified Look at my fork for more customization and fixes: https://github.com/orditeck/cheap-publish
Closes https://github.com/Yarden-zamir/obsidian-zola-plus/issues/14

Awesome, thank you very much @orditeck, I will take a look at your other changes as well when I get the chance


feat: added call, reduced dependancy on openai

As in the title. PR not yet tested. Async not yet finished. Change suggestions are welcome :)

@OscarArroyoVega take a look, please- and double check if it works; without caching, it's much simpler. I left Kato's approach in place, too.

@OscarArroyoVega take a look, please- and double check if it works; without caching, it's much simpler. I left Kato's approach in place, too.

Thank you for adding Kato's contributions in the PR!!


Make compatible with Rolling

Since this client library is under such active development, perhaps we should make it so that it is compatible with / buildable on Rolling?
I will look into what needs to change for this to happen.

I will look into what needs to change for this to happen.

Thanks! That'd be great

So, currently I'm running into an issue where I can't build rclrs_examples:

Complete Colcon Build output
jhassold@952e670e3ad9:~/ros2_rust_ws$ colcon build
Starting >>> ament_cmake_export_crates
Finished <<< ament_cmake_export_crates [0.14s]
Starting >>> rclrs_common
Finished <<< rclrs_common [0.12s]
Starting >>> rclrs
Starting >>> rosidl_generator_rs
Finished <<< rclrs [0.13s]
Finished <<< rosidl_generator_rs [0.52s]
Starting >>> rclrs_examples
--- stderr: rclrs_examples
 Downloading crates ...
  Downloaded syn v1.0.76
  Downloaded cc v1.0.70
warning: `extern` block uses type `u128`, which is not FFI-safe
    --> /home/jhassold/ros2_rust_ws/build/rclrs_examples/ament_cargo/rclrs_examples/target/release/build/rclrs-d3b569f0be5f93c4/out/rcl_bindings.rs:2392:10
     |
2392 |     ) -> u128;
     |          ^^^^ not FFI-safe
     |
     = note: `#[warn(improper_ctypes)]` on by default
     = note: 128-bit integers don't currently have a known stable ABI

warning: `extern` block uses type `u128`, which is not FFI-safe
    --> /home/jhassold/ros2_rust_ws/build/rclrs_examples/ament_cargo/rclrs_examples/target/release/build/rclrs-d3b569f0be5f93c4/out/rcl_bindings.rs:4101:18
     |
4101 |         __value: u128,
     |                  ^^^^ not FFI-safe
     |
     = note: 128-bit integers don't currently have a known stable ABI

warning: `extern` block uses type `u128`, which is not FFI-safe
    --> /home/jhassold/ros2_rust_ws/build/rclrs_examples/ament_cargo/rclrs_examples/target/release/build/rclrs-d3b569f0be5f93c4/out/rcl_bindings.rs:4109:18
     |
4109 |         __value: u128,
     |                  ^^^^ not FFI-safe
     |
     = note: 128-bit integers don't currently have a known stable ABI

warning: `extern` block uses type `u128`, which is not FFI-safe
    --> /home/jhassold/ros2_rust_ws/build/rclrs_examples/ament_cargo/rclrs_examples/target/release/build/rclrs-d3b569f0be5f93c4/out/rcl_bindings.rs:4117:18
     |
4117 |         __value: u128,
     |                  ^^^^ not FFI-safe
     |
     = note: 128-bit integers don't currently have a known stable ABI

warning: `extern` block uses type `u128`, which is not FFI-safe
    --> /home/jhassold/ros2_rust_ws/build/rclrs_examples/ament_cargo/rclrs_examples/target/release/build/rclrs-d3b569f0be5f93c4/out/rcl_bindings.rs:4144:18
     |
4144 |         __value: u128,
     |                  ^^^^ not FFI-safe
     |
     = note: 128-bit integers don't currently have a known stable ABI

warning: `extern` block uses type `u128`, which is not FFI-safe
    --> /home/jhassold/ros2_rust_ws/build/rclrs_examples/ament_cargo/rclrs_examples/target/release/build/rclrs-d3b569f0be5f93c4/out/rcl_bindings.rs:4154:18
     |
4154 |         __value: u128,
     |                  ^^^^ not FFI-safe
     |
     = note: 128-bit integers don't currently have a known stable ABI

warning: 6 warnings emitted

   Compiling rclrs_examples v0.1.0 (/home/jhassold/ros2_rust_ws/build/rclrs_examples)
error[E0432]: unresolved import `std_msgs`
 --> src/rclrs_publisher.rs:2:5
  |
2 | use std_msgs;
  |     ^^^^^^^^ no external crate `std_msgs`

error[E0432]: unresolved import `std_msgs`
 --> src/rclrs_subscriber.rs:2:5
  |
2 | use std_msgs;
  |     ^^^^^^^^ no external crate `std_msgs`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0432`.
error: could not compile `rclrs_examples`

To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: aborting due to previous error

For more information about this error, try `rustc --explain E0432`.
error: build failed
make[2]: *** [CMakeFiles/build_crate.dir/build.make:63: ament_cargo/rclrs_examples/target/release/rclrs_publisher] Error 101
make[1]: *** [CMakeFiles/Makefile2:78: CMakeFiles/build_crate.dir/all] Error 2
make: *** [Makefile:129: all] Error 2
---
Failed   <<< rclrs_examples [0.74s, exited with code 2]

Summary: 4 packages finished [1.69s]
  1 package failed: rclrs_examples
  1 package had stderr output: rclrs_examples

So, apart from a bunch of FFI warnings (which can always be addressed later), it looks like somehow colcon isn't able to see the rclrs and std_msgs packages? Is that right? Or is something not getting passed to cargo correctly?
I'm a little stumped at the moment, so any advice would be very helpful...

Solved by #44


Improved comments

The first commit adds two new functions to Composite.
print_hierarchy() - prints a text based hierarchy. Shows how everything is connected.
print_wiring() - uses same hierarchy as above and prints wiring connections.
Second commit adds some extra error reporting when wires are connected inside a codomain.
This may be obsolete once current bugs are addressed.
A suggestion for a future improvement would be to add "labels" to Block and Composite instances. This would allow hierarchy/wiring diagrams to be created using the human readable labels rather than names more suitable for computer indexing.

I think a good improvement would be to create a new file and move the printing functionality from member methods of 'composite' to a procedures that takes a block and recursively prints the data out.


Update what-s-new-in-sharing-in-targeted-release.md

#883
Action Taken:
Added : " Secure links is a default way to allow external recipients to access...."
See, Introducing a new secure external sharing experience
https://techcommunity.microsoft.com/t5/Microsoft-OneDrive-Blog/Introducing-a-new-secure-external-sharing-experience/ba-p/112624
analysis:
Secure link is always secured, used for external users to freely share a link in ODFB & SPO without compromising the security, for internal users it is automatically secured since they login with their credentials to access files.
References:
Manage sharing with external users in Office 365 Small Business
https://support.office.com/en-ie/article/manage-sharing-with-external-users-in-office-365-small-business-2951a85f-c970-4375-aa4f-6b0d7035fe35
Secure SharePoint Online sites and files
https://docs.microsoft.com/en-us/office365/securitycompliance/secure-sharepoint-online-sites-and-files
User added to secure link / Created secure link
https://docs.microsoft.com/en-us/office365/securitycompliance/search-the-audit-log-in-security-and-compliance
Turn external sharing on or off
https://docs.microsoft.com/en-us/sharepoint/turn-external-sharing-on-or-off
Manage sharing in OneDrive and SharePoint
https://docs.microsoft.com/en-us/onedrive/manage-sharing

@MikePlumleyMSFT Hi Mike, changes look correct. Could you please review and merge? Thanks!


Allow for the "Due" view to show overdue tasks

Currently the "Due" tree view only shows items with a due date of today.  Please allow this view to also showcase overdue items.

Ah, I see the bug, it is the same issue as the nested elements #14 .  My overdue items were nested below a parent so was not showing in the view.  Thanks for the quick reply!

Looking at this again, in the example above, add a tab to any of the overdue tasks (making it a nested item), you will see it drops out of the list.  This maybe a bug unless I am using this incorrectly.


app doesn't show in security & privacy > automation > privacy

hello
i installed it via > brew install --cask macmediakeyforwarder
==> Downloading https://github.com/milgra/macmediakeyforwarder/releases/download
now i get the app in security & privacy >  accessibility
but it doesn't show under
security & privacy > automation > privacy
how to do it ?
thank you

You should install that one https://github.com/quentinlesceller/macmediakeyforwarder/releases.

Also have the same problem, 12.5, using latest release zip (Apr '22).

How is that issue closed, if it's not solved at all?

The original issue was closed because the user used another app.


[PROJECT] Add GDPR consents and notices

TLDR
We are unsure that our current communications and data sharing preferences meet the standards needed. In order to ensure that we have the necessary consents we should add explicit consents and notices at appropriate points.
Guidance
Using the Information Comissioners Office (a UK body who created this guidance while a member of the EU, following EU legislation) https://ico.org.uk/for-organisations/guide-to-data-protection/guide-to-the-general-data-protection-regulation-gdpr/ the most pertinent to this issue are:

Right to be informed
Right to object

We provide individuals with privacy information at the time we collect their personal data from them.

Individuals have the absolute right to object to the processing of their personal data if it is for direct marketing purposes.

Current state
Communications preferences
When users sign up to Open Collective they explicitly indicate that they would be happy to receive our monthly platform newsletter.

Contribution flow
When users contribute to a project administrators can:

use the update feature to email them
access their public profile information (display name, twitter, github, website) and their private email address in the CSV download available in the collective's export settings.

Users can contribute using an incognito profile, when we do this we do not share their information with collective administrators and their email addresses will not be included in update mailouts.
Privacy policy
Our privacy policy (linked in signup) was last updated Jan 2019 and includes the following:

With hosts and organizers of a collective, if you are a contributor, or request reimbursement for expenses made in support, of that collective
We will share your name and image with GitHub if you participate in a collective that is also working on a software project through GitHub.
With vendors, consultants and other service providers who need access to such information to carry out work on our behalf.

Norms
What are others in this space doing?
Patreon
Has a full-on piecemeal notifications system in which you get to decide, for each creator you support, what you want to hear about. their privacy policy is quite specific:

By becoming a patron of a creator, you agree to have the following information shared with that creator:
your name and email address, and other profile information you’ve provided
any messages you send creators through Patreon
your physical address, city, state, and country
your phone number, when you have signed up to support a creator who engages with you via text messages, when you are receiving a benefit that requires shipping, or when you have signed up for event notifications via text
all information about your pledge, including amount and start date, but not your full payment card information
some aggregated and anonymized data about how you use Patreon that cannot be linked back to you or to any individual user
Creators agree to the terms of our Data Processing Agreement (DPA) when they start their membership program

Kickstarter
Kickstarter also has piecemeal notification management, but they display it a little differently. Their privacy policy states:

If a project you have backed is successfully funded, the creator will receive the email address associated with your Kickstarter account. They may also send you a survey requesting information needed to provide your reward. (For instance, they may need your mailing address, or T-shirt size.) Any information you provide in such surveys will be received by the creator.

They're very particular about the types of information that creators can ask about and about the fact they do not share private information until the point that a project is backed.
GitHub Sponsors
Sponsors' terms does not include anything specific about data sharing, instead they're relying on the general data sharing agreements in their overall policy.
Proposed Solution

[ ] Improve the notice provided to contributors about the information shared with collectives
[ ] Check that incognito contributors do not have any identifying information listed in Collective contributor exports.
[ ] Check that incognito contributors do not receive Updates
[ ] Add an explicit process for objecting to our data sharing agreements and requesting data removal to our ToS/privacy policy

Maybe this is a bigger issue, but I feel as part of this we should also indicate (or give DIY options) on how they could opt out of these notifications. 😉

@SudharakaP fair, we should probbably add a newsletter setting to the user's info settings.

Related: https://github.com/opencollective/opencollective/issues/3357

issues here: what happens when we have the consents, how are we gaining retroactive consent? what's the process going to be for that?
Perosnal note: what is the process for posting project updates, are contributors automatically notified about that?

Quick follow up after sync call with @znarf and @Betree: amended original proposal to remove explicit opt outs/ins and instead improve noticed and add opt-out process to ToS/Privacy Policy.
Related: we noticed that there is an issue with information shared for organisations. Currently, contributor exports do not include contact addresses when a contributor is an organisation. We thought it would be off to include the contact email addresses for all admins associated with an org so instead we should add a contact email address for orgs.
Also related: we may want to improve the Delete Account process (which is not accessible for user who have transactions in the ledger) as this could be used as part of an opt out process. At a high level this process would make all contributions in the ledger as incognito, remove the users profile from the site but retain all the private information that we need in order to comply with accounting, tax and legal processes.

Improve the notice provided to contributors about the information shared with collectives

@opencollective/design wondering about two approaches here:

callout in main flow
callout in FAQ

we dont want to discourage folks from contributing under their own name but we do need to do a better job of informing them about what information we share with Collectives. What do you think?

We've concluded that the best way going forward for the GDPR notice would be these two proposals.
In the first one, we’ll have the FAQ expanded by default so it is present for the user to consume the data OR (as seen in the second screen) there will an information box after the selection since it is catchy enough to grab attention but not intrusive as to discourage users from contributing.
Please keep in mind, we’ve now hidden the user’s email address after evaluating the comments under this message.

Expanded FAQ
Info Box

Production Ready file is linked with the final designs.

@Betree @znarf could we push this (and 'revert' https://github.com/opencollective/opencollective/issues/3017) monday morning?


Added --all-features flag.

Description of changes:
Add the --all-features flag to cargo kani
Resolved issues:
Resolves #1510 part 2
Call-outs:

Testing:

How is this change tested? tests/cargo-kani/feature-flag/

Is this a refactor change? No

Checklist

[x] Each commit message has a non-empty body, explaining why the change was made
[x] Methods or procedures are documented
[x] Regression or unit tests are included, or existing tests cover the modified code
[x] My PR is restricted to a single feature or bugfix

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses.

Should not take too long to review. Could someone check please?

Thank you @tedinski


Ansible host variable fixes

This issue (attempts to) address the issue identified in #161 by updating some of the ansible configs to use a newer variable name to access the ssh hostname.
Approach
Disclosure: I approached this fix with a largely automated find-and-replace strategy
Testing and possible drawbacks to this PR
My my testing this seems to resolve the issue, but since im less familar with how ansible works, I have not verified whether this is the minimal possible set of changes needed to solve the issue
I also have not checked to see whether this change breaks any other aspects of the ansible config.
fixes #161

ah hmmm did not mean to do that


Update Composer dependencies (2023-04-06-00-12)

Visual regression test passed!
View the visual regression test report


Update Discord.js codes

Hey so when I am interactiong with the api the results it shows for discord.js is of v13 even tho I write v14.
Pls fix it

Can you provide more context? Will close the issue for now.


fix(compile error): revert #97

retry #104
#103

@homu r+

:pushpin: Commit 83860d9 has been approved by saneyuki

:hourglass: Testing commit 83860d9 with merge a283d66...

:sunny: Test successful - status


fix(web/applications): applicant tel number validation fix (BOAS-285)

Describe your changes
Create Applicant - Applicant Telephone Number - validation bug fix - odd behaviour: not validating good input, and alternately validating and not-validating.  Issue was with /g in the regex, needed to be either removed, or set a separate 'g' parameter in the matches() fn call.
BOAS-285:  BOAS 155 - Error on Applicants telephone number page for entering the e.g telephone no from error message without spaces
https://pins-ds.atlassian.net/browse/BOAS-285
Type of change 🧩

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation update
[ ] Other (please explain in the description section above)

Checklist before requesting a review

[x] I have performed a self-review of my own code
[x] I have double checked this work does not include any hardcoded secrets or passwords
[ ] I have made corresponding changes to the documentation
[ ] I have provided details on how I have tested my code
[x] I have referenced the ticket number above
[x] I have provided a description of the ticket
[ ] I have included unit tests to cover any testable code changes

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

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

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


IROC Datasets

Please Add the code 'IROC', description 'ICES Report on Ocean Climate' to the code type 'Datasets' asap in order to use this for the data portal and AIMS.

Done, and also linked to "OCEAN" theme.


no chance to even get a start: flutter_tools depends on webdriver 2.1.2 (Windows 10 latest)

Steps to Reproduce

installed via zip or git, no difference with respect to the error
flavor git (git clone https://github.com/flutter/flutter.git -b stable): run flutter_console.bat in PowerShell
run flutter doctor or any other command
result is: Because flutter_tools depends on webdriver 2.1.2 which doesn't match any versions, version solving failed.

Logs

PS D:\data\programs\dev\flutter> .\flutter_console.bat

        ######## ##       ##     ## ######## ######## ######## ########
        ##       ##       ##     ##    ##       ##    ##       ##     ##
        ##       ##       ##     ##    ##       ##    ##       ##     ##
        ######   ##       ##     ##    ##       ##    ######   ########
        ##       ##       ##     ##    ##       ##    ##       ##   ##
        ##       ##       ##     ##    ##       ##    ##       ##    ##
        ##       ########  #######     ##       ##    ######## ##     ##

 WELCOME to the Flutter Console.
 ===============================================================================

 Use the console below this message to interact with the "flutter" command.
 Run "flutter doctor" to check if your system is ready to run Flutter apps.
 Run "flutter create <app_name>" to create a new Flutter project.

 Run "flutter help" to see all available commands.

 Want to use an IDE to interact with Flutter? https://flutter.dev/ide-setup/

 Want to run the "flutter" command from any Command Prompt or PowerShell window?
 Add Flutter to your PATH: https://flutter.dev/setup-windows/#update-your-path

 ===============================================================================

D:\data\programs\dev\flutter>flutter doctor --verbose
Building flutter tool...
Running pub upgrade...
Because flutter_tools depends on webdriver 2.1.2 which doesn't match any versions, version solving failed.
Error (1): Unable to 'pub upgrade' flutter tool. Retrying in five seconds... (9 tries left)

D:\data\programs\dev\flutter>flutter --version --verbose
Building flutter tool...
Running pub upgrade...
Because flutter_tools depends on webdriver 2.1.2 which doesn't match any versions, version solving failed.
Error (1): Unable to 'pub upgrade' flutter tool. Retrying in five seconds... (9 tries left)

PS D:\data\programs\dev\flutter> flutter pub global activate devtools
Building flutter tool...
Running pub upgrade...
Because flutter_tools depends on webdriver 2.1.2 which doesn't match any versions, version solving failed.
Error (1): Unable to 'pub upgrade' flutter tool. Retrying in five seconds... (9 tries left)

PS D:\data\programs\dev\flutter> flutter channel beta
Building flutter tool...
Running pub upgrade...
Because flutter_tools depends on webdriver 2.1.2 which doesn't match any versions, version solving failed.
Error (1): Unable to 'pub upgrade' flutter tool. Retrying in five seconds... (9 tries left)

https://pub.dev/packages/webdriver 2.1.2 definitely exists. Are you using a pub mirror?

@jonahwilliams I'll look into this in a second
As I see from Google flutter "webdriver 2.1.2"
webdriver | Dart Packagepub.dev › packages › webdriver
webdriver 2.1.2. Published Feb 17, 2020. 3 likes. [unidentified].

this seems to be a part of dart which does not seem to be installed with either Android Studio or flutter. So I installed dart SDK with choco install dart-sdk, to no avail. From the log:
2020-07-14 18:17:14,386 18164 [WARN ] -  - dart-sdk - dart-sdk v2.8.4 already installed.

this seems to be a part of dart which does not seem to be installed with either Android Studio or flutter. So I installed dart SDK with choco install dart-sdk, to no avail. From the log

Flutter uses its own dart-sdk, installing another one will not affect this.

@jonahwilliams
https://pub.dev/packages/webdriver tells me to install by one of three methods. Don't understand the first two, pub install gives not found.

Flutter uses its own dart-sdk, installing another one will not affect this.

So flutter should know, right?

FYI @jonasfj - this might be a pub issue, though I'm not really sure how to start with this one.

@kklepper are you behind a corporate proxy or similar? (that still shouldn't return 404, telling pub that the version doesn't exist).
The best way to tell if it's a pub issue, is to reproduce it... and run pub upgrade --verbose, maybe by running flutter-sdk/bin/cache/dart-sdk/bin/pub upgrade --verbose from within the flutter-sdk/packages/flutter_tools/ folder.
(assume this will create a dirty sdk folder, so create a fresh one afterwards unless you know how to clean up).

D:\data\programs\dev\flutter>pub upgrade --verbose obviously is not correct.
I'd like to do as you tell me, but where do I find flutter-sdk?

@jonasfj
Google flutter-sdk just turns me to what I have istalled...
Ok, found it:
D:\data\programs\dev\flutter\bin\cache\dart-sdk\bin>pub upgrade --verbose
FINE: Pub 2.8.4
IO  : Spawning "cmd /c ver" in D:\data\programs\dev\flutter\bin\cache\dart-sdk\bin\.
IO  : Finished ver. Exit code 0.
    | stdout:
    | |
    | | Microsoft Windows [Version 10.0.19041.329]
    | Nothing output on stderr.
ERR : Could not find a file named "pubspec.yaml" in "D:\data\programs\dev\flutter\bin\cache\dart-sdk\bin".
FINE: Exception type: FileException
FINE: package:pub/src/pubspec.dart 457:7          new Pubspec.load
    | package:pub/src/package.dart 136:27         new Package.load
    | package:pub/src/entrypoint.dart 156:24      new Entrypoint.current
    | package:pub/src/command.dart 42:59          PubCommand.entrypoint
    | package:pub/src/command/upgrade.dart 48:11  UpgradeCommand.run
    | package:args/command_runner.dart 197:27     CommandRunner.runCommand
    | package:pub/src/command_runner.dart 191:39  PubCommandRunner.runCommand.<fn>
    | dart:async                                  new Future.sync
    | package:pub/src/utils.dart 113:12           captureErrors.wrappedCallback
    | package:stack_trace                         Chain.capture
    | package:pub/src/utils.dart 126:11           captureErrors
    | package:pub/src/command_runner.dart 191:13  PubCommandRunner.runCommand
    | ===== asynchronous gap ===========================
    | dart:async                                  Future.catchError
    | package:pub/src/utils.dart 113:52           captureErrors.wrappedCallback
    | package:stack_trace                         Chain.capture
    | package:pub/src/utils.dart 126:11           captureErrors
    | package:pub/src/command_runner.dart 191:13  PubCommandRunner.runCommand
    | dart:async                                  _completeOnAsyncReturn
    | package:pub/src/command_runner.dart         PubCommandRunner._validatePlatform
    | dart:async                                  _completeOnAsyncReturn
    | package:pub/src/io.dart                     runProcess.<fn>

And again:
D:\data\programs\dev\flutter>flutter doctor --verbose
Building flutter tool...
Running pub upgrade...
Because flutter_tools depends on webdriver 2.1.2 which doesn't match any versions, version solving failed.
Error (1): Unable to 'pub upgrade' flutter tool. Retrying in five seconds... (9 tries left)

Yeah, then try running it from the packages/flutter_tools/ subfolder...
On Tue, 14 Jul 2020, 20.19 kklepper<EMAIL_ADDRESS>wrote:

@jonasfj https://github.com/jonasfj
Google flutter-sdk just turns me to what I have istalled...
Ok, found it:
D:\data\programs\dev\flutter\bin\cache\dart-sdk\bin>pub upgrade --verbose
FINE: Pub 2.8.4
IO  : Spawning "cmd /c ver" in D:\data\programs\dev\flutter\bin\cache\dart-sdk\bin.
IO  : Finished ver. Exit code 0.
| stdout:
| |
| | Microsoft Windows [Version 10.0.19041.329]
| Nothing output on stderr.
ERR : Could not find a file named "pubspec.yaml" in "D:\data\programs\dev\flutter\bin\cache\dart-sdk\bin".
FINE: Exception type: FileException
FINE: package:pub/src/pubspec.dart 457:7          new Pubspec.load
| package:pub/src/package.dart 136:27         new Package.load
| package:pub/src/entrypoint.dart 156:24      new Entrypoint.current
| package:pub/src/command.dart 42:59          PubCommand.entrypoint
| package:pub/src/command/upgrade.dart 48:11  UpgradeCommand.run
| package:args/command_runner.dart 197:27     CommandRunner.runCommand
| package:pub/src/command_runner.dart 191:39  PubCommandRunner.runCommand.
| dart:async                                  new Future.sync
| package:pub/src/utils.dart 113:12           captureErrors.wrappedCallback
| package:stack_trace                         Chain.capture
| package:pub/src/utils.dart 126:11           captureErrors
| package:pub/src/command_runner.dart 191:13  PubCommandRunner.runCommand
| ===== asynchronous gap ===========================
| dart:async                                  Future.catchError
| package:pub/src/utils.dart 113:52           captureErrors.wrappedCallback
| package:stack_trace                         Chain.capture
| package:pub/src/utils.dart 126:11           captureErrors
| package:pub/src/command_runner.dart 191:13  PubCommandRunner.runCommand
| dart:async                                  _completeOnAsyncReturn
| package:pub/src/command_runner.dart         PubCommandRunner._validatePlatform
| dart:async                                  _completeOnAsyncReturn
| package:pub/src/io.dart                     runProcess.
And again:
D:\data\programs\dev\flutter>flutter doctor --verbose
Building flutter tool...
Running pub upgrade...
Because flutter_tools depends on webdriver 2.1.2 which doesn't match any versions, version solving failed.
Error (1): Unable to 'pub upgrade' flutter tool. Retrying in five seconds... (9 tries left)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/61459#issuecomment-658335911,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABERZH6FZEC5HYP6QOZVNTR3SOUDANCNFSM4OZVNWLQ
.

@jonasfj
Thank you, looks a bit better, but still:
D:\data\programs\dev\flutter\packages\flutter_tools>D:\data\programs\dev\flutter\bin\cache\dart-sdk\bin\pub upgrade
Resolving dependencies...
Because flutter_tools depends on webdriver 2.1.2 which doesn't match any versions, version solving failed.

Cool, can you run that with --verbose
On Tue, 14 Jul 2020, 21.47 kklepper<EMAIL_ADDRESS>wrote:

@jonasfj https://github.com/jonasfj
Thank you, looks a bit better, but still:
D:\data\programs\dev\flutter\packages\flutter_tools>D:\data\programs\dev\flutter\bin\cache\dart-sdk\bin\pub upgrade
Resolving dependencies...
Because flutter_tools depends on webdriver 2.1.2 which doesn't match any versions, version solving failed.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/61459#issuecomment-658377753,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABERZHU7NYKXCEF5HGMBNLR3SY4DANCNFSM4OZVNWLQ
.

Ok, good idea, 270 KB... Do you want it zipped or plain?

Just paste the output to a gist is fine...
On Tue, 14 Jul 2020, 22.45 kklepper<EMAIL_ADDRESS>wrote:

Ok, good idea, 270 KB... Do you want it zipped or plain?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/61459#issuecomment-658404127,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABERZGEVDGRTFAZXY5DPGTR3S7XVANCNFSM4OZVNWLQ
.

Oh, never did that, I'll try...

Here it is:
https://gist.github.com/kklepper/413be2a85324406e50cb1362d6bec56c

Hmm, try deleting C:\Users\Karl\AppData\Local\Pub\Cache and downloading a
fresh flutter SDK.
It looks like something is corrupted in your PUB_CACHE, I would be curious
if that reproduces when you download again.
It's certainly interesting that pub installed a package, but is unable to
read the pubspec.yaml from the installed file.
There is probably something we can do in pub to prevent this, verifying
the download checksum, and verifying the pubspec.yaml before storing the
files in PUB_CACHE.
But I would be very curious to know if this reproduces when you clear the
cache and use a new/clean flutter-sdk.
If that reproduces it suggests that somehow files are garbled when
extracted on your system.
(the files are downloaded over HTTPS, so I think it shouldn't be possible
that they are garbled due to intermittent network errors).
On Tue, Jul 14, 2020 at 11:19 PM kklepper<EMAIL_ADDRESS>wrote:

Here it is:
https://gist.github.com/kklepper/413be2a85324406e50cb1362d6bec56c
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/61459#issuecomment-658419262,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABERZG3ZQRQWJAWHE4CYN3R3TDXHANCNFSM4OZVNWLQ
.

Ok, sounds plausible, will do soon.

Removing C:\Users\Karl\AppData\Local\Pub\Cache did change nothing.
Then I removed the flutter directory and started from fresh:
D:\data\programs\dev>git clone https://github.com/flutter/flutter.git -b stable
Cloning into 'flutter'...
remote: Enumerating objects: 8, done.
remote: Counting objects: 100% (8/8), done.
remote: Compressing objects: 100% (8/8), done.
remote: Total 248787 (delta 0), reused 0 (delta 0), pack-reused 248779
Receiving objects: 100% (248787/248787), 105.58 MiB | 12.05 MiB/s, done.
Resolving deltas: 100% (191115/191115), done.
Updating files: 100% (4658/4658), done.

D:\data\programs\dev>cd flutter

D:\data\programs\dev\flutter>flutter doctor
Checking Dart SDK version...
Downloading Dart SDK from Flutter engine ee76268252c22f5c11e82a7b87423ca3982e51a7...
Unzipping Dart SDK...
Building flutter tool...
Running pub upgrade...

  +----------------------------------------------------------------------------+
  ¦                 Welcome to Flutter! - https://flutter.dev                  ¦
  ¦                                                                            ¦
  ¦ The Flutter tool uses Google Analytics to anonymously report feature usage ¦
  ¦ statistics and basic crash reports. This data is used to help improve      ¦
  ¦ Flutter tools over time.                                                   ¦
  ¦                                                                            ¦
  ¦ Flutter tool analytics are not sent on the very first run. To disable      ¦
  ¦ reporting, type 'flutter config --no-analytics'. To display the current    ¦
  ¦ setting, type 'flutter config'. If you opt out of analytics, an opt-out    ¦
  ¦ event will be sent, and then no further information will be sent by the    ¦
  ¦ Flutter tool.                                                              ¦
  ¦                                                                            ¦
  ¦ By downloading the Flutter SDK, you agree to the Google Terms of Service.  ¦
  ¦ Note: The Google Privacy Policy describes how data is handled in this      ¦
  ¦ service.                                                                   ¦
  ¦                                                                            ¦
  ¦ Moreover, Flutter includes the Dart SDK, which may send usage metrics and  ¦
  ¦ crash reports to Google.                                                   ¦
  ¦                                                                            ¦
  ¦ Read about data we send with crash reports:                                ¦
  ¦ https://flutter.dev/docs/reference/crash-reporting                         ¦
  ¦                                                                            ¦
  ¦ See Google's privacy policy:                                               ¦
  ¦ https://policies.google.com/privacy                                        ¦
  +----------------------------------------------------------------------------+

Downloading Material fonts...                                       1,0s
Downloading Gradle Wrapper...                                       0,3s
Downloading package sky_engine...                                   0,6s
Downloading flutter_patched_sdk tools...                            1,2s
Downloading flutter_patched_sdk_product tools...                    1,2s
Downloading windows-x64 tools...                                    2,6s
Downloading windows-x64/font-subset tools...                        0,7s
Downloading android-arm-profile/windows-x64 tools...                0,5s
Downloading android-arm-release/windows-x64 tools...                0,6s
Downloading android-arm64-profile/windows-x64 tools...              0,5s
Downloading android-arm64-release/windows-x64 tools...              0,5s
Downloading android-x64-profile/windows-x64 tools...                0,5s
Downloading android-x64-release/windows-x64 tools...                0,5s
Doctor summary (to see all details, run flutter doctor -v):
[v] Flutter (Channel stable, v1.17.5, on Microsoft Windows [Version 10.0.19041.388], locale de-DE)

[!] Android toolchain - develop for Android devices (Android SDK version 30.0.1)
    X Android licenses not accepted.  To resolve this, run: flutter doctor --android-licenses
[!] Android Studio (version 4.0)
    X Flutter plugin not installed; this adds Flutter specific functionality.
    X Dart plugin not installed; this adds Dart specific functionality.
[!] VS Code
    X Flutter extension not installed; install from
      https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter
[!] Connected device
    ! No devices available

! Doctor found issues in 4 categories.

X Android licenses not accepted.

D:\data\Programme\dev\flutter>flutter doctor --android-licenses
7 of 7 SDK package licenses not accepted. 100% Computing updates...
Review licenses that have not been accepted (y/N)? Warning: File C:\Users\Karl\.android\repositories.cfg could not be loaded.
y

[...]

Accept? (y/N): y
All SDK package licenses accepted

X Flutter plugin not installed; this adds Flutter specific functionality.
X Dart plugin not installed; this adds Dart specific functionality.

did that

X Flutter extension not installed

did that

! No devices available

Well, I guess they mean my smartphone -- yes it is not connected.
Looks good to me. What do you  think?
Thank you all very much.

Special thanks to @jonasfj !

Hmm, so it's interesting how the cache got corrupted the first time around :/
The fact that it's intermittent, suggests to me that we should do more to verify the downloads we do.

What can I do? Let me remember.
It looks like the dart SDK had been installed before for some reason, but as flutter installs it's own, that should not matter.
Next I started with a download of the zip file and unzipped it to some directory. I guess it was because that looked like an awful large job, I read on and found out about git clone and tried that as well which went like a breeze in comparison.
So I had 2 directories with flutter.
I remember that these directories had different sizes, the unzipped more than 1 GB, the cloned less.
In my last attempt I used the clone version only. Why is the zipped version there in the first place? If you want to use flutter, you need git anyway.

Hmm, interesting.. I guess this could be many different things.

I was tempted to use the zip version because it was offered first and it claimed to be a serious offer. The clone version came second and looked more like a poor man's solution.
Why did they do that? If you are eager to proceed you will take the first best. I had a second look only after the download started. And then I thought that the zip version must be more authoritative, so I opted for that.
Why are both installations so different in size? What other differences are there? How can both interfere?
Now the question is if the problem I experienced can be reproduced at all. Answers to the above questions may give a hint.


IPTT landing page and Periodic Target report filter panel > Target periods dropdown menu: Only show options for which there are results

Affects the Target periods drop down in two places:

IPTT landing page
Slide out filter panel for the Periodic Targets version of the IPTT.

Issue: I do not want to guess at which target frequencies are actually used in the program. I only want to see target frequencies that are applicable to the program.
Acceptance criteria
When I select a program, the Target periods menu reloads to only show target frequencies for which there is at least one indicator in the program that is tracking results by that frequency.

Because we do not offer a Periodic Target IPTT for event based indicators, we need to make sure Event never appears in the Target Periods menu. (If you pick Tola Rollout, for example, the Event option shows up.)

Validated.


How does the debug work?

Hi there,
I just came across this amazing video about debugging webassembly code outside browser with command like "lldb -- wasmtime -g hello.wasm". I am interesting in the mechanism under the hood. When we are debugging the code, how the original wasm code is actually executed by wasmtime vm, in native code way (as via JIT) or in interpreter way? If I want to learn how the wasmtime supports JIT debugger, where should I start from? Thanks for any help in advance.
BR,
Terry

When we are debugging the code, how the original wasm code is actually executed by wasmtime vm, in native code way (as via JIT) or in interpreter way?

There is no interpreter in wasmtime yet. The code produced by JIT. We are using cranelift to generate native code and execute that, also the cranelift provides information on how wasm instructions and variables mapped to generated/native code.

If I want to learn how the wasmtime supports JIT debugger, where should I start from?

The debug crate reads "wasm" DWARF information (generated by rustc or clang) from .wasm file and converts it to "native" DWARF, based of the above information from the cranelift. (The WebAssembly DWARF extension still in the works, so what you see can be changed)


chore: bump Otechie fee

Figured this slipped :)

Codecov Report

Merging #4933 into dev will decrease coverage by 0.08%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##              dev    #4933      +/-   ##
==========================================
- Coverage   91.75%   91.67%   -0.09%
==========================================
  Files          73       73
  Lines        2414     2414
  Branches      594      594
==========================================
- Hits         2215     2213       -2
- Misses        181      183       +2
  Partials       18       18

Impacted Files
Coverage Δ

packages/vue-renderer/src/renderer.js
94.56% <0%> (-1.09%)
:arrow_down:

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 cdec133...3f30c45. Read the comment docs.

I would wait until Monday's meeting with that.


⚠ Bofrost.at has degraded performance

In 7e9e7fb, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 5593 ms

Resolved: Bofrost.at performance has improved in 0c31020.


USERS: Create a virtual called friendCount that retrieves the length of the user's friends array field on query.

done


Remove usage of build3 for msbuild projects.

Now that CLI has merged the *3 verbs, no longer need to use build3 for building msbuild projects.
Remove MsBuild and NuGet dependency overrides from .Tools package.

Note: The same changes need to flow to feature/msbuild-1.1.0 branch as well.
@natemcmaster @NTaylorMullen

Do you have a build of cli? I haven't seen successful build of CLI with the change yet.

v3972 of CLI is the latest successful I could find for win-x64 and it has these changes.
The CLI github page isn't updated yet though.

Does the new CLI that removes the 3 verbage still understand project.json? Aka does it switch based on the project file its handed? I ask because we're still relying on the hybrid build behavior of it.

Nope. It does not.

Nope. It does not.

I'd recommend not swapping over to it then. We can't run tests or accurately migrate all of our projects over to csproj quite yet.

Mixing PJ and msbuild is messy.  I'm working on porting aspnet/DotNetTools to build/test with MSBuild so I can use just one version of CLI instead of trying to mix a PJ version with an MSBuild version.

Mixing PJ and msbuild is messy. I'm working on porting aspnet/DotNetTools to build/test with MSBuild so I can use just one version of CLI instead of trying to mix a PJ version with an MSBuild version.

Spent several days doing this with RazorTooling and failed with cli 3892. Lots of things were broken. Some examples: source packages/resources. If you're able to do it with the latest CLI I might give it another try. As of right now though I'm reluctant to try again 😄

I tried with scaffolding and it took me a couple of days to work around issues to migrate the source code to msbuild, and still couldn't get everything working yet.
Still WIP for now.

I have build/pack/test mostly working for the dotnettools repo, but I probably don't have as many requirements as your projects.

@NTaylorMullen and I spoke with @Eilon and decided to add a environment variable for the CI to be able to build and test using an older CLI.

:up: :date:

:shipit:

Nice 😄


Could not create a note please try again

running it in docker, I am not greeted by this, altough it was working earlier on.

Can you share more notes on your setup?

Thanks Nicco, I used the default docker compose in the repo, running on a Bookworm VM.
SSL is via Let'sEncrypt on NGINX proxy manager.
I only added some Theming vars and changed the port to something free on my host.
Worked fine a couple of times freshly spawned then errored ever since. Tried on another two Docker servers and it's the same. I am thinking either NPM or the port I changed, but shouldn't be.
version: '3.8'

services:
  redis:
    container_name: redis-cryptgeon
    image: redis:7-alpine
    # Set a size limit. See link below on how to customise.
    # https://redis.io/docs/manual/eviction/
    command: redis-server --maxmemory 1gb --maxmemory-policy allkeys-lru

  app:
    container_name: cryptgeon
    image: cupcakearmy/cryptgeon:latest
    depends_on:
      - redis
    environment:
      # Size limit for a single note.
      SIZE_LIMIT: 4 MiB
      THEME_IMAGE: "path to my image CDN"
      THEME_TEXT: "TEST LINE
      THEME_PAGE_TITLE: "TEST"
      THEME_FAVICON: "path to my image CDN"
    ports:
      - 8099:8000

Mhhh, if i run your compose file locally it works for me. (except the missing " at the end of THEME_TEXT)
Not sure what the issue is. Do you have any error messages? in the frontend or backend?

Closing as there is information missing, feel free to reopen :)


Async function running before awaiting db connection

Hey guys i have been stuck on this for a while now tried many things it behaving differently with all different option of awsServerlessExpress there is very less documentation on how to use it properly or mongo db connection. I would really appreciate any help.
My initialiseDb looks like this -
const mongoose = require('mongoose');
const config = require('./config');

mongoose.Promise = global.Promise;

let cachedMongoConn = null;

async function connectDatabase() {
  // See https://www.mongodb.com/blog/post/serverless-development-with-nodejs-aws-lambda-mongodb-atlas
  // See https://docs.atlas.mongodb.com/best-practices-connecting-to-aws-lambda/
  // https://mongoosejs.com/docs/lambda.html
  try {
    if (!cachedMongoConn) {
      console.log('New connection');

      cachedMongoConn = await mongoose.connect(config.mongodb.mongoDbSrv, {
        useNewUrlParser: true,
        useCreateIndex: true,
        useUnifiedTopology: true,
        useFindAndModify: false,
        connectTimeoutMS: 10000,
        // Buffering means mongoose will queue up operations if it gets
        // disconnected from MongoDB and send them when it reconnects.
        // With serverless, better to fail fast if not connected.
        bufferCommands: false, // Disable mongoose buffering
        bufferMaxEntries: 0, // and MongoDB driver buffering
      });

      return cachedMongoConn;
    }

    console.log('using old connection');

    return cachedMongoConn;
  } catch (e) {
    console.error('Could not connect to MongoDB...');
    throw e;
  }
}

function getDb() {
  return cachedMongoConn;
}

module.exports = {
  connectDatabase,
  getDb,
};

My main server.js -
const awsServerlessExpress = require('@vendia/serverless-express');
const { connectDatabase } = require('./app/initialiseDb');

exports.handler = async (event, context, callback) => {
  context.callbackWaitsForEmptyEventLoop = false;

  await connectDatabase();
  console.log('After db await');

  const app = require('./app/index.js');

  return awsServerlessExpress({ app })(event, context, callback);
};

Sample model file-
const mongoose = require('mongoose');

const { getDb } = require('../initialiseDb');

const conn = getDb();

const passwordSchema = new mongoose.Schema(
  {
    userId: { type: mongoose.SchemaTypes.ObjectId, index: true },
    password: String,
  },
  {
    collection: 'passwords',
  },
);

const PasswordModel = conn.model('passwords', passwordSchema);

module.exports = {
  PasswordModel,
};

but then i get error like this
TypeError: Cannot read property 'model' of null
at Object. (/../app/user/model.js:55:24)

See https://github.com/vendia/serverless-express/issues/351

I've updated README with an example https://github.com/vendia/serverless-express#async-setup-lambda-handler


Argument for plots to become non-interactive to save memory in Jupyter

Hello,
I was wondering if there are plans (or existing functionality!) to allow plotly.express plots to be created as a static image rather than an interactive plot?
The issue that I've been running into lately is when plotting large datasets, the interactive plots tend to eat up a chunk of memory. At a certain point of information (ie. too much data for one plot or a few larger plots), Jupyter tends to crash, forcing a restart of the kernel and the outputs. My workaround has been to down-sample what I am plotting, but that's not a wonderful solution, understanding that the limitation is with Jupyter + browser rather than with plotly.express. I love the visuals and quality-of-life of plotly.express over matplotlib and I would love a solution to be able to plot many charts with lots of data without the potential for a crash!
A potential type of implementation that would be interesting might follow this kind of convention:
import plotly.express as px

fig = px.line(
    data_frame,
    x="X_column",
    y="Y_column",
    interactive=False,
)
fig.show()

In this case, the interactive argument would change the output of the plot to either be as it is currently (interactive=True) or as a static image (interactive=False), with a similar type of output as matplotlib.
Loving the work on this library!

Opened in plotly.py instead.