Credential requirements

Hi,
In the documentation from the provider it suggest the administrator user and password are required. I am hoping to use this provider to allow a subset of users to manage their applications under an organisation. I would like to confirm that this will work by providing their API credentials scoped with permissions for the resource they will be creating?

Hi @grahamhar - thanks for the question.
This is something that we have not tested internally at this time with this provider, but we expect that the permissions granted to the user for which you supply credentials to this provider should be respected. There is nothing in this provider itself that performs any restriction - any restriction would be purely in the Sonatype IQ Server's REST API's themselves.
If this does not work as you suggest, then we can recommend a route via Customer Support (assumption that you are a current Sonatype Customer).
A quick test here does confirm this should work as you describe. Do let us know if you hit any issues.
Thanks

I'll do a pr to update the docs as this might lead people to think the module won't work for them.

That is greatly appreciated @grahamhar!


Provide destroy()-Method

For responsive websites, it would be great to destroy or reset the parallax-effect!

This is a really good idea, we'll add this to the next release.

Until it isn't added how it can be disabled?


gRPC troubleshoot doc doesn't display any content

Description
Looks like the doc page has some bad moniker ranges that make it so no content shows up for 9.0.
Page URL
https://learn.microsoft.com/en-us/aspnet/core/grpc/troubleshoot?view=aspnetcore-9.0
Content source URL
https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/grpc/troubleshoot.md
Document ID
84ddcb67-03be-655c-470a-f43a5152606f
Article author
@JamesNK
Related Issues

Thanks for the heads up, Brennan!


[FIX] Fixed issue when a template had the same name that a directory

Hey there,
I improved the find_closest_match function.
I recently switched from stencil to zetzer on a project, and wasn't allowed to re-write the it.include() calls (after finding out the bug that I'm trying to fix here).
I realised that if you have the following in the templates folder :
templates/component.dot.html
templates/component/component.dot.html
templates/component-sub.dot.html

And if you are including the following in a page :
{{= it.include("component") }}

Then zetzer wouldn't be loading templates/component.dot.html as intended, but was trying to load the directory templates/component/, or templates/component-sub.dot.html if no folder.
I updated the find_closest_match function to fix it, and I also added some unit test.

Good evening @raiseandfall
I've reviewed and merged your code :+1:
I've also simplified the implementation. It turns out the walk-sync package is marking directories with a slash at the end so it's not necessary to make any extra calls to the file system.
Also a good catch with the component.html and component-sub.html.
I've simplified the implementation, you can see it here:
https://github.com/brainshave/broccoli-zetzer/blob/d442acd797226d611988d8457643715879bfbe56/index.js#L99-L107
Your test cases where essential, very helpful indeed! :smiley:
Thank you and have a great week! :smile:

Hi @brainshave
Thanks for the fast merging & publishing as well as improving the code, It looks great.
I'll implement 2.0.2 tomorrow on some projects.
Have a good week !


Showing avatar(profile pic) of all users in my buddy list

I want to show Avatars of all users in my buddy list along with their Name and Status..can someone guide me in doing it? @timabbott

We don't support this currently.  Are you suggesting you want to implement it?

Closing this due to lack of feedback.  Generally I think that sort of feature to show all users' avatars in the right sidebar would cause loading performance issues in organizations with thousands of users, since we'd need to load a lot of avatars.
We may add a mode for this as part of new options being added to the right sidebar, but we're unlikely to do so because of this issue.
(We do already show name and status in the right sidebar).


tick callbacks receive loop object as argument.

The tick queues pass the loop object as the first argument of the next tick and future tick callbacks.

Thank you for this PR, I've pointed out a few minor things. Thanks for finding something I forgot :+1:

Thanks for the feedback! I've updated the pull request with the changes I could make.

And merged, thank you for your work :+1:


GEODE-4859: Create a public version of GfshCommand

GfshCommand class to return Cache instead of InternalCache
getSharedConfiguration is renamed to getConfigurationService
Exposed authorize methods to delegate to underlying security service

Signed-off-by: Sai Boorlagadda<EMAIL_ADDRESS>Thank you for submitting a contribution to Apache Geode.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[x] Is there a JIRA ticket associated with this PR? Is it referenced in the commit message?

[x] Has your PR been rebased against the latest commit within the target branch (typically develop)?

[ ] Is your initial contribution a single, squashed commit?

[ ] Does gradlew build run cleanly?

[ ] Have you written or updated unit tests to verify your changes?

[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?

Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and
submit an update to your PR as soon as possible. If you need help, please send an
email to<EMAIL_ADDRESS>

GfshCommand is still internal. Which one is the public GfshCommand?

@jinmeiliao This is a part of the overall change, where this PR only prepares GfshCommand to be public before it can actually be public.

I'd say +1, but reword the commit message since you haven't actually made GfshCommand public yet.


How to configure a package having all dependent libraries statically linked

For instance I've built tectonic (typesetting), but it's execution of android device gives me the error:
CANNOT LINK EXECUTABLE "/data/local/tmp/tectonic": library "libfontconfig.so" not found
Therefore I guess the easiest thing is to produce a fat executable "including" all dependencies.
Can you please point me to where or how I can accomplish that?
Many thanks in advance!

ndk-pkg depends tectonic --format=json | jq .

run above command you will get following:
[
  {
    "name": "openssl",
    "dependencies": ""
  },
  {
    "name": "zlib",
    "dependencies": ""
  },
  {
    "name": "libpng",
    "dependencies": "zlib"
  },
  {
    "name": "bzip2",
    "dependencies": ""
  },
  {
    "name": "brotli",
    "dependencies": ""
  },
  {
    "name": "freetype2",
    "dependencies": "brotli,bzip2,libpng"
  },
  {
    "name": "graphite2",
    "dependencies": "freetype2"
  },
  {
    "name": "pcre",
    "dependencies": "zlib,bzip2"
  },
  {
    "name": "libffi",
    "dependencies": ""
  },
  {
    "name": "libiconv",
    "dependencies": ""
  },
  {
    "name": "ncurses",
    "dependencies": ""
  },
  {
    "name": "gettext",
    "dependencies": "ncurses,libiconv"
  },
  {
    "name": "glib",
    "dependencies": "gettext,libffi,pcre"
  },
  {
    "name": "icu4c",
    "dependencies": ""
  },
  {
    "name": "harfbuzz",
    "dependencies": "icu4c,glib,graphite2"
  },
  {
    "name": "freetype2-with-harfbuzz",
    "dependencies": "brotli,bzip2,libpng,harfbuzz"
  },
  {
    "name": "expat",
    "dependencies": ""
  },
  {
    "name": "json-c",
    "dependencies": ""
  },
  {
    "name": "readline",
    "dependencies": "ncurses"
  },
  {
    "name": "util-linux",
    "dependencies": "readline"
  },
  {
    "name": "fontconfig",
    "dependencies": "gettext,libiconv,util-linux,json-c,expat,freetype2-with-harfbuzz"
  }
]

copy these package's .so files to your andoird project's lib dir.

It seems that you want to build fully statically executable. try following command:
./ndk-pkg install android-31/armeabi-v7a/<PACKAGE-NAME> --link-type=static-only --install-lib=static


Added localkeyvaultservice and removed unnecessary configuration

Description

Related Issue(s)

#{issue number}

Verification

[ ] Your code builds clean without any errors or warnings
[ ] Manual testing done (required)
[ ] Relevant automated test added (if you find this hard, leave it and we'll help out)
[ ] All tests run green

Documentation

[ ] User documentation is updated with a separate linked PR in altinn-studio-docs. (if applicable)

Blir noe feil med SonarScanner ser jeg, noe post processing greier

Blir noe feil med SonarScanner ser jeg, noe post processing greier

YEs. Its Analyze that's not working but it has been so since it was setup. I coudn't prioritize that until the functional requirements are in place

I'm merging this code as my upcoming PRs are dependent on this and this is jsut cleanup and localkeyvaultservice


How do I get the last modified date for a card from the power up api?

This seems to be available from the actual api, but the power-up api doesn't include it. It'd be helpful for us so that we can sort cards by most recently used. Thanks!

Not something we had in our backlog, but we've added it. I'll update this issue whenever we make some progress on it. Thanks @aaronjensen!

Thanks! We'd also like members avatar urls if possible, would you like me to open a separate issue for that?

@aaronjensen You should be able to use t.member:
t.member Accepted fields: 'id', 'fullName', 'username', 'avatar'. This is an easy way to get information about active members. 'avatar' returns the complete URL for the 50px png file.

Am I only able to get the current user's avatar? I don't remember seeing avatar in the members of a card if I use t.card

Correct, you can only get the current user's avatar. I'm guessing you are trying to grab other users' avatars as well? In that case, since it isn't possible with the client library, the members endpoint is the way to go: https://developers.trello.com/advanced-reference/member Though this would require you to ask the user to authorize so that you can get their token.

Closing as we added dateLastActivity. Ping me if you've got a question on member avatars.


cmd/root: Always run ostree admin finalize-staged

In the context in which pivot is called, we want to do as much work as
possible upfront so that we (1) minimize downtime, and (2) fail early.
From https://github.com/openshift/machine-config-operator/pull/245#discussion_r242947874.

(Haven't actually tested this yet).

/hold

I dunno...the "check state on reboot" that you suggested and I will implement, will fix the issue you cited right?  Why bring back the /etc merge problem?  I can totally see some of the pods that have host mounts "losing" data there.

Why bring back the /etc merge problem?

Yeah, that's a good point. In my mind, I was picturing the daemon shortly rebooting after calling pivot, so there wasn't really much room for losing files. I think I agree though that in practice the benefit of completely closing that window is worth more than minimizing downtime and failing early.


Make punycode conversion support IDNA 2008

This commit follows the discussion on the mailing list: https://groups.google.com/g/django-developers/c/h80ELFgsess.
@carltongibson Unfortunately, it was not possible to implement it as discussed but this is the closest I was able to get.
The problem is that it seems not possible to override an existing codec in Python.

Thanks @j-bernard — I need to ask the Security Team for a review. Also this looks like a breaking change, so a release note at least is needed (but let's try to clarify what the way forward should be first of all.)

Hi @carltongibson, I launched the tests without the idna package and it works well either.

@j-bernard 🤔 Hmm OK. Thanks. I can have a play next week (but given the test changes I'm expecting to see some point of difference between the two implementations.)

I think the tests update deserves an explanation. They have been changed because the input data contained code points INVALID per IDNA 2008 in domain names and in such cases the idna package would raise an exception.

Ok. Hmm. I'd quite like to see those cases extracted to a clear case that would fail with the other implementation then (and contra cases too, if that makes sense.)
Thanks!

The thing is that the Python standard idna codec does not performs "validation" on domains (meaning it don't strictly applies IDNA 2003 but only performs the encoding). So, you can do encodings on various invalid domains as per IDNA such as ones with dashes at the beginning or end, at 3rd and 4th position, with INVALID code points, etc. This means I won't be able to create a test case that would fail with both idna package and Python idna encoding.

I’m not really comfortable with installing idna changing Django’s behaviour with regards to data validation. Installing e.g. requests could make stored URL’s start to fail form validation, with a hard-to-debug cause.

Good point.

Can you write a test that has different expected output between the two versions?

ok, will let you know when it's done.

@adamchainz I pushed some tests for Punycode encoding which will behave differently whether idna is installed or not.

Caution: Django's email package uses punycode() in sanitize_address(). Merging this change would alter email behavior and introduce a security issue.
Currently mail to<EMAIL_ADDRESS>gets sent to<EMAIL_ADDRESS>(using IDNA 2003 encoding); with this change, it might instead be sent to<EMAIL_ADDRESS>(using IDNA 2008), depending on whether the idna package is installed. Depending on who owns those domains, that change could cause all kinds of problems.
I did some testing earlier today, and both Gmail and Outlook.com still use IDNA 2003 encoding for recipient domains. (Or possibly "UTS #46 transitional processing" on top of IDNA 2008, which retains the older encoding for cases that changed.) I was surprised: all major browsers switched to IDNA 2008 a while back, and I'd think users would expect their email to behave like their browsers. But that doesn't seem to be the case, at least with the two mail services I tried. (Perhaps because of issues like this.)
[Also, I think this PR is for ticket-33968, which is currently closed "wontfix" pending django-developers discussion, which is linked at the top of this PR.]

My understanding is that this change is currently "on hold" at best. I'd need to dig through the full history to recover the details at this point, but likely this PR should be closed.

likely this PR should be closed

Agreed. I just wanted to flag the potential security issue with email, since the PR was still open (and wasn't yet associated with any ticket).
Also, IDNA 2008 is likely to come up again in the future, as it has several times in the past. Switching to IDNA 2008 is arguably the correct thing to do for urls and other non-email domains. But, from what I can tell, it would be a problem for email.


VS Code error loading symbols in my nav-docker container

I have my NAV docker container installed with NAV-devpreview (November) and SQL Server Express. I have the VS Code Docker extension and the AL extension installed.
I get errors when I try to download symbols. I am unclear whether one of the powershell prompts needs to point to the vsix file, or there is some other problem.
launch.json
"version": "0.2.0",
"configurations": [
{
"type": "al",
"request": "launch",
"name": "ALProject1",
"server": "http://DEV2Server",
"serverInstance": "NAV",
//"tenant": "default",
"authentication": "UserPassword",
"startupObjectId": 22
}
apps.json
{
"id": "b46ba6eb-ef7b-4d18-80d8-aea9eccb3667",
"name": "ALProject1",
"publisher": "Default publisher",
"brief": "",
"description": "",
"version": "<IP_ADDRESS>",
//"compatibilityId": "<IP_ADDRESS>",
"privacyStatement": "",
"EULA": "",
"help": "",
//"url": "",
"url": "http://DEV2Server:8080/al-0.11.14434.vsix",
"logo": "",
"capabilities": [],
"dependencies": [],
"screenshots": [],
"platform": "<IP_ADDRESS>",
"application": {
"version": "<IP_ADDRESS>",
"locale": "W1"
},
"idRange": {
"from": 50100,
"to": 50149
}
}
I get the below console error log when I try to download symbols:
[2017-11-26 21:28:19.41] Using reference symbols cache path: c:\Users\dmachanick\Documents\AL\ALProject1.alpackages
[2017-11-26 21:28:19.46] Sending request to http://dev2server:7049/NAV/dev/packages?publisher=Microsoft&appName=W1&versionText=<IP_ADDRESS>
[2017-11-26 21:28:19.57] The request for path /NAV/dev/packages?publisher=Microsoft&appName=W1&versionText=<IP_ADDRESS> failed with code NotFound. Reason: No published package matches the provided arguments.
[2017-11-26 21:28:19.57] Could not download reference symbols. Please ensure that:

The correct server name and instance are specified in the launch.json file.
The correct application locale and version are specified in the app.json file.
Microsoft (R) AL Compiler version 0.10.15150
Copyright (C) Microsoft Corporation. All rights reserved

The usual problems here are normally docker-unrelated. Anyway, please, check the following (including also those docker-related problems as well):

Run ping [container_name] (in your particular case ping DEV2Server). I suppose this is not the problem as the error would be something like The remote name could not be resolved.
NAV service and launch.json authentication method (Windows / NavUserPassword) mismatch.
Installed VSIX extension version must match NAV version running in the container. It happens from time to time that people install the extension for example on October release, then with November release they start a new container but they don`t reinstall the extension for the fresh version.
URL element is not required, or at least I don`t use it.

I have all the NAV clients running - dev, Windows, and Web - it is just the VS Code that cannot connect - when I change the URL to "", I get this message:
[2017-11-28 05:40:00.38] Error: File c:\Users\dmachanick\Documents\AL\ALProject1\Default publisher_ALProject1_<IP_ADDRESS>.app does not exist
I had 2 containers - the first used Windows, but it did not allow my external Windows id, so I create the DEV2Server using userpassword.
I just removed the first container, and I think  it must have mingled some settings. I did all of this a week ago so it is all the November release.
Below is the log from DEV2Server:
PS C:\Windows\system32> New-CSideDevContainer -containerName DEV2Server -accept_eula -auth NavUserPassword -imageName microsoft/dynamics-nav:devpreview -licenseFile "C:\NAVlicenses\Sikich DEV ISV License NAV 2017 20170224.flf" -memoryLimit 3G -updateHosts
Creating Nav container DEV2Server
Using image microsoft/dynamics-nav:devpreview
Using license file C:\NAVlicenses\Sikich DEV ISV License NAV 2017 20170224.flf
NAV Version: 11.0.19097.0-W1
Generic Tag: <IP_ADDRESS>
Creating container DEV2Server from image microsoft/dynamics-nav:devpreview
Waiting for container DEV2Server to be ready, this shouldn't take more than a few minutes
Time:          ½              1              ½              2
......................................Ready
Create Desktop Shortcuts for DEV2Server
Nav container DEV2Server successfully created
PS C:\Windows\system32> docker logs DEV2Server
Initializing...
Hostname is DEV2Server
PublicDnsName is DEV2Server
Running Specific Image
Using NavUserPassword Authentication
Starting Local SQL Server
Starting Internet Information Server
Using Database Connection localhost/SQLEXPRESS [CRONUS]
Modifying NAV Service Tier Config File for Docker
Creating Self Signed Certificate
Self Signed Certificate Thumbprint 2E68E33A2BECD7CCFDBF0C66A00186ADB3F8BD95
Modifying NAV Service Tier Config File with Instance Specific Settings
Start NAV Service Tier
Using license file 'c:\run\my\license.flf'
Import NAV License
Creating DotNetCore NAV Web Server Instance
Creating http download site
Creating Windows user
Enabling SA
Creating NAV user
WARNING: The password that you entered does not meet the minimum requirements.
It should be at least 8 characters long and contain at least one uppercase
letter, one lowercase letter, and one number.
(6869 rows affected)
Container IP Address: <IP_ADDRESS>
Container Hostname  : DEV2Server
Container Dns Name  : DEV2Server
Web Client          : http://DEV2Server/NAV/WebClient/
Dev. Server         : http://DEV2Server
Dev. ServerInstance : NAV
Files:
http://DEV2Server:8080/al-0.11.14434.vsix
Ready for connections!

It has been adding this to the log:TimeGenerated : 11/26/2017 6:38:22 PM
EntryType     : Error
Message       : Server instance: NAV
Category: Development
ClientSessionId: 00000000-0000-0000-0000-000000000000
ClientActivityId: 00000000-0000-0000-0000-000000000000
ServerSessionUniqueId: 6226ff69-0c3c-428e-990c-214788c20081
ServerActivityId: 7155559e-52b1-4d4e-9abe-39ec8e4b2cca
EventTime: 11/27/2017 00:38:22
Message Failed request -- Method:GET; Url:http://dev2se
rver:7049/NAV/dev/packages?publisher=Microsoft&appName=US&versi
onText=<IP_ADDRESS>&tenant=default; StatusCode:NotFound;
ReasonPhrase:Not Found; ResponseBody: {"Message":"No
published package matches the provided arguments."}
ProcessId: 2772
Tag: 00000LY
ThreadId: 29
CounterInformation:

Please, could you provide docker inspect of your container?

 Look at the mine:

app.json

{
  "id": "8ecf343b-822f-449f-8078-b359c77f0437",
  "name": "DEV2ServerALProject",
  "publisher": "Default publisher",
  "brief": "",
  "description": "",
  "version": "<IP_ADDRESS>",
  "compatibilityId": "<IP_ADDRESS>",
  "privacyStatement": "",
  "EULA": "",
  "help": "",
  "url": "",
  "logo": "",
  "capabilities": [],
  "dependencies": [],
  "screenshots": [],
  "platform": "<IP_ADDRESS>",
  "application": "<IP_ADDRESS>",
  "idRange": {
    "from": 50100,
    "to": 50149
  }
}

launch.json

{
    "version": "0.2.0",
    "configurations": [
        {
            "type": "al",
            "request": "launch",
            "name": "My DEV Server on Docker",
            "server": "http://DEV2Server",
            "serverInstance": "nav",
            "authentication": "UserPassword",
            "startupObjectId": 22
        }
    ]
}

You can copy + paste the mine ones as I am using the same params.
You should be able to download symbols dynamically, you don`t need to specify locale: W1 etc.

I pasted your code - had to change the GUID to mine - then received this error:
[2017-11-28 19:03:35.89] Using reference symbols cache path: c:\Users\dmachanick\Documents\AL\ALProject1.alpackages
[2017-11-28 19:03:35.89] Error: File c:\Users\dmachanick\Documents\AL\ALProject1\app.json does not exist
Microsoft (R) AL Compiler version 0.10.15150
Copyright (C) Microsoft Corporation. All rights reserved
error AL1017: The manifest file is not valid.
Error: The package could not be created.

The app.json file does exist at that location and is a copy of the latest version in VS Code.
looks like I am getting closer
Do I need to reboot or is this maybe a security permissions problem?

No, I don`t think you would need to reboot. Maybe we could try it using a remote session. You can try to e-mail me (you can see my private e-mail address on the profile). I suppose we could speed up the process.

I emailed you - did you receive it?
I am in the USA Central time zone, but work from home, so I have extended hours.
I am also on twitter @machanick

OK, I am going to close the issue. The problem has been solved. It was a version mismatch between VSCode plugin (October I think) for AL vs. Docker image version (November update).


castByParents example in documentation returns nothing

curl http://<IP_ADDRESS>:2281/v1/castsByParent?fid=226&hash=0xa48dd46161d8e57725f5e26e34ec19c13ff7f3b9 returns
{"messages":[], "nextPageToken":""}
as does any every other attempt I have made to use castByParents
it only doesn't work when queried using curl, if the url is inputted into a browser it works fine

I just tried this and it works for both the URL and curl:
> curl "https://lamia.farcaster.xyz:2281/v1/castsByParent?fid=226&hash=0xa48dd46161d8e57725f5e26e34ec19c13ff7f3b9"

{"messages":[{"data":{"type":"MESSAGE_TYPE_CAST_ADD","fid":226,"timestamp":48989255,"network":"FARCASTER_NETWORK_MAINNET","castAddBody":{"embedsDeprecated":[],"mentions":[],"parentCastId":{"fid":226,"hash":"0xa48dd46161d8e57725f5e26e34ec19c13ff7f3b9"},"text":"(playing with FC-specific embeddings / recommender system)","mentionsPositions":[],"embeds":[]}},"hash":"0x0e501b359f88dcbcddac50a8f189260a9d02ad34","hashScheme":"HASH_SCHEME_BLAKE3","signature":"MjKnOQCTW42K8+APdD8zGBfu4Z+RoHbxwpFQ0PnkCA75wIUMEpO66ryQNkJZBNXofQGIOs3RBktRbJfia2JJBg==","signatureScheme":"SIGNATURE_SCHEME_ED25519","signer":"0x6f1e8758121e8b2595b37667213aa79d1c064c964799e660e9927f04a3b500ba"},{"data":{"type":"MESSAGE_TYPE_CAST_ADD","fid":2,"timestamp":48994466,"network":"FARCASTER_NETWORK_MAINNET","castAddBody":{"embedsDeprecated":[],"mentions":[],"parentCastId":{"fid":226,"hash":"0xa48dd46161d8e57725f5e26e34ec19c13ff7f3b9"},"text":"Yes - including the deregister events will also help","mentionsPositions":[],"embeds":[]}},"hash":"0xd2b1ddc6c88e865a33cb1a565e0058d757042974","hashScheme":"HASH_SCHEME_BLAKE3","signature":"3msLXzxB4eEYeF0LemDpcTkn2dJQ6wIThfn8Qh1f68/irzVw9aZGSsWGfARFuXqffGsQ+Diy2LdHrY1vkxcPAA==","signatureScheme":"SIGNATURE_SCHEME_ED25519","signer":"0x78ff9a768cf1fbb13caaf5159a9623dd2499b01592a0ee672eca647b6d62558c"},{"data":{"type":"MESSAGE_TYPE_CAST_ADD","fid":347,"timestamp":49006475,"network":"FARCASTER_NETWORK_MAINNET","castAddBody":{"embedsDeprecated":["https://github.com/gskril/farcaster-indexer"],"mentions":[],"parentCastId":{"fid":226,"hash":"0xa48dd46161d8e57725f5e26e34ec19c13ff7f3b9"},"text":"Depends what you're going for - that's good for casts alone but I don't think it would catch updates to off-chain profile data like connected address (in the proofUrl).\n\nI refresh profiles and casts regularly here, if it helps: https://github.com/gskril/farcaster-indexer","mentionsPositions":[],"embeds":[]}},"hash":"0x21ed4b79b8ee93b048b8f90264074a8bec00c189","hashScheme":"HASH_SCHEME_BLAKE3","signature":"7GEQGNwTQLtHq9cvvMRQ2qG6yG6Qc9WCQhYY1AFSaqHHX3ugyoOOzwLw6aJGyt3dVM3uLV8HYHSSafnE9ZrCAw==","signatureScheme":"SIGNATURE_SCHEME_ED25519","signer":"0xecc60c694d7c031bbb096ad6b52ea351e64c72dc9d969bd7e9412667bfffa460"}],"nextPageToken":""}⏎


Set enr.tcp to default to port/defaultP2pPort

Earlier we used to default to set the port/defaultP2pPort for enr.tcp.
But the latest code doesn't seem to be setting enr.tcp which is missing in the generated ENR. This PR re-adds the default back and also simpifies enr.udp assignment.

tcp is not missing in the generated enr, just checked the enr file in unstable group via https://enr-viewer.com/

in a proper network, ENR gets updated because of p2p protocols wherein the node gets poll on what other peers see, but in a testnet where lodestar node is acting as bootnode, this will fail as no node will be able to connect to lodestar bootnode and no updates to ENR will happen.
Observed and verified from a testnet, you can also confirm by starting lodestar on an empty datadir (on any network) and then pickup the generated ENR right at the moment.


Email Functionality

#63
fixes #
Describe the changes you've made
I have created a share with mail button , by clicking on it , a pop up message appear about confirming the info and the tax calculated and by clicking on it we can share the info through mail by using concept of smtplib_ssl
Describe if there is any unusual behaviour of your code(Write NA if there isn't)
NA
Test plan (OPTIONAL)
A good test plan should give instructions that someone else can easily follow.
How someone can test your code?
Checklist

[ ] I have added my name in the contributors list at the end of README.md file.
[x ] My code follows the code style of this project.
[x ] My change requires a change to the documentation.
[ x] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[x ] All new and existing tests passed.
[ ] The title of my pull request is a short description of the requested changes.
[ ] Open Source Program names(OPTIONAL: If you participated in any open-source program then please mention the program name here)

Resolve conflicts.

sir i have merged the new pull request.
On Wed, Jun 16, 2021 at 12:13 PM Qazi Maaz Arshad @.***>
wrote:

Resolve conflicts.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/QAZIMAAZARSHAD/Income-Tax-Calcultor/pull/112#issuecomment-862093536,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AR3E5QEDBSB6OBXWDKHQJZ3TTBB2PANCNFSM46YTI6LQ
.

Whenever make a new PR delete old one.

Whenever make a new PR delete old one.

ok sir
please check #113 email functionality


[Mono] Creating a dual-mode Socket (both IPv4 and IPv6) throws "SocketException: The system could not find the environment option that was entered"

Godot version
v3.5.stable.mono.official.991bb6ac7
System information
Windows 10
Issue description
I've developed a networking library in C#, and one of my users recently informed me that it doesn't work in Godot (I personally primarily use Unity). After some investigating, I've determined the cause of the problem:
Socket socket = new Socket(SocketType.Dgram, ProtocolType.Udp);

throws the following exception:
E 0:00:00.711   System.Net.Sockets.Socket..ctor(System.Net.Sockets.AddressFamily , System.Net.Sockets.SocketType , System.Net.Sockets.ProtocolType ): System.Net.Sockets.SocketException: The system could not find the environment option that was entered.

  <C++ Error>   Unhandled exception
  <C++ Source>  :0 @ System.Net.Sockets.Socket..ctor(System.Net.Sockets.AddressFamily , System.Net.Sockets.SocketType , System.Net.Sockets.ProtocolType )()
  <Stack Trace> :0 @ System.Net.Sockets.Socket..ctor(System.Net.Sockets.AddressFamily , System.Net.Sockets.SocketType , System.Net.Sockets.ProtocolType )()
                :0 @ System.Net.Sockets.Socket..ctor(System.Net.Sockets.SocketType , System.Net.Sockets.ProtocolType )()
                SocketTest.cs:9 @ void SocketTest._Ready()()

The important thing to note about the Socket(SocketType, ProtocolType) constructor is that

if the operating system supports IPv6, this constructor creates a dual-mode socket; otherwise, it creates an IPv4 socket.

Windows supports IPv6 and dual-mode sockets, as evidenced by the fact that outside of Godot, this constructor gives me a socket that works with both IPv4 and IPv6, and whose DualMode property is enabled.
Setting the socket's AddressFamily to InterNetwork (aka IPv4 only) doesn't throw the same error:
Socket socket = new Socket(AddressFamily.InterNetwork, SocketType.Dgram, ProtocolType.Udp);

However, setting the AddressFamily to InterNetworkV6 (aka IPv4 and IPv6—a dual-mode socket) does throw the same error as the constructor where no AddressFamily is supplied:
Socket socket = new Socket(AddressFamily.InterNetworkV6, SocketType.Dgram, ProtocolType.Udp);

I may just add some kind of option/setting to my library that allows users to disable IPv6/dual-mode sockets entirely, although I'm not sure how much use that would get outside of situations like this one where having it enabled causes a crash (since under normal circumstances the constructor should be disabling it automatically if it isn't supported).
I did come across issue #54758, which may be related based on the fact that the workaround presented there is also to disable IPv6, and apparently doing so wasn't necessary before Godot 3.4.
Steps to reproduce
Open the attached project, play it, and check the debugger for the error message mentioned above.
Alternatively, simply paste the following into the _Ready method of a C# script which is attached to a node (requires the System.Net.Sockets namespace):
Socket socket = new Socket(SocketType.Dgram, ProtocolType.Udp);

Minimal reproduction project
SocketTest.zip

Did a quick test with Godot 4.0, which is now using Dotnet6, and it looks like this issue is no longer a problem in the dotnet architecture.  So this may specifically be with the version of Mono that we are using, compared to what version of Mono Unity is using, and how the internals are linked up.  Similar situation to the SSL bug.  Not the same, just similar root, being Mono.


Reading Config from Fibaro FGBS001 fails

Starting the ZWave2 Instance fails to complete the interview for device FGBS001 from Fibaro named Node 13 leaving the Node unusable. All other devices  of type FGR222, FGD212 & FGS223 work as expected.
Test was done with ZWave2 Version 1.5.0 and 1.7.0 alpha 2 with slightly different behaviour in the log file:
V1.5.0.  Node 13 Interview started.  ( But no interview completed) and no config-data accessible through objects.
V1.7.0a2 :  Node 13 has returned from the dead followed 6 sec later by Node 13 is dead.
no other message in the logfile.
Versions in use:
iobroker.admin 4.0.10
node.js: 12.18.3
npm: 6.14.6
System in use:
ZWave Stick Z-Wave.Me HS1DS via USB connected to /dev/ttyACM0
Raspberry with Raspbian
In contrast operation succeeds when executed with traditional instance ZWave Version 2.0.1.
Please advise

An idea from far away: Do I have a chance to track the behaviour of the old ZWave instance, because it somehow manages to work around that issue?
And in principle, would it make sense to have in the object tree for a device a leaf with "failed features" where all features with implementation errors are listed as a string by name. In this case "Alarm sensor CC" to gracefully catch the interview stall.

AFAIK, the old Z-Wave adapter just skips every CC interview step that fails. While that is preferable in many cases, it would not allow to detect non-responsive devices during the interview the way the new adapter is written.
I have an exception in place for multiple CCs (e.g. Binary Sensor), which I should really extend to all sensor type CCs (which are prone to not answering).

The fix might take a few more days to be released, but it will be in the next adapter version

I'll be adding your idea to an issue I've been planning for a while now, seems like a good addition.

1.7.0 final fixed the problem. Thanks for your support, excellent job.


Parallelize tests

Gradle has the ability to run builds in parallel. To take advantage of this with our tests we need to configure ports dynamically.

Closing since this is not a priority.


FR: Create a component that adds validation and error messages to any form control

Bug, feature request, or proposal:
feature request
What is the current behavior?
can't use checkbox and radio inside form-field.
What is the use-case or motivation for changing an existing behavior?
form-field provide a common way to display field description (hints) and message errors and I would like to have the same behavior for checkbox and radio.

                {{ car }}

</mat-form-field>

The Select implementation here is pretty standard for template-driven forms and it works like a charm. Thanks to the "multiple" here, one can select multiple values and then cars are submitted nicely which are all part of one single variable. Easy to cycle thru, easy to paint. No mapping of the indexes to the options, none of that.
I hope that when the checkbox implementation is done, it would be done the same way so it will be as consolidated as the select implementation in my example.

Very Ugly temporary hack that hurts
Wrap a mat-form-filed with always floatPlaceholder and add a matInput that it's display:none.
<mat-form-field floatPlaceholder="always" class="mat-form-field--no-underline">

  <input matInput placeholder="Input" style="display: none" >
  <mat-radio-group>
    <mat-radio-button value="1">Option 1</mat-radio-button>
    <mat-radio-button value="2">Option 2</mat-radio-button>
  </mat-radio-group>
</mat-form-field>

Now, we just need a workaround to remove the mat-input-underline.
.mat-form-field--no-underline .mat-input-underline {
  background-color: transparent;
}

Result

PS: Make sure you share your formControlName between mat-radio-group/mat-checkbox and the ugly [matInput] {display:none}

Eq: http://plnkr.co/edit/NrihcY?p=preview

I was learning about the mat-selection-list and I've realized that it comes with a Label as [mat-subheader].
It turned out it works for checkboxes and radio group as well.
Try something like so:
RadioGroup
<mat-list>

Label for RadioGroup

    <mat-radio-group class="example-radio-group" [(ngModel)]="favoriteSeason">
    <mat-radio-button class="example-radio-button" *ngFor="let season of seasons" [value]="season">
      {{season}}
    </mat-radio-button>
  </mat-radio-group>
</mat-list>

Checkbox Group
<mat-selection-list #groceries>

Groceries

  <mat-list-option checkboxPosition="before" value="bananas">Bananas</mat-list-option>
  <mat-list-option checkboxPosition="before" selected value="oranges">Oranges</mat-list-option>
  <mat-list-option checkboxPosition="before" value="apples">Apples</mat-list-option>
  <mat-list-option checkboxPosition="before" value="strawberries">Strawberries</mat-list-option>
</mat-selection-list>

Eq: https://plnkr.co/edit/k73FSy?p=preview

@tinayuangao I don't think we want to have radio buttons or checkboxes inside of form fields. form fields are only intended for things that have the floating label & underline style that input and select share. But error messages on radio & checkboxes is a reasonable request

Perhaps what is missing is a label that could be used as a field description for fields, such as radio-group, checkbox list, slider and some others

I guess we can always use Material Typography such as .mat-h4 or just wrat the
 in a .mat-typography:

Label for RadioGroup

  <mat-radio-group class="example-radio-group" [(ngModel)]="favoriteSeason">
    <mat-radio-button class="example-radio-button" *ngFor="let season of seasons" [value]="season">
      {{season}}
    </mat-radio-button>
  </mat-radio-group>

I've just created a new issue (https://github.com/angular/material2/issues/11333) presenting the expected behavior in another way: I just asked to support validation errors on such inputs.

Just wondering how this hasn't been implemented.
This must be a must for a of people. (Pun intended)

I have the same problem. For me I need the error message, when it is required and nothing was checked, inside a mat-readio-group. And the required indicator * is missing. It is set dynamically. Sure, I can add it again with ngIf and a new tag but it radio buttons and checkboxes are form fields, since the beginning. Input, textarea, checkbox, radio buttons and smth more.

all controls should work inside form-field.
now I have to do extra work to make all the fields look same
and I need to remember if use mat-raido-group or checkbox then I need use my-form-field instead of mat-form-field that is very  annoying

Still no solution with this problem?
Tried today to put checkbox of form (reactive approach) and had to add custom styles to make it fit vertically right because impossible to put checkbox inside mat-form-field. Also mat-error is dispayed not correctly (probably cuz it is not inside mat-form-field afterall).

wrapping them in form-field would do the job, that's what I did for ngx-formly integration: https://formly-js.github.io/ngx-formly/ui/material

wrapping them in form-field would do the job, that's what I did for ngx-formly integration: https://formly-js.github.io/ngx-formly/ui/material

Sure, but you provide your component as MatFormFieldControl and implement MatFormFieldControl<T>.
import { MatFormField, MatFormFieldControl } from '@angular/material';

@Component({
  // (...)
  providers: [{ provide: MatFormFieldControl, useExisting: FormlyWrapperFormField }],
})
export class FormlyWrapperFormField implements MatFormFieldControl<any>{
  // (...)
}

Any update on a fix for this? This has been a recurring issue for many for quite a long time now...

I was having troubles hiding the underline. Eventually worked using ::ng-deep
::ng-deep .mat-form-field--no-underline .mat-form-field-underline {   background-color: transparent !important; }

Still looking for an update to this. Any progress?

Came searching for an update on this multiple times.

(I'm going through the highest voted issues today an commenting on their status)
We currently don't have any active plans to work on this, primarily because we don't really see how it fits in with the Material Design spec. What we call "form-field" maps to text fields. We used the term "form-field" since the spec clearly shows the treatment being used for selects/dropdowns as well. The spec doesn't, though, show any other type of interaction with this treatment; our interpretation here has been that directly supporting it wouldn't be in the spirit of the Material Design spec.
That said, there is an API for using any control inside of MatFormField. You can create a custom directive like myCustomFormControl that extends MatFormFieldControl to integrate with the form-field (example in the docs) and then apply this custom directive to any component you need.

:( bootstrap supports checkboxes and radio buttons inside forms, they are so common everywhere. What would I do when my client asks please add the checkboxes, radio buttons for Yes/No, I have seen them elsewhere.  I would be like u know what we are elite we are material.
P.S. - hope he doesn't know about custom directives :P

OK , so we need open an issue at Material Design spec's github then.

As a developer, I  DO NOT like the attitude of you don't need what you want to do, but then I am not paying for this so I just suck it up and move one. But yes it would be very nice to add the check box inside the form fields, because, well check boxes are on forms.

I'd like to have some sort of checkbox-group that can be put inside mat-form-field. For example, we want to create a field where we want the user to check all the categories that they have interest in. I don't want to use selection list because if I have a lot of options, it takes up a lot of space. I think it is very reasonable to have radio-group & checkbox-group inside a form field so it can have label, hint, & error validation.

Um, ..., here is the Material design description of checkboxes: https://material.io/components/selection-controls/#checkboxes

@CharlieReitzel what @jelbourn is saying is that the thing we (Angular Material) call <mat-form-field> corresponds to what the Material Design spec calls a "Text field" https://material.io/components/text-fields/ (yes, the differing terminology is confusing). We currently don't have any single component that corresponds to a generic form control wrapper, we have <mat-checkbox> for checkboxes, <mat-radio> for radio buttons, and <mat-form-field> for text inputs and selects.

@mmalerba @jelbourn I understand what Jeremy said.  I am asking for more information about the rationale behind that decision.  Specifically, I am asking, where in the Material Design and Angular Component specifications that limitation is stated?    Please share the relevant spec?
Again, my feeling is that it isn't being read quite right.  That association seems altogether too narrow to be truly useful to developers.  I have worked around it for the moment.  But the results are not satisfactory.  As others have said, there is not specific to text fields for most of <mat-form-field> features, e.g. displaying validation errors, highlighting controls with errors, label display, etc., etc.

There is nowhere in the spec, as far as I know, that discusses validation and error messages for checkboxes, radio buttons, etc. I think some kind of generic form control container is a reasonable thing to ask for, though without any mention of it in the spec, it's not going to be a high priority for the team.

I've renamed this issue to avoid any confusion about mat-form-field, what this issue is asking for would be implemented as a separate new component

@jelbourn said,

We currently don't have any active plans to work on this, primarily because we don't really see how it fits in with the Material Design spec.

All I'm asking is which spec (link please)?  And where in it are you seeing that you shouldn't support both text fields and selection controls under <mat-form-field>?  There is clearly a lot of support in favor of this feature request.   So, at a minimum, it will help us all understand your reasoning.
I'm seeing this, in Introduction to Material Design, Components:

Material Components are interactive building blocks for creating a user interface, and include a built-in states system to communicate focus, selection, activation, error, hover, press, drag, and disabled states.

A bit later, as part of a list of components,

Input: Entering information or selections, using components such as text fields, chips, and selection controls.

"Selection controls" refer to check box, radio button and switch components, collectively.  So I'm seeing fairly direct support in (what looks like) the Material Design "spec"  for what the OP and many others are asking.  So, please, can you tell us?  What are we all missing?

<mat-form-field> is a detail of our implementation of the spec, so the spec says nothing about it. It is completely separate from the concept of "selection controls" in the spec. I really don't know how to explain this any better, I feel like I'm just repeating myself.
Separately, the idea of validation and errors that applies universally to any form control sounds like a good idea to me, but it is not something that the spec covers. I can't link you to where it doesn't cover it because... it's not in the spec. Nowhere does it show what an error message for a checkbox would look like. I'd prefer to see the spec add some guidance on this rather than just making up our own UI and having it turn out to be completely off spec later on

@mmalerba Are you talking about this spec: Angular Material Components?
Or this one:  https://material.io/design/?

I'm referring to the second one; the first one is not a spec, it's the documentation site for this project

please add this, or rename mat-form-field to something else and make a new component to wrap all controls

I'm late to the party on this:  I think it's apparent after 2.5 years there's no interest from the component group on hooking these inputs up to mat-form-field, but unfortunately for me our UX requirements aren't 100% on board with the material specification I guess.
Before I jump on the pain train tomorrow and create my own:  has anyone already created a basic MatFormFieldControl directive that can be applied to the non-'text' fields (specifically MatSelectionList)?
Really all I need is for the styling (error handling) to function, and I'd rather not add hidden inputs everywhere.

Really all I need is for the styling (error handling) function, and I'd rather not add hidden inputs everywhere.

There are several workarounds upthread.  If all you are worried about is showing errors, the ifError directive I posted should work.  I notice our current implementation is different from that stackblitz, so I updated it.
https://stackblitz.com/edit/material-if-errors?file=app%2Fif-error.ts

Any update on it. I use the alternative methods

Still a problem in 2021 - I think the general attitude is that "we know whats best for you" and so the workarounds continue.

Here is my hacky contribution inspired by @leocaseiro. I needed validation. I did not need labels so see @leocaseiro example for that.
// This is all for a hacky fix to make radio buttons work with validation
.form-field-radio-group {
  &.mat-form-field-invalid .mat-radio-group{
    color: red;
    ::ng-deep .mat-radio-outer-circle{
      border-color: red;
    }
  }
  .mat-input-element {
    display: none
  }
  ::ng-deep{
    .mat-form-field-underline {
      display: none
    }
  }
}

<mat-form-field class="form-field-radio-group">
  <input matInput formControlName="stuff">
  <mat-radio-group formControlName="stuff">
    <mat-radio-button value="1">Option 1</mat-radio-button>
    <mat-radio-button value="2">Option 2</mat-radio-button>
  </mat-radio-group>
  <mat-error *ngIf="stuff.invalid">{{getErrorMessage()}}</mat-error>
</mat-form-field>

2021 and still the issue is around for the checkbox!!!

I've implemented a Directive to emulate the MatFormAccessor for any NgControl, which you would use like this:
<mat-form-field>
  <mat-label>Application Active</mat-label>
  <mat-slide-toggle formControlName="active" workaroundMatFormAccessor>
    Active
  </mat-slide-toggle>
</mat-form-field>

Works for my use case, maybe I will setup a small npm package for it.
Code:
https://gist.github.com/DanielHabenicht/b98beadb1f8e099f942053076f835bcc

I've implemented a Directive to emulate the MatFormAccessor for any NgControl, which you would use like this:
<mat-form-field>
  <mat-label>Application Active</mat-label>
  <mat-slide-toggle formControlName="active" workaroundMatFormAccessor>
    Active
  </mat-slide-toggle>
</mat-form-field>

Should work for other usecases but I didn't test it yet, maybe I will setup a small npm package for it.
Code: https://gist.github.com/DanielHabenicht/b98beadb1f8e099f942053076f835bcc

@DanielHabenicht thanks, this works for me with mat-checkbox.

I've implemented a Directive to emulate the MatFormAccessor for any NgControl, which you would use like this:
Code: https://gist.github.com/DanielHabenicht/b98beadb1f8e099f942053076f835bcc

Thanks @DanielHabenicht that saved me a bunch of time!
If you're using an older version of Angular that doesn't implement hasValidator you can do this instead for the required() getter in WorkaroundMatFormAccessorDirective
get required(): boolean {
    const control = this.ngControl.control;
    if (!(control && control.validator)) {
      return false;
    }
    const validator = control.validator({} as AbstractControl);
    return validator && validator.required;
  }

It's now 2023. Any comment on why this feature is no longer under consideration? @andrewseguin

There are a couple reasons that we won't be able to commit to this work. The main reason is simply that supporting this is a lower priority than the current work of moving towards the latest Material Design spec. Second, there is no spec that we could use to implement errors for components other than input and select.
We would truly love to add this in (and many other highly requested features), but unfortunately we only have so many resources to work with.


“L” + “GPL” Day

See ya later GPL

Can you also change packages/lodestar/LICENSE?
I'm expecting each package would have its own LICENSE file governing that package.
So if we bring ssz into the mix, the Apache code can live peacefully alongside the LGPL code.

Actually  now that you bring that ups a good point, do we make it in the root or in each sub package?


Neo4j Server not responding after syncing with Azure Subscription

Neo4j server is not responding after syncing with Azure Subscription.

After the sync stage the neo4j server is not able to load the graphs for azure. Have tried to restart the server several times but facing the same issue.
Neo4j version:3.5.0
OS: Windows 11
RAM:16GB

Hi there,

Just double checking, does the sync complete successfully or does it fail with an error message? I'm wondering if you are trying to access the database while the sync job is going on.
Also double checking, are you running the database on the same machine that is loading the data?

Hi,
Thanks for your response.
1.Yes the sync completes successfully, there is no error message. Also I am accessing database after completion of the sync.
2. I am using the same machine for loading and accessing the data.

This is an older issue, but I thought I'd ask a few questions to help troubleshoot your issue.

How are you using neo4j? Are you using neo4j desktop or neo4j via docker using the included docker-compose.yml that is included with cartography?
Does neo4j work as expected after restarting it?
Do you have any explicit memory parameters defined for your neo4j instance?
What do your debug.log, neo4j.log, and query.log log files look like? Are there any errors or other entries of interest in those log files?

Based on what you're describing and my own experience with neo4j and cartography, it sounds like you don't have enough memory allocated to neo4j.


zappa invoke

zappa invoke staging "print 1 + 2 + 3" --raw                   (feature/lambda✱)
Calling invoke for environment staging..
START RequestId: abababf4-c81d-11e6-a731-612b3622cb56 Version: $LATEST
need more than 1 value to unpack: ValueError
Traceback (most recent call last):
  File "/var/task/handler.py", line 479, in lambda_handler
    return LambdaHandler.lambda_handler(event, context)
  File "/var/task/handler.py", line 192, in lambda_handler
    return handler.handler(event, context)
  File "/var/task/handler.py", line 309, in handler
    app_function = self.import_module_and_get_function(whole_function)
  File "/var/task/handler.py", line 182, in import_module_and_get_function
    module, function = whole_function.rsplit('.', 1)
ValueError: need more than 1 value to unpack

END RequestId: abababf4-c81d-11e6-a731-612b3622cb56
REPORT RequestId: abababf4-c81d-11e6-a731-612b3622cb56	Duration: 0.46 ms	Billed Duration: 100 ms 	Memory Size: 512 MB	Max Memory Used: 54 MB

💩

Ugh, I assume this is the result of that PR I didn't test thoroughly enough.

Yeah, that's the case. The new ArgumentParser is apparently conditional to ordering. Goddammit, gotta revert all this.

This is still happening for me

Still happening to me as well! When will the fix be pushed upstream?

Ditto

It's working fine on the latest version (0.34.0)

Sweet

This showed up for me again today. I am on 0.35.2.
Log output:
need more than 1 value to unpack: ValueError
Traceback (most recent call last):
File "/var/task/handler.py", line 520, in lambda_handler
return LambdaHandler.lambda_handler(event, context)
File "/var/task/handler.py", line 233, in lambda_handler
return handler.handler(event, context)
File "/var/task/handler.py", line 392, in handler
app_function = self.import_module_and_get_function(whole_function)
File "/var/task/handler.py", line 223, in import_module_and_get_function
module, function = whole_function.rsplit('.', 1)
ValueError: need more than 1 value to unpack

Init-file:
{
  "dev": {
    "lambda_description": "Stats",
    "s3_bucket": "ems30",
    "app_function": "app.app",
    "apigateway_enabled": false,
    "keep_warm": false,
    "log_level": "INFO",
    "memory_size": 512,
    "timeout_seconds": 300,
    "events": [
      {
        "function": "app.lambda_handler",
        "event_source": {
          "arn": "arn:aws:s3:::ems30test",
          "events": [
            "s3:ObjectCreated:*",
            "s3:ObjectRemoved:DeleteMarkerCreated"
          ]
        }
      }
    ]
  }
}

And it wasn't happening in the previous version?

Some other code I am running with a previous version does not have this problem. This code I only tested with 0.35.2. I am happy to downgrade and test.

This is interesting. When I add/remove an object from the bucket that I specified in the init file it works without the error message.
When I add a file to a bucket that I manually specify in the admin console, it throws the error.
I am specifying the other bucket manually because I need prefix support and I don't think that zappa supports that currently.

Apparently when I create a trigger via the lambda console, it does not name it properly. In this case it is necessary to edit the trigger from the s3 console. Is there any why that zappa can support prefixes in the s3 triggers or is there and option to add it?

Looks like this is already supported by kappa using the following:
{
  "function": "app.lambda_handler",
  "event_source": {
    "arn": "arn:aws:s3:::...",
    "events": [
      "s3:ObjectCreated:*",
      "s3:ObjectRemoved:DeleteMarkerCreated"
    ],
    "key_filters": [
      {
        "type": "prefix",
        "value": "..."
      }
    ]
  }
}


AWS Device Farm doesn't recognise tests

Last time we implemented a lot of tests with XCTest-Gherkin. They are running smooth on a local machine. Now we want to run the tests in AWS Device Farm, they support XCTest UI, so our tests should run there.
But when I upload our UITests-Runner ipa to AWS and start the app, the tests are no recognised and no tests did run. At first I thought is has something to do with inheritance; if the class does not inherit from XCTestCase but some other class, that should probably not work. But I tried to implement my own inheritance chain based on NativeTestCase, but then the testcase was recognised in AWS and did run smoothly.
This does not work in AWS (it does on a local machine):
import XCTest
import XCTest_Gherkin

class MyTestCase  : NativeTestCase {
}

This does work in AWS:
import XCTest
import XCTest_Gherkin

class MyXCGNativeInitializer : XCTestCase {
}

class MyNativeTestCase : MyXCGNativeInitializer {
}

class MyTestCase  : MyNativeTestCase {
}

Probably due to the fact that the tests running on XCTest Gherkin are 'runtime tests' and the test classes are generated at runtime. I'd suggest opening a ticket with AWS.
Happy to look at a PR if you find the root cause is something related to this library.


⚠ Bofrost.at has degraded performance

In 48baa35, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1177 ms

Resolved: Bofrost.at performance has improved in aa45cf7.


layout: slide

layout: slide
title: “Welcome to our second slide!”
Change test
Use the left arrow to go back!

Originally posted by @NamSunHyeon in https://github.com/NamSunHyeon/github-slideshow/issues/2#issuecomment-909190903

123213

575557


Back-reference mapper

Added a back-reference mapper the the mappers directory.

@nijotz please rebase and move the backref mapper to a folder called examples/mappers/.  It would be really nice if you could also update the README file and add a example mappers section where you mention your mapper.

I'm assuming it's okay to leave this as a request to merge into master, pending the pull request for task/make-all-entries-available-inside-mapper being approved.


[RFC] Evalute NFS/vsock as potential storage map/mount method

It has been discussed a few times if we could maybe use NFS over vsock as an alternative or replacement for our 9pfs use.
I did a first step evaluation, and wrote up the procedure to get the eval up and running in a gist.
That gist gets both a 9pfs and an nfs/vsock mount into a qemu/KVM VM (not a docker runtime).
I believe the NFS setup (and probably the 9p setup) in that gist need some tweaking before we undertake a full evaluation of both performance and compatability, but as a taster, here were some of my initial observations:

running a simple blogbench test similar to this, I saw that NFS performance was worse than 9p. But, both the 9p and NFS can no doubt be optimised in that setup - so take that as a guide to optimising the setup, rather than a final conclusion right now.
running https://github.com/pjd/pjdfstest showed a couple of things, that also lead me to believe we need to tune the setups before we take final measurements:

the 9p in the VM showed less failures than the 9p in kata (or clear containers) - so we need to understand why they are different (maybe it is the overlayfs backing difference etc.)
the nfs showed many errors to do with chmod and similar - I strongly suspect my nfs setup is restrictive on user id mappings and permissions - we should make the 9p and nfs setups equivalent in this respect before we compare results.
upon first examination, nfs does appear to fix (or rather, not have) the unlink and mmap shared issues we have seen with 9pfs.

@stefanha , as those are your nfs/vsock patches we are using for the kernel patching and nfs/vsock mounts ;-)
@bergwolf as I think you have NFS mount experience over in runv from before (so may be able to advise on the perms and setup or your experience and expectations of NFS in VM/containers)
@egernst @mcastelino as you requested we do a prelim test on this.
I'd be very happy to get input on this Issue. Note though, I don't believe I will get back to look at this until the end of the month...

@grahamwhaley I think the main issue with using nfs over vsock is the kernel patches are not accepted by upstream.

the 9p in the VM showed less failures than the 9p in kata (or clear containers)

runv has supported vsock for a long time and it works just fine. afaik, 9p is not supported in kata yet. How did you test it in kata?

Thanks for giving NFS over AF_VSOCK a spin!  It is intended to work for scenarios such as Kata.
As @bergwolf mentioned, this feature is not upstream yet.  Therefore it is not easily available to most users, but I'm working on getting it merged upstream.

"running a simple blogbench test similar to this, I saw that NFS performance was worse than 9p. But, both the 9p and NFS can no doubt be optimised in that setup - so take that as a guide to optimising the setup, rather than a final conclusion right now."
I'd be curious for any details.  What exactly is that test doing with the filesystem?  What is the 9p server and how is it configured?  What was the performance difference?
My interest: I'm an upstream NFS developer trying to figure out the case for NFS/VSOCK.  I know NFS pretty well, but am pretty ignorant about 9p and kvm/qemu.

@grahamwhaley Ping regarding @bfields questions above.
I am going to investigate using NFS over AF_VSOCK in the Kata runtime and will post more information once I've played with it.

Hi @bfields Sorry for the delay, I was away when this landed and it looks like it got dropped in my inbox cleanup (thanks @stefanha for the nudge :-).
I'll drop some 9p and tests info here - I suspect you know some already, but I'll start at the basics anyway - please cherrypick.
9p
The basics of 9p, and links off to papers and specs., are fairly well listed in the kernel docs, if you want background.
Kata then uses 9p between its QEMU/KVM containers and the host - so it mounts 9p fs mounts inside the VM kernel, which attach back to QEMU/KVM on the host. Let me grab a little info for each and paste it. If I run up a simple:
$ docker run --rm -ti --runtime kata-runtime alpine sh

then inside that container we can see:
$ mount | fgrep 9p
kataShared on / type 9p (rw,sync,dirsync,nodev,relatime,access=client,trans=virtio)
kataShared on /etc/resolv.conf type 9p (rw,sync,dirsync,nodev,relatime,access=client,trans=virtio)
kataShared on /etc/hostname type 9p (rw,sync,dirsync,nodev,relatime,access=client,trans=virtio)
kataShared on /etc/hosts type 9p (rw,sync,dirsync,nodev,relatime,access=client,trans=virtio)

and on the host we can:
$ ps -ef | fgrep qemu

which gets you a large commandline. If we filter that down a little, you can see the 9p related QEMU commandline arguments:
-device virtio-9p-pci,fsdev=extra-9p-kataShared,mount_tag=kataShared
-fsdev local,id=extra-9p-kataShared,path=/run/kata-containers/shared/sandboxes/10054a82e5ec4f8cb01949eb0dcded4edbe6086467daf619c0143469f99199c1,security_model=none

So, that gives you the command lines on the host and in the VM of how the 9p was mounted - the easiest way to re-create that is going to be to run Kata - either that or hand-roll a VM I guess.
Tests
If you use the gist above, then you end up with a Kata VM container with both a 9p and a vsock-nfs mount point in it - that helps with testing.
blogbench
I used the blogbench from the kata tests repo iirc. You can modify that test pretty simply to set the test dir, to switch between the 9p and nfs mount points.
Blogbench itself is not extensively documented, but that page does give some details about how it has reader and write threads and what size chunks they are using. I only used that test as a first pass 'does reads and writes of different sizes'. As mentioned above I think, if we are looking at optimising and/or making a choice, then we need to do some more precise and extensive tests - we have used fio previously for this, but that requires substantial configuration.
pjdfstest
I used pjdfstest to test for POSIX compliance. That appears to be a maintained and up to date version of the test we used to use in Clear Containers.
I chose that POSIX test as we'd used it before. iirc, there are 3 or 4 different posix and other FS conformance test suites we could use - I think I have a list somewhere if we need.
I made a Dockerfile to get that test built and runable:
FROM ubuntu

RUN apt-get update && \
    apt-get -y install autoconf git bc libacl1-dev libacl1 acl gcc make perl-modules && \
    git clone https://github.com/pjd/pjdfstest.git && \
    cd pjdfstest && \
    autoreconf -ifs && \
    ./configure && \
    make

# and run using
#    prove -r .

I hope that gives some pointers and info. I only did the barest first pass test, so we should probably plan out and undertake a more extensive test if we are comparing and optimising these filesystem options.
Do ask more questions if I can help - I'm not sure how much time I'll have to re-create the setup here in the v.near future - but do ask if you need and I'll see what I can sort out.

And, semi related, as I mentioned it to @stefanha on irc. A related WIP project may also be https://github.com/clearcontainers/vhost-9pfs
@rarindam - are you able to give us a brief overview of the plan for that project (was it to optimise 9p by removing the kernel/qemu/kernel context switch overhead for instance), and what the current state is? thx.

Looking at blogbench, it sounds like it could be creating a lot of little files, which can be challenging for NFS since it's required to sync new files to disk before responding to the create request.  It might be worth comparing round trip times for file creates/renames/removes under the two protocols and/or figuring out whether 9p makes similar requirements for those operations.  (A quick skim of the documentation wasn't telling me anything.)
A workload with lots of smaller IOs might also sensitive to the number of round trips required to perform a given operation.

"QEMU's virtio-9p server does not sync automatically after metadata changes"
Thanks, that's interesting.  Poking around some more... The protocol does have a "sync" command: "As a special case, if all the elements of the directory entry in a Twstat message are ``don't touch'' val- ues, the server may interpret it as a request to guarantee that the contents of the associated file are committed to stable storage before the Rwstat message is returned."  That "may interpret" is kind of unhelpful, but a quick look at the qemu code suggests it does sync in that case.  The kernel client also appears to use this.  So the "dirsync" on that mount should mean it's syncing after every operation.  So an nfs-vs-9p comparison should be an apples-to-apples comparison there.

/cc @edward6.

A quick summary of the vhost-9pfs work then - yes, it was undertaken to look at improving performance. It also carries some 9p fixes with it as well I believe. And, yes, it would carry with it some extra surface area addition to the kernel (that is, with 9p in the kernel there would be a new way to potentially take down the host kernel, and thus all the containers on that machine - something that does not exist with 9p being served in userspace QEMU).
That work is not active at present. If somebody does pick this up later then contact us if you want some input, status update etc.

Hi @stefanha - @peterfang did some more investigation into the performance of NFS over vsock, and found some interesting results. @peterfang, could you post a summary here of your findings - @stefanha is the originator of much of that code I believe, so I think will be interested in the results.
thx!

Hi @stefanha, @grahamwhaley,
After some investigation, I've created a couple patches and they have improved the performance of NFS over vsock.
I had to make a minor change to nfs-utils in order to resolve a bind failure issue on my machine. Without this change, the kernel complains about the garbage bits in the sockaddr_vm structure.
The main patch to the kernel vsock driver is here. The observation is that, during active I/O periods, we consistently see vsock sender stalling for 0.25 sec, despite the fact that the receiver keeps delivering CREDIT_UPDATE.
Basically, the patch sets the SOCK_NOSPACE bit when vsock_stream_sendmsg() detects the receiver may be out of buffer space. This bit allows xs_tcp_send_request() to correctly set the SOCKWQ_ASYNC_NOSPACE bit and return -EAGAIN to xprt_transmit(). It also allows xs_write_space() to work properly when receiving a CREDIT_UPDATE message. Otherwise, the error code gets converted to -ENOBUFS, and RPC imposes a 0.25-sec backoff period which does not wake up RPC on CREDIT_UPDATE.
The patch also implements the stream_memory_free protocol method for vsock, which allows sk_stream_is_writeable() to work properly. (I'm guessing this could be further optimized, because right now it only checks if space is > 0)
There is considerable performance improvement after the patch is applied. On my machine, iozone shows 17-35x raw R/W performance gain compared to virt-9p, and 17%-40% over NFSv4. Bonnie++ stat/delete also shows about 2x performance improvement over virt-9p, and 70% over NFSv4. File creation tests are inconclusive, with FIO showing an improvement most times and Bonnie++ showing a regression over virt-9p and NFSv4.

@peterfang Nice work! It looks like the vsock patch is not limited to the nfs over vsock use case. Would you please send it upstream so that general vsock users can also benefit from it?

@bfields The 70% improvement refers to the Read (stat) part of the "Random Create" test in bonnie++. Interestingly, the Read part of the "Sequential Create" test got worse.
Apologies for not describing the test results accurately. I didn't do a wide range of comprehensive testing, so the data points are still somewhat scarce.
I've attached a sample of my test results:
bonnie_create_nfsvsock.txt
bonnie_create_nfstcp.txt

@bergwolf Thanks for the feedback. Since the fix has not yet been widely tested, I'd prefer to let it sit here for a while and at least get an okay from the developers here first.

Thanks for those details, but that wasn't what I was asking.  My question was: each time you talk about X being some factor faster than Y, what are X and Y?
My first thought was that X is always exactly the same as Y but with your patch applied.  But you said " iozone shows 17-35x raw R/W performance gain compared to virt-9p".  That ":compared to" makes it sound like you're comparing the performance of virt-9p to something that is not virt-9p.
So, I'm still pretty confused, sorry!

@bfields I was comparing the performance of NFS over vsock to virt-9p in that statement. If NFS over vsock took X us to complete a specific test, and it took virt-9p Y us to complete it (X < Y), that's when I say there is a performance gain of (Y - X) / Y over virt-9p when using NFS over vsock. Sorry for the ambiguity here.

This is exciting, I'm so looking forward to it! @grahamwhaley

Exciting, Does it mean nfs over vsock will be the default option in some months?

Seems https://github.com/clearcontainers/vhost-9pfs is stopped, 9pfs has no hope.

I am not a fan of the current 9p as well. However, we will add kubernetes node e2e test to our tests, and won't change to nfs/vsock until it could pass the conformance test.

Hi @wuqixuan I'm not sure NFS over VSOCK will or could become the default for Kata until all the necessary patches are in the upstream kernel - and it requires patches on both the host and the guest kernels.
I think it is more likely that first we would support NFS over VSOCK as an option, and it would the responsibility of the user to ensure all the correct patches were present on both the host and guest kernels.
If you wanted to help here :-), then we could do with some user feedback on how easy/hard this is to get running and what performance/feature benefits are seen. If we find enabling this as an option in Kata is then useful and wanted by users, we can work on the documentation and maybe adding the mode to our CI tests.

Hi @stefanha I am also very interested in "NFS over Vsock". And I want to know how is the current progress? Thanks.

On Tue, Nov 20, 2018 at 8:07 AM Yiwen Jiang<EMAIL_ADDRESS>wrote:

Hi @stefanha https://github.com/stefanha I am also very interested in
"NFS over Vsock". And I want to know how is the current progress? Thanks.

Hi,
We're currently working on virtio-fs, a new shared file system that takes
things further than possible with NFS over VSOCK.  The first public release
of virtio-fs will be made soon and has Kata Containers integration.
I will post to the kata-dev mailing list when virtio-fs is available for
testing and review.
Stefan

Hi @stefanha Thanks a lot. I am very looking forward to seeing virtio-fs.
In addition, I have a question about vsock.
Previously I have a RFC in Virtio-vsock community, and want to discuss a new idea "Vsock over Virtio-net" that discussed with Jason wang continually. And I want to know your suggestions?
Thanks,
Yiwen.

On Tue, Nov 20, 2018 at 8:51 AM Yiwen Jiang<EMAIL_ADDRESS>wrote:

Hi @stefanha https://github.com/stefanha Thanks a lot. I am very
looking forward to seeing virtio-fs.
In addition, I have a question about vsock.
Previously I have a RFC in Virtio-vsock community, and want to discuss a
new idea "Vsock over Virtio-net" that discussed with Jason wang
continually. And I want to know your suggestions?

I saw the email threads but am currently on vacation.  I'll be back next
week and will catch up on the discussion.
Stefan

Thanks a lot.

@grahamwhaley can we close this? NFS/vsock was a good alternative, but I think virtio-fs is a better solution, what do you think?

:+1: @devimc
Let's close it.


Fail to load music library on mac os

Checklist:

[ x ] I have checked that there are no issues with similar or the same content
YOU SHOULD CHECK CLOSED ISSUES ASWELL

[ x ] I have checked the FAQ (https://github.com/MarshallOfSound/Google-Play-Music-Desktop-Player-UNOFFICIAL-/wiki/FAQ) and the answer I am looking for is not there

[ x ] I have double checked and can reproduce the issue

OS:
Mac OS
GPMDP Version:
4.6.1 distributed on homebrew
Issue Descriptions:
debug_info.zip
After logging in to the google account, it shows "loading music library" and freezes.

Steps to Reproduce:
Install using homebrew
login google account

" I have checked that there are no issues with similar or the same content"
No offense, I don't think that's true:
https://github.com/MarshallOfSound/Google-Play-Music-Desktop-Player-UNOFFICIAL-/issues/3741
https://github.com/MarshallOfSound/Google-Play-Music-Desktop-Player-UNOFFICIAL-/issues/3660
https://github.com/MarshallOfSound/Google-Play-Music-Desktop-Player-UNOFFICIAL-/issues/3610
Looks like a duplicate of these issues.


[VL] Daily Update Velox Version (2024_05_03)

Upstream Velox's New Commits:
2e61956d1 by Ankita Victor, Add unix_seconds Spark function (9488)
82aa0c4cd by Bradley Dice, Remove .gitmodules. (9674)
b1defb592 by Bradley Dice, Fix typo in docs for PlanNode. (9676)
518a808ac by Bikramjeet Vig, Enhance lazy vector consistency check (9687)
abb94a3af by Ashwin Krishna Kumar, Fix segfault in TableScanBuilder (9475)
7fa9fd218 by Jialiang Tan, Fix TSAN for PeriodicStatsReporterTest (9692)
d7c4f88f6 by Kevin Wilfong, HashProbe should only reuse nonSpillInputIndicesBuffer_ if it's mutable
3f3895de5 by rui-mo, Extract fuzzer into expression/fuzzer directory (9651)
ebcbec72a by Jialiang Tan, Add stats report daemon to Velox (9653)
15780e091 by Zac Wen, Record number of regions evicted in SsdCacheStats (9686)
9650e3014 by rui-mo, Validate session time zone in Config (9666)

===== Performance report for TPCH SF2000 with Velox backend, for reference only ====

query
log/native_5594_time.csv
log/native_master_05_03_2024_90f000cae_time.csv
difference
percentage

q1
36.09
35.63
-0.453
98.74%

q2
23.66
28.51
4.849
120.49%

q3
36.71
36.54
-0.171
99.53%

q4
37.40
40.29
2.886
107.72%

q5
69.22
70.20
0.983
101.42%

q6
7.42
7.26
-0.154
97.92%

q7
80.92
83.75
2.828
103.49%

q8
83.87
82.97
-0.901
98.93%

q9
125.33
124.07
-1.261
98.99%

q10
46.83
44.44
-2.395
94.89%

q11
19.67
19.68
0.012
100.06%

q12
28.19
26.57
-1.621
94.25%

q13
54.71
56.49
1.781
103.26%

q14
18.53
19.61
1.080
105.83%

q15
31.69
30.01
-1.673
94.72%

q16
12.68
12.87
0.190
101.50%

q17
103.29
102.43
-0.862
99.17%

q18
144.18
146.02
1.844
101.28%

q19
14.58
13.46
-1.126
92.28%

q20
28.30
31.45
3.148
111.12%

q21
282.13
289.87
7.741
102.74%

q22
14.42
14.43
0.005
100.03%

total
1299.82
1316.55
16.731
101.29%


Default image spacing is broken

If a recipe doesn't have an image, a default one is provide. Sometimes there is some weirdness with the sizing of a default image causing the layout to break. I thought I had fix this issue but after looking at screenshots, I don't think I have.
See: https://github.com/open-eats/OpenEats/issues/38

This should be fixed in version 1.3.1


Add ConfigMap appsettings file parsing

Add support for ConfigMap entry with key appsettings.json being parsed using the JsonConfigurationProvider
ConfigMap entries with keys duplicated in the appsettings.json's value will use the values specified in the ConfigMap
#639

/azp run


Update service-admin-premium-manage.md

This needs to be reviewed and perhaps better wordsmithed by one of the doc writers,  It also will need two new pictures added (to replace the one I removed), and needs to be staged until the feature actually goes live in the 4.4 train.

@cmfinlan : Thanks for your contribution! The author, @mgblythe, has been notified to review your proposed change.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

powerbi-docs/service-admin-premium-manage.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

@cmfinlan - closing the public repo change out, moving to private repo.


[Bug]: [Auto layout] Container like widgets are not resizable

Is there an existing issue for this?

[X] I have searched the existing issues

Description
When we drag and drop a container like widget and try to resize the height of the widget in Auto layout using the signifier we are able to see the widget automatically collapses or expands to he original size.
https://user-images.githubusercontent.com/104895602/223679634-58a97bd5-e865-4c89-bad8-2cc2f33940da.mp4
Steps To Reproduce

DnD a container like widget
Try to expand or reduce the height of the widget
Observe the widget collapses or expands to its original size.

Public Sample App
No response
Environment
Deploy Preview
Issue video log
No response
Version
Appsmith Community v1.9.10-SNAPSHOT

Waiting on decision if we need vertical resizers or Auto height. QA on hold.

@Sripriya93 can you pls qa this now.

Vertical resizer is not used anymore. We can close this issue @marks0351


Add Configuration module

Converted to draft, as dataconf needs python 3.8 and component lib uses 3.7...

Resolved by: https://github.com/keboola/cookiecutter-python-component/pull/2/commits/8a9eb60c6e745927bead93e0cecb3e7a340efe62


Ticks: Labels appear and disappear on an auto-scrolling axis

Bug Report
Issue:
Currently I am trying to implement a scrolling mechanism to view live data. It differs from the example in the cookbook as the Electrocardiogram strip chart only showed a certain slice of time, and all the data was coming in at the same interval. In my case data is coming in at different intervals, in a scatter plot instead of a signal plot. In order to do the scrolling, I update the axis limits every X milliseconds. This results in a scrolling animation, but causes the axis ticks to flicker in and out.

Trying to do just AxisPan causes the X axis to grow as if it was set to AxisAuto.
Reproducing:
  // adjust the axis limits only when needed
  var axisLimits = Plot_UserControl.Plot.GetAxisLimits();
  var currentRange = (DateTime.FromOADate(axisLimits.XMax) - DateTime.FromOADate(axisLimits.XMin)).TotalSeconds;
  double slidingPercentage = 0.95;

  var currentPoint = DateTime.Now;

  var max = currentPoint.AddSeconds(currentRange * (1 - slidingPercentage));
  var min = currentPoint.AddSeconds(-currentRange * slidingPercentage);

  Plots.SetAxisLimitsX(xMin: min.ToOADate(), xMax: max.ToOADate());

System Details

ScottPlot Version: 4.1.63?
Operating System: Windows 10
Application Type: WinForms
.NET Version: .Net 6

Hi @nassaleh, thanks for sharing this interesting issue!
On every render ScottPlot tries to determine the best tick positions/labels based on the current axis limits, but since your plot is scrolling the recalculations are causing "flickering" between different densities of tick labels.
Manual Tick Spacing
You could try defining the tick spacing something like:
double secondsPerDay = 60 * 60 * 24;
double oneSecondSpacing = 1.0 / secondsPerDay;
plt.YAxis.ManualTickSpacing(oneSecondSpacing );

Manual Tick Positions/Labels
Or if that doesn't give you the control you want, you could manually decide where to place ticks on every render, and specify their positions and labels exactly as you want them to appear using something like:
double[] xPositions = { /* custom */ };
string[] xLabels = { /* custom */ };
plt.YAxis.ManualTickPositions(yPositions, yLabels);

In this case you can use the object that plt.GetAxisLimits() returns to determine where the horizontal axis is currently spanning.
I hope this helps!

I'm going to close this now assuming the information from the previous comment is sufficient for you to find a solution, but if not feel free to continue this discussion or re-open this issue. 👍

@swharden That fixed my issue. Thank you so much!


Make sure that PrepTemplate and SampleTemplate does not have columns in common

as part of the metadata validation.

I think this should be easy to implement if:

We check that sample template doesn't have any of the prep template required fields, and
We check that the prep doesn't have any overlapping columns names
Note that we need sample_name to relate both templates.

However, is not clear for me what should we do with the columns (1151) of the studies (224) that already have this problem. From a quick look it seems that 99% of them are fields that shouldn't be in the prep template but they are.
The SQLs I used to examine this, just for reference:
select st.study_id, st.column_name, pt.prep_template_id from qiita.study_sample_columns as st join qiita.study_prep_template as stpt on st.study_id=stpt.study_id left join qiita.prep_columns as pt on stpt.prep_template_id=pt.prep_template_id where st.column_name=pt.column_name;
select distinct st.study_id from qiita.study_sample_columns as st join qiita.study_prep_template as stpt on st.study_id=stpt.study_id left join qiita.prep_columns as pt on stpt.prep_template_id=pt.prep_template_id where st.column_name=pt.column_name;

It may be worth double-checking, but I think this is no longer an issue since we are adding a suffix to the prep template columns when we generate the qiime mapping file, which was where the problem appeared.

Got it, didn't know that was the issue. However, I think it will be nice to not have duplicated information ...

Not sure, but is possible that the information is not duplicated, is just that the columns have the same name (probably a bad design but can happen...)

Again, possible but not desirable. Some of the column names are: year, collection_timestamp, center_name, watertimebarn; which clearly should be sample and not prep metadata.

Turns out that this is more important than expected: if the sample info file has barcode/barcodesequence, it will take precedence over the prep info and will be reused. Moving to Alpha 0.3.

what would be the proper handling? Raising an error or raising a warning?

Note that also run_prefix matter. Error/Warning: I would say halt prep info addition until after the columns are not overlapping. Objections?

I think that Antonio's suggestion is good.   How are we handling qiime mapping file addition where that information was (historically duplicated in both sample and prep with addition of _prep appended)?  Or was this already taken care of?


Body Parsing documentation is out of date

https://docs.zendframework.com/zend-expressive/features/helpers/body-parse/ refers to pre-v2 configuration pipelines. The actual solution is much simpler:
use Zend\Expressive\Helper\BodyParams\BodyParamsMiddleware;

// ...

$app->pipe(BodyParamsMiddleware::class);

@shadowhand so what is the solution ? How about you send a PR with the changes ?

It's already mentioned???
Right under https://docs.zendframework.com/zend-expressive/features/helpers/body-parse/#registering-the-middleware

@xtreamwayz I am also wondering about it. But not sure whether @shadowhand is telling something else.

@xtreamwayz doh! you're right. I completely missed that line because it is so tiny compared to all the (outdated) information about using configured pipeline.
I'll leave this open since the docs could do a better job of separating between current and deprecated usage.

I agree on the mess it causes and I've brought this to the attention of mwop a few weeks ago. I did some research and I haven't found an existing system that could handle this in our use case. I've got some ideas on how to do this properly with versioning but it involves writing something from scratch and I haven't had the time yet to work on it.
Basically the idea is to generate and upload the docs grouped by minor versions:
https://docs.zendframework.com/<component>/<version|latest|develop>/getting-started/features/

https://docs.zendframework.com/zend-expressive/1.1/getting-started/features/
https://docs.zendframework.com/zend-expressive/2.0/getting-started/features/
https://docs.zendframework.com/zend-expressive/latest/getting-started/features/
https://docs.zendframework.com/zend-expressive/dev/getting-started/features/

GitHub would trigger a document server if a new version is tagged so it can regenerate the docs for that specific version. Or in case something is pushed to the develop branch it would always regenerate the develop docs.

Closing this as the issue mentioned wasn't really an issue and suggested versioning of the docs is now available.


Website Feature: Presets

Xopar was originally working on this a few weeks ago but he's become too busy to implement it and felt what he was doing anyway wasn't the best. Now that there's a lot more settings to turn on and configure it would be nice to have this feature. Basically, a website feature to save your settings under a specific Preset name so you can have multiple settings to swap between. The presets drop-down could include a preset by default, maybe the current default settings are the first preset and then anything beneath that are the ones the user creates?
How these are stored on a user-basis I wouldn't have a clue but ZOOTR has this feature for their web generator so there must be a way to do it here, too? Anyway, it would be nice to hotswap between settings instead of having things where you might forget to turn on/off something, including tricks, and what not.

Added


Modify misuse regarding the use of ordering

https://github.com/apache/incubator-teaclave-sgx-sdk/blob/495b91f6e690a8c7a3b94241ba58eb44cc22739d/samplecode/localattestation/attestation/src/func.rs#L48
https://github.com/apache/incubator-teaclave-sgx-sdk/blob/495b91f6e690a8c7a3b94241ba58eb44cc22739d/samplecode/psi/SMCServer/enclave/src/lib.rs#L84
https://github.com/apache/incubator-teaclave-sgx-sdk/blob/495b91f6e690a8c7a3b94241ba58eb44cc22739d/samplecode/thread/enclave/src/lib.rs#L52
I think the use of ordering here is irregular. In teaclave, there will be no simultaneous read and write operations to CALLBACK_FN, GLOBAL_HASH_BUFFER and GLOBAL_COND_BUFFER in a multi-threaded environment, only simultaneous reads to them occur, so I think Ordering::Relaxed can be used here.

Thank you for reporting this issue, I will review the code as soon as possible.


Zsh window in VS-Code fails to run Python code when other Zsh does

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version: 1.77.3
OS Version: Kali Linux (updated like two days ago)

Steps to Reproduce:

Terminal > New Terminal (running Zsh)
Ran Python file, got error:

Traceback (most recent call last):
  File "/home/roan/Desktop/Sherlock/sherlock.py", line 9, in <module>
    a.load("example")
  File "/home/roan/Desktop/Sherlock/core/commands.py", line 218, in load
    self.__load_st(args[0])
  File "/home/roan/Desktop/Sherlock/core/commands.py", line 196, in __load_st
    self.__load_path(assumed_path + name + ".py")
  File "/home/roan/Desktop/Sherlock/core/commands.py", line 186, in __load_path
    self.handler.load_action(path)
  File "/home/roan/Desktop/Sherlock/core/commands.py", line 74, in load_action
    spec = importlib.util.spec_from_file_location(action_module, action_path)
           ^^^^^^^^^^^^^^
AttributeError: module 'importlib' has no attribute 'util'

In case you're curious, importlib most certainly does have attribute util, and running my file in Qterminal agrees. The error only surfaces inside the VSCode Terminal.

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.78.0. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

┌──(roan㉿kali)-[~/Downloads]
└─$ code --version
1.78.0
252e5463d60e63238250799aef7375787f68b4ee
x64

Problem persists.

I don't know what would be happening here, @karthiknadig thoughts?

@meganrogge It really depends on which version of python is being used here. The best way to figure out this is to run the following, from zsh and Qterminal:
> python -c "import sys;print(sys.executable);print(sys.version)"

This will tell you exactly which version of python is being used in each case.

My apologies,but I uninstalled the operating system on which this occurred last night. I do know, though, that I was running Python 3.11.2, in which this error shouldn't occur.

Hey @meganrogge, this issue might need further attention.
@R-Rothrock, you can help us out by closing this issue if the problem no longer exists, or adding more information.


Incorrect display name of available "Advanced Service" APIs

Expected Behavior
When using clasp apis list, the displayed <api name> is what can be passed in clasp apis enable/disable <api name>
Actual Behavior
Services with names that have "-" (e.g. bigquery-json) or specialized "Advanced Services" bindings (AdminDirectory, AdminReports) are not properly reported by apis list:

If attempting to then enable the API by displayed name, e.g. clasp apis enable bigquery, HTTP 403 "The caller does not have permission" is raised, and clasp then states:

API bigquery doesn't exist. Try 'clasp apis enable sheets'.

Steps to Reproduce the Problem

clasp apis list

shows admin twice (for AdminDirectory & AdminReports)
shows bigquery

clasp apis enable bigquery
Receive large error trace re: HTTP 403, and message "API bigquery doesn't exist. Try 'clasp apis enable sheets'."

Specifications

Node version (node -v): 8.11.2
Version (clasp -v): 2.0.1
OS (Mac/Linux/Windows): Win 10

Would all of those still require that the API is already included in the PUBLIC_ADVANCED_SERVICES list? If not, how would we determine the user symbol? If so, then it would be easier to just add the service ID to that struct rather than have the developer type it in.


[Grouping] selecting grouped row should select children

When used in conjunction with selection, when the group header is selected it should select the children (if expanded). This should also be made consistent with treeView.
May this can be incorporated into #3445?

Along with this, if a row within a group is selected, then the group is collapsed, that row should be unselected. Does this functionality belong in grouping, or selection? Should a selected row always become unselected if it becomes hidden?

I don't think it's necessarily true that hidden rows should always be selected.  I can imagine a use case where someone is selecting some items by navigating around a tree, and that they want those things to stay selected.  So if anything this would be switchable behaviour.

@PaulL1, you make some good points. I was picturing a narrow use case.
Let's forget about selecting/unselecting rows, and just make sure there is an event that fires when the collapsed/expanded state changes (looks like this already exists on TreeView). We need a means to access the child rows in the callback. Selecting/unselecting will be the responsibility of the implementer.
I can think of three ways to implement access to the child rows:

A method on the headerGridRow class which returns an array of rows.
A publicApi method something like getChildren(headerRow) which returns an array of rows.
Provide the array from from the event, like: gridApi.treeView.on.rowCollapsed(scope,function(row, childRows){})

I am leaning towards 3, for simplicity. I am also going to propose a change to the events on treeView. Instead of two events can they be combined into rowExpandedChanged, similar to the rowSelectionChanged event?

I think I'd lean towards option 2, as that I think is a more general use case - it could be used for lots of things.  I can write that pretty quickly.
On the events, I originally split them out so that people could listen only for expanded or only for collapsed (and in particular, I think I built it so I could build the dynamic fetch when someone expanded a row that hadn't previously been expanded).  I think we lose something by combining them.  But yes, it'd be useful on grouping too.

I was searching for a function/option that could get me the children for grouped row.
Maybe something similar to row.entity in cellTemplate.
I found some references for row.children but i guess it is not working.
I am using ui-grid v3.0+.....


Create Posts “alienchea-1”

Automatically generated by Netlify CMS

👷 Deploy Preview for sprightly-pavlova-aaea86 processing.

Name
Link

🔨 Latest commit
785073737d4bce70fb029753716f5ba792ddbcb2

🔍 Latest deploy log
https://app.netlify.com/sites/sprightly-pavlova-aaea86/deploys/63f75902f58e1d0008435b92


Ublock Origin prevents loading of detectIncognito.js?

 Any thoughts?

@dcaud by default extensions is not working in private mode except you allow it manually

detectIncognito is listed in "uBlock filters – Ads":
||cdn.jsdelivr.net/*/detectIncognito$script
Solution is to just don't use the CDN.


Update Localizable.strings

Reviewed all strings and made necessary changes due to untranslated segments and possible wrong translations/terminology.

This looks good but I have no way of verifying really.

Gotta trust the open-source community.... thanks Bora.

You're welcome.
On Mon, Mar 14, 2022, 7:08 PM Aurelius Prochazka @.***>
wrote:

Gotta trust the open-source community.... thanks Bora.
—
Reply to this email directly, view it on GitHub
https://github.com/AudioKit/AudioKitSynthOne/pull/177#issuecomment-1067006663,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AX6CN537YNUMIZTZ2W43HJDU75QAHANCNFSM5QTTYX2A
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID:
@.***>


Make clipper_manager use version tag not latest versions of Docker containers

In clipper_manager, all the Docker containers use the latest tag when they should be used the 0.1 tag.

It turns out this is actually fairly complicated to support with the way versioning interacts with our tests right now.


Linting JS embedded into custom DSL

I’m dealing with a DSL for designing chatbots which uses JavaScript for backend purposes, JS snippets being incorporated into main code like so:
state:
    # stuff
    script:
        // JS goes here
        function sum(a, b) {
            return a + b;
        }
    # more stuff

state:
    # yet more stuff

Could I possibly get this plugin to lint JS thus embedded whilst ignoring everything else?

That's totally possible. You basically write a custom syntax which marks these script portions as source.js.
This may sound insane but since your snippet looks like yaml you probably just fork the yaml syntax and add two good lines at a good position.

Hooray


Websocket transport should be namespaced

Otherwise we have classes named Mirror.Client and Mirror.Server which are very misleading because they are only for websockets

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


Update variables.tf

cluster2
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #
Quality checks

[ ] My content adheres to the style guidelines
[ ] I ran make test module="<module>" it was successful (see https://github.com/aws-samples/eks-workshop-v2/blob/main/docs/automated_tests.md)

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Hi @tonyalit2 please provide more context for this pull request.


Update request: coin3d 4.0.2 → 4.0.3

Package name: coin3d
Latest released version: 4.0.3
Current version on the unstable channel: 4.0.2
Current version on the stable/release channel: 2022-07-27
[X] Checked the nixpkgs pull requests

Notify maintainers
@gebner
@viric
https://github.com/coin3d/coin/releases/tag/v4.0.3
Release Notes: https://github.com/coin3d/coin/blob/eab55e722d219cbf025f6b9ef7669e1015160728/RELNOTES#L11-L30

Note for maintainers: Please tag this issue in your PR.

Add a :+1: reaction to issues you find important.

So this update was made in 28000247e4ca9bc61ac60c66ff9f228df4d94c8b, but unfortunately there is currently a complaint about a hash mismatch that renders it unbuildable:
error: hash mismatch in fixed-output derivation '/nix/store/cryjqhbbc9kp0l9bil1pbxm7knc244vl-source.drv':
         specified: sha256-EeLfIu+InGy56zqjhbNle4hPjQmzwqzHA4ODBMjb9kg=
            got:    sha256-dUFmcUOdNc3ZFtr+Hnh3Q3OY/JA/WxmiRJiU2RFSSus=

@r-ryantm it seems like you may be responsible for the problematic update.  Thoughts?

Feel free to submit your PR.
I suspect the upstream force-pushed the tag.

This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/error-hash-mismatch-in-fixed-output-derivation/52353/2

https://github.com/NixOS/nixpkgs/pull/342221

Great. Thanks for all the effort. Closing ticket as resolved :pray: