fix(hapi.js): handle non promise hapi response

:tada: This PR is included in version 1.14.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[Service Bus] Custom errors should be ServiceBusError, not MessagingError

When given array of messages is too big to fit in a batch, we throw a MessagingError with code MessageTooLargeError. With the introduction of the ServiceBusError, we should not be throwing MessagingError to the user ever.
This issue is to make the above change for the Message Too Large case and to review that there are no other cases of MessagingError leaking to the user

This is done with #12585


Updating variable names

The current variables/structure for the data files are as follows :-
info = {
    "UNIT_NUMBERS": { },
    "BASE_NUMBERS": { },
    "MTENS": { },
    "MHUNDREDS": { },
    "MULTIPLIERS": { },
    "VALID_TOKENS": { }
}

More information on what each variable stores is here.
However the variable names aren't as descriptive and based on the discussion here, I plan to change them to the following.
info = {
    "UNIT_NUMBERS": { },
    "DIRECT_NUMBERS": { },
    "TENS": { },
    "HUNDREDS": { },
    "BIG_POWERS_OF_TEN": { },
    "SKIP_TOKENS": [ ]
}

The structural change is that skip tokens is no longer a dictionary but directly a list. The rest are variable name changes.
Opinions ?

New names make a lot more sense, thanks 👍

Looks good to me too ! :+1:

@arnavkapoor

(updated previous comment)


fix(container definition): add 'dependsOn' as an optional prop

Goal
Add dependsOn as an option container definition property

:tada: This PR is included in version 1.14.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Support for mode as a write option

While writing parquet or other formats it will be great to have a mode write option similar to that available in Apache Spark API. This will allow users to append, overwrite or error if the parquets already exist at the provided destination.
From the code I couldn't find a way to do this yet.

Hi @chitralverma . This is controlled by how you open the file (that implements std::io::Write) - we do not control this directly in the library as you as user can already control how the implementor of Write is initialized.
In our specific example where we write a parquet file to disk, this is the relevant line: https://github.com/jorgecarleitao/arrow2/blob/main/examples/parquet_write.rs#L33
I hope this makes sense!

Got it, thanks.


[hotfix] Fix unstable test CompactDatabaseActionITCase#testCombinedModeWithDynamicOptions

Purpose

Asynchronous snapshot expiration cause the snapshot manager to read a snapshot which is exipiring.
Failed test case

Tests

API and Format

Documentation

+1


Only shows "Quit" option in Linux

How to use this? .AppImage version on Fedora.

I still have not figured out a way to run this on Linux, and I dont have any device to try it out either. Feel free to come with suggestions. :)

I still have not figured out a way to run this on Linux, and I dont have any device to try it out either. Feel free to come with suggestions. :)

Why did you release it for Linux, then?
...


Jankness occurs at certain aspect ratios?

I currently have:
  <ContainerQuery
    @features={{hash horizontalSplit=(cq-aspect-ratio max=1.2)}}
    {{! grid forces all the contents to take up all available vertical space }}
    class="grid"
    as |query|
  >

around most of my app, and am doing some layout things based on the container query
Describe the bug 🐞
https://user-images.githubusercontent.com/199018/179760426-be9c648f-d7c1-4948-823f-25eac25ed2a3.mp4
Expected behavior 🤔
Not what's in the video :sweat_smile:
Minimal reproduction 🔬
I only have my app
Environment 🌍

Ember: - 4.5
Node.js/npm: - 16+
OS: - Ubuntu
Browser: - Firefox

Additional context ➕
If needed, you can provide more context (e.g. reference materials, screenshots, GIFs) for the problem here.

I can 100% confirm this has "something" to do with my ContainerQuery's div's content. Commenting out all the content in the ContainerQuery body prevents this issue from occurring :thinking:


Encountered some issues during Cardano wallet onboarding

Hi there.
This is the team of Jadepool Custody, a leading cryptocurrency custody product based in Shanghai. This is our website: https://www.jadepool.io/. So far we have supported 26 blockchains. Right now we are in the process of supporting Cardano.
Our developer has encountered some issues and is having some questions during onboarding. I was wondering if you can provide some technical help through a platform that we can get responses as soon as possible. Maybe creating an exclusive Slack chat room for us.
Thank you,
Jadepool Team

Hi @kristieguo. For lack of a better place at the moment, I'd suggest to have this discussion here, provided that your questions are about the wallet (if they are not, I willy happily redirect you to the relevant projects in the Cardano eco-system :))

@KtorZ Hi, here is the list of questions we have. If they are not relevant to this project, please redirect me. Thank you.
1.1. Where to find the project of Cardano node? And RPC API?
1.2. Are there multiple testnet for Cardano? Which to choose? How to configure for node?
2.1. How to use API to get details of certain block by block index or block hash?
2.2. How to use API get balance of an address?
2.3. How to use API to look up a transaction by hash?
2.4. How to use API to broadcast a transaction?
3.1. I see on Github the SDK project says the work is still in progress and not suitable for production. Is there any SDK ready for use on production?
3.2. If there is, does it have method for generating address for both mainnet and testnet?
3.3 Are Addresses generic in different testnet？In what way should we generate address for mainnet and testnet?
3.4. Is there any method in SDK to sign transaction?

1.1. Where to find the project of Cardano node? And RPC API?

The component for the Shelley MainNet can be found on https://github.com/input-output-hk/cardano-node/
Note however that the node API is a in-house solution which at the moment, requires using a Haskell client / node. Likely, you'd be looking to deal with services built on top of the node like cardano-wallet or cardano-explorer.

The component for the Shelley TestNet can be found on https://github.com/input-output-hk/jormungandr.
Documentation is available on the README.

1.2. Are there multiple testnet for Cardano? Which to choose? How to configure for node?
There are multiple networks available for testnet indeed at the moment. Depending on the nature of your activity, you may want to favor one instead of the other. After the deployment for the second phase of the incentivized testnet, we'll likely keep only two testnets: nightly (with edge builds for early testing) and the official testnet. Genesis parameters and configuration for joining the testnets are available here: https://hydra.iohk.io/build/1485111/download/1/index.html
2.1. How to use API to get details of certain block by block index or block hash?
2.2. How to use API get balance of an address?
2.3. How to use API to look up a transaction by hash?
2.4. How to use API to broadcast a transaction?
All these questions can be answered by an explorer. For the incentivized testnet, you have two options (REST or GraphQL) detailed here: https://input-output-hk.github.io/jormungandr/quickstart/04_explorer.html.
3.1. I see on Github the SDK project says the work is still in progress and not suitable for production. Is there any SDK ready for use on production?
Are you referring to https://github.com/input-output-hk/cardano-js-sdk ? If yes then indeed, this SDK isn't ready for production use. There are currently no SDK available for the MainNet. For the ongoing TestNet however, you may rely on https://github.com/input-output-hk/js-chain-libs.
3.2. If there is, does it have method for generating address for both mainnet and testnet?
The address format for the MainNet is still going under some design changes. For the TestNet, you may rely on: https://input-output-hk.github.io/jormungandr/jcli/address.html. Addresses generated in the TestNet won't be compatible with the MainNet.
3.3 Are Addresses generic in different testnet？In what way should we generate address for mainnet and testnet?
Cf previous question.
3.4. Is there any method in SDK to sign transaction?
See the TxBuilder from js-chain-libs.

@KtorZ Hi thank you for your response. We still have some following questions regarding your answers.

your answer: "The component for the Shelley MainNet can be found on https://github.com/input-output-hk/cardano-node/
Note however that the node API is a in-house solution which at the moment, requires using a Haskell client / node. Likely, you'd be looking to deal with services built on top of the node like cardano-wallet or cardano-explorer.
The component for the Shelley TestNet can be found on https://github.com/input-output-hk/jormungandr.
Documentation is available on the README."

question: This API is v0 API, is it suitable for use on production? We found a v1 API and not sure if we could use it: https://cardanodocs.com/technical/wallet/api/v1/?v=1.6.0.

We try to use  /api/v0/block/{block_id} to get block details but no valid JSON returned.

Your answer: "All these questions can be answered by an explorer. For the incentivized testnet, you have two options (REST or GraphQL) detailed here: https://input-output-hk.github.io/jormungandr/quickstart/04_explorer.html."

question: GraphQL seemed doesn't work. Do you have documentation for query parameters?  http://<IP_ADDRESS>:8443/explorer/graphql
curl
-X POST
-H "Content-Type: application/json"
--data '{'
'"query": "{'
'   status {'
'       latestBlock {'
'           chainLength'
'           id'
'           previousBlock {'
'               id'
'           }'
'       }'
'   }'
'}"'
'}' \

Your answer: "Are you referring to https://github.com/input-output-hk/cardano-js-sdk ? If yes then indeed, this SDK isn't ready for production use. There are currently no SDK available for the MainNet. For the ongoing TestNet however, you may rely on https://github.com/input-output-hk/js-chain-libs."

question: We want to go on production after testing. What should we use then?

Your answer: "The address format for the MainNet is still going under some design changes. For the TestNet, you may rely on: https://input-output-hk.github.io/jormungandr/jcli/address.html. Addresses generated in the TestNet won't be compatible with the MainNet."

question: How does exchanges that already supported Cardano generate mainnet addresses? We hope we can put Cardano on production soon.

@KtorZ Hi, we'd really appreciate it if you could answer our questions as soon as possible. Thank you.

Hi @kristieguo we are a bit busy on the development side at the moment ^.^
I am trying to find someone to help with your questions. Please be patient :pray:

Closing this. I believe you guys received an email from Neville to continue the discussion :wave:

@KtorZ No we didn't receive any email. The email address is<EMAIL_ADDRESS>


add gordon parcellation to atlases

http://neurovault.org/collections/1058/

still seems like a good idea.


Strings with version format are not compared as versions

The version 0.9.0 is smaller then 0.10.0, therefore
ConditionEvaluator().isEvalOperatorCondition(operatorKey: "$vlt", attributeValue: "0.9.0", conditionValue: "0.10.0")

should return true.
Actual result: The mention method call returns false.
Expected result: The mention method call returns true.
Environment:
GrowthBook 1.0.38
Steps to reproduce:
Use the follow test to reproduce the issue:
@testable import GrowthBook
import XCTest

final class GrowthBookTests: XCTestCase {
    func test_condition_vlt() {
        let sut = ConditionEvaluator()
        XCTAssertTrue(sut.isEvalOperatorCondition(operatorKey: "$vlt", attributeValue: "0.9.0", conditionValue: "0.10.0"))
    }
}

Hello @HeEAaD,
Thank you for bringing the version comparison issue in GrowthBook version 1.0.38 to our attention. We appreciate your detailed report, which helped us diagnose and fix the problem quickly.
I'm pleased to inform you that we've addressed the issue and released a new version that includes the fix. You should be able to see the expected behavior now when using ConditionEvaluator().isEvalOperatorCondition() with version numbers like "0.9.0" and "0.10.0".
Please update to the latest version and let us know if everything is working as expected or if you encounter any further issues.
Thanks again for your valuable feedback.

Thank you @vazarkevych for the fast fix. I can confirm that the described issue is resolved for the mentioned case.
I want to make you aware of an edge case that can crash the application in GrowthBook 1.0.42:
String(repeating: " ", count: 5 - $0.count) will crash for versions with 6-digit components.
For example the following test case will crash:
XCTAssertTrue(sut.isEvalOperatorCondition(operatorKey: "$veq", attributeValue: "0.123456.0", conditionValue: "0.123456.0"))

This is no issue in my company's project but might be relevant for other customers.


patch.Helper doesn't work with secrets and configmaps

I was using patcher in a project and discovered the hard way that it doesn't actually patch secrets.
The reason behind that is to do with this logic:
https://github.com/fluxcd/pkg/blob/a04ccbfc5bc8348e31131978140640f0b1363d18/runtime/patch/patch.go#L239-L242
So it very deliberately checks spec field, which is something secrets and configmaps don't have.

I suggest you use ssa.apply to patch Kubernetes native resources, the patcher is for custom resources which subscribe to the spec/status standard.

@stefanprodan maybe that should be made more explicit in the docs?

Yes for sure, patcher is for controllers to set finalizers and status conditions, we use it as such in Flux, and we should clearly state it’s purpose in docs.


Fixed issue #11893 (SpinBox capturing mouse)

To prevent the SpinBox from capturing mouse, added a "drag.allowed"
variable that is set to true only when clicking inside the control.
Entering the control with the left mouse button pressed will not
trigger drag anymore.
Also modified the value update code when dragging so it does not
modify the base_val (to take advantage of the non-linear function
used to calculate the new value).
Only tested this under Windows.
Bugsquad edit: Fixes #11893

According to reports on #11893, the issue seems to be fixed in the master branch already. Is this PR still needed/relevant?
I'm not sure what actually fixed it in the master branch though, so also not what commit(s) could potentially be cherry-picked to fix it in 3.0.x.

Just tested the master and the problem with the SpinBox is still there. To repeat, just create a scene with a spinbox run it, press the LMB outside of the spinbox, and hover the arrow buttons with the LMB held. The cursor will be captured. The cursor is now released when the LMB is released (it was not the case when I wrote this fix). I'll test my branch again later today.

just create a scene with a spinbox run it, press the LMB outside of the spinbox, and hover the arrow buttons with the LMB held. The cursor will be captured.

I can reproduce it on Linux. Note: I did not reproduce it initially when my SpinBox was on top of a TextureRect (and I was thus clicking the TextureRect before dragging to the SpinBox arrows). I did reproduce the bug when the SpinBox was on top of the default canvas.

The cursor is now released when the LMB is released

This I can't reproduce on Linux though, my cursor stays stuck.

Could you rebase the branch on master to remove the merge commit?

Hmm should be OK now (I hope).

BTW, (with master and under windows) yes the cursor seems to stay stuck from time to time but you can unstuck it by clicking the LMB repeatedly.

Thanks!


fix: use the TargetingKey property in the Flagsmith provider

This PR
An explicit TargetingKey property was added to the OpenFeature SDK but the Flagsmith provider is not currently using it. This change uses the new property if it is set, and falls back to the current behaviour of using an attribute named targetingKey.

LGTM - since we're on version 0.x still and this is now part of the specification, I would prefer making the breaking change now and removing the old targeting key behaviour. I'll leave this decision to the owners here.
I'd also suggest updating the README's example to show how to use this, and fixing it since it doesn't work :)
diff --git a/src/OpenFeature.Contrib.Providers.Flagsmith/README.md b/src/OpenFeature.Contrib.Providers.Flagsmith/README.md
index e8619e1..b1ae6f5 100644
--- a/src/OpenFeature.Contrib.Providers.Flagsmith/README.md
+++ b/src/OpenFeature.Contrib.Providers.Flagsmith/README.md
@@ -43,13 +43,16 @@ packet add OpenFeature.Contrib.Providers.Flagsmith
 To create a Flagmith provider you should define provider and Flagsmith settings.

 ```csharp
-using OpenFeature.Contrib.Providers.Flagd;
+using OpenFeature.Contrib.Providers.Flagsmith;
+using OpenFeature.Model;
+using Flagsmith;

 namespace OpenFeatureTestApp
 {
-    class Hello {
-        static void Main(string[] args) {
-
+    class Hello
+    {
+        static async Task Main(string[] args)
+        {
             // Additional configs for provider
             var providerConfig = new FlagsmithProviderConfiguration();

@@ -63,14 +66,19 @@ namespace OpenFeatureTestApp
                 EnableAnalytics = false,
                 Retries = 1
             };
-            var flagsmithProvider = new FlagsmithProvider(providerConfig, flagsmithConfig);\
+            var flagsmithProvider = new FlagsmithProvider(providerConfig, flagsmithConfig);

             // Set the flagsmithProvider as the provider for the OpenFeature SDK
-            OpenFeature.Api.Instance.SetProvider(flagsmithProvider);
+            await OpenFeature.Api.Instance.SetProviderAsync(flagsmithProvider);

-            var client = OpenFeature.Api.Instance.GetClient("my-app");
+            // Optional: set a targeting key and traits to use segment and/or identity overrides
+            var context = EvaluationContext.Builder()
+                .SetTargetingKey("my-flagsmith-identity-ID")
+                .Set("my-trait-key", "my-trait-value")
+                .Build();

-            var val = client.GetBooleanValue("myBoolFlag", false, null);
+            var client = OpenFeature.Api.Instance.GetClient("my-app");
+            var val = client.GetBooleanValue("myBoolFlag", false, context);

             // Print the value of the 'myBoolFlag' feature flag
             System.Console.WriteLine(val.Result.ToString());

I can remove the old behaviour, I was just trying to avoid the breaking change as it is likely to affect all existing consumers.
This could also be deprecated with [Obsolete] on IFlagsmithProviderConfiguration.TargetingKey, FlagsmithProviderConfiguration.TargetingKey and FlagsmithProviderConfiguration.DefaultTargetingKey first and then removed later, to make the migration a bit easier for consumers, although they might not be using those properties, they might just be using the string "targetingKey".
What do you think @vpetrusevici ?

I can remove the old behaviour, I was just trying to avoid the breaking change as it is likely to affect all existing consumers.
This could also be deprecated with [Obsolete] on IFlagsmithProviderConfiguration.TargetingKey, FlagsmithProviderConfiguration.TargetingKey and FlagsmithProviderConfiguration.DefaultTargetingKey first and then removed later, to make the migration a bit easier for consumers, although they might not be using those properties, they might just be using the string "targetingKey".
What do you think @vpetrusevici @matthewelwell ?

As @rolodato mentioned, since it's 0.x I'm happy to directly apply the breaking change.

I have removed the old attribute and updated the documentation with a working example.


Rebase #130 - Added camp facility details page

This is a duplicate of #130. I had to pull in the changes committed in #130 and rebase it with master as the original author wasn't responding.

Includes a section for listing the Rescue camp locations.
Only admin can add a new Rescue camp.

@jaseemkm Could you please add some details as to how to populate the rescue camps? Not able to figure out how to reproduce the issue.

Oh ok; any idea how to set the admin user and password so I can login to my test instance?

@vrthra, if you haven't created the super user already for your test instance, run this command and you will be prompted to set the username and password for the admin user.
python3 manage.py createsuperuser.
Once it's successful, login to /admin and go the Rescue camp detailss list.

We're implementing this in a better way for issue #161. Let's not merge till it's ready.

@jaseemkm

@ajnas can you point me to the other PR for #161 ? The issue is labeled urgent, so want to get a start on testing it.

In the dash board, the "Rescue camp detailss" has an extra 's' :) Could you please fix it?
Marking this as tested since the particular functionality seems to work fine, but as @ajnas mentions, they may have a better implementation so wait for merging until we hear back.

The error was due to an issue on my side. No issue spotted other than "detailss"

Marking this back to "Tested".


CSS issue. GitHub project list card in profiles section is irregular

Describe the bug
When viewing the list of personal projects on the profile page, the containing card sizes are not fixed sizes due to which the page looks unprofessional.
*To Reproduce
Steps to reproduce the behavior:

Login with Github
Click on the `View Profile dropdown from your name on the right top corner
Scroll down to GitHub Repositories
See the CSS.

Expected behavior
The GitHub project cards should be uniform

@chilarai Please assign this to me.

@chilarai Please review

Thanks, I will do


split logic

internal split should do: (getsize() + 1) / 2
leaf node, starts index 0, no invalid 1st node like internal

fixed


Modernize Docker workflow, add support for AMD

This just fixes some docker issues I was running into on my machine. I also added some AMD support sections using pocl. Now we can just say docker compose build beignet docker compose run beignet.
Then the workflow I do is to copy whatever I want into the local "build" repo and that shows up in the /coriander/build/out directory where I can then run cocl_py despite not using python 2 on my system at all.
I can see that a large usecase for this repo has already been filled by the ZLUDA or HIPIFY nowadays combined with HIP/ROCm, but outputting to OpenCL feels valuable on its own and afaik there's not another way to do this specific niche.

Thanks! Do you know you have renamed doc to docs? Any particular reason for that? Note that you will need to update the links for images, you can see there is at least one broken image link at https://github.com/chancecardona/coriander/tree/improved-docker .


Typescript definitions file not automatically exported to built trustfall_wasm module.

The trustfall_wasm module contains the trustfall_wasm.d.ts definitions file that describes all the types and functions that are available, but this file is not included in the built output produced by wasm-pack build and currently has to be included manually, overwriting any existing Typescript .d.ts files placed there (depending on the flags passed to wasm-pack build).
Ideally this would be automated better.

Resolved, current main branch builds WASM module as a release and includes the hand-written TypeScript definitions file.


Favor BYDAY/BYMONTHDAY over BYSETPOS

Given:

Most of the functionality from BYSETPOS can be handled with BYMONTHDAY
Few other libraries handling RRULE support BYSETPOS

Not supported in text display/parsing in rrule.js
Not supported by ice_cube in Ruby

This changes the repeat options to favor display/generation of rules
without BYSETPOS. This is configurable via an allowBYSETPOS config
field.
This allows the user to generate an RRULE and have it output the correct toText when fed into rrule.js.

Can we get this merged in?  I'm also using rrule.js and BYSETPOS has been an issue.


Unsupported URL from Linkedin Learning (New Lynda Site)

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like this: [x])
Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2018.10.29. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

[x] I've verified and I assure that I'm running youtube-dl 2018.10.29

Before submitting an issue make sure you have:

[x] At least skimmed through the README, most notably the FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones
[ ] Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

[ ] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[x] Feature request (request for a new functionality)
[ ] Question
[ ] Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add the -v flag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://www.linkedin.com/learning/programming-foundations-fundamentals']
[debug] Encodings: locale cp1252, fs mbcs, out cp1252, pref cp1252
[debug] youtube-dl version 2018.10.29
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.17134
[debug] exe versions: none
[debug] Proxy map: {}
[generic] programming-foundations-fundamentals: Requesting header
WARNING: Falling back on generic information extractor.
[generic] programming-foundations-fundamentals: Downloading webpage
[generic] programming-foundations-fundamentals: Extracting information
ERROR: Unsupported URL: https://www.linkedin.com/learning/programming-foundations-fundamentals
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpadzwnijc\build\youtube_dl\YoutubeDL.py", line 792, in extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpadzwnijc\build\youtube_dl\extractor\common.py", line 508, in extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpadzwnijc\build\youtube_dl\extractor\generic.py", line 3298, in _real_extract
youtube_dl.utils.UnsupportedError: Unsupported URL: https://www.linkedin.com/learning/programming-foundations-fundamentals
...
<end of log>

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by **

Playlist: https://www.linkedin.com/learning/programming-foundations-fundamentals

Note that youtube-dl does not support sites dedicated to copyright infringement. In order for site support request to be accepted all provided example URLs should not violate any copyrights.

Description of your issue, suggested solution and other information
Explanation of your issue in arbitrary form goes here. Please make sure the description is worded well enough to be understood. Provide as much context and examples as possible.
If work on your issue requires account credentials please provide them or explain how one can obtain them.

I have searched for the same issue in github and still haven't found a solution. This is a duplicate issue, but I made it again because it is necessary to fix this.

Duplicate of #13545.


Add protection to meta-data

The meta-data in the CHECK_CLIENT mode is allocated from its own areas,
where most of the pages have been disabled, and the location within this
range is randomised.
This protects from trivial OOB read/write hitting the meta-data.
More complex controlled offsets are also mitigated due to the sparse
level of pages being turned on (i.e. not PROT_NONE).

LGTM


erlang-language-platform: 2024-11-07 -> 2024-12-09

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/WhatsApp/erlang-language-platform/releases.
meta.description for erlang-language-platform is: An IDE-first library for the semantic analysis of Erlang code, including LSP server, linting and refactoring tools.
meta.homepage for erlang-language-platform is: https://github.com/WhatsApp/erlang-language-platform/
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 2024-12-09 with grep in /nix/store/n2p8fc0gxz6w6hf1kypzfvyqc9yf7cwn-erlang-language-platform-2024-12-09
found 2024-12-09 in filename of file in /nix/store/n2p8fc0gxz6w6hf1kypzfvyqc9yf7cwn-erlang-language-platform-2024-12-09

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

3 total rebuild path(s)

3 package rebuild(s)

First fifty rebuilds by attrpath

erlang-language-platform
erlang_language_platform

Instructions to test this update (click to expand)

Either download from the cache:
nix-store -r /nix/store/n2p8fc0gxz6w6hf1kypzfvyqc9yf7cwn-erlang-language-platform-2024-12-09 \
  --option binary-caches 'https://cache.nixos.org/ https://nixpkgs-update-cache.nix-community.org/' \
  --option trusted-public-keys '
  nixpkgs-update-cache.nix-community.org-1:U8d6wiQecHUPJFSqHN9GSSmNkmdiFW7GW7WNAnHW0SM=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The nixpkgs-update cache is only trusted for this store-path realization.)
For the cached 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 erlang-language-platform https://github.com/r-ryantm/nixpkgs/archive/125f80b2238fb89fb745b6081de97d532171211c.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/125f80b2238fb89fb745b6081de97d532171211c#erlang-language-platform

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/n2p8fc0gxz6w6hf1kypzfvyqc9yf7cwn-erlang-language-platform-2024-12-09
ls -la /nix/store/n2p8fc0gxz6w6hf1kypzfvyqc9yf7cwn-erlang-language-platform-2024-12-09/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.
nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review

x86_64-linux

:white_check_mark: 1 package built:

erlang-language-platform (erlang_language_platform)

Maintainer pings
cc @offsetcyan for testing.

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

Add a :+1: reaction to pull requests you find important.

@NixOS/nixpkgs-merge-bot merge


Dragon Age Inquisition rendering regression

As of dcb5b2a game world is black.

Software information
Dragon Age: Inquisition
Settings: Ultra/High mixture
System information

GPU: Radeon RX 570 8GB
Driver: mesa git 8f13975
Wine version: staging git eb4096d
DXVK version: git f71f527

Apitrace file(s)

DAI.win7.bench.trace.tar.xz (mirror)
Trace is from Windows 7 as the game will not run under wined3d.
It's also ridiculously large at 1.7GiB compressed, 3.2GiB uncompressed.
I'm unable to replay the trace so I don't know how useful it will be.

Log files

d3d11.log:
DragonAgeInquisition_d3d11.log
dxgi.log:
DragonAgeInquisition_dxgi.log

For future reference, it's better to use something like Google Drive or Mega to host apitrace files. That hoster only allows me to download it at 300 kB/s, it's taking ages.
Anyway, if you can't replay it locally it's probably useless and i won't be able to debug the issue. Can you record one with dxvk directly? Since this is probably a shader issue it should be fine.

DAI_dxvk_bench.tar.xz
This one starts to replay at least. Unfortunately the replay crashes for me before showing the issue. Hopefully it's more useful to you. 2¾ hours to record this thing. :persevere:

Thanks. I'm currently trying to debug another regression caused by that commit in Kingdom Come: Deliverance, which may or may not be related. I'll give you an update once I figure this out.

2f20a61342472cdb218f47ad8b94c129109d0337 should fix this. Essentially this is a game bug, it binds a multisampled image to a slot that expects a non-multisampled image. It's pure luck that this ever worked in the first place.

Confirming fixed by 2f20a61.


Create Brian.md

partial pull request per Sally

@BrianMoonCake it's a start, and we'll add more to the folder as a follow-up PR :)


Getting the error that Member has no voice attribute

Is not working with slash command or it's another error on my side?

Could you provide some more information about what you're trying to do? A snippet of your code and the full error you're getting would help me understand the issue.
The Member class in this library doesn't have a voice attribute. You can see the list of attributes in the docs.

ok thanks, and how do you make the option optional and not obligatory?

There's an example of this in the options docs. If you provide a default value for the parameter, then the option will not be required.
Here's another example that should work. (Forgive me for any typos, I'm on my phone right now.)
@discord.command()
def example(ctx, optional_parameter : str = None):
    if optional_parameter is None:
        return "parameter was not provided"
    else:
        return f"parameter was {optional_parameter}"


Publish deb package for Ubuntu

Is it possible?

Not that I know of. Want to step up and create a package?

I could do this, but setting up the deploy from Travis to Launchpad should probably be done by the maintainer since you have to generate some keys on github.  https://docs.travis-ci.com/user/deployment/launchpad/

Duplicate of #734


tensorflow- After hundreds of epochs, my total_loss stay around 0.6~0.7, and not decreased

I wrote my own network,  when start training my network,  my total_loss decreased to 0.6~0.7  and does not goingdown any more everytime.   I try to finetuning bias and stddev, but nothing worked.
And  What is  more,  the accuracy does not increase,  it is like some random number...
what can i do to fix the network?

somebody help me!!!!!!

Hello!
Please use appropriate tech discussion platform for your question. If you wrote your own network then it has nothing to do with SqueezeNet. For example, you can use one of the stackexchange sites.
Best regards, Andrii


[HOSTED] Generated Issue: ParserException

Please fill out the details below.
Summary:
Navigating to the following url returns a 500 status.
https://api.jikan.moe/v3/anime/322/episodes/1

Steps to reproduce:

Run curl on or navigate to https://api.jikan.moe/v3/anime/322/episodes/1 in a browser.

That's it. You will see the error message. It told me to report it here. Hope this helps!
Additional Details
Jikan Parser Version: v2.8.1@75c3fd2230133b01175b95ec5397aa66d60ba1f8
PHP: 7.3.5-1+ubuntu18.04.1+deb.sury.org+1
Redis: Connected
Exception: Jikan\Exception\ParserException
Code: 0
Message: Failed to parse 'https://myanimelist.net/anime/322/_/episode?offset=0'
Trace: /var/www/jikan-rest/vendor/jikan-me/jikan/src/Exception/ParserException.php on line 24
Request: GET /v3/anime/322/episodes/1

Thanks for reporting! The issue has been resolved


Add support for Node 13

It looks like Sqlite3 is not compatible with Node 13 yet, only Node 12. Can binaries be generated for the new (well... October, but still) major version of Node?

@kewde any news on this front? Node 13's been out long enough to have had five minor version updates already, and sqlite3 is a common enough library that compatibility with new versions of Node is pretty essential. Especially since it's typically used as the "local dev" equivalent of a full blown database, with local dev generally using the most recent version of Node, rather than the LTS version.

Yeah, @kewde any news? It has been over a month since Node 13 release.


Light Performance Adjustments for Page Speed Opportunities

Summary
Performance adjustments were made to improve Page Speed scores. See below for specifics:

Localized Mattermost Logo
Moved script references below header markup
Preloaded fonts
Combined Pgyment css into theme CSS to reduce HTTP requests
Made some light indentation adjustments to scripts section for readability

Ticket Link
https://mattermost.atlassian.net/browse/MAR-259

Thanks, @lawrencejohnson! I see some changes have been made to the themes/templates so Carrie and I would like to take some time to build and test this locally, as I don't think the preview server spins up for forked PRs. What sort of changes should we be looking for?

Hi Justine - no visual changes; from a functionality standpoint the only thing that I could think might be affected would be the Search, but I tested it locally and seemed to be working fine.

@asaadmahmood, would you be open to reviewing this and letting us know whether it all looks good? I'm not sure I know enough about CSS/themes to know what to look for. Thank you!


Add Run API endpoint for project

For the enhancements of project view of pipelines in dashboard.
Signed-off-by: Matej Focko<EMAIL_ADDRESS>TODO:

[ ] figure out better solution that has smaller performance impact
[ ] refactor, clean out; there are unused methods from trying different solutions

My main issue is with joining the tables to be able to filter by project. I haven't been able to do it properly, the way it is done now doesn't appear to be that problematic (unless you run it for non-existing project… it takes a while, cause it „crunches“ through the whole run table). Suggestions are welcome.

Merge before packit/dashboard#135

TODO

as we discussed with @TomasTomecek we could probably factor out the git project from separate trigger models to JobTriggerModel, but it would result in tables with not very meaningful data, e.g. for triggering from git branch we would have table with just names of branches, which may be a bit weird


ISPN-11967 Support POST for actions with side effects in the REST API

https://issues.redhat.com/browse/ISPN-11967

Merged, thanks


Add Time synchronization between all Mainflux services

Description from @chombium :
Having small battery operated sensors without RTC is one of the reasons why I use custom adapters with which I enhance the received message or even repackage it as SenML.
Where are we going to get the time for the timestamps from? Time synchronization between all Mainflux services would be nice to have feature.
I guess simply reading the time from the adapter's container would be a good start. We can add a time provider service and time synchronization to all services later.

This issue is not needed.


Magic number base_score=4.786924

import xgboost
import numpy as np

model = xgboost.XGBRegressor(base_score=4.786924)
X = np.random.rand(167, 20)
y = np.random.rand(167)
model.fit(X, y)
model.get_booster().save_model('model.bin')
del model

model = xgboost.XGBRegressor()
model.load_model('model.bin')

  File "/home/sh1ng/dev/.venv/lib/python3.6/site-packages/xgboost/sklearn.py", line 420, in load_model
    self._Booster.load_model(fname)
  File "/home/sh1ng/dev/.venv/lib/python3.6/site-packages/xgboost/core.py", line 1534, in load_model
    self.handle, c_str(os_fspath(fname))))
  File "/home/sh1ng/dev/.venv/lib/python3.6/site-packages/xgboost/core.py", line 189, in _check_call
    raise XGBoostError(py_str(_LIB.XGBGetLastError()))
  File "/home/sh1ng/dev/.venv/lib/python3.6/site-packages/xgboost/compat.py", line 19, in py_str
    return x.decode('utf-8')
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x99 in position 99: invalid start byte

Underlying error message that can't be decoded
b'[14:56:32] /workspace/src/common/json.cc:413: Expecting: """, got: ". ", around character: 1\n    {.\x99@\x14'

Funny part is changing base_score's value solves the issue

....... That's a very good catch !!


Search by authors and string

Why
Searching by authors and search (so just a string) is currently missing, linked to #513
How
I've edited the logic inside hf_api.HfApi.list_models. Pasted below for convenience

  def list_models(....):
     ....
     if filter is not None:
          params.update({"filter": filter})
          params.update({"full": True})
      if author is not None: # <- here
          params.update({"author": author})
      if search is not None: # <- here
          params.update({"search": search})
      .....

[EDIT] After discussing it we also included the same logic in list_datasets
Test it
I've added a few new lines in the tests under HfApiPublicTest, maybe a test with a complex query + authors, search is not a bad idea.
Since I've edited my main branch on the fork this branch has the commits from the main branch that contains the code for
#522. Unfortunately, I am not a git wizard so I've removed that code. I am not sure what's the best way to clean it up while having my other PR open (#522)
Thanks
Francesco

The list_models-related changeset of this PR looks good to me, and you could also apply it to list_datasets which has the same API

The list_models-related changeset of this PR looks good to me, and you could also apply it to list_datasets which has the same API

Changed the signature and the logic of list_datasets to match list_models :) Tests are green on my local machine

Thank you for this!
I saw your note about some git issues, try accepting my suggestions in the review and that should handle it just fine.
I also have a few suggestions in there

Hi @muellerzr , I've included your commits, thank you for helping me out

LGTM but i'll let @muellerzr and @LysandreJik chime in!

@FrancescoSaverioZuppichini looks like you're not passing the code quality tests, can you do the following please? :)
pip install -U black isort flake8

And then from the root of the repository:
make style; make quality

That should make the quality tests pass


Encrypt sensitive data in webform submissions

Add these modules to the distro:

Encrypt
Webform encrypt
Real AES
Key
field_encrypt
file_encrypt

PR: https://github.com/openfed/openfed/pull/28

The following should be updated:
"drupal/webform": "6.2.0-beta6",
"drupal/webform_encrypt": "2.0.0-alpha1"


FirstVC: heading correction is broken on iOS8

The rotating path overlay is not shown.
Possible reason: MKPolylineView, which is responsible for drawing the path into an image which is being rotated, is deprecated, successor: MKPolylineRenderer.

Closed in 9520970c14351e12f79930c22e4bc1192bcaa689


Fixed console error on logout

Related Issues

Closes #108
Short Description and Why It's Useful

Screenshots of Visual Changes before/after (If There Are Any)

IMPORTANT NOTICE - Remember to update CHANGELOG.md with description of your change
Contribution and Currently Important Rules Acceptance

[ ] I read and followed contribution rules
[ ] I have changed the target to hacktoberfest branch

@Utkarshkaraiya Resolve the conflicts


rubbish

i looked into this thing its a remote access trojan, dont bother since its not worth it, why would u need this anyway

funny u didnt show any evidence that it is :)

funny that i downloaded this a while ago and i found the files with my cookies, browser history, passwords and a screenshot of my desktop (which showed me opening the file and my browser with this repository open), this was a complete accident and i was just navigating through my files when i found the folder with this information

its not a rat but it is a info stealer

i'm still not seeing any proof? lol, just u yapping. go somewhere else

im not yapping, and it wouldnt make sense for me to want to hate on a random person for no reason, im doing this only bcs i found a screenshot with this repo open while going thru files, and it was this exact account, and i dont want to say for certain, but i am pretty damn sure, obv i deleted the files for very obvious reasons and removed the malware

and ofc you'll know whether what i am saying is true or not, so if its not, sorry

have a good day not worth continuing

have a good day not worth continuing

so you know you're wrong but don't wanna admit it? 😂
i have nothing to prove. its open source for a reason. u can look in all the code and u wont find anything malicious. also funny since you're not supposed to open the script but rather run it on a host.
but yeah, ur right, not worth continuing. thanks for proving my point, have a good day too!


[Bug]: connectivity_plus does not pickup mobile connectivity on Android 13 only WiFi. Version 2.3.0 does

Platform
Android 13
Plugin
connectivity_plus
Version
5.0.1
Flutter SDK
3.19.5
Steps to reproduce
The code will only pick up when on wifi not when on mobile
Code Sample
No response
Logs
I assume you know about this issue?

Flutter Doctor
[✓] Flutter (Channel stable, 3.19.5, on macOS 14.4.1 23E224 darwin-arm64, locale en-ZA)
    • Flutter version 3.19.5 on channel stable at /Users/jacofourie/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 300451adae (4 weeks ago), 2024-03-27 21:54:07 -0500
    • Engine revision e76c956498
    • Dart version 3.3.3
    • DevTools version 2.31.1

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/jacofourie/Library/Android/sdk
    • Platform android-34, build-tools 31.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15E204a
    • CocoaPods version 1.15.2

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

[✓] Android Studio (version 2022.3)
    • 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 17.0.6+0-17.0.6b829.9-10027231)

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

[✓] Connected device (3 available)
    • Jaco’s iPhone 14 (mobile) • 00008110-00110C9E1105401E • ios            • iOS 17.4.1 21E236
    • macOS (desktop)           • macos                     • darwin-arm64   • macOS 14.4.1 23E224 darwin-arm64
    • Chrome (web)              • chrome                    • web-javascript • Google Chrome 124.0.6367.62
    ! Device R58R24T5CRV is not authorized.
      You might need to check your device for an authorization dialog.

[✓] Network resources
    • All expected network resources are available.

Checklist before submitting a bug

[X] I searched issues in this repository and couldn't find such bug/problem
[X] I Google'd a solution and I couldn't find it
[X] I searched on StackOverflow for a solution and I couldn't find it
[X] I read the README.md file of the plugin
[X] I'm using the latest version of the plugin
[X] All dependencies are up to date with flutter pub upgrade
[X] I did a flutter clean
[X] I tried running the example project

Use the search function and read the README.md, this has been asked already, even today!


Add python coverage tests to those run by travis.

Enabled python code coverage measurement.  We want to add more tests, and this will help determine where they are needed.  We can add a service like codecov to make it easier to see what has been covered, if developers would find that useful.

LGTM! Can you also add reporting using codecov? That will give us a nice meter when we start writing unit tests.

Current coverage is 19.67% (diff: 100%)

No coverage report found for master at 3d9eadf.

Powered by Codecov. Last update 3d9eadf...9422cdf

@cdeepakroy I've added codecov.  I think we'll get a badge on the front page README when this is merged in, though I'm not sure how to check that without merging the PR.

@manthey Thank you for doing this. Let's merge.


bytestreamToUMP handling of real-time events

The MIDI1 specification says that “real Time messages can be sent at any time and may be inserted anywhere in a MIDI data stream, including between Status and Data bytes of any other MIDI messages.”
I created a test that does just that. It inserts a START message (0xFA) in the middle of the three bytes of a NOTE-ON sequence (0x91, 0x3C, 0x7F). This resulted in the NOTE-ON being lost.
  Input: 0x91, 0xFA, 0x3C, 0x7F
  Actual: 0x10FA0000
  Expected: 0x10FA0000, 0x20913C7F

I think that this problem is caused because the real-time event handling code is updating the d0 member variable used to hold the running status value. The fix I propose is straightforward. Change bytestreamToUMP::bytestreamParse() from:
void bytestreamParse(uint8_t midi1Byte){
    if (midi1Byte == TUNEREQUEST || midi1Byte >=  TIMINGCLOCK) {
        d0 = midi1Byte;
        bsToUMP(midi1Byte,0,0);
        return;
    }
…

to:
void bytestreamParse(uint8_t midi1Byte){
    if (midi1Byte == TUNEREQUEST || midi1Byte >=  TIMINGCLOCK) {
        if (midi1Byte == TUNEREQUEST) {
            d0 = midi1Byte;
        }
        return bsToUMP(midi1Byte,0,0);
    }

Note that issue #17 that I posted earlier today also suggests a small modification to this snippet of code.
As ever, let me know if you'd prefer to see this proposal as a PR.

Fixed - and tests added. - Thanks for pointing this out


Is there standard suite of tests to test a new language server against?

I want to create a new language server in perl.  I was wondering if there is a standard suite of tests that I can run on my language server to make sure that I implemented it properly?

As there is no standard output one can expect from any language server (the output fully depends on the implementation), there is no test suite for it.
The best way to test your language server is to try it in one or several of the various clients: https://github.com/Microsoft/language-server-protocol/wiki/Tools-supporting-the-Language-Server-Protocol


feat: Switch hashing algorithm to xxhash

Overview
Switches the hashing algorithm to xxhash

Codecov Report
Attention: Patch coverage is 80.00000% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 81.20%. Comparing base (cdffa5b) to head (bf7a69a).

Files
Patch %
Lines

passthrough.go
50.00%
1 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main       #3      +/-   ##
==========================================
- Coverage   81.27%   81.20%   -0.08%
==========================================
  Files          12       12
  Lines         518      516       -2
==========================================
- Hits          421      419       -2
- Misses         72       73       +1
+ Partials       25       24       -1

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Persistent Little Bugger

Before jumping into Pr first comment for assign.
Problem statement : Create a function that takes a number and returns its multiplicative persistence, which is the number of times you must multiply the digits in num until you reach a single digit.
Probelm Link : Persistent Little Bugger
Choose one Cateorgy - Very Easy, Easy, Medium, Hard, Very Hard, Expert
question category : Hard

Before submitting a PR please Check some details.

[ ] fileName formet should be in camelcase
example- returnTheNextNumber.py
[ ]  Choose label for Problem , example- "good first issue", "easy"
[ ]  In file there should be problem statement and link to problem

/* Problem-Task : This program will add two numbers
 * Problem Link : https://edabit.com/challenge/SFzHtm63XT6EYNHWY
*/
int main() {
    int bla;
    return 0;
}

This repository is vaild for HacktoberFest2020
Read before making PR - How to contribute on Github
Good Luck,

Assign this problem to me


chore: order dependencies in Cargo.toml

Order dependencies in Cargo.toml in alphabetical order.

#4482  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @overlookmotel and the rest of your teammates on  Graphite

I assume there was no purpose to the order previously - it looks like it was alphabetical previously, and then order sort of fell apart as time went by. So merging. If I'm wrong and there's a pattern that I've not been able to divine, we can revert it!


[Feature] Go from ipfs/go-ipvs:v0.10.0 to ipfs/kubo:v0.22.0

Description
ipfs/go-ipfs is now ipfs/kubo
as mentioned here: https://hub.docker.com/r/ipfs/go-ipfs
In the docker file this version should be updated to use a newer image under the kubo side
Are you aware of any blockers that must be resolved before implementing this feature? If so, which? Link to any relevant GitHub issues.
No response
Some information to help us out

[ ] Tick this box if you plan on implementing this feature yourself.
[X] I have searched the issue tracker to make sure this issue is not a duplicate.

I confirm that ipfs/kubo:v0.14.0 works properly, I didn't test with 0.22.0 but I don't see why it wouldn't work.

Closing as this resolves the change of image packages in Docker and can be further evaluated in the future as updates are checked across the software
thank you again!


Notifications on mobile wallet

as a user, when i execute a trade using a mobile wallet (metamask), i would like the notifications to be managed correctly

when they appear, they should be over (above) the top bar and not hidden behind it
when i try to click on the x, it should close the popup

https://github.com/bancorprotocol/webapp-v2/pull/279


remove general block from Branch model in io.gui.models

Describe the bug
The current Branch model in io.gui.models contains a general attribute, which is BranchGeneral. But the current version of GUI does not support a [General] block with file metadata.
class BranchModel(INIModel):
"""
The overall branch model that contains the contents of one branches.gui file.
This model is not referenced under a [FMModel][hydrolib.core.io.mdu.models.FMModel].

Attributes:
    general (BranchGeneral): `[General]` block with file metadata.
    branch(List[Branch]): List of `[Branch]` blocks for all branches.
"""

Expected behavior
As a temporary solution before the coming GUI fixes, this [General] block with file metadata. should be omitted.

@priscavdsluis is there already a GUI JIRA issue created of this problem?


spec: is package name _ allowed; compiler refuses it

We all know _ can be used as constant and variable identifier.
And it looks using _ as function name is also allowed, but a function named with _ is almost useless.
The only usefulness I can image is put some interface assertions in it to check if a concrete type implements an interface to avoid allocing memory in package scope.
package main

type I interface {F()}

type T [2^32]int

func (T) F(){}

func _ (){var _ I = T{}}

func main(){
	// _() // compiling error: cannot use _ as value
}

/cc @griesemer @mdempsky

https://golang.org/ref/spec#Declarations_and_scope

The blank identifier may be used like any other identifier in a declaration, but it does not introduce a binding and thus is not declared.

Writing "func () {}" is valid, but does not declare a function.  That's why you can't call it as "()".
Just like writing "var _ I = T{}" doesn't declare a variable named "_".
The spec also explicitly says PackageName can't be "_".
I don't see a bug here.

@mdempsky, in the same link your provide, it says:

The package clause is not a declaration; the package name does not appear in any scope. Its purpose is to identify the files belonging to the same package and to specify the default package name for import declarations.

@mdempsky, and your claim "Writing "func () {}" is valid" is wrong.

@golang101 Sorry, but I don't understand what you're arguing.  Do you think there's a bug in the compiler, spec, or both?
If there's a compiler bug, please give an example input, what the compiler does, and what you think the compiler should do instead.  (You gave an input above, but didn't say what you think it should do.)
If there's a spec bug, please quote the relevant sections and explain why you think they're wrong.

Either spec or compiler has a bug. Now they are not consistent.
For the following one line file, assume it in the foo folder under GOPATH:

package _
"import foo" will cause compiling error.
But this file is valid by spec.

If compiler does right here, the in the https://golang.org/ref/spec#Package_clause section, the definition of PackageName should be changed.

A file containing
package _

is not valid.  Like I said above, the Go spec says:

The PackageName must not be the blank identifier.

ok, I didn't notice that line. :)


Delete cluster should set env cluster_name to null

Right now. Delete cluster only deletes group and remove association with cluster. It doesn't set cluster_name of environment to be null. This is the fix for that change. It also renames
EnvCapacitys to EnvCapacities

LGTM


Enable Mbed-TLS for MD5 hashing, remove Polar SSL

Set Mbed-TLS as default for MD5 hashing, remove Polar SSL. The latter has given wrong results on at least one MCU and is generally deprecated.
Closes issue #142.

Well, I think I found the issue. The PolarSSL MD5 context in LT is defined as follows:
typedef struct {
	unsigned long total[2];	  /*!< number of bytes processed  */
	unsigned long state[4];	  /*!< intermediate digest state  */
	unsigned char buffer[64]; /*!< data block being processed */
} md5_context;

whereas the context in PolarSSL library is this:
typedef struct
{
    uint32_t total[2];          /*!< number of bytes processed  */
    uint32_t state[4];          /*!< intermediate digest state  */
    unsigned char buffer[64];   /*!< data block being processed */

    unsigned char ipad[64];     /*!< HMAC: inner padding        */
    unsigned char opad[64];     /*!< HMAC: outer padding        */
}
md5_context;

Notice the missing ipad and opad fields, which make the structure smaller (thus, esphome allocates less memory for the context, and we have a memory corruption).


Repository excludes are now preserved, works with Amazon Linux 2015.03

Thx for all the efforts on this fix dtopolko

My pleasure :smiley:
Thank you for sharing this great role! We'll put it to a good use.
Cheers,
Darko


unable to connect to the OCI tenancy

V0.28
logged in to the oci with "oci setup config", but still unable to login
cd: /projects/okit/okit: No such file or directory
[2021-10-29 17:25:31 +0000] [155] [INFO] Starting gunicorn 20.1.0
[2021-10-29 17:25:31 +0000] [155] [INFO] Listening at: http://<IP_ADDRESS>:7070 (155)
[2021-10-29 17:25:31 +0000] [155] [INFO] Using worker: sync
[2021-10-29 17:25:31 +0000] [158] [INFO] Booting worker with pid: 158
[2021-10-29 17:25:31 +0000] [159] [INFO] Booting worker with pid: 159
[2021-10-29 17:25:31 +0000] [160] [INFO] Booting worker with pid: 160
INFO: Reading Json File : /okit/okitweb/static/okit/palette/palette.json
INFO: Config Sections ['DEFAULT']
INFO: Config Sections ['DEFAULT']
INFO: []
INFO: Config Sections {'sections': ['DEFAULT']}
INFO: []
INFO: Config Settings {'gitsections': []}
INFO: []
ERROR: [Errno 2] No such file or directory: '/okit/instance/local'
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 1950, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 1936, in dispatch_request
return self.view_functionsrule.endpoint
File "/okit/okitweb/okitWebDesigner.py", line 452, in local_panel
local_filesystem = [dir_to_json(local_filesystem_dir, current_app.instance_path, 'children', 'templates')]
File "/okit/okitweb/okitWebDesigner.py", line 316, in dir_to_json
with os.scandir(rootdir) as it:
FileNotFoundError: [Errno 2] No such file or directory: '/okit/instance/local'
ERROR: [Errno 2] No such file or directory: '/okit/instance/templates/reference_architecture'
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 1950, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 1936, in dispatch_request
return self.view_functionsrule.endpoint
File "/okit/okitweb/okitWebDesigner.py", line 286, in templates_panel
ref_arch_templates = dir_to_json(ref_arch_root, current_app.instance_path, 'children', 'templates')
File "/okit/okitweb/okitWebDesigner.py", line 316, in dir_to_json
with os.scandir(rootdir) as it:
FileNotFoundError: [Errno 2] No such file or directory: '/okit/instance/templates/reference_architecture'
INFO: Querying Regions
INFO: {'opc-request-id': '09BD4C1D26994164A26A13BA58DE4728/D2F0C2CF5FC4E4AAA56F0922B41A0FED/7E7414EE546438F93C95830FDC7A6B66', 'code': 'NotAuthenticated', 'message': 'The required information to complete authentication was not provided or was incorrect.', 'status': 401}
INFO: The required information to complete authentication was not provided or was incorrect.
ERROR: {'opc-request-id': '09BD4C1D26994164A26A13BA58DE4728/D2F0C2CF5FC4E4AAA56F0922B41A0FED/7E7414EE546438F93C95830FDC7A6B66', 'code': 'NotAuthenticated', 'message': 'The required information to complete authentication was not provided or was incorrect.', 'status': 401}
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 1950, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 1936, in dispatch_request
return self.view_functionsrule.endpoint
File "/okit/okitweb/okitOci.py", line 228, in ociRegions
regions = oci_region_query.executeQuery()
File "/okit/visualiser/query/ociRegionQuery.py", line 40, in executeQuery
discovery_client = OciResourceDiscoveryClient(self.config, self.signer, include_resource_types=self.SUPPORTED_RESOURCES)
File "/okit/visualiser/discovery/oci_discovery_client.py", line 409, in init
self.tenancy = self.get_tenancy()
File "/okit/visualiser/discovery/oci_discovery_client.py", line 484, in get_tenancy
tenancy = identity.get_tenancy(self.config["tenancy"]).data
File "/usr/local/lib/python3.6/site-packages/oci/identity/identity_client.py", line 5358, in get_tenancy
response_type="Tenancy")
File "/usr/local/lib/python3.6/site-packages/oci/base_client.py", line 454, in call_api
response = self.request(request)
File "/usr/local/lib/python3.6/site-packages/oci/base_client.py", line 583, in request
self.raise_service_error(request, response, service_code, message)
File "/usr/local/lib/python3.6/site-packages/oci/base_client.py", line 745, in raise_service_error
original_request=request)
oci.exceptions.ServiceError: {'opc-request-id': '09BD4C1D26994164A26A13BA58DE4728/D2F0C2CF5FC4E4AAA56F0922B41A0FED/7E7414EE546438F93C95830FDC7A6B66', 'code': 'NotAuthenticated', 'message': 'The required information to complete authentication was not provided or was incorrect.', 'status': 401}

@kollachaitanyakrishna this due to a miss configuration in your config file. The usual issue is the location of the key file which will always be in /root/.oci/<FILE_NAME> and should be specified as ~/.oci/<FILE_NAME> in the config


Loading failed for the module with source “http://localhost/node_modules/.vite/xxx”.

Describe the bug
Hello,
I'm trying to access vite dev server via nginx reverse proxy to avoid CORS and getting stuck.
my nginx config:
server {
    listen 80 default_server;
    server_name localhost;

    location / {
        proxy_pass http://localhost:3000;
    }
    location /image {
        proxy_pass http://localhost:8001;
    }
}

it's possible to access vite dev server via http://localhost after nginx reload with this config. However, it says:
on chrome:
GET http://localhost/node_modules/.vite/element-plus_es.js?v=c48a10d4 net::ERR_INCOMPLETE_CHUNKED_ENCODING 200 (OK)

on firefox:
Loading failed for the module with source “http://localhost/node_modules/.vite/element-plus_es.js?v=c48a10d4”.

If I request http://localhost/node_modules/.vite/element-plus_es.js?v=c48a10d4 directly, it works well.
Reproduction
https://github.com/Devecor/vite-loading-failed-for-the-module-with-source
System Info
System:
    OS: macOS 12.2.1
    CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
    Memory: 19.74 MB / 16.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 16.14.0 - ~/.nvm/versions/node/v16.14.0/bin/node
    Yarn: 1.22.17 - /usr/local/bin/yarn
    npm: 8.3.1 - ~/.nvm/versions/node/v16.14.0/bin/npm
  Browsers:
    Chrome: 98.0.4758.102
    Firefox: 97.0.1
    Safari: 15.3

Used Package Manager
npm
Logs
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to https://github.com/vuejs/core instead.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

May be fixed by #6758


Filename parsing for csvs

Same concept as https://github.com/ContinuumIO/intake-xarray/pull/16 but for csvs. Moves the utils logic out of intake-xarray and into intake proper.

Rendered notebook at https://anaconda.org/jsignell/model_precip_data

Is this reimplementing the functionality recently merged into dask, or merely making use of it?

Is this reimplementing the functionality recently merged into dask, or merely making use of it?

Making use of it. And expanding on it. That reminds me this would require latest released dask.

Seems to pass anyway :)

Travis is getting a new enough version of dask:
https://travis-ci.org/ContinuumIO/intake/builds/427278384#L1067

Also https://github.com/martindurant/filesystem_spec/pull/13

Ought there to be an updated version constraint on dask, or can we make a nice error if dask is too old, and this functionality is requested

Yes totally. Also what should happen if the user tries to use a this template style for an unsupported backend? Should it raise a Not Implemented error? And if so how?

A kwarg to the two plugins would be fine; I wouldn't put it in the global config. Of the remaining plugins, I don't know how many would qualify - perhaps avro only?
There is scope for having conventions here, like the storage_options kwarg - and the more prominent the conventions are, the easier our lives will be.

@jsignell , anything left to do here?

anything left to do here?

If you are happy with it, I'm happy with it. There aren't any docs on usage other than the example though. Also not sure about best practices for including example data, but these csvs are pretty small.

I'm happy with it. Once you've written the blog, that can be linked in the docs too. I imagine we'll need to explicitly point people to this when they ask for similar functionality, because it's not something that most will have thought of.

👍


Indentation doesn't seem to take the braces into account

https://github.com/dotnet/vscode-csharp/assets/95136/0a026967-f62d-44f9-9808-645fa050538a

Thanks for reporting this. There’s more to be added, please let me know if this is the same issue: when you click on a blank line let’s say within a method, in between two lines of code in the method, the IDE mistakenly puts your cursor at zero indentation, forcing you to manually enter a couple tabs (etc) to get to proper indentation level (if you format doc, where it would place your cursor with proper number of tabs). Visual Studio obviously gets this right. While this may not seem like much of an inconvenience, where this is a massive frustration is on your first or second tab, intellisense / intellicode / gitlens (etc, any of these) suggests a code snippet and on one of the tabs inserts it!
Perhaps a separate issue here is if there were a setting to not insert / suggest a line of code when only tab has been entered (as opposed to a character or underscore).

@copernicus365 not sure but videos are worth 1000 words in this context.

Interestingly, I cannot reproduce this, it seems to indent the line as I would expect:

Can you still reproduce this?  If so, what is VSCode detecting as the indentation kind in the bottom right bar?
Note that indentation is controlled by VSCode itself.  We have some amount of customization we can do via language-configuration.json but that is about it.

Looks like there is a 3 space indentation in the original example source. The code is being moved to the next indentation level, which is only 1 space away.


Add local to global index mapping

This PR adds a local-to-global mapping to the index_map class. It is necessary for the follow-up PR #1639. This also introduces a device-side view of a partition, and adds another member to the partition which stores the range-ids segmented by their part-id.
(I know that the branch name is wrong...)

after merging row and column, do they still need to map back to the global index?
you need to reindex all of them because the size will be the smaller than the original one after coarsening.

@yhmtsai I don't understand your point, could you rephrase this?

@yhmtsai I think this discussion makes more sense in #1639. I don't see much relevance to this PR.

yes, but if PGM does not need it, do you still need this function for something else?

I think I need at least parts of it to keep the old distributed matrix constructor around. @fritzgoebel also seems to need it for his domain decomposition matrix.
Anyway, this still sounds like a discussion for #1639.


Set Back link to lead to the page from which it was opened

Here (app/views/rodauth/reset_password_request.html.slim) Back button leads to the settings page, while it should to lead to the page from which was opened: either Settings or Sign in. If the fallback location lwasn't found, let's redirect to the Settings for logged in users and to sign in for not logged in.

rails provide url_for(:back which composes this if can't detect the back path, is this ok for us?
or we have to replace it with settings or sign in page

when we navigate via our pages it correctly set back as settings or sign it page

discussed that this solution is fine


Add Stringy->hasUpperCase, Stringy->hasLowerCase along with StaticString counterparts & tests.

These methods check if any part of the string has an upper or lower case character in it.

Any thoughts on this? Seems to fit in pretty well with the spirit of Stringy to me.

You're right, it does seem like a good fit. I'm hesitant right now, as when I added the "is__" methods, we ended up with:

isAlpha
isAlphanumeric
isBlank
isHexadecimal
isJson
isLowerCase
isSerialized
isUpperCase

I'm just trying to think of what other "has__" methods would be possible, and whether or not we could avoid adding a bunch of related ones.

Well... hasUpperCase and hasLowerCase are the two that made sense for my specific use-case.  But hasAlpha, hasAlphanumeric, hasBlank and hasHexadecimal seem like valid cases, too.
In this context, essentially "is" means "all" and "has" means "any".
In my mind, the only awkward ones are the ones that deal with data formats... i.e. hasJson and hasSerialized don't make sense.

After a bit more though, I'm fine with just having hasUpperCase and hasLowerCase. Thanks for the PR! :)

Thanks to this PR I have learned mb_ereg_match() matches from the beginning only (php.net - stackoverflow), hence the .*[[:lower:]] patterns.

Yeah... added a few extra asserts in the tests to verify that because it was new to me too!


misc pkgs: various cross fixes in preparation for darwin->linux for 18.09

Motivation for this change
Backport of #46857.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Fits CONTRIBUTING.md.

IMO putting this in 18.09 is high risk little reward. Better to just shoot for 19.03 being the version that supports macOS -> Linux compilation. We have enough time to work out the kinks.

What's the risk? Not too much is being changed.

Oh you mean the overall thing?

Yeah I guess if it's not a mass rebuild it's fine but otherwise it seems like there are always random issues with these kind of stdenv changes.

Success on x86_64-linux (full log)
Attempted: gcc
Partial log (click to expand)
/nix/store/iw94llkj05wgaz268mlzvgx8jkbi1ss0-gcc-wrapper-7.3.0

Success on aarch64-linux (full log)
Attempted: gcc
Partial log (click to expand)
/nix/store/pcrn3iq0i5s590mlp8v6m7jp1rn7h61r-gcc-wrapper-7.3.0

Success on x86_64-darwin (full log)
Attempted: gcc
Partial log (click to expand)
/nix/store/jcq8f90rikrir6pmvjv48m4p2a89ss99-gcc-wrapper-7.3.0

Success on x86_64-linux (full log)
Attempted: gcc
Partial log (click to expand)
/nix/store/iw94llkj05wgaz268mlzvgx8jkbi1ss0-gcc-wrapper-7.3.0

Success on x86_64-darwin (full log)
Attempted: gcc
Partial log (click to expand)
/nix/store/jcq8f90rikrir6pmvjv48m4p2a89ss99-gcc-wrapper-7.3.0

Success on aarch64-linux (full log)
Attempted: gcc
Partial log (click to expand)
/nix/store/pcrn3iq0i5s590mlp8v6m7jp1rn7h61r-gcc-wrapper-7.3.0


FluidState gets remapped by mistake when running maven build

Steps to reproduce
1
Compile this code:
import net.minecraft.core.BlockPos;
import net.minecraft.server.level.ServerLevel;
import net.minecraft.world.level.material.Fluid;
import net.minecraft.world.level.material.FluidState;
import org.bukkit.block.Block;
import org.bukkit.craftbukkit.v1_19_R3.CraftWorld;

public class Test1
{
    public void test(Block block)
    {
        ServerLevel level = ((CraftWorld) block.getWorld()).getHandle();
        BlockPos blockPos = new BlockPos(block.getX(), block.getY(), block.getZ());
        FluidState fluidState = level.getFluidState(blockPos);
        if (!fluidState.isEmpty())
        {
            Fluid fluidType = fluidState.getType();
            level.scheduleTick(blockPos, fluidType, fluidType.getTickDelay(level));
        }
    }
}

2
Run the maven command clean build.
See the output remapped code is this working and correct code.
import net.minecraft.core.BlockPosition;
import net.minecraft.server.level.WorldServer;
import net.minecraft.world.level.IWorldReader;
import net.minecraft.world.level.material.Fluid;
import net.minecraft.world.level.material.FluidType;
import org.bukkit.block.Block;
import org.bukkit.craftbukkit.v1_19_R3.CraftWorld;

public class Test1 {
  public void test(Block block) {
    WorldServer level = ((CraftWorld)block.getWorld()).getHandle();
    BlockPosition blockPos = new BlockPosition(block.getX(), block.getY(), block.getZ());
    Fluid fluidState = level.b_(blockPos);
    if (!fluidState.c()) {
      FluidType fluidType = fluidState.a();
      level.a(blockPos, fluidType, fluidType.a((IWorldReader)level));
    }
  }
}

3
Run the maven command build instead of clean build
See the remapper mistakenly remapping FluidState to FluidType.
import net.minecraft.core.BlockPosition;
import net.minecraft.server.level.WorldServer;
import net.minecraft.world.level.IWorldReader;
import net.minecraft.world.level.material.FluidType;
import org.bukkit.block.Block;
import org.bukkit.craftbukkit.v1_19_R3.CraftWorld;

public class Test1 {
  public void test(Block block) {
    WorldServer level = ((CraftWorld)block.getWorld()).getHandle();
    BlockPosition blockPos = new BlockPosition(block.getX(), block.getY(), block.getZ());
    FluidType fluidState = level.b_(blockPos);
    if (!fluidState.c()) {
      FluidType fluidType = fluidState.a();
      level.a(blockPos, fluidType, fluidType.a((IWorldReader)level));
    }
  }
}

4
Now add some random code to the class which SHOULD make maven remove the cached class from the target dir, to regenerate it (which seems not to happen)
import net.minecraft.core.BlockPos;
import net.minecraft.server.level.ServerLevel;
import net.minecraft.world.level.material.Fluid;
import net.minecraft.world.level.material.FluidState;
import org.bukkit.block.Block;
import org.bukkit.craftbukkit.v1_19_R3.CraftWorld;

public class Test1
{
    public void test(Block block)
    {
        ServerLevel level = ((CraftWorld) block.getWorld()).getHandle();
        BlockPos blockPos = new BlockPos(block.getX(), block.getY(), block.getZ());
        FluidState fluidState = level.getFluidState(blockPos);
        if (!fluidState.isEmpty())
        {
            Fluid fluidType = fluidState.getType();
            level.scheduleTick(blockPos, fluidType, fluidType.getTickDelay(level));
            int test = 0;
            if(test == 0)
            {
                System.out.println("test");
            }
        }
    }
}

And see again how the Fluid class is mistakenly renamed.

import net.minecraft.core.BlockPosition;
import net.minecraft.server.level.WorldServer;
import net.minecraft.world.level.IWorldReader;
import net.minecraft.world.level.material.Fluid;
import net.minecraft.world.level.material.FluidType;
import org.bukkit.block.Block;
import org.bukkit.craftbukkit.v1_19_R3.CraftWorld;

public class Test1 {
  public void test(Block block) {
    WorldServer level = ((CraftWorld)block.getWorld()).getHandle();
    BlockPosition blockPos = new BlockPosition(block.getX(), block.getY(), block.getZ());
    Fluid fluidState = level.b_(blockPos);
    if (!fluidState.c()) {
      FluidType fluidType = fluidState.a();
      level.a(blockPos, fluidType, fluidType.a((IWorldReader)level));
      int test = 0;
      if (test == 0)
        System.out.println("test");
    }
  }
}

This happens because the maven plugin is remapping the code a second time and remaps Fluid by mistake because of the remapping map:
c	net/minecraft/world/level/material/FluidState	net/minecraft/world/level/material/Fluid

c	net/minecraft/world/level/material/Fluid	net/minecraft/world/level/material/FluidType

Temporary solution 1
My solution is to basically run clean build to avoid this from happening but it makes my build time longer.
Temporary solution 2
Separate your plugin into modules and add this plugin into the maven module containing the NMS code.
It will force clean up the previous built code even if you run the package command without the clean argument.
 <plugin>
   <artifactId>maven-clean-plugin</artifactId>
   <version>3.2.0</version>
   <executions>
       <execution>
           <id>auto-clean</id>
           <phase>initialize</phase>
           <goals>
               <goal>clean</goal>
           </goals>
       </execution>
   </executions>
</plugin>

Possible solution
Somehow implement a way to know if a file was already remapped, delete it from the maven build cache folder and compile then remap it again.
Final notes
I'd like to know if you think there is a solution for this.
Thanks a lot for your hard work.

Bonus
You can use an alternative cache plugin to make the build faster even after using one of the 2 workarounds I provided: https://github.com/apache/maven-build-cache-extension
This plugin works fine with the paper-nms-maven-plugin.
I tested it with my project which used to take 35 seconds to build, now it takes 4 seconds.
Build time increases only if a module is changed since it compiles only the changed module.
Note: this works only if you have correctly structured your project to be a multi module project. It surely won't do any difference if you have a single module project.

@LoneDev6 Hello! I have pushed a fix for this as version 1.4-SNAPSHOT, so give that a try if you can. It appears to fix the issue in the simple reproduction examples you provided in the PR description. I'll make some other changes tomorrow and release it as version 1.4.

Do you have Discord? I want to make a donation for your efforts

That's very kind of you, thanks for your support, but you really don't need to! I'm alvinn8 on discord.


Add Grafana Labs to ADOPTERS.md

Grafana Labs is using ESO :heart:

Hi @Duologic !! Thanks a lot for your contribution 🥳


I ran into problems developing the L515

Required Info

Camera Model
{ L500 }

Firmware Version
(Open RealSense Viewer --> Click info)

Operating System & Version
{Win (8.1/10)

Kernel Version (Linux Only)
(e.g. 4.14.13)

Platform
PC/Raspberry Pi/ NVIDIA Jetson / etc..

SDK Version
{ legacy / 2.. }

Language
{C/C#/labview/nodejs/opencv/pcl/python/unity }

Segment
{Robot/Smartphone/VR/AR/others }

Issue Description
I added the library files and header files needed for realsense development to the project I created, but the following error occurred and I can't fix it.

].

Hi @0DWADE0  It looks like LNK2001 errors with the GLFW3 graphics components.  Following the advice at https://github.com/IntelRealSense/librealsense/issues/3304#issuecomment-466197624 may therefore help to resolve the issue.

Hi@MartyG-RealSense I have read your suggestion, but I still can't solve my problem. I have added the additional dependencies and library directory. I downloaded glfw-3.3.8.bin.WIN32 from the official website.

If you are using Visual Studio then instead of adding the linkages manually, it may be easier to add them using three .props property sheet files provided by the RealSense SDK.  Instructions for using the .props files can be found at the link below.
https://support.intelrealsense.com/hc/en-us/community/posts/4412175411859/comments/4412182682387

Case closed due to no further comments received.

Hi @MartyG-RealSense I solved the last problem, but I have a new one

Similarly, I also added opencv library, but this problem still occurs

Another L515 user at https://github.com/IntelRealSense/librealsense/issues/7081#issuecomment-673676785 had this issue with debug_build_guard.


Add Mongo.find_one function

This is a biggie.  We're currently having to perform a specification around find and then attempt to pull and validate a single record returned.  Clearly not as efficient as a direct find_one.
  def find_one_record(filter, opts) do
    try do
      cursor = Mongo.find(get_pool(opts), opts[:collection], filter, clean_opts(opts))
      records = Enum.to_list(cursor)
      record = records |> List.first
      cond do
        is_nil(record)            -> {:error, :notfound}
        Enum.count(records) == 1  -> {:ok, record} |> handle_result(opts)
        true                      -> {:error, :incorrect}
      end
    rescue
      e in Mongo.Error -> handle_exception(e, opts)
    end
  end

You can pass a limit: 1 option to find, to make sure you get at most one result. That's what I do in the ecto adapter currently.

That will speed up our routine in the interim, thanks, but we should support it natively if we can.

Was this never added? Using limit: 1 each time is a bit of a pain.

@elie222 A PR would be appreciated.

@ericmj I believe this can now be closed.


Child/parent code lenses and label parent in dependsOn completions

Depends on https://github.com/microsoft/vscode-azurearmtools/pull/959
Fixes #943

@bhsubra Could you approve this one today?  thanks.


Testing builds on OSX with Travis-CI

Overview
Added OSX tests to the .travis.yml file.
see https://jira.bf.local/browse/ECR-2367
Definition of Done

[x] There are no TODOs left in the code
[ ] The continuous integration build passes

In the light that I couldn't find a single file in the repo that checks $ROCKSDB_BUILD variable value, may I ask you to point to the script that actually build rocksdb and snappy libraries?
Thanks in advance.

This variable was added to the travis build file in ba9c8ef50a1ca2ad296ea6511863e5be9e75f206 after its processing was added in https://github.com/exonum/exonum_rocksdb/pull/8


chore: allow php-cs-fixer major version 3

Add the ability to use php-cs-fixer major version 3.
Add .php-cs-fixer.dist.php (the settings of php-cs-fixer for major version 3) and put the nullable_type_declaration check into it. This is the main reason for the PR - it makes sure that any of these that will emit deprecation messages in PHP 8.4, are found in CI.
Run cs-fixer on PHP 8.4.
Leave the old cs-fixer still running on PHP 7.1.
And run cs-fixer on every PHP version, to be sure. In CI, composer will choose whether to use major version 2 or 3 of php-cs-fixer.
The newer cs-fixer v3 makes various nice fixes that do not break on PHP 7.1.
The old cs-fixer v2 is happy with the changes, it does not try to change them back - that is nice.
This is only needed for this old release series that still has PHP 7.1 support. We can run both cs-fixer and phpstan (and phpunit) on PHP 7.1 through 8.4. I think that helps give confidence that the code works across that range of PHP versions.
Note: when I forward-port all this stuff to later major releases, I won't need to do all this tweaking because we move to supporting only PHP 7.4 and up.
Similar to:
https://github.com/sabre-io/xml/pull/290
https://github.com/sabre-io/http/pull/243
https://github.com/sabre-io/uri/pull/117
Note: for php-cs-fixer v3 I also had to set:
'blank_line_between_import_groups' => false

Because v2 does it like that, and I couldn't find a way to force v2 to put a blank line between each group of "use" statements.
And define ordered_imports for php-cs-fixer v2, so that it works the way that v3 works.
That is fine for this 5.1 branch - in the later major release branches I won't need to fine-tune "odd" php-cs-fixer rules.
The "odd" rules were only relevant to examples/promise.php - that has ordinary use statements and a use function statement. So there was no "real" run-time code that was impacted.

Part of issue #123


[Advice Wanted] MediaItem transition to Modal

Hello!
I'm looking for ways to incorporate a nice, non-standard transition from an image media message to a modal that contains that image (with some other details)-- I realize this is not part of the core offerings of this library but would love any pointers people may have and felt any findings would be helpful to other users.
Side note: this library is awesome!
Thanks,
Liam

thanks @Liampronan !
there are delegate callbacks to get notified of taps on message bubbles, you can use this to begin the transition.
from there, it's probably best to check other resources online for how to do custom view controller transitions.


Objects: Double-check BREP conversions in Revit/Rhino

Some pretty basic Breps are failing to come in, It seems to be related with Arc conversions, so we may need to keep tabs on the arc domain direction to determine flipping of the curve.
All failed breps report that Curve edges do not meet at its enpoints. See picture, both of these should be going through perfectly but are not.

Looked into this yesterday morning. Seems like "topologically similar" Breps cause trouble. Receiving both individually works fine, but grabbing them at the same time causes one (or both) to become meshes.
Will write up a Notion doc to share with the ADN peeps.

More on this.... I deactivated the Deserialisation cache, making every object a new instance (instead of recycling them) and the problem seemed to (in it's majority) disappear 🙈
So, it is definitely a Speckle related issue, not a BrepBuilder one. Sadly we cannot blame Autodesk on this one 😅
I'll look into this with @JR-Morgan today, hopefully we'll be able to find a proper quick fix for it.

Related to https://github.com/specklesystems/speckle-sharp/issues/1305


Revert Disable detekt and force choose snakeyml 1.32

Signed-off-by: Siddhant Deshmukh<EMAIL_ADDRESS>Issue #493
Description of changes:
CheckList:

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #528 (6964f3e) into main (fadc553) will decrease coverage by 0.13%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##               main     #528      +/-   ##
============================================
- Coverage     75.85%   75.72%   -0.14%
+ Complexity     2482     2477       -5
============================================
  Files           315      315
  Lines         14511    14511
  Branches       2245     2245
============================================
- Hits          11008    10989      -19
- Misses         2247     2270      +23
+ Partials       1256     1252       -4

Impacted Files
Coverage Δ

...nt/indexstatemanagement/model/destination/Chime.kt
55.55% <0.00%> (-22.23%)
:arrow_down:

...ensearch/indexmanagement/util/JobSchedulerUtils.kt
73.91% <0.00%> (-8.70%)
:arrow_down:

...gement/transform/model/ContinuousTransformStats.kt
70.37% <0.00%> (-3.71%)
:arrow_down:

...xmanagement/indexstatemanagement/util/StepUtils.kt
85.39% <0.00%> (-2.25%)
:arrow_down:

.../action/explain/TransportExplainTransformAction.kt
70.78% <0.00%> (-2.25%)
:arrow_down:

...ent/indexstatemanagement/util/ManagedIndexUtils.kt
76.10% <0.00%> (-1.77%)
:arrow_down:

...gement/indexstatemanagement/action/ShrinkAction.kt
69.11% <0.00%> (-1.48%)
:arrow_down:

.../rollup/action/start/TransportStartRollupAction.kt
71.76% <0.00%> (-1.18%)
:arrow_down:

...nt/rollup/action/stop/TransportStopRollupAction.kt
76.47% <0.00%> (-1.18%)
:arrow_down:

...nt/indexstatemanagement/ManagedIndexCoordinator.kt
68.71% <0.00%> (-0.59%)
:arrow_down:

... and 3 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Bio update

Added a rmd file with Bio and  required packages to read and render rmd files.

Thanks Aseem! love the idea of the separate Rmd files :D


Flexibility in FastAPI versioning

Hello @sijokun  ! I like your solution for JWT Token Authentication. I just wanted to ask if it is possible to make this library a bit flexible in versions of dependencies, such as FastAPI. It's quite complicated to install some dependencies due to it's versioning (e.g. poetry package manager is kinda annoying and it does not allow me to install the library).
Considering to make it flexible in a way that will allow to install on older versions of FastAPI, for example from 0.109.0.
Thank you and I hope it wouldn't make any problems.

Sounds really good! You can make a PR and I will merge it.

I made a PR :+1:

I've made a PR

Merged! v0.6.5 will be published in a few minutes. Thank you!

I've made a PR

Merged! v0.6.5 will be published in a few minutes. Thank you!

I also thank you!


feat: positivity extension for posPart, negPart

[x] depends on: #10256

maintainer merge

bors merge


SpeedUp grinder, add lru_cache

✏ Description ✏

blazingly fast??? added lru_cache, a little optimized other
🐛 Fixes # (issue)
📍 Type of change 📍

[ ] 🐛 Bug fix (non-breaking change which fixes an issue) 🐛
[ ] 🚀 New feature (non-breaking change which adds functionality) 🚀
[ ] ⚡ Breaking change (fix or feature that would cause existing functionality not to work as expected) ⚡
[ ] 📝 This change requires a documentation update 📝

⚪ Checklist ⚪

[ ] 📝 Your code has documentation 📝
[ ] 🔧 Your code has tests 🔧
[ ] 🪄 Your code has example usage in /examples 🪄

hilo thx for u PR!