allow switching between hub and local (bug 1116877-two)

[1116877-two] marketplace-env $ mkt root
/Users/andy/sandboxes
[1116877-two] marketplace-env $ mkt root ~/sandboxes/
Saving root to /Users/andy/.wharfie
[1116877-two] marketplace-env $ mkt root ~/sandboxes/ --use-hub
Saving root to /Users/andy/.wharfie
Saving build to /Users/andy/.wharfie
[1116877-two] marketplace-env $ grep "^elasticsearch:" ~/.mkt.fig.yml -A 1
elasticsearch:
  image: mozillamarketplace/elasticsearch
[1116877-two] marketplace-env $ mkt root ~/sandboxes/ --build-locally
Saving root to /Users/andy/.wharfie
Saving build to /Users/andy/.wharfie
Written fig file to /Users/andy/.mkt.fig.yml
[1116877-two] marketplace-env $ grep "^elasticsearch:" ~/.mkt.fig.yml -A 1
elasticsearch:
  build: /Users/andy/sandboxes/marketplace-env/mkt/data/images/elasticsearch

r? @muffinresearch

Could build locally be the default (for now) so you don't need any specific args?
It would I'm thinking there should be one option e.g. --buildfrom (or similar) which you pass either 'hub' or 'local' to.
That way if hub becomes the preferred approach later on we can easily just switch the default.

Build locally is the default, do nothing and it stays the same, building locally: https://github.com/mozilla/marketplace-env/pull/72/files#diff-3c8374e31c0f75a49a3d8b81a07b7341R184. I can flip from two commands to one sure.

OK cool - sounds good to me. r+wc


how can we use the below function to read message from multiple partition? as partition is a int field which accept only one value func (c *consumer) ConsumePartition(topic string, partition int32, offset int64) (PartitionConsumer, error)

Versions
Please specify real version numbers or git SHAs, not just "Latest" since that changes fairly regularly.

Sarama
Kafka
Go

Configuration
What configuration values are you using for Sarama and Kafka?

Logs
When filing an issue please provide logs from Sarama and Kafka if at all
possible. You can set sarama.Logger to a log.Logger to capture Sarama debug
output.
logs: CLICK ME

Problem Description

@eapache @mchmarny how can we use the below function to read message from multiple partition?
as partition is a int filed which accept only one value
func (c *consumer) ConsumePartition(topic string, partition int32, offset int64) (PartitionConsumer, error)

@kwl2211 you'll need to create multiple consumers, one per partition?
if you're planning to consume all the partitions in a topic, you should consider using consumer groups


Update CHECKSUMS

Issue #, if available:
#1132
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/hold


TERRAFORM_VERSION = 0.13.5

@igorkotof Is there Anything else blocking us from closing this?

@igorkotof Is there Anything else blocking us from closing this?

@AutomationD I'm afraid that not all our customers are ready for TF 0.13.5. I can merge this one if you confirm that they have locked ICMK version and also will be good to lock TF version in Makefile for such customers.

@igorkotof I would say it's time to merge it.


Add method - convert BigInteger address to string

Used for the upcoming cgk-chains change: confirmOrder action

just a question, but is this project the best one to put this utility class in ? have the impression it would be more appropriate to get in the platform (and decouple those 2 libs)

That's true. Most of the methods are meant as data processing helpers, and tether has its own internal implementation for what it needs. I will move them to the Platform library


Daily Event

Context
It should be possible to specify a daily event without a specific time-intervall.

[x] Migrate old pollEvents to new allDay format
[ ] Adjust calendar to support allDay format
[ ] Adjust Autofill tool
[ ] Adjust Event View to allDay format

Daily event column is only visible, when a daily event exists... I'm currently searching for a solution to always make it visible.

The current progress is located in this branch. Feel free to adjust it or make your own solution.


⚠ PrivateHD has degraded performance

In cc50aad, PrivateHD ($PHD) experienced degraded performance:

HTTP code: 200
Response time: 5551 ms

Resolved: PrivateHD performance has improved in d541d87.


MD053 / Horizontal Rule style complains when horizontal rule in blockquotes

I'd like to use a horizontal rule inside of blockquotes to help with separation without having to resort to needing to place some text between two separate blockquotes (as suggested in MD028).
L1  > Some text.
L2  >
L3  > ---
L4  > Some more text.

Problem is, line 3 complains about consistency due to a plain --- already existing outside of the block quote.
I've tried:
"markdownlint.config": {
    "hr-style": {
        "style": "> ---"
    }
}

But this of course only makes the plain --- to be the one to complain.
Is there some way to specify multiple valid style values? Or maybe the MD rule can be improved to account for this use case (I don't know its implications for all the markdown interpreters)? The "consistent" value should mean the use of the same style of horizontal rule, --- vs ***, rather than if it's inside a blockquote or not, right?
I'm not sure if it's expected, but, if line 2 isn't included as a spacer, line 1 complains with:
MD003/heading-style/header-style: Heading style [Expected: atx; Actual: setext]

and
MD022/blanks-around-headings/blanks-around-headers: Headings should be surrounded by blank lines`.

Is > a type of header, or is this a bug? I can live with inserting a blank line, but I thought I'd mention this just in case.
Thanks.
markdownlint v0.44.0

The block quoted HR should not be reported as a consistency violation. Here's a reproduction: https://dlaa.me/markdownlint/#%25m%23 Issue 430

---

> Text
>
> ---
> Text

The messages when blank line L2 are not present are correct; that syntax is interpreted as a setext heading (note bold L1 text): https://dlaa.me/markdownlint/#%25m%23 Issue 430

> Text
> ---
> Text

Hello @DavidAnson, thanks for the fix.
I was wondering if this will be applied to vscode-markdownlint as well? At the time of posting, I wasn't aware that there was also a vscode repo.

Yes. Next update will be to markdownlint-cli2, then the  VS Code extension.

Great news! And by the looks of it, you're closing in on being able to fix the presence of parentheses in paths issue. Looking forward to being able to make use of this extension again (most my *.md files reside within such a path).


test: add test cases about toCriContainer

Signed-off-by: Starnop<EMAIL_ADDRESS>
Ⅰ. Describe what this PR did
Ⅱ. Does this pull request fix one issue?

fixes part of #1756
Ⅲ. Describe how you did it
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

Codecov Report

Merging #2039 into master will decrease coverage by 4.85%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #2039      +/-   ##
==========================================
- Coverage   63.83%   58.97%   -4.86%
==========================================
  Files         200      200
  Lines       15531    15531
==========================================
- Hits         9914     9160     -754
- Misses       4387     5075     +688
- Partials     1230     1296      +66

Flag
Coverage Δ

#criv1alpha1test
33.76% <ø> (-0.06%)
:arrow_down:

#criv1alpha2test
34.25% <ø> (ø)
:arrow_up:

#integrationtest
38.46% <ø> (-0.03%)
:arrow_down:

#unittest
23.25% <ø> (+1.24%)
:arrow_up:

Impacted Files
Coverage Δ

pkg/multierror/def.go
15.38% <0%> (-84.62%)
:arrow_down:

daemon/logger/loggerutils/tag.go
0% <0%> (-81.82%)
:arrow_down:

pkg/utils/utils.go
25.64% <0%> (-64.53%)
:arrow_down:

pkg/bytefmt/bytefmt.go
28.81% <0%> (-64.41%)
:arrow_down:

ctrd/image_proxy_util.go
7.81% <0%> (-59.38%)
:arrow_down:

daemon/mgr/container_envs.go
11.76% <0%> (-54.91%)
:arrow_down:

daemon/logger/info.go
0% <0%> (-53.66%)
:arrow_down:

daemon/logger/syslog/validate.go
0% <0%> (-52.64%)
:arrow_down:

pkg/utils/templates/templates.go
0% <0%> (-50%)
:arrow_down:

pkg/utils/filters/filter.go
22.5% <0%> (-50%)
:arrow_down:

... and 29 more

LGTM


[RFR] Fix/drug listing without numbers

@Koded should I make this work on IE? It is probably failing at the Object.keys function....

Hi @enginehouse - don't worry about IE at the moment.

(the PR has got a few linting issues)

Beg pardon - linted, but we are mid testing so perhaps hold off for now


⚠ Bofrost.lu has degraded performance

In 222148a, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1157 ms

Resolved: Bofrost.lu performance has improved in b7bde00 after 13 minutes.


Application for Substrate Move System Pallet, pt. 1

Project Abstract
This application is a response to Move Smart Contract Pallet RFP.
We want to provide a Substrate system pallet that allows to deploy and interact with Smart Contracts written in the Move language, by providing a Move Virtual Machine (MoveVM) as a pallet. This is the first part of a 3 steps development plan.
This pull request is a resubmission consequent to the discussion which took place in a previous pull request.
Grant level

[ ] Level 1:  Up to $10,000, 2 approvals
[ ] Level 2:  Up to $30,000, 3 approvals
[x] Level 3:  Unlimited, 5 approvals (for >$100k: Web3 Foundation Council approval)

Application Checklist

[x] The application template has been copied and aptly renamed (project_name.md).
[x] I have read the application guidelines.
[x] Payment details have been provided (bank details via email or BTC, Ethereum (USDC/DAI) or Polkadot/Kusama (USDT) address in the application).
[x] The software delivered for this grant will be released under an open-source license specified in the application.
[x] The initial PR contains only one commit (squash and force-push if needed).
[x] The grant will only be announced once the first milestone has been accepted (see the announcement guidelines).
[ ] I prefer the discussion of this application to take place in a private Element/Matrix channel. My username is: @_______:matrix.org (change the homeserver if you use a different one)

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Also, a reminder to sign the terms and conditions (see CLAassistant above).

I have signed the CLA on behalf of Eiger.

Btw. some of the formattings still seems to be off. I recommend for example removing aside and fixing the formatting of the milestone table, see below:

Fixed :)


CASMTRIAGE-6344 Example to create configuration with ncn-initrd yml

Description

Checklist

[x] If I added any command snippets, the steps they belong to follow the prompt conventions (see example).
[ ] If I added a new directory, I also updated .github/CODEOWNERS with the corresponding team in Cray-HPE.
[x] My commits or Pull-Request Title contain my JIRA information, or I do not have a JIRA.

/backport release/1.6


Build problem on legacy-closure-lib

Hi,
I'm having problem trying to make work the legacy-closure-lib example, I got the error:
ERROR in multi app
Module not found: Error: Cannot resolve module 'closure' in /tmp/closure-loader/examples/legacy-closure-lib
 @ multi app

when running the webpack build.
here are the steps i've done to produce the bug:

git clone git@github.com:eXaminator/closure-loader.git
cd closure-loader/
npm install
cd examples/legacy-closure-lib/
npm install
npm start

npm version: 3.7.5

The problem should be fixed. I missed this example when updating the webpack configs a while ago. The examples use a relative path to the closure loader. I fixed this example now and it should work as expected.


Fix node icons appearing too big in some cases

If you assign custom node icon, some editor elements will not resize it correctly. This PR fixes a few of them:

NodePath edit

2D editor node hover list

2D editor list selection

Also fixes listed node names getting translated.

Thanks!


chore: turn back on Fabric Tests

Related Issues/PRs

#xxx
What changes are proposed in this pull request?
Briefly describe the changes included in this Pull Request.
How is this patch tested?

[ ] I have written tests (not required for typo or doc fix) and confirmed the proposed feature/bug-fix/change works.

Does this PR change any dependencies?

[ ] No. You can skip this section.
[ ] Yes. Make sure the dependencies are resolved correctly, and list changes here.

Does this PR add a new feature? If so, have you added samples on website?

[ ] No. You can skip this section.
[ ] Yes. Make sure you have added samples following below steps.

Find the corresponding markdown file for your new feature in website/docs/documentation folder.
Make sure you choose the correct class estimators/transformers and namespace.
Follow the pattern in markdown file and add another section for your new API, including pyspark, scala (and .NET potentially) samples.
Make sure the DocTable points to correct API link.
Navigate to website folder, and run yarn run start to make sure the website renders correctly.
Don't forget to add <!--pytest-codeblocks:cont--> before each python code blocks to enable auto-tests for python samples.
Make sure the WebsiteSamplesTests job pass in the pipeline.

/azp run

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

Project coverage is 7.40%. Comparing base (605faa4) to head (141667f).

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #2202       +/-   ##
==========================================
- Coverage   84.07%   7.40%   -76.67%
==========================================
  Files         329     329
  Lines       17089   17089
  Branches     1523    1523
==========================================
- Hits        14367    1266    -13101
- Misses       2722   15823    +13101

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

/azp run


Use lowercase DateTime.monday etc. constants

see https://github.com/dnfield/dart_calendar/issues/3

FYI - I've done some more cleanup and published a new version (0.2.0) to pub with this change.  Cleanup should be up in GitHub shortly (harder for me to access from where I am right now).

Thanks for the contribution!


Add rounded corners to code suggestion

I'd like the code suggestion small popup to have rounded corners to give it a more modern and minimalist feel/look.

:slightly_frowning_face: In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.
Happy Coding!


Normalising LGBMRanker Scores

LGBMRanker (trained with objective function lambdarank and metric ndcg) returns unbounded scores. Is there a way to normalise these scores (e.g. between 0 and 1) so that they are comparable across queries? Thanks.

you can use sigmoid, as used in training. However, as the training objective only considers the docs in the same query. I think the score across queries still cannot be comparable.


Set up relationship between a view and table

We have a setup where we have a table that retrieves certain information from a view that is set up in a different schema in Oracle. That information is read only but the table entity has a many to one relationship to that view.
For example, the table is CAP_ZONE. Each CAP_ZONE must belong to one and only one VALID_RTO (the view). But each VALID_RTO record can be assigned to zero or more CAP_ZONE records.
CAP_ZONE table
cap_zone_id NUMBER(10)
cap_name VARCHAR2(25)
rto_id NUMBER(10)     <--- "FK" back to the VALID_RTO table
VALID_RTO view
rto_id NUMBER(10)
rto_name VARCHAR2(10)
rto_descroption VARCHAR2(25)
How would I set up my classes and the DbContext so that:

In CAP_ZONE, it references the one VALID_RTO record to get things such as the RTO Name, Description, etc.
In the VALID_RTO class, it can pull back all CAP_ZONE records that are tied to that specific VALID_RTO record.

VALID_RTO -------o< CAP_ZONE

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

ID: 24b2b50e-35f8-9e0b-8ce5-840e1ea816e6
Version Independent ID: 9e0e6e2c-48fa-76c3-3bd9-813a6df22645
Content: Relationships - EF Core
Content Source: entity-framework/core/modeling/relationships.md
Product: entity-framework
Technology: entity-framework-core
GitHub Login: @AndriySvyryd
Microsoft Alias: avickers

@iBolski You should be able to map and entity type to CAP_ZONE and an entity type to VALID_RTO and setup the relationship between them in the normal way. If this isn't working, then please attach a small, runnable project or post a small, runnable code listing that reproduces what you are seeing so that we can investigate.

EF Team Triage: Closing this issue as the requested additional details have not been provided and we have been unable to reproduce it.
BTW this is a canned response and may have info or details that do not directly apply to this particular issue. While we'd like to spend the time to uniquely address every incoming issue, we get a lot traffic on the EF projects and that is not practical. To ensure we maximize the time we have to work on fixing bugs, implementing new features, etc. we use canned responses for common triage decisions.


use radius server for auth

How can use radius server for authentication?

Currently no support plan

how can add multiple user?

Only supports single-user authentication now.


Add v2.0-rc1 release notes

This change is

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/5f896975e48b122c4121f292c220c963aa9aad8e/

Hey Jesse, we had to slip another PR into 2.0rc1: #24308. I guess you'll have to run your script again. Sorry about that.

Thanks for the heads up, @vilterp. No need to rerun the script. The commit in that PR has Release notes: None.

Oh ok, sounds good. Yeah, all it does is fix a typo on the cluster overview screen, in text that was introduced a couple commits earlier.

https://github.com/cockroachdb/cockroach/pull/24393 has been added to rc1. This fixes an issue in which permissions may be set incorrectly after upgrading from an older release.

Added. Thanks, @bdarnell.

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/63f9dd37387a90de5afdae2efb11accc142d0b68/

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/7c696c5271453130de18c6b3d99c8cfde1f56e05/

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/6bae40ba678bf87bb32869ac1423647822592e61/


Create integration tests for v1 payload for user info

Goal

Testing

Release Notes

WHAT:
WHY:
WHO:

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#705  👈
#704
master

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

Join @bidetofevil and the rest of your teammates on  Graphite


Added Carthage support.

Added separate shared target for building framework to provide Carthage support.

I tried to fix CircleCI but it looks like something is wrong in CircleCI settings. Could you please look through them when you have a chance? This topic might probably help you https://discuss.circleci.com/t/can-circle-ci-run-ui-tests-with-xcode-7/916/4.

Wow. Thanks, I'll check this soon.

@ArtFeel Any updates on this?

@Iyuna I've merged @DenHeadless PR with Carthage support, you can try it.
As for Circle CI, I don't think it is needed because this project doesn't have any tests)

@ArtFeel Great! Thank you!


Access the file upload features of openAI API

I'm not sure this is in scope for this library, but do you plan to make it possible to upload files to the api as part of a chat completion call?
see https://platform.openai.com/docs/api-reference/files/create
Would be cool if you could upload images and pdfs for use in chat call using llm rather than swapping back and forth to the openai package. I can imagine this will be a feature of many APIs and local models in the future, so perhaps worth wrapping the concept of submitting a file as input?

The pricing model is based on the length of time the file remains active on OpenAI's servers, isn't that right? If that's the case, ought we to upload the file for each specific request and then remove it after use? While it appears that the ChatGPT website might automatically expire files after a certain period, it seems we don't have the option to set expiration times ourselves through the API.


*: upgrade to Go 1.10

Pushed Go 1.10 test image to https://console.cloud.google.com/gcr/images/etcd-development/GLOBAL/etcd-test.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@b03fd4c). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master    #9334   +/-   ##
=========================================
  Coverage          ?   72.65%
=========================================
  Files             ?      361
  Lines             ?    30589
  Branches          ?        0
=========================================
  Hits              ?    22225
  Misses            ?     6744
  Partials          ?     1620

Continue to review full report at Codecov.

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

lgtm


Ensure release-branch deploys are production quality with noindex

Closes #36333
Changes in this PR improve site performance and UX for release-branch subdomain sites by doing the following: it ensures that release-branch deploys are built in a production environment just like the main site deploy, which ensures that, e.g.:

Asset files are fingerprinted -- avoiding caching issues for site users when assets change (improving UX)
Site files are minified -- improving site access performance

Simplifies Makefile targets: there is now a production-build, every other build target is a (true) non-production build.
This PR preserves the behavior that only the main site deploy is indexable. Release-branch deploys remain non-indexable (noindex, nofollow). The criteria used here for choosing to allow indexing of a production site or not is based on the site config value of params.deprecated, which is true for the main site and false otherwise. Non-production sites remain non-indexable.

/cc @nate-double-u
/cc @sftim

In the PR description, could you also explain why this change is worthwhile @chalin?
(I think I can guess, but maybe other people might not work it out)

@sftim - I've updated the opening comment PTAL and let me know what you think.

In the PR description, could you also explain why this change is worthwhile @chalin?

@sftim - done. Anything else? (FYI, I just rebased.) /cc @nate-double-u

@chalin, did you open an issue to propose these changes? It could be useful to do that; it depends whether or not you feel this change is an important one to make.

... It could be useful to do that; it depends whether or not you feel this change is an important one to make.

Hi @sftim: yes, let's continue the discussion over in https://github.com/kubernetes/website/issues/36333#issuecomment-1294012582.

@chalin ,
I'll close this PR as there has been no change for some time. If you want to continue to work on the changes, feel free to reopen   the pull request.
/close


Windows antivirus reports malicius impellerc.exe and blocks dart.exe

After updating flutter beta from 3.8.0 -> 3.9.0 I got following error message and windows anitivirus kicked off when rebuilding my flutter windows app.:
Finished with error: Flutter failed to run "C:\Flutter\flutter\bin\cache\artifacts\engine\windows-x64\impellerc.exe --sksl --iplr --json --sl=build\flutter_assets\shaders/ink_sparkle.frag --spirv=build\flutter_assets\shaders/ink_sparkle.frag.spirv --input=C:\Flutter\flutter\packages\flutter\lib\src\material\shaders\ink_sparkle.frag --input-type=frag --include=C:\Flutter\flutter\packages\flutter\lib\src\material\shaders --include=C:\Flutter\flutter\bin\cache\artifacts\engine\windows-x64\shader_lib". The flutter tool cannot access the file or directory.
Please ensure that the SDK and/or project is installed in a location that has read/write permissions for the current user.
[   +3 ms]
           #0      throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
           #1      RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:642:9)
           <asynchronous suspension>
           #2      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1301:27)
           <asynchronous suspension>
           #3      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #4      CommandRunner.runCommand (package:args/command_runner.dart:212:13)
           <asynchronous suspension>
           #5      FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:288:9)
           <asynchronous suspension>
           #6      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #7      FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:236:5)
           <asynchronous suspension>
           #8      run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:64:9)
           <asynchronous suspension>
           #9      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #10     main (package:flutter_tools/executable.dart:91:3)
           <asynchronous suspension>

and my antivurys kicked off with following information (in norwegian though...):

Google translated to:
App or process blocked: dart.exe

Blocked by: Reduction of attack surface
Rule: Block executables from running unless they meet occurrence, age, or trusted list criteria

Blocked items: C:\Flutter\flutter\bin\cache\artifacts\engine\windows-x64\impellerc.exe

I am in an managed network, and have few tools to overrun this situation.
Why is impellerc.exe in the malicius list anyway, can it be granted or remedied ?

Flutter doctor:
PS C:\FlutterProjects\mOffice> flutter doctor -v
[√] Flutter (Channel beta, 3.9.0-1.0.pre.2, on Microsoft Windows [Version 10.0.22621.1413], locale nb-NO)
    • Flutter version 3.9.0-1.0.pre.2 on channel beta at c:\Flutter\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision f732038a8c (12 hours ago), 2023-03-15 16:37:48 -0700
    • Engine revision dec409804a
    • Dart version 3.0.0 (build 3.0.0-290.1.beta)
    • DevTools version 2.22.2

[√] Windows Version (Installed version of Windows is version 10 or higher)

[√] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
    • Android SDK at C:\Users\RoarGronmo\AppData\Local\Android\sdk
    • Platform android-UpsideDownCake, build-tools 33.0.2
    • Java binary at: C:\Program Files\Android Studio\Android Studio 2<IP_ADDRESS>\jbr\bin\java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-b2043.56-9586694)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.11.3)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
    • Visual Studio Community 2019 version 16.11.31702.278
    • Windows 10 SDK version 10.0.19041.0

[√] Android Studio (version 2021.2)
    • Android Studio at C:\Program Files\Android Studio\Android Studio 2<IP_ADDRESS>
    • 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 11.0.12+7-b1504.28-7817840)

[√] Android Studio (version 2021.3)
    • Android Studio at C:\Program Files\Android Studio\Android Studio 2<IP_ADDRESS>
    • 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 11.0.13+0-b1751.21-8125866)

[√] Android Studio (version 2022.1)
    • Android Studio at C:\Program Files\Android Studio\Android Studio 2<IP_ADDRESS>
    • 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 11.0.15+0-b2043.56-9505619)

[√] Android Studio (version 2022.1)
    • Android Studio at C:\Program Files\Android Studio\Android Studio 2<IP_ADDRESS>
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • 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-b2043.56-9586694)

[√] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.22621.1413]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 111.0.5563.65
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 110.0.1587.63

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

• No issues found!
PS C:\FlutterProjects\mOffice>

@RoarGronmo
Thanks for the report. I think you are hitting https://github.com/flutter/flutter/issues/46696 so please follow-up in it for further updates. You may also share your findings in it for better tracking.
Closing this as a duplicate. If you disagree, write in comments and I'll reopen it.


fix: broken request error handling

One of my more recent PRs (too lazy to track down which one) introduced a bug that caused rendering to break if one of the modules was not found in the NPM repo.  This was due to failed repo requests not resulting in a stub module, which led to graphs that looked like this:

This fix returns the prior (correct) behavior, and also improves error messaging shown in the module pain in the event there is an error. E.g.:

To test: Show any graph that has a non-existent module.  E.g. https://npmgraph.js.org/?q=cgm-remote-monitor

@fregante : BTW, I [belatedly] noticed this while [finally] taking a long-overdue at the BugSnag reports.  It occurs to me it might make sense to give you access to that bugsnag project.  Is that something you'd be interested in?

Is that something you'd be interested in?

I'm ok without it 😃
I'm here just to make it look pretty and usable 😁


Bucket Sort

Add code in Sorts repo of Javascript.

@akshitagupta15june can i work on this ?

ofcourse

Hi, there, I would like to work on this. It looks like you already assigned it but I don't see any activity for the last 25 days. Let me know if I can work on it?  @akshitagupta15june

ok please work on it

I will work on it this weekend.
Missy
Sent from my iPhone

On Oct 22, 2020, at 1:06 AM, AKSHITA GUPTA<EMAIL_ADDRESS>wrote:

ok please work on it
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

HI, @akshitagupta15june I am sorry!  I got bogged down with work.  I know Hacktoberfest is over but I would still like to make a contribution to your repo.  Is it OK?  I should have time this week.


Fill in total pages before firing the change event

After this change, totalPages will be available before firing the change event. The reasoning behind this change is to allow to show footer on last page only.
The js example got also fixed to display page number correctly, it was not doing it before because of broken span tags.
Thanks a lot!

Nice work. Thank you 👌🐱🏍


Can't use PayPal

On most sites, everytime I attempt to check out with PayPal, the page forcibly refreshes. This happens constantly each time I attempt to use PayPal. How do I prevent this from happening?

use it in incognito mode some extensions cause it, also disable ad blocker from menu, most bank sites show this behavioir with ad blocker


Tagging: authoring

Hi @rdunk -- to make the Explore section work for us long-term I think we need to instil some further categorisation into the tagging process so that the categories in Explore are more 'automated'.
The following "Featured Tags" categories have been developed:

Emoji
M+ Recommends
People
Hong Kong
Places
Mediums
Animals
Food
Museological
Body parts

Is there a way that we can 'tag' tags when they're input into the CMS? Can the 'Emoji' section be completely automated (i.e. if an emoji appears in a tag, draw it into the emoji category)? Adding an emoji tags takes time as the emoji has to be searched for online then copied in--the CMS doesn't recognise its written equivalent, i.e. 'strawberry' instead of '🍓'.

Looking ahead we'll have lots of tags--so it'd be necessary to take the burden away from the maintenance of custom tag categories.
*Notes:

there will be instances where tags will be in multiple categories
M+ will want to be able to add categories along the way (acknowledging that new categories will need to address the backlog of unaccounted for tags)

Let me know whether you have any thoughts around this? The current functionality will be quite burdensome, especially as the site continues to grow in terms of content and its associated tags.

Works well! Thanks @rdunk -- closing.


Problem installing pcdet library

Hi @sshaoshuai,
I'm trying to install pcdet, but when I run python setup.py develop I get this error:
  File "setup.py", line 26
    print('__version__ = "%s"' % version, file=f)
                                              ^
SyntaxError: invalid syntax

How can I solve it?
Thank you for your attention.

Do you use python3 for this repo? If not, please try to use python3.

Have you checked your spconv version?  This repo use spconv v1.0 (commit 8da6f96) currently.

i get the same problem but  after Run cd ./dist, use pip to install generated whl file ,it work


Newfolders

I created a tagged-samples directory with my example xml file I couldn't get to work in my issue.
I also added a schematron folder where we can start writing tests.

Looking forward to learning more about schematron, not something I have experience using specifically.
I will merge this is -- I quite like the sections first ideas you are suggesting, and if the label/title requirement is dropped for these notebook sub-articles then I don't see any downside to using that over boxed-text.


User stopped typing behavior

Updated the description in the Index to match that in the Doc.

Docs Build status updates of commit 28bb3bf:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/maui/behaviors/index.md
:white_check_mark:Succeeded
View

docs/maui/behaviors/user-stopped-typing-behavior.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

PRMerger Results

Issue
Description

Index File
This PR contains a change to the index file.

Docs Build status updates of commit 8bc922c:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error: PullRequestMergeConflict] Cannot sync git repo to specified state. Please make sure the pull request is mergeable.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit b2e9daa:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/maui/behaviors/index.md
:white_check_mark:Succeeded
View

docs/maui/behaviors/user-stopped-typing-behavior.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

PRMerger Results

Issue
Description

Index File
This PR contains a change to the index file.

Docs Build status updates of commit ea7bb5d:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/maui/behaviors/index.md
:white_check_mark:Succeeded
View

docs/maui/behaviors/user-stopped-typing-behavior.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

PRMerger Results

Issue
Description

File Change Percent
This PR contains file(s) with more than 20% file change.

Index File
This PR contains a change to the index file.


Multi-Line Log Messages Only Rendering First Line

When a multi-line log message is encountered by this gem, only the first line can be seen in tests:
📜   info  http://<IP_ADDRESS>:59998/assets/workarea/storefront/application-661443b5298bc0cfe959b870c0eceb86be72e316ef78fe5b99f8a30dc7fff36b.js 48170:61573
     Error:

I did some digging and discovered that the culprit is this line, where @message is overwritten from the original. This looks like it was just meant to parse out the backtrace so it doesn't spam your test output, but it also seems to be stripping all log lines.
I monkey-patched the removal of that last line in my app, and was able to see the log messages:
class Capybara::Chromedriver::Logger::Message do
  def extract_file_and_location!
    match = message.match(/^(.+)\s+?(\d+:\d+)\s+?(.+)$/)

    return unless match

    _, @file, @location, _message = match.to_a
  end
end

My test output now looks like:
📜   info  http://<IP_ADDRESS>:55373/assets/workarea/storefront/application-661443b5298bc0cfe959b870c0eceb86be72e316ef78fe5b99f8a30dc7fff36b.js 48170:61573
     http://<IP_ADDRESS>:55373/assets/workarea/storefront/application-661443b5298bc0cfe959b870c0eceb86be72e316ef78fe5b99f8a30dc7fff36b.js 48170:61573 Error:

     ***************** BEGIN aXe AUDIT *****************

     CURRENT PATH: /cart

     VIOLATIONS FOUND: 2

     *****

     VIOLATION #1:
       Severity: serious
       Description: Elements must have sufficient color contrast

     Node: Continue Shopping

     Fix any of the following:
       Element has insufficient color contrast of 2.3 (foreground color: #ffffff, background color: #ff8e0a, font size: 13.5pt, font weight: bold). Expected contrast ratio of 4.5:1
...

I'm sure there was a pretty good reason for that, and just removing the line that broke things probably isn't the best solution, so I wanted to open a discussion before making a PR or anything to fix it...

I think it's just an oversight on my part. Rather than remove the line, we should enable multiline regexes with the /m flag:
message.match(/^(.+)\s+?(\d+:\d+)\s+?(.+)$/m)

Can you try that, and if it works well, submit a patch? Thanks!

Will do!


navbar background color animation is buggy with different background colors while navigating.

Version
Tell us which versions you are using:
4.0.0-beta.31
Expected behaviour
A smooth header background transition when background colors are different.
Actual behaviour
When navigating between scenes with different header background colors, everything is smooth . except the background color animation.  It seems to switch colors right away (makes it look buggy) and when navigating back with a swipe gesture the background color will not change until completed.
Here are a couple images to give you a better idea:

Cheers.

Please check latest 4.0.0-beta.40 version


opt add join shuffle type in explain shape plan

Proposed changes
in previous version, users need to determine join shuffle type by join children mannually.


Support for any type?

Hi,
There is a way to have something like this as i do in Kotlin?
class Param(val n: String, val v: Any)

val request = Request(
    "test1",
    Param("username", "paulo"),
    Param("password", "123456"),
    Param("remember", true)
)

val gson = Gson()
val str = gson.toJson(request)

Thanks.

We are planning to add support for std::variant, which will allow you to write out generic structures like this.
For example, you'll be able to do the following:
std::map<std::string, std::variant<std::string, int, bool>> request;

request["username"] = "paulo";
request["password"] = "123456";
request[remember] = true;

auto str = glz::write_json(request);

I'll keep this issue open until this has been added. Thanks for your question!

Glaze essentially does a typed json parse and doesn't have good support for generic json parsing. Generally, libs with support for generic json store values in an intermediate struct that can be queried for criteria and then converted to the appropriate type. But that is not an option in this lib. Since glaze stores data directly in user-defined structures, it needs to know what type it is parsing. Not having an intermediate representation was a performance consideration to avoid needles allocations and copying but impacts certain usability cases like this.
Variant support will most likely have similar limitations to libs that function similarly like daw_json_link https://github.com/beached/daw_json_link/blob/release/docs/cookbook/variant.md where the variant can at most contain one each of the fundamental json types of numeric, string, object (Or user-defined struct), and array. This allows the lib to efficiently determine the type with the first char of the value before anything needs to be stored.
For the broader case of all variants if a type field was added we could determine the type from that field and parse to it. Ive seen some libs like daw_json_link and
json_struct do this to support variants and polymorphism. However, while this is valid json its not exactly standard. For instance daw_json_link uses "type" and dotnets json serializer uses "__type" https://learn.microsoft.com/en-us/dotnet/framework/wcf/feature-details/stand-alone-json-serialization. Typed json would be nice but its not really a thing. Unlike daw_json_link glaze would probably use a typename over an index as generating human readable typenames is supported in glaze and we can use a compile-time map to convert between the two relatively cheaply.
Alternatively, types could be inferred by iterating through a variant and backtracking when it fails but this is an incredibly expensive operation and a very bad idea. I don't think Ive seen any libs take this approach largely because it's a terrible idea.
Probably not what you are looking for but the raw_json type can be used for some use cases of generic json values in a limited fashion where you dont know the type up front but can figure it out. I don't think there are any docs on it and I believe it may be in the detail namespace. This doesn't really offer untyped parsing but allows you to delay the full parsing till you know the type.
If you are less interested in serialization/deserialization and more interested in generic json parsing simdjson is probably a better bet. It uses an iterator approach to avoid having to use an intermediate struct when using there on-demand option.

@stephenberry added custom variant read-write support via type tags in #80.

The requested example is now supported and part of our test suite:
std::map<std::string, std::variant<std::string, int, bool>> request;

      request["username"] = "paulo";
      request["password"] = "123456";
      request["remember"] = true;

      auto str = glz::write_json(request);

      expect(str == R"({"password":"123456","remember":true,"username":"paulo"})");

Object variant handling with type deduction is also now supported and documented in the Wiki: Variant Handling


seccomp: whitelist io_pgetevents

io_pgetevents() is a new Linux system call, similar to the already-whitelisted
io_getevents(). It has no security implications. Whitelist it so applications can
use the new system call.
Fixes #3105.
Signed-off-by: Avi Kivity<EMAIL_ADDRESS>

Codecov Report

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

@@           Coverage Diff           @@
##           master    #3107   +/-   ##
=======================================
  Coverage   43.59%   43.59%
=======================================
  Files         104      104
  Lines       11135    11135
=======================================
  Hits         4854     4854
  Misses       5545     5545
  Partials      736      736

Flag
Coverage Δ

#linux
47.57% <ø> (ø)
:arrow_up:

#windows
40.47% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

LGTM


AsyncAPI open meeting, Tuesday Mar 3 2020

This is the meeting for the AsyncAPI Special Interest Group (SIG). You're invited to join us and ask questions. The meeting takes place on alternate Tuesdays at 6 pm CET. Recordings from the previous meetings are available in this playlist on YouTube.
If you want to make proposals for the specification and/or the tooling, please reach out in our Slack workspace or just leave a comment below.
Join this mailing list to get an always-up-to-date invite to the meeting in your calendar.
Attendees

Join us if you want to know more about AsyncAPI! The meeting is open to the public.

Agenda

Don't wait for the meeting to discuss topics that already have issues. Feel free to comment them earlier.

Setting up stale issues/PRs review #314
Improve setup of sponsoring options across organization #315
Discuss separating existing templates from the generator repository and develop them separately - more details
Discuss extending test spec in the generator with additional specification fields for new features added to the templates - more details
Go into details of using asyncapi-validator if @WaleedAshraf makes it to the call
Q&A

youtube live streaming: https://support.zoom.us/hc/en-us/articles/360028478292-Streaming-a-Meeting-or-Webinar-on-YouTube-Live
it requires paid zoom. maybe we don't have it yet.
@derberg

Notes:

Discuss separating existing templates from the generator repository and develop them separately - more details

Define an issue in GitHub.
Discovery of templates could by done using a specific tag in the package.json
Existing templates will also be separated from the generator repo
Before we split, we need to have support for the installation of remote templates
Nice to have filters and hooks in separate packages too

Discuss extending test spec in the generator with additional specification fields for new features added to the templates - more details

Have a asyncapi file that covers most of features that we can always try out with templates.
Simplify current streetlight doc with dummy content, and extend in future
Add proper info to contribution guide to keep in mind file extension in PR

Go into details of using asyncapi-validator if @WaleedAshraf makes it to the call

most important is to validate messages
Waleed will work on it

Setting up stale issues/PRs review #314

we pick 60/30

Improve setup of sponsoring options across organization #315

try out with issuehunt, small steps, with specific tasks only

@WaleedAshraf yeap, we are still somehow making it on a free subscription

next meeting


ERROR ON COMPOSER INSTALLATION.

Please how can I install this with Composer.
I tried: require "2amigos/yii2-gallery-widget" "~1.0"
It gave me an error: 'Your requirement could not be resolved to an installable set of packages'
The package is not available in a stable-enough version according to your minimum stability setting.
Please What can I do to install it ?

Sorry, cannot help. Also tried it and received similar response, will now
cancel interest.
Am still looking for a stable responsive (jquery) photo gallery. Any help
appreciated, have gone through all 20jquery could not decide yet.
2016-04-04 15:51 GMT+02:00 osnwach<EMAIL_ADDRESS>
Please how can I install this with Composer.
I tried: require "2amigos/yii2-gallery-widget" "~1.0"
It gave me an error: 'Your requirement could not be resolved to an
installable set of packages'
The package is not available in a stable-enough version according to your
minimum stability setting.
Please What can I do to install it ?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/2amigos/yii2-gallery-widget/issues/15

@Federico39  Thanks for concern
But when I tried:  require "2amigos/yii2-gallery-widget" " * "
Composer responded fine, but it deleted some packages I have previously installed !
How can this be resolved.
ALSO  When you pick a good (JQuery) photo gallery, kindly let me know.
Thanks.

@osnwach I have reviewed and its working on my end... not sure how the gallery would delete packages previously installed if you simply require gallery. Yii2 had some issues and I didn't update... trying to fix now.

No problems. Required with composer without a hiccup, cut and pasted demo code into a view, all  ran perfectly. Nice work.


Added navbar link to Statistics section in save ecology page #1123

In save ecology section, before in the navbar "stats" wasn't linked to its actual page.After the changes it is linked with a modified name "statistics".

@hariharang25
Your pull request has been successfully merged! Don't stop here—continue contributing by addressing more issues and aiming to become a top contributor. You can also contribute in my another Repository BuddyTrail which is also under Hacktoberfest
Great contribution to HACKTOBERFEST'24! 🎉


Webpack.watch before the file write to webpack.watch callback will be triggered several times

Do you want to request a feature or report a bug?
bug

What is the current behavior?
Webpack.watch before the file write to webpack.watch callback will be triggered several times
If the current behavior is a bug, please provide the steps to reproduce.
main.js //Only one line of code，Files are not present
import * as files from "./files.js"
start_packing.js //Start packing
const webpack = require("webpack");
const fs = require("fs");

fs.writeFileSync(`${__dirname}/files.js`, "Any content");

const compiler = webpack({
    entry: `${__dirname}/main.js`,
    output: {
        filename: `build/app.js`,
        path: `${__dirname}`
    },
    module: {
        rules: [{
            test: /\.(js)$/,
            exclude: /node_modules/,
            loader: 'babel-loader',
            query: {
                presets: ['es2015']
            },
        }]
    },
    resolve: {
        alias: {

        }
    }
});
compiler.watch({}, (err, stats) => {
    console.log(stats.toString({
        colors: true,
        modules: false,
        children: false,
        chunks: false,
        chunkModules: false
    }));

});

What is the expected behavior?
console.log Only trigger once
If this is a feature request, what is motivation or use case for changing the behavior?
Quote is not a webpack package file
Please mention other relevant information such as the browser version, Node.js version, webpack version and Operating System.
macos：10.12.3 (16D32)
node: v7.8.0
webpack: v2.3.3

@webpack-bot move to webpack/webpack.js.org
Document that this behavior is expected, as filesystem inaccuracy may trigger multiple build for a single change (webpack can't detect that file hasn't changed from timestamp). Users should expected this and may check stats.hash for equal hash (this is what the CLI does).


Multispecies MODIT

@chonma0ctopus
VALD3 has multiple species. So, probably,  in order to reduce the number of calls of modit, we need to sum up all the species before FFT.

Hello @HajimeKawahara
This might not be a good idea. DIT complexity increases with the number of points in the DIT grid. If all your species have very different lorentzian widths, you may end up with a large but sparse DIT grid resulting in long computational times.
In Radis 0.12 I introduced a sparse version of the DIT algorithm (paper not even started, maybe in the summer) which fixes this. I could try to implement it in Exojax at some point. In the meantime, just be aware that multiple calls to grouped moddit may be much more efficient than a call to a large sparse moddit base

Hi! @erwanp We have 1 to tens different metal species in VALD3. So, I thought, instead of adding the Doppler direction to MODIT (i.e. this is just DIT),  we could just add a summation for species in MODIT algorithm. But, yes I agree, different species mean the different (wide) range of Lorentzian too. This might lead to a sparse grid, as you said. Currently, @chonma0ctopus is trying to apply multiple calls of MODIT in the meantime. But, the sparse version of (MO)DIT will improve the performance of ExoJAX for many practical problems!


Reverse HTTP

[ ] Feature Request. I am not sure if it has been asked earlier. Does Okhttp supports Reverse HTTP as stated in following link

Not supported. If you need this, you might be able to build something using a custom SocketFactory.

Ok I thought since Okhttp is strictly following HTTP protocol, so any future plans,
I am currently using custom SocketFactory but not happy with performance as my implementation is simply hacks.

Yeah, I don’t think you’re going to find anything that’s particularly satisfying. You might want to do something in a different layer. Perhaps using SSH port forwarding or something.
No action for us to take on this.


Marine closed areas

@jensr , @christianvdorrien , @sagenimr provide contact persons within their respective institutes.

Emodnet Human Activities does have a map showing wind farms in all European ICES countries that looks complete.
https://www.emodnet-humanactivities.eu/search-results.php?dataname=Wind+Farms+%28Polygons%29

Examples of closed areas from UK:
https://kingfisherrestrictions.org/fishing-restriction-map

@sjurl to email WGINOSE chairs before their meeting 8-12 May so we can follow-up if need be in DIG

Awaiting official response from WGINOSE - plan to forward response to EMODNET Human-activities after review.

@sjurl follow up official feedback from WGINOSE


Version 3.0.3 does not work with React versions prior to 19

First of all, let's take a look at the version history:

In 3.0.2, versions of peer dependencies react and react-dom were set to * with 5f43b3ab8d0a663ed049ca7f0a1b1cb2bfdba263.
In 3.0.3, versions of dev dependencies react and react-dom were set to 19.0.0-rc-f994737d14-20240522 with 9c9247182af7728a94604194d4cf37cce3bff0f5.

Just because @vitejs/plugin-react uses React's new JSX transform by default, it bundles react/jsx-runtime and react/jsx-dev-runtime with the original Spline code. This causes Spline 3.0.3 not to work with React versions prior to 19, despite peer dependency versions being *.
I think the solution to this problem might be using one of the following configs for Vite depending on the desired output. What do you think?
export default defineConfig({
  plugins: [react()],
  optimizeDeps: {
    exclude: ['react/jsx-runtime', 'react/jsx-dev-runtime'],
  },
});

export default defineConfig({
  plugins: [react({ jsxRuntime: 'classic' })],
});

Should be solved now, can you check?

Solved. Thanks.


Patch 1

Hi!
I added more information on dji firmware file structure. Some more findings are coming.
please merge into main branche
thx.

You are referencing to a file dji_split.py but I am unable to locate it. Please fix the link or commit the file.


Unknown system crash

My Mac just shut down, and I have no idea of why. When I booted up again and opened VS Code, I got prompted to send an issue. Here it comes.

VSCode Version: Code - Insiders 1.11.0-insider (4db944bc08e34fb15c5805927d9cb67470776606, 2017-03-02T07:04:47.508Z)
OS Version: Darwin x64 16.4.0
CPUs: Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz (8 x 2200)
Memory (System): 16.00GB (7.40GB free)
Memory (Process): 177.71MB working set (0.00MB peak, 109.47MB private, 92.95MB shared)
Load (avg): 73, 20, 7
VM: 0%
Initial Startup: yes
Screen Reader: no
Empty Workspace: yes
Timings:

Component
Task
Time (ms)

main
start => app.isReady
133

main
app.isReady => window.loadUrl()
714

renderer
window.loadUrl() => begin to require(workbench.main.js)
612

renderer
require(workbench.main.js)
1512

renderer
-> of which require() node_modules
193

renderer
create extension host => extensions onReady()
5746

renderer
restore viewlet
0

renderer
restore editor view state
2

renderer
overall workbench load
671

main + renderer
start => extensions ready
15222

main + renderer
start => workbench ready
9876

:warning: Make sure to attach these files: :warning:
-/Users/nonameolsson/fd12_main.cpuprofile.txt
-/Users/nonameolsson/fd12_renderer.cpuprofile.txt

@nonameolsson Do you mind attaching the cpu profiles listed above?


Thanks for your contributions !!!

Dear ExCP authors,
Can you provide a training script for pre-training ViT models (even if only ViT-L) on ImageNet-1K?
We really want to follow your work, so we would like to train ViT ourselves and get a pre-training result similar to that in ExCP (about 0.71 with ViT-L32 on ImageNet-1K).
Best.

Thanks for your attention on our work. For ViT training, you can just use timm library to train this model, and we refer to the discussion of hyperparameters in its issue with some adjustments on lr (5e-4 for 8 gpus) and batchsize (128) according to our hardware.


Styling example

Closes #59
Closes #65

This change is

Should rename part=input to part=value at the same time (as it was the most common name used by the initial test group).

@jouni Done.

Review status: 0 of 11 files reviewed at latest revision, 1 unresolved discussion.

test/visual/screens/vaadin-text-field/styling/default/chrome.png, line 0 at r2 (raw file):
Can we fix these cropping issues by wrapping the vaadin-text-field with a <div> and targeting the screenshots on the wrapping element?

Comments from Reviewable

test/visual/screens/vaadin-text-field/styling/default/chrome.png, line  at r2 (raw file):
Previously, Saulis (Sauli Tähkäpää) wrote…
Can we fix these cropping issues by wrapping the vaadin-text-field with a <div> and targeting the screenshots on the wrapping element?

Hmm...what cropping issues?

Comments from Reviewable

Reviewed 11 of 11 files at r1.
Review status: 7 of 11 files reviewed at latest revision, 1 unresolved discussion.

Comments from Reviewable

Review status: 7 of 11 files reviewed at latest revision, 1 unresolved discussion.

test/visual/screens/vaadin-text-field/styling/default/chrome.png, line  at r2 (raw file):
Previously, tomivirkki (Tomi Virkki) wrote…
Hmm...what cropping issues?

nevermind.. seems like the image viewer in GitHub had some issues.. solved after refreshing couple of times.

Comments from Reviewable

Reviewed 4 of 4 files at r2.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


Using the noteTween functions

Describe your problem here.
WHAT AM I DOING WRONG?!

Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
nope

idk noob

ok so variables have a certain way to define it. you need to put local in front of it.
local Move = 7;
local Dur = 1;

the variables don't need to be local to work, but i still tried it, and it didn't work. thanks though!

HECK! I tried to do everything without variables and IT STILL DOESN'T WORK!!!
WHAT THE FRICK IS WRONG IN HERE?!?!

you already tried removing those 2

ok so variables have a certain way to define it. you need to put local in front of it.
local Move = 7;
local Dur = 1;

no you dont??? that makes it so only those values are only changeable in the lua file its in

yea, but is it necessary? not really. the thing doesn't work even if I don't use these variables, but I guess making them local won't hurt anyone, right? actually, i initially had them set up like this:


Operations on an Array

Feature ✅
Description

Given a number N, input N elements and the task is to perform the following operations all together:

Find the Smallest Number
Find Largest Element
Find the sum of all array elements
Find Frequency of elements
Count Distinct Elements
Count Repeating Elements
Count of Even elements
Count of odd elements

Example

Input:
12
16 5 8 9 20 4 3 7 8 5 3 2
Output:
Smallest Number: 2
Largest Number: 20
Sum of Array elements = 90
Frequency of elements= 16-1, 5-2, 8-2, 9-1, 20-1, 4-1, 3-2, 7-1, 2-1
Count of distinct elements= 6
Count of repeating elements =  3
Count of Even Elements = 6
Count of odd Elements = 6
Checklist:

[x] I have read the project guidelines.
[x] I have checked all the existing projects, before submitting a new project issue.
[x] This issue will be meaningful for the project.
[x] I will contribute more in future

Contributors are supposed to mention their coding language while asking for assignment

Hi, Can I do it in C++?

Would like to do in other languages. (Python, C , Java)

Hello, I am interested to do this.

Hello, I am interested to do this.

@poojitha2002 Please mention which language?

@pallavivaswani  I would like to do in JAVA

@pallavivaswani I am also good at cpp or c..Any language is comfortable to me..Can you please confirm me, which language should I do?

hello, Could you please assign this to me for C++?

Hii!, Can you Assign this c++ project to me?

@pratik-choudhari I would like to do this in Java

@pratik-choudhari I would like to do this in Java

It has been already assigned in Java to someone else

Can I go with python?

@pallavivaswani I have added OperationsOnArray .I request you to please check the file and let me know if there are any changes to be done.

I have done with the task. Any updates required?


Disallow requiring from invariant/warning

In this repo we have to require from fbjs/lib/invariant and issues occur when we require directly from invariant/warning. Flow doesn't complain about those requires right now because we have a transitive dependency on invariant and warning causing them to happen to be at the root of node_modules.
This change blacklists requiring directly from invariant and warning using Flow. @janicduplessis opened a pull request to do this with ESLint back in 2017: https://github.com/facebook/react-native/pull/13014
Test Plan:
I changed a require to point to invariant instead of fbjs/lib/invariant, got the warning:

Warnings

:warning:

:clipboard: Release Notes - This PR appears to be missing Release Notes.

  Generated by :no_entry_sign: dangerJS


Added console command to send using lwm2m 1.1

Added a console command that can be used to send objects, instances, or resources to a LWM2M server using the LWM2M 1.1 send functionality.
example:
send 3/0 x
send 3/0 666/0 x (uses composites to send the data)
The x is used to detect the end of the input.
It currently also sends to all servers connected, not sure if there is value to target a specific server.

Thx for the contribution :pray:

It currently also sends to all servers connected, not sure if there is value to target a specific server.

Leshan client API tries to take into account support of several servers but concretely we support only 1 server for now.

The x is used to detect the end of the input.

I'm not sure why this is needed for other commands we don't need a special end character, end-of-line is enough.  Any reason about it ?
Not directly linked but if I find time or if some else is interested to work on this we should migrate to another CLI (command line interface) framework : see https://github.com/eclipse/leshan/issues/569

Thx for the contribution :pray:

It currently also sends to all servers connected, not sure if there is value to target a specific server.

Leshan client API tries to take into account support of several servers but concretely we support only 1 server for now.

The x is used to detect the end of the input.

I'm not sure why this is needed for other commands we don't need a special end character, end-of-line is enough.  Any reason about it ?
Not directly linked but if I find time or if some else is interested to work on this we should migrate to another CLI (command line interface) framework : see https://github.com/eclipse/leshan/issues/569  And so the way we handle interactive command will change (see https://github.com/eclipse/leshan/issues/569#issuecomment-864910358)

I'm not sure why this is needed for other commands we don't need a special end character, end-of-line is enough. Any reason about it ?

OK, I get it. This is because of scanner behavior which handle space or end-of-line pretty much in the same way.
Maybe, we could choose this syntax : send /3/0/1;/3/0/2 ?
This way we test if command start by send then we get next token (here /3/0/1;/3/0/2) and we split it in list of path.

Some documentation should be added here :
https://github.com/eclipse/leshan/blob/847fb113bbbb7f3e382f6357aa2709d68f592d01/leshan-client-demo/src/main/java/org/eclipse/leshan/client/demo/LeshanClientDemo.java#L867-L885

Unexpected input for this new command should be handled properly.

@bocajim
Do you plan to improve this PR ?  (let me know if this is not the case, this way I know I should adapt it myself)
As I said this code will change a lot when we will implement  :  #569.
Do you plan to add "send support" at demo server side too ?
Could I ask how you are using Leshan ?

I rewrote all the CLI interface of leshan-client-demo using Jline and Picocli (#1059, #1064). So this PR is a bit obsolete and should be rewritten with new API. This should be really easier to do now. I keep this PR open waiting you or me propose a new PR about this.

@bocajim, I started to work on the re-implementation of this : see #1086.
I plan to finish this next week.

I think #1086 is reviewable/testable now. @bocajim  you can review or give feedback if you find time.
I think I can close this PR. Thx again for your contribution. :pray:

@bocajim, since #1110 is integrated in master, Send Operation is added to leshan-server-demo too.


Add type hints to lakeFS file and file system [ENG-123]

These type hints are the strictest they can be without excessive errors.
This leads to a few relaxations, though:

The outfile argument was reduced to typing.Any, since it is optionally assigned to a str or IO class, which is hard to capture and model correctly.
Paths are currently limited to strs, since they are fed directly to the lakeFS URI regex parser.

Followup PRs could e.g. add support for PathLikes as {r,l}paths.

(also looking at the same method, the error message for missing PyYAML is slightly inaccurate: it says that the config file exists, even when it might not)

Hm, good point. We do in fact only call LakectlConfig.read() if the path input exists, but to make this portable, the existence check could probably be carried out again in the method?
But this raises the question of how to proceed if path.exists() is False. Return an empty object and risk silent errors, or raise?

(also looking at the same method, the error message for missing PyYAML is slightly inaccurate: it says that the config file exists, even when it might not)

Hm, good point. We do in fact only call LakectlConfig.read() if the path input exists (see the file system constructor), but to make this portable, the existence check could probably be carried out again in the method?
But this raises the question of how to proceed if path.exists() is False. Return an empty object and risk silent errors, or raise?

For now, we can get away by (a) rewording the error message, and/or (b) reading the file first and then importing PyYAML (this would eliminate a race condition between the existence check and trying to read the file, while still keeping the error message relevant).

Strong agree that we should allow passing str | os.PathLike[str] | Path in a follow-up issue (see the internal handling in fsspec.

https://github.com/appliedAI-Initiative/lakefs-spec/blob/f50c58f23fa5831c23546c1a2489a9d5bd40797b/src/lakefs_spec/config.py#L17
The return could be typed as Self (from typing_annotations import Self), see PEP 673.

How do we do this for Python >=3.11, where it's built in? I would prefer spinning off a follow-up for this, since it would also carry an optional dependency on typing_extensions.

https://github.com/appliedAI-Initiative/lakefs-spec/blob/f50c58f23fa5831c23546c1a2489a9d5bd40797b/src/lakefs_spec/config.py#L17
The return could be typed as Self (from typing_annotations import Self), see PEP 673.

How do we do this for Python >=3.11, where it's built in? I would prefer spinning off a follow-up for this, since it would also carry an optional dependency on typing_extensions.

AFAIK, typing_extensions correctly uses the language builtins for versions that support them and only adds backports for older versions, so no changes would be required. However, I'm okay with moving this into a follow-up issue.

AFAIK, typing_extensions correctly uses the language builtins for versions that support them (edit: it does) and only adds backports for older versions, so no changes would be required. However, I'm okay with moving this into a follow-up issue.

So by "no changes", you mean import typing_extensions regardless of Python version? That would mean taking up typing_extensions as an unconditional dependency. Is this worth it for these few classmethod calls we have?

So by "no changes", you mean import typing_extensions regardless of Python version? That would mean taking up typing_extensions as an unconditional dependency. Is this worth it for these few classmethod calls we have?

Exactly. If it's just about Self, we can also ignore it for now (as the current typing correctly captures everything - there's a few other edge cases that only Self addresses, but we don't have them here).

https://github.com/appliedAI-Initiative/lakefs-spec/blob/f50c58f23fa5831c23546c1a2489a9d5bd40797b/src/lakefs_spec/errors.py#L16
Remove # type: ignore here (doesn't seem to be required in any case)

Removed in cc14128.


BXMSPROD-583 ScriptApproval added

BXMSPROD-583

Tested by job/custom/job/emingora/job/BXMSPROD-583/job/slave-image-build-BXMSPROD-583_2/20

Jenkins retest this please

replaced by cleaned commit history https://github.com/kiegroup/kie-jenkins-scripts/commit/f1ddd0f3221dcb70d52084563384f5a3dff1fcdb


arch: up_assert shouldn't call exit directly

Summary
since exit will be only callable from userspace
Impact
No functionality change.
Testing

@xiaoxiang781216 Is there more in the PR that you have suggested? i.e. The removal of CONFIG_HAVE_FILENAME

@xiaoxiang781216 Is there more in the PR that you have suggested? i.e. The removal of CONFIG_HAVE_FILENAME

Yes, here https://github.com/apache/incubator-nuttx-apps/pull/318.

@patacongo this patch remove exit call from up_assert which is part of https://github.com/apache/incubator-nuttx/issues/1263.

is abort() supposed to be callable from kernel?

In the furture, exit forbid call from kernel directly because the most clean up step will move to userspace in exit after https://github.com/apache/incubator-nuttx/issues/1263.

@yamt done.

@Ouss4 could you look at this patch is in the good shape?


Replaced kopano dependency on ocis

We merged https://github.com/owncloud/ocis/pull/107 with a workaround: https://github.com/owncloud/ocis-konnectd/blob/master/go.mod#L25
When this gets merged upstream we have to get rid of it, as we don't want to maintain another fork.

archived.

archived.


Buttons for displaying long tweets do not appear on Japanese posts.

There was an update in 3.1.7 to "add a button to show longer tweets", but that button still does not appear on Japanese posts. I have confirmed that it is there for English posts.
Is it possible to have this addressed?

Might be fixed now, please check last version

I have confirmed that button is now visible after today's fix, thank you!


Add backend-next based application template in create-app

Hey, I just made a Pull Request!
This PR allows selecting an alternate application template by name in the create-app command, and provides the first alternate template: default-next-app which is based on the backend-next system.
Note:
This PR is based on PR #18621, and should be merged once #18621 is merged
:heavy_check_mark: Checklist

[x] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[x] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[x] All your commits have a Signed-off-by line in the message. (more info)

Sorry haven't had the chance to step through this yet! Will get to it though in the next few days!

Hey :wave: had a quick flick through this, looks pretty reasonable, want @Rugvip to have a look through this when he's back too as he merged the predecessor.
Also want to call out that I think we should have e2e's around this template in particular. The backend system is under active development, and I expect this template to break quite alot, especially when we move things from /alpha imports to normal ones, so would be good to catch that as early as possible.
Would you be able to maybe add this to the e2e test run that we have in CI under the github actions?

Would you be able to maybe add this to the e2e test run that we have in CI under the github actions?

I would try yes.


add FastFieldRangeQuery, rename

add FastFieldRangeQuery
add reexport
rename module
preparation for support on string range queries in quickwit

FastFieldRangeWeight  implements Query, imo that should be removed if we now have a proper Query type for that

The RangeWeight is still a valid export, which can be used in a custom Query

i don't mean to remove FastFieldRangeWeight, but to remove impl Query for FastFieldRangeWeight

i don't mean to remove FastFieldRangeWeight, but to remove impl Query for FastFieldRangeWeight

Ah yes that makes sense


Feature request: autodetect pip configuration

Autodetect index url / extra index url etc from the relevant environment variables and pip config file locations.

unearth is not tied to any specific tools, and pip is just one of them.
If adding such feature I doubt there would be much more and add maintenance burden.
For example, uv has become popular and what if users want to respect UV's configuration?

uv treats multiple index resolution quite differently to pip, so I don't think unearth could respect uv's configuration (at least not with the current code) even if the user wanted to.  Specifically, uv has index strategy configurations like first-index, unsafe-first-match, unsafe-best-match, but I don't see any code in unearth's PackageFinder to allow resolving against multiple index URLs the way uv does.
Also, the README.md says:

The core functionality is basically extracted from pip. However, pip is not designed to be used as a library and hence the API is not very stable. Unearth serves as a stable replacement for pip's PackageFinder API.

It was my understanding that this means unearth is intended to match pip's finders, and uv is out of scope. If that's not the case, I think the landing page should be updated.


Expand selector and tokenizer test coverage

Hello!
During the holidays, I reviewed the codebase and wrote some small test cases. As the issue only mentions testing, this PR contains only tests.
The issue with selectors is that combinators are not working at all, so there are no test cases for them here. I think we should open an issue on relational selectors to discuss this further.
This partially solves #4.
Adding these tests makes the tokenizer 100% covered.

Thank you for this excellent contribution, the additional test coverage is very helpful, particularly the comprehensive attribute selector tests and negative test cases.
I'll merge this PR as it successfully adds test coverage per #4. You raise a good point about the combinators,  could you please open a new issue specifically for the relational selectors implementation? That would help track this important feature separately.
Thanks again for improving the test suite


Add in support for --strictProjectName

Update for #64
This will look for either an exact match or will try and match against a name in the directory after dropping the trailing -XYZ, where XYZ is the application hash.
This is done that way because I have seen projects have multiple application hashes.

My bad on the warnings.


A separate platform type for BSD

Feature Description
Currently, conditions treat all non-Windows, non-macOS OSes as Linux, which includes BSD. Although BSD is pretty similar to Linux in most normal cases, there are still some differences that might require special handling for Linux and macOS. For example, the software is commonly installed to /usr/local/ on BSD, while on Linux it's commonly just /usr/. Additionally, some commands work differently on BSD than on Linux. Because of this, it should be possible to differentiate between them and specify a separate task for each of them.
Describe The Solution You'd Like
One solution would be to add bsd to a list of platforms, probably with a cfg like this (to match most common BSD versions), and update the platform handling everywhere it's needed:
any(target_os = "dragonfly", target_os = "freebsd", target_os = "openbsd", target_os = "netbsd")

However, this is likely a breaking change that will break all scripts/tasks that only target Linux and are expected to also work on BSD. A better solution could be to check if both Linux and BSD are separately specified for the task and only differentiate between them in that case, but still treat Linux as BSD if only Linux (and other OSes) is specified as a task platform. However, this is probably harder and I'm not sure how feasible it is.
Alternatively, is there a way to manually specify cfg attributes for a task? For example, like it's possible for Cargo dependencies:
[target.'cfg(any(target_os = "dragonfly", target_os = "freebsd", target_os = "openbsd", target_os = "netbsd"))'.dependencies]

I also hate the limitation i did at the very begining of this project (and few other mistakes....), and as you said, adding another platform value would be a big backward break.
i wonder if we can do something else like platform but call it 'os' and put the exact value we get from rust target_os there and than allow condition on OS value.
anyone using the platform condition would not be impacted and anyone using OS platform would be in sync with what rust can provide during installation+compilation time of cargo-make in the local machine.
wdyt?

That could probably work. However, it should also allow some mechanism like any, all and not for conditional compilation, so you can target multiple OSes with one task.

ya got similar capability for other conditions. its doable.

@filips123 this is now available as condition 'os' and works like 'platforms' but you need to put the cfg(target_os) value there. this way it supports everything that rust supports directly.

Thank you!


Enable hover by default for desktop platforms

We should enable mouse hover by default for desktop platforms. If we want to support disabling hover, that should probably be handled by a separate API in the embedder. If the framework and embedder disagree on whether hover should be enabled, we get some odd graphical artifacts.
Related to https://github.com/flutter/flutter/issues/32529
cc @stuartmorgan

cc @dkwingsmt

We should enable mouse hover by default for desktop platforms.

I've been thinking about flipping that default. The reason I had it off by default is that that's what at least macOS does, for performance reasons, but having a shell-level switch that's off by default is I think pretty clearly the wrong choice. I do wonder though if we could enable and disable it automatically based on whether any widgets are using hover (@gspencergoog, thoughts?). If not/until then, we should default it to on. It's a trivial change in the desktop shells.

If the framework and embedder disagree on whether hover should be enabled, we get some odd graphical artifacts.

Could you elaborate on this? I would expect that having hover support off would be the same as never hovering over the window; if that's not true, or buggy, we should fix that.

If no widgets are using hover, then no widgets will be drawn with hover highlights, or be listening to hover events, so by definition this is already happening.
However, I've just added hover support for pretty much all Material widgets, so you'd have to not be using Material to avoid having any Listeners by default.

If it's a performance hit to send mouse events from the engine, you could hook something up to  MouseTracker that would tell the engine to stop sending them if there were no annotations registered.

Could you elaborate on this? I would expect that having hover support off would be the same as never hovering over the window; if that's not true, or buggy, we should fix that.

Currently when hover is disabled:

Hover effect on: Click inside widget
Hover effect off: Click out of widget

If it's a performance hit to send mouse events from the engine

Right, that's the potential issue. But if pretty much everything has hover, let's just turn it on by default and see if it's actually an issue in practice. Given the ubiquity of using hover effects on desktop in general, it seems unlikely.

Currently when hover is disabled [...]

Ah, that does seem problematic (since it essentially forces embedders to implement hover support, which I don't think we want—especially from an embedder-API-compat standpoint). Can you file a new bug for that specifically so we can think about whether we can figure out whether we have any viable options here? (Maybe a heuristic for not doing hover effects if hover has never been sent, for instance.)


RequestChain nil data

I'm using RequestChain and it seemed to be working just fine. Now I'm receiving nil data when checking the errors. The URL is valid because I'm getting correct data from other chain requests in the chain. I'm seeing a strange error in Xcode output w_protocol_get_quic_image_block_invoke dlopen libquic failed.
Even removing the working chain requests to see if maybe I was sending too many requests at once  didn't solve the issue, still nil data when checking with two requests in the chain. The API is working correctly, printed the URL and verified the data is valid.
func chainRequest() {
    RequestChain {
        Request.chained { (data, err) in
            Url("VALID_URL_AUTH")
            Method(.post)
            Query(["user": "USER_NAME", "password": "PASSWORD"])
            Header.UserAgent(.firefoxMac)
        }
        Request.chained { (data, err) in
            let json = try? Json(data[0]!)
            Url("VALID_API_URL")
            Header.Authorization(.bearer(json!["TOKEN"].string))
            Query(["KEY": "VALUE"])
            Method(.get)
            Header.UserAgent(.firefoxMac)
        }
    }
    .call { (data, errors) in
        print("\(String(describing:errors))")
    }
}

err should be nil when there is valid data returned. Just want to clarify, are data and err both nil?

error is [nil, nil, nil, nil, nil]. Then data is [Optional(383 bytes), Optional(161 bytes), Optional(336 bytes), Optional(7708 bytes), Optional(8184 bytes)]

Solved! I apparently had something incorrect in my Codable data. Will close this issue. 🤦🏻♂


fix: Set headers to localstorage

This PR is to add headers to local storage.
@acao can you review this PR?

@harshithpabbati yes thanks for this but please don't ask for me to review in every single PR comment anymore. we've talked about this before, haha. of course I will review it its my job

@harshithpabbati no worries, just being grumpy haha!
you'll want to change this PR to be against master now, and pull in the latest upstream changes

oh wait, this no longer applies. make it against 1.0.0 branch my bad
headers tab is not in core graphiql for 2.0.0

oh wait, this no longer applies. make it against 1.0.0 branch my bad
headers tab is not in core graphiql for 2.0.0

Sure, I will change this towards 1.0.0 branch


upgrade go-redis to support redis 7

[x] StringStringMapCmd -> MapStringStringCmd  Ref
[x] SlaveOnly -> ReplicaOnly Ref
[x] *redis.Z -> redis.Z Ref

close https://github.com/juicedata/juicefs/issues/3223

Codecov Report
Base: 55.56% // Head: 55.50% // Decreases project coverage by -0.06% :warning:

Coverage data is based on head (0aa0a51) compared to base (018b8a9).
Patch coverage: 75.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3233      +/-   ##
==========================================
- Coverage   55.56%   55.50%   -0.06%
==========================================
  Files         142      142
  Lines       33140    33140
==========================================
- Hits        18414    18395      -19
- Misses      12783    12797      +14
- Partials     1943     1948       +5

Impacted Files
Coverage Δ

pkg/meta/redis_lock.go
69.23% <ø> (ø)

pkg/meta/utils.go
65.00% <ø> (ø)

pkg/object/redis.go
50.54% <ø> (ø)

pkg/meta/redis.go
66.25% <75.00%> (-0.04%)
:arrow_down:

pkg/vfs/reader.go
75.79% <0.00%> (-3.96%)
:arrow_down:

pkg/chunk/prefetch.go
96.29% <0.00%> (-3.71%)
:arrow_down:

pkg/vfs/handle.go
83.58% <0.00%> (-0.75%)
:arrow_down:

pkg/meta/sql.go
58.92% <0.00%> (+0.21%)
:arrow_up:

pkg/chunk/disk_cache.go
73.38% <0.00%> (+0.46%)
:arrow_up:

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Line formatter doesn't support %context.key%

It was not immediately obvious to me why %context.key% isn't handled by the Monolog\Formatter\LineFormatter class whereas %extra.key% is. This could just be a documentation issue, but ideally %context.key% would just work as expected.

Yeah that's funny.. it's been like that since day 1 pretty much. https://github.com/Seldaek/monolog/commit/ed6b0e32a262b57ccdacf1145c225350f6e68eb9 I don't think it was really a conscious decision it just grew without it. I'll fix that.

Fixed in https://github.com/Seldaek/monolog/commit/25131bb5f655f0c71214209c23dd30061e8a10c3

I've used context field as a string, so new version breaks my code.
Contract (before fix) declares nothing about type of context property. So monolog accepts a string or other scalar value in context.
Such experience can be a wrong practice, but this fix can brake some other project also.

@nitso the context is typehinted as an array in all methods of the Logger. So I don't see how you could end up with a string

Indeed that seems like you did something really strange along the way. I don't think it's possible to reach this with only using monolog classes.

That's true. I've overrided LineFormatter::format() in my formatter to have comma-separated values instead of json in context field:
public function format(array $record) {
    $record['context'] = join(',', $values);
    return parent::format($record);
}

In previous version it worked well because every $record item except extra was directly passed into stringify method: https://github.com/Seldaek/monolog/blob/25131bb5f655f0c71214209c23dd30061e8a10c3/src/Monolog/Formatter/LineFormatter.php#L100
I assume that should be done with processor. I'll fix previous version until refactoring. But you may take into consideration that your fix breaks compatibility in some way :)


strange behavior of WithLatestFrom in case of high load

Undetermined result of program output has occuried:
try to launch programm several times consequentially.
My tests:
output #1-5:
{ RawData = { GenIndex = 0, PredicateValue = True }, PredData = { GenIndex = 0, PredicateValue = True } }
{ RawData = { GenIndex = 1, PredicateValue = False }, PredData = { GenIndex = 0, PredicateValue = True } }
{ RawData = { GenIndex = 2, PredicateValue = False }, PredData = { GenIndex = 0, PredicateValue = True } }
.....
output #6:
{ RawData = { GenIndex = 6, PredicateValue = False }, PredData = { GenIndex = 4, PredicateValue = True } }
{ RawData = { GenIndex = 7, PredicateValue = False }, PredData = { GenIndex = 4, PredicateValue = True } }
{ RawData = { GenIndex = 8, PredicateValue = True }, PredData = { GenIndex = 8, PredicateValue = True } }
.....
I've observed that code skips some elements from result. It may be effect related with race condition. But it seems like error.
class Program
{
private static IDisposable _subscription;
    static void Main(string[] args)
    {
        var sourceScheduler = new NewThreadScheduler();

        var source = Observable.Interval(TimeSpan.FromSeconds(0.1), sourceScheduler)
            .Select(genIndex => new { GenIndex = genIndex, PredicateValue = genIndex % 4 == 0 })
            .Publish()
            .RefCount();

        StartHighLoadTask(); // Very heavy problem !!!

        var predicateValueTrueStream = source
            .Where(x => x.PredicateValue);

        var resultStream = source
            .WithLatestFrom(predicateValueTrueStream, (rawData, predicateData) => new { RawData = rawData,  PredData = predicateData } );

        _subscription = resultStream
            .Subscribe(Console.WriteLine);

        Console.ReadLine();
    }

    private static void StartHighLoadTask()
    {
        Task.Run(() =>
        {
            var results = Enumerable.Range(0, 16)
                .AsParallel()
                .Select(x =>
                {
                    BusyWait(10000);
                    return x;
                }).ToArray();
        });
    }

    public static void BusyWait(int milliseconds)
    {
        var sw = Stopwatch.StartNew();

        while (sw.ElapsedMilliseconds < milliseconds)
            Thread.SpinWait(1000);
    }
}

}

What Rx.NET version are you using?

<IP_ADDRESS>3

But I has cheched on version 4.2.0-preview.55. Result is same

I've run your program on my i7 4790 CPU (4/8) and it always started at 0, even if I reduced the interval to 1 milliseconds There shouldn't be any dataloss as publish notifies predicateValueTrueStream first, then source synchronously so there should be always a latest to combine with.

I've run on my i5-2500 CPU 3.30GHz 3.30GHz. So dataloss has occuried. Could you try to make launch with varying parameter "taskCount" from 16, 32 ,64, 256, ... ? I think you can find critical condition. If you set parameter to "1"  value, result will start with GenIndex = 0.
Program for experiments:
class Program
{
private static IDisposable _subscription;
    static void Main(string[] args)
    {
        var sourceScheduler = new NewThreadScheduler();
        int taskCount = 16;

        var source = Observable.Interval(TimeSpan.FromSeconds(0.1), sourceScheduler)
            .Select(genIndex => new { GenIndex = genIndex, PredicateValue = genIndex % 4 == 0 })
            .Publish()
            .RefCount();

        StartHighLoadTask(taskCount); // Very heavy problem !!!

        var predicateValueTrueStream = source
            .Where(x => x.PredicateValue);

        var resultStream = source
            .WithLatestFrom(predicateValueTrueStream, (rawData, predicateData) => new { RawData = rawData,  PredData = predicateData } );

        _subscription = resultStream
            .Subscribe(Console.WriteLine);

        Console.ReadLine();
    }

    private static void StartHighLoadTask(int taskCount)
    {
        foreach (var taskIndex in Enumerable.Range(0, taskCount))
        {
            Task.Factory.StartNew(() =>
            {
                BusyWait(10000);
            }, TaskCreationOptions.LongRunning);
        }
    }

    public static void BusyWait(int milliseconds)
    {
        var sw = Stopwatch.StartNew();

        while (sw.ElapsedMilliseconds < milliseconds)
            Thread.SpinWait(1000);
    }
}

It's due to RefCount subscribing to the Interval-observable the moment that WithLatestFrom subscribes to predicateValueTrueStream. In some cases, it'll observe a value before it had a chance to subscribe to source and this is when values will be missed. You can workaround this by not using RefCount, but calling IConnectableObservable.Connect manually after you set everything up (i.e. after resultStream.Subscribe).

@danielcweber's answer is spot on; this is by design. One should always be very wary of these .Publish().RefCount() combos because they hide a lot of imperative machinery under the hood.
This effectively creates a connect/disconnect "tap" that will be toggled each and every time the reference count goes between 0 and 1 (in either direction), so you have a "tepid" source in here that behaves as if it's cold (when reference count is at 0, it being idle and not producing values), but depending on the timing may be "hot" (actively running and producing values). Whenever something is not purely "cold", you should assume it's hot and multiple subscribers trying to "tune in" to the source have no guarantee to subscribe at exactly the same time. E.g. hot.Zip(hot, (l, r) => l == r) is not guaranteed to produce a sequence of true, because the two subscriptions to hot are not atomic and time will pass in between creating those subscriptions.
When anything is hot and you want all subscribers to the thing to see exactly the same event sequences, you need phasing to create the subscription and pour open the "tap" at the top after everything has been set up. The way to do that is indeed by just using Publish, and call Connect all the way at the bottom:
    static void Main()
    {
        // Keep it cold until you've created the entire query (no RefCount)
        var source = Observable.Interval(TimeSpan.FromSeconds(0.1), new NewThreadScheduler())
            .Select(genIndex => new { GenIndex = genIndex, PredicateValue = genIndex % 4 == 0 })
            .Publish();

        // Compose as much as you want here (use source many times)
        var predicateValueTrueStream = source.Where(x => x.PredicateValue);
        var resultStream = source
            .WithLatestFrom(predicateValueTrueStream, (rawData, predicateData) => new { RawData = rawData,  PredData = predicateData } );

        // Subscription to an arctic cold source; the Interval will not be started at all
        IDisposable subscription = resultStream.Subscribe(Console.WriteLine);

        // Now open the tap at the top
        IDisposable connection = source.Connect();

        // Disposing the whole thing now means closing the tap, and disposing the subscription
       _subscription = new CompositeDisposable(connection, subscription);

        Console.ReadLine();
    }

FWIW, the Reactor service built here internally in Bing/Azure uses a variant of Rx where Subscribe/Dispose is merely Attach/Detach and is accompanied by a mechanism to Start/Stop the computation, thus adding phasing to distinguish between setting up the event processing topology and starting the flow of events. Rx does not have this in a pervasive manner thoughout the library; instead, it has IConnectableObservable<T> and you have to deal with Connect directly, in the right place.


incompatible .mpy file error

Hi,
Trying to use your library on pico pi micropython:
MicroPython v1.21.0, picow v1.21.0 on 2023-10-06; Raspberry Pi Pico W with RP2040
via .mpy files (the installation via mip failed - OSError -6) but upon running example code I'm getting the error:
Traceback (most recent call last):   File "<stdin>", line 4, in <module> ValueError: incompatible .mpy file
The .mpy files are where they should be I guess (using MicroPico VS Code extension):

Any clues of what might be the problem here ?
Thanks !

You could try using the latest version of mpy-cross. I suspect the version used to compile my .mpy files is out of date and there's a breaking change between 1.18 (which I have) and the latest (1.22.1).

Yes, pretty sure this is caused by the .mpy files being out of date. However, I'm going to remove these from the next release and instead provide instructions for those folks who need .mpy files. That way they will always have up-to-date files.

ok, thanks - for now I've switched to use .py files, cross compilation to .mpy is something I need to investigate in the future I guess :)


Update types.go documentation to allow ExternalDNS in Address field.

I noticed that Agones makes use of this feature here but it seems rather undocumented.

@arnemileswinter this is not the correct place to open PRs. Please check the readme:
https://github.com/kubernetes/api?tab=readme-ov-file#things-you-should-not-do


Add an option to the dual imagery widget to set the default as swipe or opacity.

It seems that the widget UI is confusing to the user as well, so I will fix that, likely by changing the button to a toggle switch.  I will also have to add a state for default that the admin can select when setting the widget up.  To remain backward compatible I will just store Swipe_As_Default = true, if they want the new configuration otherwise nothing will be set and it will render the current way which is Opacity as default.