error when creating kubeconfig in k8s v1.27.5

Describe the bug
Error when creating kubeconfig in k8s v1.27.5. Will there be support for creating configs in 1.27?
To Reproduce
Steps to reproduce the behavior:

Install kubecm with kubectl krew install kc
kubectl kc create

Expected behavior
goroutine 1 [running]:
github.com/sunny0826/kubecm/cmd.(*CreateOptions).getToken(0xc00011fc30)
/home/runner/work/kubecm/kubecm/cmd/create.go:222 +0x1ab
github.com/sunny0826/kubecm/cmd.(*CreateCommand).runCreate(0x0?, 0x0?, {0x0?, 0x0?, 0x0?})
/home/runner/work/kubecm/kubecm/cmd/create.go:78 +0x13b
github.com/sunny0826/kubecm/cmd.(*CreateCommand).Init.func1(0xc000786600?, {0x2e323c0?, 0x0?, 0x0?})
/home/runner/work/kubecm/kubecm/cmd/create.go:41 +0x31
github.com/spf13/cobra.(*Command).execute(0xc000786600, {0x2e323c0, 0x0, 0x0})
/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:940 +0x862
github.com/spf13/cobra.(*Command).ExecuteC(0xc000578000)
/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:1068 +0x3bd
github.com/spf13/cobra.(*Command).Execute(...)
/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:992
main.main()
/home/runner/work/kubecm/kubecm/main.go:30 +0x25
Desktop (please complete the following information):

OS: Ubuntu 20.04
K8s:
Client Version: version.Info{Major:"1", Minor:"16", GitVersion:"v1.16.0", GitCommit:"2bd9643cee5b3b3a5ecbd3af49d09018f0773c77", GitTreeState:"clean", BuildDate:"2019-09-18T14:36:53Z", GoVersion:"go1.12.9", Compiler:"gc", Platform:"linux/amd64"}

Server Version: version.Info{Major:"1", Minor:"27", GitVersion:"v1.27.5", GitCommit:"93e0d7146fb9c3e9f68aa41b2b4265b2fcdb0a4c", GitTreeState:"clean", BuildDate:"2023-08-24T00:42:11Z", GoVersion:"go1.20.7", Compiler:"gc", Platform:"linux/amd64"}

Hi guys, it's good to receive your feedback. The create command has been in an experimental stage due to cluster adaptation issues, and I'll be actively working to resolve this issue, but unfortunately this doesn't have a clear solution or roadmap.

Sorry k8s 1.27 is too new for me, I have no experience with that version of k8s at the moment. I don't really know the difference between it and the old version. I'll take the time to look into it after that, thanks for the feedback.

This issue has been fixed in #864 .


[Chat] Incorrect displayed 'Chat' window in 'My space' tab.

Environment: Chrome 120.0.6099.72(Official version)(64 bit).
Reproducible: always.
Build found: last commit from https://github.com/ita-social-projects/GreenCityClient/tree/dev
E.g. "commit 147fa44"
Preconditions
Open Chrome browser.
Moved to https://www.greencity.social/#/greenCity
Sign-in as user/admin.
Steps to reproduce

Go to 'My Space' tab.
Click on 'Chat' window.
Click on any one dialog.

Actual result
Chat is overlaid on 'My Space' enviroment.

Expected result

Not relevant,requirements have changed #6914


Get help for cmdlet

Adding the powerShell/showHelp message.
This currently only gets help for the function test. This is the framework to get it working. Next step is determining what to send to PSES. I suspect we could do like vscode-powershell and if in Visual mode, send the contents of the highlight, if in a normal mode, then we get the current word (with expansion across the hyphen).

Curious, what's the difference between showHelp and onHover?
A few VSCode extensions now support "info pane" which places help info in a persistent window -- guess showHelp is similar?

Curious, what's the difference between showHelp and onHover?

showHelp sends a string to PSES which then evaluates it against Get-Help with -ShowOnline so it will open the online help. If there is no online help (or we can't reach the online help URI) then it will just output into the PSIC

thanks for the explanation.
I just played with it for a few commands, but it keeps landing on a 404 page.
For example:
Get-Help -Online Get-ChildItem
gets me: https://docs.microsoft.com/en-us/powershell/module/4.0/microsoft.powershell.core/providers/FileSystem-Provider/Get-ChildItem-for-Filesystem


Support latest Pygments (for improved Haskell syntax, and more)

Change Requested
The use of Pygments==2.2.0 (or newer, potentially) to highlight code.
Background
As part of a syntax highlighting problem noted on Haskell-Servant, @teh pushed a PR for Pygments that was merged a while ago.
I've submitted a Pygments dependency bump in the Servant codebase which works locally, but as we use https://readthedocs.org for actually hosting, it won't help solve the real problem unless Pygments is upgraded here too...

Currently, RTD uses pygments==2.0.2. Not sure, but I think that upgrading it to 2.2.0 won't be a big deal. Anyway, in the meanwhile, you could use that particular version in your requirements.txt file for read the docs.

@humitos thanks - we have now actually, and it seems to be working well (see latest haskell-servant docs vs previous 0.10 version).
So I guess this is a lower priority for now but still might be nice to have (and FWIW I'll report back if I notice anything weird)


made the logo clickable

#157

Thanks for your first contribution!
Unfortunately adding link in such simple way changes how navbar is rendered
Before

After

Adding a simple display:flex CSS fixes the display.

Ok will do this. Actually I was not able to run the application locally. I tried both the ways, by running it in docker and by running directly on my machine. But both didn't worked out for me. So I didn't saw something broke after adding the anchor tag.

@shubhamku044
https://github.com/openstreetmap-polska/openaedmap-frontend#local-environment
Those instructions worked for me last time

I changed Navbar.Item renderAs="div" to Navbar.Item renderAs="a" href... and it seems to maintain formatting.
I tested it running from Github Codespace which is another option to open the project.


ISSUE: Error searching emails: SEARCH command error: BAD [b'Error in IMAP command SEARCH: Invalid characters in atom (0.001 + 0.000 secs).']

Describe the bug
I have set this up with my dovecot server. Unfortunately I do not receive notifications in home assistant.
Looking in the log file, I see lot of lines:
2022-06-17 14:32:56 ERROR (SyncWorker_8) [custom_components.mail_and_packages.helpers] Error searching emails: SEARCH command error: BAD [b'Error in IMAP command SEARCH: Invalid characters in atom (0.001 + 0.000 secs).']
This seems to be similar to https://github.com/jstedfast/MailKit/issues/572
Environment (please complete the following information):

OS: Ubuntu 20.04.4 LTS
Type of device: Odroid C4
Home Assistant version: 2022.6.6
Component version: 0.3.4-2 (latest via HACS)

Logs
See above

Check if the latest beta version still produces the error.

Just switched to 0.3.5-b3 but sadly the same.

If it helps, I added debug messages and this is a query that fails (non UTF8 mode):
(OR OR OR FROM<EMAIL_ADDRESS>FROM<EMAIL_ADDRESS>FROM<EMAIL_ADDRESS>FROM "USPS Informed Delivery" SUBJECT "Your Daily Digest" SINCE 17-Jun-2022)

That's valid IMAP syntax. What mailserver?

# dovecot --version
2.3.13 (89f716dc2)
# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 11 (bullseye)
Release:        11
Codename:       bullseye

How could I test this manually against the mail server to ensure mail server is OK? In other words, what are the raw commands I need to send?
The following one does not:
# openssl s_client -showcerts -connect mail.example.com:993 -servername mail.example.com
[...]
* OK [CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE LITERAL+ AUTH=PLAIN AUTH=LOGIN] Dovecot (Debian) ready.
01 LOGIN USERNAME PASSWORD
01 OK [CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS BINARY MOVE SNIPPET=FUZZY PREVIEW=FUZZY STATUS=SIZE SAVEDATE LITERAL+ NOTIFY] Logged in
SEARCH (OR OR OR FROM<EMAIL_ADDRESS>FROM<EMAIL_ADDRESS>FROM<EMAIL_ADDRESS>FROM "USPS Informed Delivery" SUBJECT "Your Daily Digest" SINCE 17-Jun-2022)
SEARCH BAD Error in IMAP command: Invalid command name (0.001 + 0.000 secs).

You have to select the folder first if I recall, then you can do a SEARCH

Thanks! Ok, I tried this and it seems to work fine:
# openssl s_client -showcerts -connect mail.example.com:993 -servername mail.example.com
[...]
* OK [CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE LITERAL+ AUTH=PLAIN AUTH=LOGIN] Dovecot (Debian) ready.
01 LOGIN USER PASS
01 OK [CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS BINARY MOVE SNIPPET=FUZZY PREVIEW=FUZZY STATUS=SIZE SAVEDATE LITERAL+ NOTIFY] Logged in
02 SELECT INBOX
* FLAGS (\Answered \Flagged \Deleted \Seen \Draft)
* OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft \*)] Flags permitted.
* 4 EXISTS
* 0 RECENT
* OK [UNSEEN 4] First unseen.
* OK [UIDVALIDITY<PHONE_NUMBER>] UIDs valid
* OK [UIDNEXT 5] Predicted next UID
02 OK [READ-WRITE] Select completed (0.001 + 0.000 secs).
03 SEARCH (OR OR OR FROM<EMAIL_ADDRESS>FROM<EMAIL_ADDRESS>FROM<EMAIL_ADDRESS>FROM "USPS Informed Delivery" SUBJECT "Your Daily Digest" SINCE 17-Jun-2022)
* SEARCH 4
03 OK Search completed (0.004 + 0.000 + 0.003 secs).
04 LOGOUT
* BYE Logging out
04 OK Logout completed (0.001 + 0.000 secs).
closed

I'd need to see the full debug output to pin down where the issue is.

Thanks; can you help me, how do I generate the debug output? (I assume from the extension)

We cover that in the wiki. :smile:

Awesome, with the debug output I even saw an issue myself. It's the "Amazon forwarded email address" field. Something does not get quoted properly, so an uneven number of quotation marks. Example:
2022-06-17 17:24:52 DEBUG (SyncWorker_2) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (FROM "<EMAIL_ADDRESS>SUBJECT "Delivery update:" SINCE 17-Jun-2022)
My question: What is exactly this field, why is it needed, what should I put in and in which format?
Previously I had my two email addresses in, both in quotation marks, separated by a comma. Now I just have the single email address I have registered via my Amazon account, without quotation marks and I think the error is gone.

What is exactly this field, why is it needed, what should I put in and in which format?

It's used for those who forward their package emails to an alternate email. If you don't do this enter "" into this field.
If you do use it, which your edit sounds like you do, only enter the email address, it shouldn't need quotes, of the email address the forwarded emails will be coming from.

It's used for those who forward their package emails to an alternate email. If you don't do this enter "" into this field.

May I ask why this is needed? Can't we just filter based on Amazon's address (similar as it's done for the other providers)?

If you do use it, which your edit sounds like you do, only enter the email address, it shouldn't need quotes, of the email address the forwarded emails will be coming from.

So this would then be the address of my Amazon account, right?
If my Amazon account is registered to<EMAIL_ADDRESS>And in this account (which I own) I created a sieve script that forwards the mail to<EMAIL_ADDRESS>(which is used by "Mail and Packages" to login), then I would enter<EMAIL_ADDRESS>there, correct?

May I ask why this is needed? Can't we just filter based on Amazon's address (similar as it's done for the other providers)?

It is searched for that way, but not all providers leave the mail headers intact, Gmail does forward without mangling the headers so it looks like the email came directly from Amazon to the forwarded account.

If my Amazon account is registered to<EMAIL_ADDRESS>And in this account (which I own) I created a sieve script that forwards the mail to<EMAIL_ADDRESS>(which is used by "Mail and Packages" to login), then I would enter<EMAIL_ADDRESS>there, correct?

Yes use<EMAIL_ADDRESS>unless the email headers don't get mangled and they report the FROM address to be the proper amazon email addresses.


2.0 Use the utilities functions

Completed the steps in 2.0

Done

Sorry, I have accidentally committed, please reject this to avoid any changes to the project.


Mockoon DOWN

🚨 Service Alert: Check the details below
Monitor Details

Monitor Name: Mockoon
Incident Status: TRIGGERED
Severity: critical
Monitor Status: DOWN
Monitor Health Checks: 1
Monitor Failure Threshold: 1

Actions

View Monitor

[start_datetime:1732955220] [end_datetime:1732935480]

The incident has been auto resolved
Total downtime: 1 minutes


REQUIRE_USER_MATCH in HKLM\SOFTWARE\Microsoft\AzureMfa

We were trying to address this to users who are not setup or enabled for Azure MFA license, but still need to authenticate and login to the VPN client. These users are AD Synced to Azure AD. These users are scoped within the security group defined in the RADIUS server policies configuration to allow who can connect to the VPN client. When we add the "string" (REQUIRE_USER_MATCH) and set the value to "FALSE", it doesn't seem to make any difference. The users who are not setup for Azure MFA, cannot login and the authentication fails. Is this supposed to allow non-AzureMFA-enabled users authenticate to the VPN client or not?

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

ID: bf322e2b-b09c-2a09-2b0d-27de43075953
Version Independent ID: c82153d8-7449-09e7-bd8f-328eb9fd8d74
Content: Integrate VPN with Azure MFA by using the Network Policy Server extension
Content Source: articles/active-directory/authentication/howto-mfa-nps-extension-vpn.md
Service: active-directory
GitHub Login: @MicrosoftGuyJFlo
Microsoft Alias: joflore

nvm! I spoke too soon...
After rebooting the NPS (RADIUS server + Azure MFA extension)... it started working.
Awesome!

@Neckross glad you were able to resolve this!

@Neckross  I have this exact issue.  I've added the registry key, and rebooted the server (NPS & extension) and it still won't allow non-MFA enabled users to connect.  Anything else you may have done?

I'm having the same issue as well.  Tried restarting the NPS service along with the full server. This is a brand new setup so it should have the latest and greatest Azure NPS Extension.

I'm having the same issue as well.  Tried restarting the NPS service along with the full server. This is a brand new setup so it should have the latest and greatest Azure NPS Extension.
@kman2123
I fixed this issue by changing this key to TRUE, rebooting, changing to FALSE, and possibly rebooting.  I don't know what wasn't sticking.

You just have to restart your NPS service after changing parameters. Not the whole server.

This is not working me me either, rebooting NPS server, restarting NPS service does not help.
Besides, we need a version where we can exclude for example one AD group from the MFA.
Scenario: Corporate users start user tunnel with certificate, ext users will be using using username and password combination to user tunnel + Azure MFA.
Please fix this.
thanks,
oraat


Placeholder on TextInput cannot be changed.

It seems as if this is always stuck on 'Write a comment...'.

#4 adds this feature.


Add O(n) construction suffix array implementation

Add O(n) construction suffix array implementation with unit tests.

Moved here: https://github.com/williamfiset/Algorithms/issues/77


Deploy AzureTRE

We would like to evaluate the Microsoft AzureTRE and compare its features to the Data Safe Haven.

[ ] Consider talking to Dundee/Sheffield/UCL/Liverpool for possible collaboration/deployment advice

Dundee: Simon Li
Sheffield: Lucy Cheesman
UCL: Nel Swanepoel
Liverpool: Gary Leeming and David Salac

What are we looking for?
See #5 for details

Airlock: https://microsoft.github.io/AzureTRE/azure-tre-overview/airlock/
Airlock flow: https://microsoft.github.io/AzureTRE/azure-tre-overview/airlock/#airlock-flow

@jemrobinson Who at Dundee/Sheffield/UCL/Liverpool has tried or used the Azure TRE?

We have a working deployment of AzureTRE

v0.6.0 from the AzureTRE-Deployment repository
Deployed from a Linux VM using VSCode devcontainer
Github workflow deployment possible but have not currently tested

Airlock procedures
A workspace user can request to upload a file through the UI. The UI generates a storage container SAS URL. The user then uploads the file (e.g. using Azure storage explorer). The Airlock Manager - another role that has to be assigned in Azure - can then review the request. This can involve generating a VM in which the file can be viewed (note, currently bugged and can be approved without viewing). After approval, the user can generate another SAS URL that allows them to download the file from inside a VM.

Thoughts from a walk-through with @JimMadge and @craddm on 02/11/22: https://hackmd.io/geRwsb-ySLm1WoKBfJx6ag?both

Proof-of-concept deployment has been completed.


Fixes dev environment

It now implements the Dev interface again which fixes interface assertions such as this:
https://github.com/Azure/ARO-RP/blob/cdbe75feeb35ce1a524832b661dc673206cb500e/cmd/aro/rp.go#L45-L60

Thank-you!


[PE-D][Tester C] Phone number more than 8 digits long

This might be a feature and not a bug, but it was not very clear (in user guide) whether more than 8 digits are actually allowed.
Input: newcontact n/phone bug p/111111111111111111111111111111111111111111111111111111111111
Result:

Labels: type.FunctionalityBug severity.Medium
original: Mehvin/ped#1

Duplicate Issue #181


I want to show alert "You are not whitelist" on web

During the pre-sale period, if someone who is not a whitelist presses the mint button, the metamask does not appear and I want to display a warning "You are not a whitelist".

@tontonfriends have you got an answer for the above?

How do you whitelist addresses? 🤔

you add a smart contract function that is adding wallets and then the mint
function check if a wallet is whitelisted
On Tue, Jan 4, 2022 at 1:30 PM xxxcrow @.***> wrote:

How do you whitelist addresses? 🤔
—
Reply to this email directly, view it on GitHub
https://github.com/HashLips/hashlips_nft_minting_dapp/issues/14#issuecomment-1004731491,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AWJH6VGENGH5HH2GHMRHZYDUULK4RANCNFSM5GUUHHCQ
.
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 commented.Message ID:
@.***>


feat: experimental configurable generated locale file paths

🔗 Linked issue

#3234
#3188
#3022

❓ Type of change

[ ] 📖 Documentation (updates to the documentation, readme or JSdoc annotations)
[x] 🐞 Bug fix (a non-breaking change that fixes an issue)
[ ] 👌 Enhancement (improving an existing functionality like performance)
[ ] ✨ New feature (a non-breaking change that adds functionality)
[ ] 🧹 Chore (updates to the build process or auxiliary tools and libraries)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description
Related to #3022 but does not resolve it.
Resolves #3234
Resolves #3188
This only changes the paths in the generated options to be relative, this is still not desirable but better than exposing absolute paths as it could expose sensitive information.
Since this also influences the paths found in the locales array returned by useI18n I have made this a configurable option with experimental.generatedLocaleFilePathFormat to prevent this being a breaking change, in the future I want to look into removing the paths entirely or hashing the file paths.
I'm not sure if there are use cases for end users to have access to the files property on the generated locale options.

📝 Checklist

[x] I have linked an issue or discussion.
[ ] I have added tests (if possible).
[ ] I have updated the documentation accordingly.

Setting back to draft status - the normalizedLocales in the generated options files need their paths processed as well.

Converting to draft again, the i18nModules langDir paths should be processed as well.


Implement --no-destroy

With package and execute I feel this is less necessary now. Removed code references: https://github.com/glassechidna/stackit/commit/bb3ee3809b245d31fde3aaf2c6339a45b8b6237a


Unable to run exported binary on macOS 10.12.4.

Operating system or device - Godot version:
macOS 10.12.4, Godot 2.1.3
Issue description:

Export a blank scene, and got the following messages when running.
The application "a.app" can't be opened.
Steps to reproduce:

Create a new project.
Add a Control Node, and save the scene.
Export to Mac target with default setting.
Run the exported binary.

Link to minimal example project:

Found a solution, chmod +x a.app/Contents/MacOS/*. May be related to #527.

Duplicate of #527 yes.


fix: Close log stream on request completion

Currently the log stream is closed when the streamlogs method returns, which results the generator to always fails, as it  reads from it asynchronously:
2023-03-08 09:28:33,844 ERROR [io.kao.bac.dep.ClusterService] (executor-thread-5) Can't get more information from log: java.io.IOException: Stream closed`

This PR delays the closing of the log stream until the request completes, either because the connection is closed client side, e.g. the browser page that issued the request has been closed, or because the watch request to the downstream Kubernetes cluster has completed.
In the later case, it's not entirely clear how the Fabric8 Kubernetes-client reports HTTP code returned by the watch request. It seems it always returns 200, even if an error occurred, like when the pod is deleted, for which case a JSON object containing the HTTP code is returned as part of the request body, interleaved with plain logs. It would be useful to propagate those errors up to the client. So one option would be to parse that last message, but that would complexity the logic a lot. Or reach out to the Fabric8 Kubernetes-client team.

@Delawen I've tested this PR with the frontend deployed locally and haven't faced KaotoIO/kaoto-ui#757. Are there any special conditions to reproduce it?

No idea, it always happens to me.

Out of curiosity, what Web browser do you use?

TextDecoderStream API is supported since Firefox 105+, so that seems to confirm it:
https://developer.mozilla.org/en-US/docs/Web/API/TextDecoderStream#browser_compatibility
If you have the option to upgrade, that should fix the issue, otherwise we may want to polyfill it in the UI.


Support for Generating PAIN Format to Cancel Recurring Payments (Customer Payment Reversal)

Issue Description:
The current version of the jSEPA library lacks functionality for generating a PAIN XML format that can handle the cancellation of recurring payments. Specifically, the library does not support generating pain.007.001.02 messages, which are required to reverse settled SEPA Direct Debit transactions.
Expected Outcome:
Would be nice to add a feature to support the generation of pain.007.001.02 messages for cancelling or reversing recurring payments. This will allow users to initiate a reversal of settled direct debit transactions in line with SEPA guidelines.
Additional Reference:
The pain.007.001.02 Customer Payment Reversal V02 message format is well-documented in SEPA standards, and more information can be found in the corresponding MIG (Message Implementation Guideline).
https://www.nordea.com/en/doc/mig-pain.007.001.02customerpaymentreversalv.1.0.pdf
Thank you for your consideration!

try this
https://gofile.io/d/yMHabA
select the desired compiler in the installer


Typescript compulsory?

By choice we are not using Typescript. Is it compulsory to use this Module?
Follow in the documentation this does not work
const Shopify 				= require('@shopify/shopify-api');
const {API_KEY, API_SECRET_KEY, SCOPES, SHOP, HOST, PORT, APIVERSION, ISONLINE} = process.env;

Shopify.Context.initialize({
	API_KEY,
	API_SECRET_KEY,
	SCOPES: [SCOPES],
	HOST_NAME: HOST,
	IS_EMBEDDED_APP: true,
	API_VERSION: Shopify.ApiVersion[APIVERSION]
});

while this does
const Shopify 				= require('@shopify/shopify-api');
const {API_KEY, API_SECRET_KEY, SCOPES, SHOP, HOST, PORT, APIVERSION, ISONLINE} = process.env;
Shopify.default.Context.initialize({
	API_KEY,
	API_SECRET_KEY,
	SCOPES: [SCOPES],
	HOST_NAME: HOST,
	IS_EMBEDDED_APP: true,
	API_VERSION: Shopify.ApiVersion[APIVERSION]
});

Note the usage of Shopify.default. The same append for all methods, if default is not there node return this type of error: TypeError: Shopify.initialize is not a function
Is this because we are not using typescript and await syntax? How can we work with this module in plan JS?

If anyone is wondering how to start using this very confused Shopify documentation without typescript, you need to use the syntax below.
The whole Shopify App Documentation is a pile of sliced information, each topic being covered with examples using different modules, codes, logic, server site tech. A proper documentation should cover everything in plan JS / Node JS so everyone can understand what's really happening behind the scene before sugar coating everything with whatever modules.
{ default: Shopify, ApiVersion } 	= require('@shopify/shopify-api'),


Feature/mp4 download

Problem
Users of Simularium want to download mp4 video.
It's already marked closed, but this addresses #240
Approach
FrameRecorder class handles the frame by frame recording of the canvas. Aimed for a good separation of concerns: using recorder to just record; front end handles downloading, etc.
Viewport.tsx makes an instance of FrameRecorder and watches for a boolean flag, recording.
recorder.onFrame() is called in the animate() loop to keep frame capture tightly coupled to scene updates.
Viewer.tsx stores recording in state, and defines onRecordedMovie for handling recorded the output.
RecordMovieComponent buttons and a print of recording duration, this can get fleshed out more if desired?
onCompletedRecording could also send other data if wanted, number of frames, total duration of frames, etc.
There was a bug that I discussed with @toloudis that I still don't fully understand, where the canvas reference would go stale and return blank frames after changing Simularium files. Instantiating a new VideoEncoder on each call of setup() fixed the problem, but I'm still curious why the old encoder went stale, as it doesn't receive a canvas reference at all...
To confirm:

open a trajectory
start recording, and alter playback in various ways (starting, stopping, using camera, zooming, changing colors)
stop recording
open a new trajectory and repeat steps
see if the resulting videos download, match your session, and look good

Haven't tested locally but the code changes look good. Thank you for making edits!

Thanks for review! I do want to clean up the test-bed viewer a bit so I appreciate the push to do that right.


feat: add-msvc-support

Add support for Microsoft Visual C/C++

Update CMakeLists.txt for MSVC.

Fix MSVC /W3 compiler warning for size_t vs int.

Add GIT_SHALLOW 1 to reduce the fetch time for googletest.

Change CMAKE_CUDA_ARCHTECTURES to be configurable

Set the default CMAKE_CONFIGURATION_TYPES to Debug;Release for MSVC. This is required because MSVC is a multi-config CMake generator. Otherwise the property defaults to empty, and nothing gets built.

List of Pull Requests
There are a total of seven PRs, one for each repository: cuda-battery, lala-core, lala-parsing, lala-pc, lala-power, and cpp-peglib, and turbo. The PRs need to be applied simultaneously.

I cannot merge right now due to conflicts, could you pull the latest changes? Thanks!


NoProgress Switch is not working in Get-SFTPItem cmdlet in Posh 3.0.0 version

While NoProgress switch was working in 3.0 beta version, It stopped working after upgrading to 3.0.0 version.
Exception: A parameter cannot be found that matches parameter name 'NoProgress'.

Correct it was later removed in other releases you can set the $progresspreference variable to “silentlycontinue” to hide the progress bar
Sent from my iPhone

On Apr 26, 2022, at 3:19 PM, Akshobhya-Sasun @.***> wrote:

While NoProgress switch was working in 3.0 beta version, It stopped working after upgrading to 3.0.0 version.
Exception: A parameter cannot be found that matches parameter name 'NoProgress'.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.


BUG: Text area must have some styling

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?

must have some styling in this
please assign me this issue
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

"Hi, I'm excited to contribute to this project through GSSoC! I have a background in front-end development, UI/UX design, and backend development, and I'm passionate about applying my skills to meaningful open-source initiatives.  Looking forward to contributing and learning from the community!"


Empower people with legs to try the sandbox

Reveal the sandbox to users of modern portable computers.
Precursor to using css grids to move SlideNav to the mobile SlideNav when on mobile.
ー Committed from a Google Pixel 6 Pro using StackBlitz, vscode.dev, Termux and Firefox for Android

Hey @rayfoss, thanks for the contribution, but we don't want to encourage sandbox usage on mobile since it is not a great experience. Hope that makes sense.

Hum... The IME being so bad on newer computers does reflect badly and I understand the marketing angle behind that decision. StackBlitz works on phones and with Vite performance should be similar if not better...
Would you still be open to a PR that let's people use their phone to read the Doc? If for no other reason as a second screen, like iJustine does.


No Doorbell Trigger Variable Update

Since 27.02.2023, the doorbell and motion trigger created by the app are no longer controlled.
(http://192.168.x.x:8100/ring?)
Instance has already been reinstalled, but without change. HTTP requests via SimpleAPI works. Does anyone else have this problem?
DoorBird FW: 138 / Model D2101V
IOB: 0.1.5

schedules are correctly defined in the doorbird app?

I just installed the Doorbird-Adapter in Version 0.1.5 with Doorbird FW 141. Same issue here.
Its my 2nd Doorbird@home. this one with a Keypad. The URL for the keypad and motion as well was automatically installed, but not the ring. :(

URL for Keypad? I think, the Adapter did not support keypads?!
Do you have any screenshots about you favorites (Doorbird App)
BTW: v1.0.5 is available.

URL for Keypad? I think, the Adapter did not support keypads?! Do you have any screenshots about you favorites (Doorbird App) BTW: v1.0.5 is available. (Latest repo)
And last: are the schedules in the Doorbird app correctly defined? Is the favorite "http://192.168.x.x:8100/ring?1) available? Is the schedule for doorbell "http://192.168.x.x:8100/ring?1" activated? Hole day?

Okay. Ringing is working again. But the snapshot from ringing is just 1kb big. :(
I copied some things from the Instance Doorbird.0 to Doorbird.1 (my new Doorbird).
I thing i did´nt set up the shedule.
But what i did in the App - setup the Keycode "240477" and the instance.1 automatically created the data point and url.

But the data point get not activated. I will try simple url the the keypad things

Use v1.0.5 from latest repo.
The file handling has changed.

Use v1.0.5 from latest repo. The file handling has changed.

I have deleted the picture 1.snap.jpg. The update to 1.0.5.
Ringing is working, keypad is also working!

But no picture gets created in iobroker-data on buttonpress :(. The user has access to "everything".

These are my http-calls:

Use v1.0.5 from latest repo. The file handling has changed.

Ok. I found the files in a whole diffent fiolder!
/opt/iobroker/iobroker-data/files/doorbird.1

👍
Yes, the file handling has changed because js-controller 5. the old one was deprecated.
RFID handling is planned.
I didn't know, that the keypad is similar handled by the Doorbird API as a doorbell.
I will update the documentation.

I didn't know, that the keypad is similar handled by the Doorbird API as a doorbell. I will update the documentation.

So great that you code handles this instanly!


Maven - Improve capabilities for scenario where an upgraded parent stops managing a given dependency's version

Consider a Maven project using some parent project for transitive dependency management. Suppose that the project has one or more dependencies declared without versions (ie relying on dependency management). Then, suppose that we use UpgradeParentVersion to move to a newer version of the parent project which no longer provides dependency management for one of those dependencies.
Sample test case:
@Test
fun foo() = rewriteRun(
    { spec -> spec.recipe(UpgradeParentVersion("org.springframework.cloud", "spring-cloud-config-dependencies", "3.1.4", null)) },
    pomXml("""
        <?xml version="1.0" encoding="UTF-8"?>
        <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
          <modelVersion>4.0.0</modelVersion>
          <groupId>org.sample</groupId>
          <artifactId>sample</artifactId>
          <version>1.0.0</version>

          <parent>
            <groupId>org.springframework.cloud</groupId>
            <artifactId>spring-cloud-config-dependencies</artifactId>
            <version>3.1.2</version>
          </parent>

          <dependencies>
            <dependency>
              <groupId>com.jcraft</groupId>
              <artifactId>jsch</artifactId>
            </dependency>
          </dependencies>
        </project>
    """.trimIndent())
)

This yields:
java.lang.AssertionError: Failed to parse sources or run recipe
[...]
Caused by: org.openrewrite.RecipeRunException: org.openrewrite.maven.internal.MavenParsingException: No version provided for dependency com.jcraft:jsch
[...]

Or, if you encounter this behavior as one sub-recipe in a full recipe execution, then you might get a log like this, but recipe execution continues:
[WARNING] org.openrewrite.maven.internal.MavenParsingException: No version provided for dependency com.jcraft:jsch

In isolation, this behavior feels reasonable. But as part of a larger recipe, this behavior starts to cause pain.
A user might respond to this message by adding an explicit version to the relevant dependency in their pom.xml. However, this gives the same result (you can verify by adapting the test case above), because ChangeParentVersion calls RemoveRedundantDependencyVersions both before and after UpdateMavenModel. The explicit version in the pom will be removed before applying the new parent version, and applying the new parent version will fail in UpdateMavenModel because there is no (explicit) version. The user does not have any (obvious) solution to update their pom.xml such that the recipe can succeed.
I see a few solution options to help avoid OpenRewrite creating a project with missing versions:

Remove the invocation RemoveRedundantDependencyVersions prior to UpdateMavenModel in ChangeParentVersion. This lets recipe authors use ChangeDependencyGroupIdAndArtifactId with overrideManagedVersion=true prior to ChangeParentVersion for any known dependencies which will lose dependency management in the new version, but, without this invocation of RemoveRedundantDependencyVersions, projects with many redundant versions will be more likely to keep stale, pinned versions
Add logic to UpdateMavenModel to "recover" from these exceptions globally by identifying the old maven model's managed version and adding it as an explicit version to the pom.xml. This is robust, but complex, and, may not be the right choice in every case (eg the parent project's maintainers may have stopped managing a given dependency for good reason, and "smoothing over" the removal may not be desirable)
Add a config option like restoreDependencyVersions to UpgradeParentVersion, which allows recipe authors to declare any GAVs which are known to lose dependency management with the new parent version. Then, the ChangeParentVersion implementation can inject these provided versions after the first RemoveRedundantDependencyVersions but before UpdateMavenModel. This provides recipe authors a direct opt-in solution for this scenario. But, dependencies which unexpectedly lose dependency management will still trigger the old behavior, which the user would still not have a clear solution to

Personally, I'm leaning towards option 3 above.
Meanwhile, there are also options for what OpenRewrite should do when it does encounter a missing version:

(Current behavior) fail the individual recipe and keep going. If this exception occurs during UpdateMavenModel as a post-visit for some recipe, then the exception is caught and logged in the RecipeScheduler, and execution continues with the next recipe using the same before sourcefiles (changes from the problematic recipe are discarded)
Fail and halt. Do not run any additional recipes, and either discard or apply the changes made thus far
Keep the changes from the problematic recipe and keep going (ie, accept the incomplete Maven model)
Find a new version somehow (ie the above solutions)

We could also consider implementing those options as different configurable "modes" for recipe execution (eg strict mode)
In my opinion, the current behavior might be a bad compromise between "fail and halt" and "keep the changes and keep going". We kinda fail fast, and we avoid running recipes with invalid inputs in the form of a bad maven model, but, we still run recipes with invalid inputs in the sense that the changes from the previous recipe in the list are not present. If we're running a recipe like UpgradeSpringBoot, and the recipeList is ordered intentionally by the recipe author, then essentially skipping a subrecipe and proceeding with the next can lead to unexpected behaviors. I think either option 2 or 3 would be better than 1, and I'd love to get more opinions on option 3.
There's also room to improve the log messaging, as the current message does not convey the consequences of the exception. Example:
(current) [WARNING] org.openrewrite.maven.internal.MavenParsingException: No version provided for dependency com.jcraft:jsch
(proposed) [WARNING] org.openrewrite.RecipeExecutionException: Discarding changes from recipe UpgradeParentVersion{args args args}. Nested exception is org.openrewrite.maven.internal.MavenParsingException: No version provided for dependency com.jcraft:jsch

recapping side chat w/ @jkschneider
We're picturing a solution option 4, which blends options 2 and 3: we add the logic to ChangeParentVersion to "recover" from newly-unmanaged dependencies, but use the old MavenResolutionResult as the source of versions instead of an explicitly-configured list. This gives us global recovery, but it's implemented on ChangeParentVersion instead of UpdateMavenModel.
We also considered adding an option to ChangeParentPom to select between 1) add error markers or 2) fix the versions automatically in this scenario.
So, broadly, we're pretty settled on the mechanics of the solution (logic in ChangeParentVersion), but still deciding on how we should control the scope of dependencies which the solution would run against (eg what recipe option(s) to add). For that, we're mainly thinking about the desired/typical experience for running framework version update recipes at scale for a large enterprise.
(and we agree that error reporting for scenarios like this could be improved)

Thanks for the detailed explanation @nmck257 ! It sounded very clear even not being familiar with OpenRewrite mechanics.

We could also consider implementing those options as different configurable "modes" for recipe execution (eg strict mode)

I do like this idea and think it could be left either to the recipe developer or the end user opt-in for a "fail and halt" behavior by specifying some argument/flag in the plugin configuration (maven/gradle).

There's also room to improve the log messaging, as the current message does not convey the consequences of the exception.

In the meantime, while a strategic solution combining approaches 2 and 3 is being thought, having this implemented upfront would be a significant quick win and allow end users to fully understand what's happening and perhaps make a manual intervention as a tactical workaround for now.
Having the log level as a WARNING also led to the conclusion of simply ignore it, shouldn't it be catch as an ERROR but safely continue?
While I think the proposed message is clear and achieves the goal, I would like to hear your thoughts about prefixing the log message with the recipe name instead, personally if feels more natural to read, but not sure if it's feasible technically or other considerations that may emerge such as truncate the recipe name if the length is too long, Idk:
[ERROR] org.openrewrite.java.spring.boot2.UpgradeSpringBoot_2_7: Cannot apply recipe. Reason: org.openrewrite.maven.internal.MavenParsingException: No version provided for dependency com.jcraft:jsch
...

@albertocavalcante - putting the recipe name upfront on the log message does feel intuitive, though it's worth noting that in many cases, the failing recipe would be some nested subrecipe with a name which might be unfamiliar or unexpected to the user.
For example, the user might have requested to run org.openrewrite.java.spring.boot2.UpgradeSpringBoot_2_7, but the failing recipe might be org.openrewrite.maven.UpgradeDependencyVersion -- and because the "parent" recipe may call the UpgradeDependencyVersion recipe many times with different arguments, it's useful to include those arguments (eg GAV = org.mockito:mockito:1.2.3)

Closed with https://github.com/openrewrite/rewrite/commit/e461dcf4f466a6d74af7ae6ec85181b9835453c5


[BUG]Styles and sheet titles not working when importing multiple sheets from view

Prerequisites

[X] Checked if your Laravel Excel version is still supported: https://docs.laravel-excel.com/3.1/getting-started/support.html#supported-versions
[x] Able to reproduce the behaviour outside of your code, the problem is isolated to Laravel Excel.
[X] Checked that your issue isn't already filed.
[X] Checked if no PR was submitted that fixes this problem.
[X] Filled in the entire issue template

Versions

PHP version: 7.4.5
Laravel version: 7.25.0
Package version: 3.1.21

Description
When using withMultipleSheets with FromView, the sheet titles are not correctly displayed, instead filename is displayed, e.g. test0, test1 and so on. And the styles are also only applied to the first sheet.
Steps to Reproduce
ExampleExport.php
`namespace App\Exports;
use Maatwebsite\Excel\Concerns\WithMultipleSheets;
use App\Exports\ExamplePerDaySheet;
use Maatwebsite\Excel\Concerns\Exportable;
class ExampleExport implements WithMultipleSheets
{
use Exportable;
protected $results;

public function __construct($results)
{
    $this->results = $results;
}

/**
 * @return array
 */
public function sheets(): array
{
    $sheets = [];

    foreach($this->results as $date => $dateResults) {
      $sheets[] = new ExamplePerDaySheet($date, $dateResults);
    }

    return $sheets;
}

}`
ExamplePerDaySheet.php
`namespace App\Exports;
use Illuminate\Contracts\View\View;
use Maatwebsite\Excel\Concerns\FromView;
use Maatwebsite\Excel\Concerns\WithTitle;
use Maatwebsite\Excel\Concerns\WithStyles;
use PhpOffice\PhpSpreadsheet\Worksheet\Worksheet;
use Carbon\Carbon;
class ExamplePerDaySheet implements FromView, WithStyles, WithTitle
{
protected $date;
protected $results;

public function __construct($date, $results)
{
    $this->date = $date;
    $this->results = $results;
}

public function view(): View
{
    return view('lists.excelview.example_per_day_sheet', ['date' => $this->date, 'results' => $this->results]);
}

public function title(): string
{
    return Carbon::createFromFormat('Y-m-d', $this->date)->isoFormat('dddd');
}

public function styles(Worksheet $sheet)
{
    $afterMenuTitleColumns = $this->excelColumns[2+count($this->mealTypes)+3].'1:'.$this->excelColumns[78].'1';

    $rowsDistribution = $this->getRowsDistribution();
    $titlesRows = $rowsDistribution['titles_rows'];
    $normalRows = $rowsDistribution['normal_rows'];
    $totalsRows = $rowsDistribution['totals_rows'];

    $rowsToBeBold = array_merge($titlesRows, $totalsRows);

    $styles = [
      // first row main heading styling
      'B1' => [
        'font' => [
            'size' => 16,
            'bold' => true
        ],
        'alignment' => [
            'textRotation' => 0
        ]
      ]
    ];
    return $styles;
}

}`
Expected behavior:
The sheet titles should be correctly displayed, i.e. Monday, Tuesday, Wednesday and so on. And the styles should be applied to all the sheets.
Actual behavior:
The sheet titles are not correctly displayed, instead displayed, example0, example1 and so on. And the styles are only applied to the first sheet and not to the rest of the sheets.
Additional Information
My quick fix for the bug was

Go to vendors/maatwebsite/excel/src/sheet.php
Go to method named 'open' at line: 150 => public function open($sheetExport)
Copy and remove the if block at line: 164 => if ($sheetExport instanceof WithTitle) {
Go to method named 'close' at line: 376 => public function close($sheetExport)
And paste it at the end of the method before line: 409 => $this->raise(new AfterSheet($this, $this->exportable));

Can you provide a PR with your proposed fix and a test to proof that it fixed the issue?

While creating a test I recognized that this problem only occurs if there are html / body tags in the blade file which is basically not needed.


Blue background in Walkabout style

I am not sure if I can post this issue here or rather to Tangram ES repository, but on my phone Huawei Y360-U61 with Android 4.2.2, API level 19 when I select Walkabout style in Style switcher activity in sample app it will show blue color instead of shaded roughness. Here is a screenshot:

That's fascinating! Are you able to get logs from your device with logcat?

I created log file from logcat when this issue occurred (it is occurring always) and saved it here: https://gist.github.com/rwrx/98cf956c2f7cd24c4b995a1faa128fb6 .

Closed due to inactivity, if this is still an issue please open a new ticket


Sorry for the Noob question, but why wouldn't the Hue App (iOS) discover the habridge?

Due to the number of Hue devices, I had to go to two hubs.  The Hue app (on my iPad) sees both hubs nicely.  It's a pain to switch between then everytime I want to see/control the lights on hub2, but I digress.
When adding the second hub, I asked the Hue app to "discover" any new hubs.  After pressing the button, the 2nd hub shows up, and I'm in business.
Is there any way to "press the button" on the habridge such that the Hue app will see the "bridge"?

The ha-bridge is coded such that the button is always "pressed".  The Hue app does require your ha-bridge to be running on port 80 for discovery.

Got it; I'm running habridge on my NAS for speed and convenience.  Now that you you press my nose into it, I am running on an alternate port since port 80 is used by the NAS (duh).
Time to break out the RPi I was using in the past!
Thank you!!!

Ok, great.  Closing...


[optimization] polish RegistryProtocol in slight and fix up some word spelling

What is the purpose of the change
polish RegistryProtocol in slight and fix up some word spelling
Brief changelog
RegistryProtocol.java
CommonConstants.java
StringUtils.java
DubboBeanDefinitionParser.java
RegistryProtocol.java
Verifying this change
The RegistryProtocol's implementation may be adjusted many times by different person, some logic is redundant。For example，in export method, Registry object is repeatedly acquired，Although It is guaranteed not to be repeatedly generated by AbstractRegistryFactory , but It is really a bit inelegant.
In addition to the above adjustments, Some abbreviation have been corrected（e.g. Configed to Configured）,Some variable name have been adjusted（e.g. HIDE_KEY_PREFIX to  HIDDEN_KEY_PREFIX）.

@yiocio hi, thanks for your contribution.
Would you please reslove confilcts with the latest master branch.

@AlbumenJ OK，I will reslove confilcts  with the latest master branch.

@AlbumenJ I have reslove confilcts with the latest master branch, But the associated CI check can't be passed for several tiems, and the reason is different each time,I believe CI check will definitely be passed, as long as I try a few more times,Because I encountered this problem before. I can guarantee that the code to be merged will work properly. So Is this PR can be accpeted without CI check passed? Or can you tell me how to manually trigger the CI check.

Codecov Report

Merging #6506 (3822e42) into master (d9606cf) will decrease coverage by 0.03%.
The diff coverage is 46.15%.

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


TLS error

I've been using nodemailer for a while to send email from an intranet server and it's been perfect, without any specific known issues. I was trivially creating a transport like this:
// create reusable transporter object using (default) SMTP transport
var transporter = nodemailer.createTransport({
    host: '<IP_ADDRESS>'
});

However, this broke last week. A post mortem revealed that TLS was enabled on the SMTP server. This results in the server sending 'STARTTLS', so I added the option to ignore TLS:
// create reusable transporter object using (default) SMTP transport
var transporter = nodemailer.createTransport({
    host: '<IP_ADDRESS>',
    ignoreTLS: true
});

However, this does not fix the crash which I am getting. The stack dump of the crash looks like this:
  "trace": [
    {
      "column": null,
      "file": null,
      "function": "Error",
      "line": null,
      "method": null,
      "native": true
    },
    {
      "column": 36,
      "file": "_tls_wrap.js",
      "function": "",
      "line": 929,
      "method": null,
      "native": false
    },
    {
      "column": 17,
      "file": "events.js",
      "function": "TLSSocket.emit",
      "line": 104,
      "method": "emit",
      "native": false
    },
    {
      "column": 8,
      "file": "_tls_wrap.js",
      "function": "TLSSocket._finishInit",
      "line": 460,
      "method": "_finishInit",
      "native": false
    }
  ],
  "stack": [
    "Error: unable to verify the first certificate",
    "    at Error (native)",
    "    at TLSSocket.<anonymous> (_tls_wrap.js:929:36)",
    "    at TLSSocket.emit (events.js:104:17)",
    "    at TLSSocket._finishInit (_tls_wrap.js:460:8)"
  ],
  "level": "error",
  "message": "uncaughtException: unable to verify the first certificate"

It seems that there is some action occurring at a low level which setting ignoreTLS to true is not preventing. This is leaving me with a problem that seems insurmountable at the moment. Are there any workarounds I could try?

Hi!
I use code like this:
var transporter = nodemailer.createTransport(smtpTransport({
debug: false,
requireTLS: true,
host: 'test.com',
port: 25,
secureConnection: false,
auth: {
user: 'login',
pass: 'password'
},
tls: {
ciphers:'SSLv3',
ca: [
fs.readFileSync('server`s certificate.txt')
],
rejectUnauthorized: false
}
}));
2015-08-25 13:23 GMT+03:00 Steve Powell<EMAIL_ADDRESS>
I've been using nodemailer for a while to send email from on an intranet
server and it's been perfect, without any specific known issues. I was
trivially creating a transport like this:
// create reusable transporter object using (default) SMTP transport
var transporter = nodemailer.createTransport({
host: '<IP_ADDRESS>'
});
However, this broke last week. A post mortem revealed that TLS was enabled
on the SMTP server. This results in the server sending 'STARTTLS', so I
added the option to ignore TLS:
// create reusable transporter object using (default) SMTP transport
var transporter = nodemailer.createTransport({
host: '<IP_ADDRESS>',
ignoreTLS: true
});
However, this does not fix the crash which I am getting. The stack dump of
the crash looks like this:
"trace": [
{
"column": null,
"file": null,
"function": "Error",
"line": null,
"method": null,
"native": true
},
{
"column": 36,
"file": "_tls_wrap.js",
"function": "",
"line": 929,
"method": null,
"native": false
},
{
"column": 17,
"file": "events.js",
"function": "TLSSocket.emit",
"line": 104,
"method": "emit",
"native": false
},
{
"column": 8,
"file": "_tls_wrap.js",
"function": "TLSSocket._finishInit",
"line": 460,
"method": "_finishInit",
"native": false
}
],
"stack": [
"Error: unable to verify the first certificate",
"    at Error (native)",
"    at TLSSocket. (_tls_wrap.js:929:36)",
"    at TLSSocket.emit (events.js:104:17)",
"    at TLSSocket._finishInit (_tls_wrap.js:460:8)"
],
"level": "error",
"message": "uncaughtException: unable to verify the first certificate"
It seems that there is some action occurring at a low level which setting
ignoreTLS to true is not preventing. This is leaving me with a problem that
seems insurmountable at the moment. Are there any workarounds I could try?
—
Reply to this email directly or view it on GitHub
https://github.com/andris9/nodemailer-smtp-transport/issues/21.

I have got this working now, thanks. It turns out that setting options.ignoreTLS to true is all that is required. A different transporter object was being used than what I thought was the case, so the setting was not being applied. Now it is being applied, it's working fine.


Bug In pod lib create，generate file build faild

Step here:

create a swift pod pod lib create HomeModule
add dependency in HomeModule.podspec file ( s.dependency 'R.swift', '6.1.0' )
new nib file to dev pod
add script in Example's Podfile and run pod install
build project and add R.generated.swift to dev pod
everything is ok with out XIB o(╥﹏╥)o

# R.generated.swift
# build failed
R.nib.myCus02ViewController.instantiate(withOwner: ownerOrNil, options: optionsOrNil)[0] as? UIKit.UIView
# so I change to ↓，it's work
UIKit.UINib(resource: R.nib.myCus02ViewController).instantiate(withOwner: ownerOrNil, options: optionsOrNil)[0] as? UIKit.UIView

Example Here

I am also have the same problem:
 static func myCustomView(owner ownerOrNil: AnyObject?, options optionsOrNil: [UINib.OptionsKey : Any]? = nil) -> myCustomView? {
      return R.nib.myCustomView.instantiate(withOwner: ownerOrNil, options: optionsOrNil)[0] as? myCustomView
    }

This code shows an error:
Value of type '_R.nib._myCustomView' has no member 'instantiate'

This sample has a similar error
func firstView(owner ownerOrNil: AnyObject?, options optionsOrNil: [UINib.OptionsKey : Any]? = nil) -> myCustomView? {
        return instantiate(withOwner: ownerOrNil, options: optionsOrNil)[0] as? myCustomView
      }

Cannot find 'instantiate' in scope

I can reproduce the error when I use your example, but I don't understand what causes it.
The method instantiate(withOwner:options:) is an extension on NibResourceType that is part of R.swift.Library.
For some reason this extension method isn't available in your Xcode project, but I don't know why that is.

@tomlokhorst In my project I was in migration process from 4.0.0 to 6.1.0 and found that errors were appeared beginning from 5.1.0. I have m1 pro Mac. Hope this information helps you...

I am also have the same problem:
 static func myCustomView(owner ownerOrNil: AnyObject?, options optionsOrNil: [UINib.OptionsKey : Any]? = nil) -> myCustomView? {
      return R.nib.myCustomView.instantiate(withOwner: ownerOrNil, options: optionsOrNil)[0] as? myCustomView
    }

This code shows an error:
Value of type '_R.nib._myCustomView' has no member 'instantiate'

This sample has a similar error
func firstView(owner ownerOrNil: AnyObject?, options optionsOrNil: [UINib.OptionsKey : Any]? = nil) -> myCustomView? {
        return instantiate(withOwner: ownerOrNil, options: optionsOrNil)[0] as? myCustomView
      }

Cannot find 'instantiate' in scope

Thank you @Cheng455153666 for solution, but this bug should be fixed in a proper way in R lib :)

Yes， I agree.
Finally, I created a copy of R.swift,  and modified the code to generate Xib code.
In NibStructGenerator.swift:
...

line 105 : body: "return UIKit.UINib(resource: \(qualifiedCurrentNibName)).instantiate(withOwner: ownerOrNil, options: optionsOrNil)[0] as? \(firstViewInfo)",

...

line 180 : body: "return UIKit.UINib(resource: R.nib.\(SwiftIdentifier(name: nib.name))).instantiate(withOwner: ownerOrNil, options: optionsOrNil)[\(viewIndex)] as? \(viewTypeString)",

Regenerated rswift executable file, and replace. it's work.

This is now fixed in version 7.0.0


Add ? operator for float string and int

Push int when float on top and push empty string if string or int on top

Looks good.


FileNotFoundError: [Errno 2] No such file or directory: './data/pretrain/crnn.pth'

Hi. Could you help me with this error, Im trying to run the demo.py by console but a got that error.

You can download pretrained model here https://www.dropbox.com/s/dboqjk20qjkpta3/crnn.pth?dl=0

You can download pretrained model here https://www.dropbox.com/s/dboqjk20qjkpta3/crnn.pth?dl=0

the link is error


[alsa] Implement cubic mapping for hardware mixers

This implements a cubic mapping for hardware mixers similar to alsamixer

Volume Mapping
In alsamixer, the volume is mapped to a value that is more natural for a human ear. The mapping is designed so that the position in the interval is proportional to the volume as a human ear would perceive it, i.e. the position is the cubic root of the linear sample multiplication factor. For controls with a small range (24 dB or less), the mapping is linear in the dB values so that each step has the same size visually.
Only for controls without dB information, a linear mapping of the hardware volume register values is used (this is the same algorithm as used in the old alsamixer).

Cherry picked from my old branch and did some housekeeping. It should work, but don't have access to a device with a hardware mixer currently to test.
Volunteers? @JPW21
Fixes #433
Note
This introduces a level of confusion as --linear-volume is how we map the request volume Spotify to our client. This value is then mapped cubically to the hardware mixer by default (similar to alsamixer and amixer -m), and can be overridden with the mixer-linear-volume flag.

Thank you for your work, much appreciated.
Sadly it doesnt work for me yet:
The spotify volume setting has no effect, only if i move it to 100% the alsa volume will get set to 100% and remains there, changing it isnt possible.
My options:
--device hw:0,0 --mixer alsa --mixer-name Digital
(--linear-volume flag doesnt change anything)

You will need to enable both  --linear-volume  and --mixer-linear-volume to have a true linear mapping

It works now, but the mapping is still not accurate:
Mär 04 19:40:25 hifiberry librespot[7970]: [2020-03-04T18:40:25Z DEBUG librespot_playback::mixer::alsamixer] Mapping volume [69.000%] 45219 [u16] ->> Alsa [68.599%] 142 [i64]
Mär 04 19:40:25 hifiberry librespot[7970]: [2020-03-04T18:40:25Z TRACE librespot_connect::spirc] Sending status to server: [kPlayStatusPlay]
Mär 04 19:40:25 hifiberry librespot[7970]: [2020-03-04T18:40:25Z DEBUG librespot_playback::player] command=VolumeSet(45219)
Mär 04 19:40:44 hifiberry librespot[7970]: [2020-03-04T18:40:44Z DEBUG librespot_connect::spirc] kMessageTypeVolume "xxxx" xxxx kPlayStatusStop
Mär 04 19:40:44 hifiberry librespot[7970]: [2020-03-04T18:40:44Z DEBUG librespot_connect::spirc] linear volume: 51117
Mär 04 19:40:44 hifiberry librespot[7970]: [2020-03-04T18:40:44Z TRACE librespot_playback::mixer::alsamixer] Current alsa volume: 142MilliBel(-3250)
Mär 04 19:40:44 hifiberry librespot[7970]: [2020-03-04T18:40:44Z DEBUG librespot_playback::mixer::alsamixer] Mapping volume [78.000%] 51117 [u16] ->> Alsa [77.778%] 161 [i64]
Mär 04 19:40:44 hifiberry librespot[7970]: [2020-03-04T18:40:44Z TRACE librespot_connect::spirc] Sending status to server: [kPlayStatusPlay]
Mär 04 19:40:44 hifiberry librespot[7970]: [2020-03-04T18:40:44Z DEBUG librespot_playback::player] command=VolumeSet(51117)
Mär 04 19:41:00 hifiberry librespot[7970]: [2020-03-04T18:41:00Z DEBUG librespot_core::session] Session[0] strong=3 weak=4

librespots 50% volume is equivalent to setting amixer -q sset Digital 50% (resulting in 14% in alsamixer)
I guess i want it to be like amixer -q -M sset Digital 50%

This is as expected, the mapped mode should be the default mode. i.e

hw-linear:   --linear-volume + --mixer-linear-volume == amixer []
hw-mapped:  --linear-volume  == amixer -M []

IMO --linear-volume should be default when using --mixer alsa.
Or does hw-mapped not work as expected?

That was the case in my first post, there i only had --linear-volume set, but it has broken volume control completly for me.

@JPW21 Sorry - its an error on my part. I am having dejavu as i recall encountering and fixed this before.  Let me try getting my hands on a DAC with a hardware mixer to test.

@JPW21 This should work now. (Was still using the non dB volume, for the calculations :duh:)

Yes, working for me now!

PS: Don't use the mute button for now it does the inverse currently!

Can confirm :)
I agree with you, --linear-volume should be the default for alsa hardware volume control.
Thanks again for implementing this.

@JPW21 this should now be much better wtr the mute - lmk!

This will also need to be documented in the wiki, as behaviour is not immediately obvious from the flag name

Mute switch is working as expected. 👍
Thanks again for this PR, without this hardware volume control usefulness was really limited.

So the question of the inbuilt log volume scaling - shall I go ahead and switch it to linear when the alsa mixer is enabled?

A side note about the hardware mixer - we don't currently monitor the mixer. So there are external changes to the mixer, the client won't be aware of this. I am unsure if monitoring the mixer is something that all librespot alsa mixer users will require though..

Most users probably wouldn't require this feature, but it would be useful in some use cases.
We shouldn't underestimate them though, since using librespot instead of just buying some of-the-shelve client hints at some more advanced applications.
For example, i use a flask web-api to remote control my headless raspberry and it would be nice to see volume changes reflect in the spotify client. But i think this is more a QoL improvement.

I was actually thinking about this after posting - majority of the people using a hardware mixer with librespot are probably going to be on some SBC type platform, using this as a dedicated streamer. So it might indeed be a feature to implement. I did give it a shot a while back for Vollibrespot, so will go dig that out and see if it is a lot of work.

@ashthespy if you want to fix up the conflicts we can merge this before the 0.1.3 release.

Have re-based this PR as am looking to merge and get v0.1.3 pushed today. With regards to listening for volume changes, it should be possible using something like this. A cursory glance at alsa-rs suggests that support for events exists, so it should be possible to have alsa update the librespot volume. That can be handled in a separate PR if desired though.


[<IP_ADDRESS>] "Format error" appears in jetpacks' JEI entries

Appears twice on every jetpack entry
https://u.pomf.is/eevszf.png
Oops, guessing you already fixed this based on the dev branch...

Yeah, I noticed it right after uploading the file to curse ^^
It is already fixed in the dev branch like you said, you get the latest version (with the fix) on jenkins.
But thanks for reporting bugs :)


Switching format to Casual fails

Whenever I have a deck saved for MWL 1.1, and then Edit, switch to Casual, and Save. It goes back to the "My decks" page correctly. But when I check the deck, it's still in MWL.
If I duplicate the deck, it correctly appears as Casual.
I tried clearing the cache (I use Clear Cache Chrome extension for that) but to no avail.

i tested this out a few times with several different MWL versions and couldn't reproduce.
Please re-open if you see this recurring.


update version for nightly arm wheel

Checkout nightly branch for nightly wheels
Update version to contain date for nightly wheels

@nitins17 can you help review this PR? Thanks!


Conflict resolver & Folder list disconnected from syncthing

Sometimes SyncTrayzor would stop alerting about conflicts.
Manually opening "Conflict resolver" results in a message:

When this occurs, folder list in settings is also inaccessible:

All that while syncthing is alive and well.
SyncTrayzor itself doesn't crash so I'm not sure if it related to other conflict resolver issues reported.
Restarting SyncTrayzor usually fixes the issue.
Log:
2018-07-11 00:17:57.1710 #12708 [Error] SyncTrayzor.Services.Conflicts.ConflictFileManager: Failed to enumerate files in folder <PATH>: OperationCanceledException The operation was canceled. System.OperationCanceledException The operation was canceled. Void ThrowOperationCanceledException()    at System.Threading.CancellationToken.ThrowOperationCanceledException()
   at SyncTrayzor.Services.Conflicts.ConflictFileManager.<>c__DisplayClass13_1.<FindConflictsImpl>b__1() in C:\projects\synctrayzor\src\SyncTrayzor\Services\Conflicts\ConflictFileManager.cs:line 204
   at SyncTrayzor.Services.Conflicts.ConflictFileManager.TryFilesystemEnumeration(Action action, String path, String itemType) in C:\projects\synctrayzor\src\SyncTrayzor\Services\Conflicts\ConflictFileManager.cs:line 226 System.OperationCanceledException: The operation was canceled.
   at System.Threading.CancellationToken.ThrowOperationCanceledException()
   at SyncTrayzor.Services.Conflicts.ConflictFileManager.<>c__DisplayClass13_1.<FindConflictsImpl>b__1() in C:\projects\synctrayzor\src\SyncTrayzor\Services\Conflicts\ConflictFileManager.cs:line 204
   at SyncTrayzor.Services.Conflicts.ConflictFileManager.TryFilesystemEnumeration(Action action, String path, String itemType) in C:\projects\synctrayzor\src\SyncTrayzor\Services\Conflicts\ConflictFileManager.cs:line 226
2018-07-11 00:22:31.8248 #12708 [Info] SyncTrayzor.Services.MemoryUsageLogger: Working Set: 93MiB. Private Memory Size: 87MiB. GC Total Memory: 10MiB
2018-07-11 00:27:31.8369 #12708 [Info] SyncTrayzor.Services.MemoryUsageLogger: Working Set: 93MiB. Private Memory Size: 87MiB. GC Total Memory: 10MiB
2018-07-11 00:32:31.8423 #12708 [Info] SyncTrayzor.Services.MemoryUsageLogger: Working Set: 93MiB. Private Memory Size: 87MiB. GC Total Memory: 13MiB
2018-07-11 00:37:31.8551 #12708 [Info] SyncTrayzor.Services.MemoryUsageLogger: Working Set: 93MiB. Private Memory Size: 87MiB. GC Total Memory: 11MiB

The failed path in the log is different each time, but those mostly are deeply nested directories (part of Portable SW install)
SyncTrayzor v.1.1.21
Syncthing v.0.14.48
Windows 10 x64

Please enable debug logging (Settings -> Logging -> Log Level), and capture logs which show the issue happening. The bit that you posted is just the scanning for conflicts being cancelled - it doesn't show why that's happening.

So I the instance with debug logs had this again, here are the logs, I hope it's helpful:
https://privatebin.net/?7e1b9e0a8b6836c5#6yp7w72ilNPmdyfFhhzMdgbN0gAQMWgYBKHXN4riCs8=

I'm afraid this slipped off my radar, and the privatebin has expired (for future, please post logs in the github issue, so that doesn't happen). Is this an issue you're still seeing?


ShowDialog: Misleading exception on null value of child and builder

On not providing child and builder argument in ShowDialog() argument throws Exception
Null check operator used on a null value

Code Sample
import 'package:flutter/material.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: ExampleDialogMaxWidth(),
    );
  }
}

class ExampleDialogMaxWidth extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: RaisedButton(
            child: Text("Dialog"),
            onPressed: () {
              showDialog(
                context: context,
              );
            }),
      ),
    );
  }
}

Logs

════════ Exception caught by widgets library ═══════════════════════════════════
The following _CastError was thrown building Builder(dirty):
Null check operator used on a null value

The relevant error-causing widget was
MaterialApp
lib\main.dart:10
When the exception was thrown, this was the stack
#0      showDialog.<anonymous closure>
package:flutter/…/material/dialog.dart:985
#1      _DialogRoute.buildPage
package:flutter/…/widgets/routes.dart:1762
#2      _ModalScopeState.build.<anonymous closure>.<anonymous closure>
package:flutter/…/widgets/routes.dart:840
#3      Builder.build
package:flutter/…/widgets/basic.dart:7552
#4      StatelessElement.build
package:flutter/…/widgets/framework.dart:4758
...

ma 7.12.2020 klo 11.15 Amit Patil<EMAIL_ADDRESS>kirjoitti:

On not providing child and builder argument in ShowDialog() argument
throws Exception
Null check operator used on a null value
https://user-images.githubusercontent.com/54329870/101331241-b7d0d380-3899-11eb-85bb-a640039fd919.png
Code Sample
import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(

  theme: ThemeData(

    primarySwatch: Colors.blue,

  ),

  home: ExampleDialogMaxWidth(),

);

}
}
class ExampleDialogMaxWidth extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaffold(

  body: Center(

    child: RaisedButton(

        child: Text("Dialog"),

        onPressed: () {

          showDialog(

            context: context,

          );

        }),

  ),

);

}
}
Logs
════════ Exception caught by widgets library ═══════════════════════════════════
The following _CastError was thrown building Builder(dirty):
Null check operator used on a null value
The relevant error-causing widget was
MaterialApp
lib\main.dart:10
When the exception was thrown, this was the stack
#0      showDialog.
package:flutter/…/material/dialog.dart:985
#1      _DialogRoute.buildPage
package:flutter/…/widgets/routes.dart:1762
#2      _ModalScopeState.build..
package:flutter/…/widgets/routes.dart:840
#3      Builder.build
package:flutter/…/widgets/basic.dart:7552
#4      StatelessElement.build
package:flutter/…/widgets/framework.dart:4758
...
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/71834, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQ4UBVLH6VD6TEO3TFV3SQTSTSMLHANCNFSM4UQE5QUQ
.

Reproducible on all channels with null safety.
flutter doctor -v
/Users/pedromassango/dev/SDKs/flutter_master/bin/flutter doctor --verbose
[✓] Flutter (Channel master, 1.25.0-5.0.pre.91, on Mac OS X 10.15.7 19H2 darwin-x64, locale en)
    • Flutter version 1.25.0-5.0.pre.91 at /Users/pedromassango/dev/SDKs/flutter_master
    • Framework revision 7dade22f25 (18 hours ago), 2020-12-06 21:34:04 +0530
    • Engine revision 6491c7518f
    • Dart version 2.12.0 (build 2.12.0-120.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/pedromassango/Library/Android/sdk
    • Platform android-30, build-tools 30.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.1, Build version 12A7403
    • CocoaPods version 1.9.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] IntelliJ IDEA Community Edition (version 2020.2.4)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 52.0.4
    • Dart plugin version 202.8070

[✓] VS Code (version 1.51.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.16.0

[✓] Connected device (3 available)
    • sdk gphone x86 arm (mobile) • emulator-5554 • android-x86    • Android 11 (API 30) (emulator)
    • macOS (desktop)             • macos         • darwin-x64     • Mac OS X 10.15.7 19H2 darwin-x64
    • Chrome (web)                • chrome        • web-javascript • Google Chrome 86.0.4240.198

• No issues found!
Process finished with exit code 0

flutter doctor -v (beta)
[✓] Flutter (Channel beta, 1.24.0-10.2.pre, on Mac OS X 10.15.7 19H2 darwin-x64, locale en)
    • Flutter version 1.24.0-10.2.pre at /Users/pedromassango/dev/SDKs/flutter_beta
    • Framework revision 022b333a08 (3 weeks ago), 2020-11-18 11:35:09 -0800
    • Engine revision 07c1eed46b
    • Dart version 2.12.0 (build 2.12.0-29.10.beta)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/pedromassango/Library/Android/sdk
    • Platform android-30, build-tools 30.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.1, Build version 12A7403
    • CocoaPods version 1.9.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] IntelliJ IDEA Community Edition (version 2020.2.4)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 52.0.4
    • Dart plugin version 202.8070

[✓] VS Code (version 1.51.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.16.0

[✓] Connected device (3 available)
    • sdk gphone x86 arm (mobile) • emulator-5554 • android-x86    • Android 11 (API 30) (emulator)
    • Web Server (web)            • web-server    • web-javascript • Flutter Tools
    • Chrome (web)                • chrome        • web-javascript • Google Chrome 86.0.4240.198

• No issues found!

flutter doctor -v (dev)
[✓] Flutter (Channel dev, 1.25.0-4.0.pre, on Mac OS X 10.15.7 19H2 darwin-x64, locale en)
    • Flutter version 1.25.0-4.0.pre at /Users/pedromassango/dev/SDKs/flutter_dev
    • Framework revision a7f5fd5360 (7 days ago), 2020-11-30 13:14:13 +0100
    • Engine revision 20caf54969
    • Dart version 2.12.0 (build 2.12.0-76.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/pedromassango/Library/Android/sdk
    • Platform android-30, build-tools 30.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.1, Build version 12A7403
    • CocoaPods version 1.9.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] IntelliJ IDEA Community Edition (version 2020.2.4)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 52.0.4
    • Dart plugin version 202.8070

[✓] VS Code (version 1.51.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.16.0

[✓] Connected device (4 available)
    • sdk gphone x86 arm (mobile) • emulator-5554 • android-x86    • Android 11 (API 30) (emulator)
    • macOS (desktop)             • macos         • darwin-x64     • Mac OS X 10.15.7 19H2 darwin-x64
    • Web Server (web)            • web-server    • web-javascript • Flutter Tools
    • Chrome (web)                • chrome        • web-javascript • Google Chrome 86.0.4240.198

• No issues found!
Process finished with exit code 0


v1.0.3

Checklist

[x] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe/meta.yaml) and found it was in an excellent condition.

@step21 We need this version for web3 >=6.20 in https://github.com/conda-forge/injective-py-feedstock/pull/24#pullrequestreview-2485516832


Add new genre True Crime.

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
Hello PA,
Adding new genre True Crime based on true stories like documentaries . Basically users like to read and shows interest on true stories.
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

@anuragverma108
Please assign me the task .

I'd like to resolve this issue


BMR calculator

Enter calculator name -
BMR calculator
Describe calculator functionality -
https://www.calculator.net/bmr-calculator.html
Under which category you wish to place it -
[] Computer Science
[] Mathematics
[] Physics
[] Chemistry
[] Biology
[] Finance
[] Scientific
[] Health
[] Sports
[x] Let project owner decide
[] Suggest a new category - (Answer here)

I opened this issue..and would love to work on it

Hey @7twik,
Assigned.
You may contribute your code under the folder path -
calc_for_everything\calculators\src\health\BMR
Issue completion deadline - 3rd Oct 8:00:00 pm IST
NOTE - In case the issue completion deadline is not met, the issue will be assigned to a new participant


elixir: 1.13.4 -> 1.14.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/elixir-lang/elixir/releases.
meta.description for elixir is: "A functional, meta-programming aware language built on top of the Erlang VM"
meta.homepage for elixir is: "https://elixir-lang.org/"
meta.changelog for elixir is: ""
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.14.1 with grep in /nix/store/an20ji1a1l15xq439pw2qgxw0s31f2b0-elixir-1.14.1
found 1.14.1 in filename of file in /nix/store/an20ji1a1l15xq439pw2qgxw0s31f2b0-elixir-1.14.1

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

7 total rebuild path(s)

7 package rebuild(s)

First fifty rebuilds by attrpath
elixir
elixir_1_13
elixir_ls
mix2nix
plausible
pleroma
sonic-pi

Instructions to test this update (click to expand)

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

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

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

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

1 package failed to build:

pleroma

5 packages built:

elixir
elixir_ls
mix2nix
plausible
sonic-pi

Maintainer pings
cc @ankhers @Br1ght0ne @DianaOlympos @gleber @happysalada @minijackson @yurrriq for testing.

IIRC se tried to make the update, but this broke pleroma so we didn't go through with it. I think its a matter of waiting a bit more until they update their software

Converting this to draft so the not doesn't keep reopening this

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/elixir-lang/elixir/releases.
meta.description for elixir is: "A functional, meta-programming aware language built on top of the Erlang VM"
meta.homepage for elixir is: "https://elixir-lang.org/"
meta.changelog for elixir is: ""
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.14.2 with grep in /nix/store/pm7rgjscf332kaa5rs79h6jjd2hplg91-elixir-1.14.2
found 1.14.2 in filename of file in /nix/store/pm7rgjscf332kaa5rs79h6jjd2hplg91-elixir-1.14.2

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

7 total rebuild path(s)

7 package rebuild(s)

First fifty rebuilds by attrpath
elixir
elixir_1_13
elixir_ls
mix2nix
plausible
pleroma
sonic-pi

Instructions to test this update (click to expand)

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

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

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

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

1 package failed to build:

pleroma (pleroma-otp)

5 packages built:

elixir
elixir_ls
mix2nix
plausible
sonic-pi

Maintainer pings
cc @ankhers @Br1ght0ne @DianaOlympos @gleber @happysalada @minijackson @yurrriq for testing.

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/elixir-lang/elixir/releases.
meta.description for elixir is: A functional, meta-programming aware language built on top of the Erlang VM
meta.homepage for elixir is: https://elixir-lang.org/
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.14.3 with grep in /nix/store/rg2w3qyl3vd1hkq3fwd1p24v3vr606y1-elixir-1.14.3
found 1.14.3 in filename of file in /nix/store/rg2w3qyl3vd1hkq3fwd1p24v3vr606y1-elixir-1.14.3

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

8 total rebuild path(s)

8 package rebuild(s)

First fifty rebuilds by attrpath
akkoma
elixir
elixir_1_13
elixir_ls
mix2nix
plausible
pleroma
sonic-pi

Instructions to test this update (click to expand)

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

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

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

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

7 packages built:

akkoma
elixir
elixir_ls
mix2nix
plausible
pleroma
sonic-pi

Maintainer pings
cc @ankhers @Br1ght0ne @DianaOlympos @gleber @happysalada @minijackson @yurrriq for testing.


ARM Support

Any plans to release ARM binaries? Would love to be able to run this on a Graviton instance.

Binaries should be an easy PR in the goreleaser.yml - Would be open to review :)


Fixes issue #142

This resolves issue #142.

Will add a full unit test for World in another PR.
Ready to squash? @Major- @garyttierney

LGTM, please squash (and please use 'Fix', not 'Fixes')

Squashed, ready for merge.


[Performance] Profile the time it takes for a request to get a response from the server

Describe the enhancement

The FHIR core app performs a comprehensive initial sync. This sync gets the following items.

Application Composition resource (Based on the Application ID)
Application Congis referenced on the Composition
Patient data based on the sync configs

Implementation

[ ] Review the time and server resources it takes to respond to the following requests.

[ ] The request to GET the Composition resource after the App ID input
[ ] The request to  GET the  Application configs  defined in the Composition
[ ] The request to GET  the Patient data. Here we can look at the following resources

[ ] Patient resource
[ ] Group resource
[ ] Task resource
[ ] Observation resource
[ ] CarePlan resource
[ ] Location resource
[ ] Organization resource
[ ] CareTeam resource
[ ] Practitioner Resource
[ ] MeasureReports

[ ] The request to POST a bundle containing the above resources.
[ ] The request to PUT a specific resource from the list above.
[ ] The request to PUT a bundle containing the above resources

Expected results.

Profiling documentation can be done by recording the following

[ ] Time and server resources it takes for each request type as defined in the implementation section
[ ] The number of successes and errors on the said endpoints. Calculate the error rate.
[ ] Server throughput/requests per second.

Things to consider

Server specs and infrastructure configuration
Network connectivity
Amount of data on the server at the time of testing.
The kind of request params on the request e.g when we have huge page sizes versus no/less page size

The listed resources represent the resources that will be used most on by the web or android client.
Feel free to test any other endpoints on the FHIR server.


Fix: re-define default highlights

Needed to keep it working after color schema change

Can you tell me what this fixes?
The hilight groups are already regenerated when changing the colorscheme.


Relaxed FormEncodingBuilder to allow building empty forms.

This PR addresses: #1704
I was not able to build a proper artifact to test integration as it looks like com.squareup.okhttp.internal.Version is missing. However, commenting out the relevant code allowed for the unit tests in FormEncodingBuilder to run and they passed.
Edit: looks like it's not missing, I just don't know how to build the project properly. :)

Thanks!

Thanks for merging!


Travis - Continuous Integration

All right!  After 28 tries, looks like we finally got Telescope running on Travis.  Only a single test right now; but it's a start, since it's through a continuous integration system.
This needs to eventually be merged into master, but before we do that, we need to make sure that it deploys correctly, and to be able to merge other branches in.  So this pull-request is directed from the travis branch to the develop branch.  It would be trivial for me to merge this in on my local branch, but in the interests of setting up good team workflow collaboration, I'm submitting it through a PR for someone else to approve the merge.
For more information on this workflow process, please see the following article:
http://nvie.com/posts/a-successful-git-branching-model/


Add flexibility to save downloaded queries in different file formats

Add functionality to save downloaded queries in different file
formats to avoid heavy csv files. How to handle additional header information will have to be sorted out.

I'd really appreciate it if support for the parquet format  could be added, since it's a much quicker format for large dataframes when saving and loading tables.
Maybe the information in the header could be stored in an accompanying metadata file or in the filename?
HDF files would allow for information to be stored in headers and would allow for smaller file sizes, but wouldn't be nearly as fast as using parquet. (see second link above)

https://github.com/gaia-unlimited/gaiaunlimited/blob/a6bbe61ab07ddea616aa49d5b632a981fc117b78/src/gaiaunlimited/selectionfunctions/subsample.py#L191
You can add a keyword argument e.g. format='csv' and then use it in all the filenames transparently. The only place that needs more is for pandas calls. You will have to do a getatrr(df, r'to_{format}') to get the writing function (and similarly for reading)


(maint) Disable facts for script compiler scope

This updates Bolt::PAL#in_bolt_compiler to set the disable_facts
flag for the script compiler to true. Setting this flag will disable
setting facts, trusted facts, and server facts in the script compiler's
scope.
Changes made to Puppet in puppetlabs/puppet#8063 updated the script
compiler to never set facts in the script compiler's scope. However,
this resulted in breaking changes to PAL's public API. The work in
puppetlabs/puppet#8268 reverses these changes and adds the
disable_facts flag to allow users to disable setting facts if they
wish. By default, disable_facts is set to false.
!no-release-note

CLA signed by all contributors.


Json serialize digests from protocol.Snapshot as string

Digests are of "hashing.Digest" type  (byte slice), which get applied a base64 encoding in a json serialization.
The goal is to avoid the base64 encoding.

I think we need to implement marshalers and unmarshalers to our data types, so they get  encoded as we want, instead of using the default rules of the json package.


Results of doctests should be tallied alongside ordinary unit tests

Currently, test.py runs doctests from README.md.  However, the number of passed and failed tests is not tallied alongside the other unit tests, although they are printed to the terminal.
Maybe we should simply import these tests rather than running the file directly.
@travs @slarson @mwatts15

@gsarma Is there a way to run the doctests as part of a TestSuite with the other tests?  Would this help to incorporate the tallies together?  This answer on StackOverflow seems to have a solution that could be started.
The value of being able to run the Readme.md that I like is that there is zero redundancy -- only the readme has to be updated in order to modify the tests -- this ensures that they are always in sync, and that Travis-CI will always complain if we ever break any of the examples.  In the movement validation hackathon we found this to be something that would be very helpful as examples were getting broken but people weren't realising it...

I think there is- I will look into it along with the other changes that need to be make to restore being able to run tests individually again.

@travs and I took one step forward on this.  The doctests are now properly integrated into a test suite.  However, the entire suite is still counted as a single success or failure.  It shouldn't be too difficult from here to get the tests to register individually, but it took some reading to figure out various subtleties with doctests.  We'll issue a pull request once we've fully resolved the problem.
Here is the commit for the small change we made:
https://github.com/gsarma/PyOpenWorm/commit/97cec3384ada72e0542f766058233a0c815a5596

Niiice!!
On Saturday, May 30, 2015, Gopal Sarma<EMAIL_ADDRESS>wrote:

@travs https://github.com/travs and I took one step forward on this.
The doctests are now properly integrated into a test suite. However, the
entire suite is still counted as a single success or failure. It shouldn't
be too difficult from here to get the tests to register individually, but
it took some reading to figure out various subtleties with doctests. We'll
issue a pull request once we've fully resolved the problem.
Here is the commit for the small change we made:
gsarma@97cec33
https://github.com/gsarma/PyOpenWorm/commit/97cec3384ada72e0542f766058233a0c815a5596
—
Reply to this email directly or view it on GitHub
https://github.com/openworm/PyOpenWorm/issues/109#issuecomment-107067736
.

@gsarma why don't you go ahead and pull request this much, as it is still an improvement?  Then we can have splitting the tests individually as an additional issue.

Sure thing!


Specify the device only once

This looks like a great project!
I have a question: Why is it necessary to specify the device for every Tensor? Wouldn't it be possible to set the device once and then all allocations are made to that device?
This would work like a global allocator in Rust: https://doc.rust-lang.org/std/alloc/index.html
The drawback is that you can't use multiple backends at the same time easily.
What are your thoughts?

That's an interesting idea. I would think that candle-core is a pretty low-level api so should provide the flexibility to provide different devices whereever needed (and it's actually not to bad as it's only when creating new tensors from scratch that it's needed, not when applying operations on tensors), but you could imagine having higher-level crates that use candle-core and provide more ergonomics such as handling the device for you etc. So I would encourage you to give a try at writing such higher level crates and experimenting with this kind of ideas, it would be very interesting to get your feedback/experience return if you do so.

Closing this for now as probably nothing actionable at the moment. Feel free to create further issues for suggestions/... (or go to the discord channels for discussion).

That could indeed be done but I'm not super thrilled by the idea of duplicating lots of functions, we already have a bunch of functions with multiple variants because of default parameters and it's a bit of a pain. After having implemented quite a few models I find that being explicit about the device hasn't introduced that much churn in the code (using the var-builder to retrieve the device to be used), that said if you have some code where you find that it's actually messy I'm certainly happy to look at it.