LG C1 no longer able to be turned off or on from latest update

My TV updated last night and the LGTV Companion said something about the topology being off. I have reconfigured completely and the test doesn't do anything anymore.

Hi @ThinkSalat please enable logging and paste the log here and I'll have a look

https://pastebin.com/gPsaFQ5A here you go. Thanks!

Hi again, the app cannot communicate with the TV at all it seems. Restart router/switches/access points maybe. It has helped some in the past so that's why I'm suggesting it (if you have already triple checked that the configuration is correct)

Turns out my ip and mac address changed. Must have been related to the
update. Strangely, I had deleted the previous configuration and hit scan
and it auto filled the incorrect information.

Message ID: @.***>

Yeah that is a bit weird that the MAC changed. Did it change from connecting via cable to wifi or the other way around possibly?
The Scan feature picks up the data from the digital media devices section of the device manager and if windows has not picked up  the changes then the app will pick up the wrong data indeed.
Happy it seems to be sorted!

Nothing changed aside from a typical update to the tv itself. But I couldn’t imagine that causing a change in mac address!On Jun 8, 2023, at 12:09 PM, JPersson77 @.***> wrote:
Yeah that is a bit weird that the MAC changed. Did it change from connecting via cable to wifi or the other way around possibly?
The Scan feature picks up the data from the digital media devices section of the device manager and if windows has not picked up  the changes then the app will pick up the wrong data indeed.
Happy it seems to be sorted!
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

closing due to being resolved


external(autocad): some Dimension conversions are incorrect when receive

Prerequisites

Fork from our latest release branch: https://github.com/specklesystems/speckle-sharp/tree/release/2.9
Read our Objects Kit guide for context: https://speckle.guide/dev/objects.html
Create an account on Speckle.xyz
Build the AutocadCivil Connector solution

The goal of this task is to (1) demonstrate in-depth knowledge of AutoCAD's SDK and cad-specific classes (2) demonstrate a high-level understanding of how we handle conversions of complex objects in AutoCAD, including how properties of these objects are defined and attached.
What package are you referring to?
Autocad Converter Methods
DimensionToSpeckle(): https://github.com/specklesystems/speckle-sharp/blob/85b7428f258c569bf1caa354555a742fba176f7e/Objects/Converters/ConverterAutocadCivil/ConverterAutocadCivilShared/ConverterAutocadCivil.Other.cs#L690
AcadDimensionToNative(): https://github.com/specklesystems/speckle-sharp/blob/85b7428f258c569bf1caa354555a742fba176f7e/Objects/Converters/ConverterAutocadCivil/ConverterAutocadCivilShared/ConverterAutocadCivil.Other.cs#L773
Describe the bug
Option 1
Most rotated dimensions are received in Autocad exactly as how they are sent. However, in certain cases the TextPosition of the received rotated dimension is out of place. Investigate the source of this issue and propose a robust fix for how to handle these cases.
Option 2
Most radial dimensions are received in Autocad exactly as how they are sent. However, in certain cases one or both of the Leaders of the received radial dimension is incorrectly visible. Investigate the source of this issue and propose a robust fix for how to handle these cases.
To Reproduce

Send the provided Autocad dimension test file to a stream on speckle.xyz
Receive the sent commit in Autocad

Expected behavior
All Dimensions sent from AutoCAD should be identical when received.
Screenshots
Option 1

Option 2

Additional context
Autocad to Autocad Dimension conversions use special utility methods called GetAutocadProps() and SetAutocadProps() that were designed to help intra-application conversion be as accurate as possible: https://github.com/specklesystems/speckle-sharp/blob/85b7428f258c569bf1caa354555a742fba176f7e/Core/Core/Models/Utilities.cs#L97
They also include a dynamically added TextPoint prop to assist with better conversions.
The bug with Rotated and Radial dimensions may be caused by how these properties are being attached on send, or set on receive. You can also propose an alternative method for handling Autocad-specific dimension properties instead of using these methods.

Closing this ticket as we are moving to Jira to reduce noise. You can access it there.


Error when starting bot locally.

When I clone this repo and try to run locally, I get the following error.
$ node ./server.js
/Users/thfalgou/git/tmp/echobot/node_modules/botbuilder/lib/bots/ChatConnector.js:59
        var isEmulator = req.body['channelId'] === 'emulator';
                            ^

TypeError: Cannot read property 'body' of undefined
    at ChatConnector.verifyBotFramework (/Users/thfalgou/git/tmp/echobot/node_modules/botbuilder/lib/bots/ChatConnector.js:59:29)
    at Object.<anonymous> (/Users/thfalgou/git/tmp/echobot/server.js:24:40)
    at Module._compile (module.js:571:32)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
    at Function.Module._load (module.js:439:3)
    at Module.runMain (module.js:605:10)
    at run (bootstrap_node.js:418:7)
    at startup (bootstrap_node.js:139:9)

Digging into the code, I believe that this is because server.js is not passing in expected req, res variables:
See:
https://github.com/fuselabs/echobot/blob/master/server.js#L24
https://github.com/Microsoft/BotBuilder/blob/master/Node/core/lib/bots/ChatConnector.js#L59

I'm baffled as to why this is happening on server.js startup opposed to waiting till the first request comes in; however, that might be something due to restify.

Do you have the latest code? I just checked in an update yesterday.

Yes.  I just found out about the repo today.  I've confirmed that HEAD points to dd52d6ff5a72a49451e5cd12f2612c69375a8bde.
To reproduce the problem, I run "git pull && rm -rf node_modules && npm install && npm start".

I just created https://github.com/fuselabs/echobot/pull/4 which fixes the problem for me.  I'm encountering this issue with Node v.6.6.0 after a clean clone and running "npm install && npm start"


Autocomplete no longer recognizes type under if-block checked by 'is'

Godot version:

af290f7b7d0ea22fbb8d4c3ca5c5a8fb72a30a7e
OS/device including version:

Linux
Issue description:

A type's autocompletion would appear under an if-block when that object's type has been checked; for a common example:
func _input(event):
    if event is InputEventKey:
        event.

In 3.0.6, autocomplete would give you this:

Post-typed gdscript, this no longer works; the autocompletion for event under the if-block just displays the following:

Using typed gdscript, autocomplete works fine outside of the if-block (albeit just for the base class):
func _input(event : InputEvent) -> void:
    event.
    if event is InputEventKey:

But inside the if-block, again, it displays new and some constants.
As of right now, it's necessary for the user to cast event before autocomplete will appear:
var key = event as InputEventKey
if key:

CC @vnen

Been noticing this as well.  Wasn't sure about it though, since I had some other auto-completion issue.


v2.2.1: How to create Frontends from scratch?

v2.2.1 has had the user frontend built-in into the core release for some time now, but there is no documentation, reference code or any user guidance showing how to actually get started with it nor a reference of any of the supported features.

@mcartmel - It's really important this is addressed sooner than later. There are more and more people using the old Frontend node recipe to start recipes when the new v2.2 embedded stuff has been available for ages. It's still a complete unknown what code to use for a plain index.xml file as there isn't a reference. Right now rverytime a new Frontend is created, it's created with a lot of extra unnecessary baggage.
Can you please relocate the present recipe and add one with a template for creating a blank Frontend making reference to the most commonly customised parts/files i.e. background and logo i.e. revamp the content folder.
OR alternatively,  perhaps it should be embedded into the nodel frontend itself a bit like the ability to create a blank recipe (script.py). Thinking Add Frontend... button that create the relevant files in content folder.

I've started this.
Documentation is still lacking regarding a reference of possible XML elements.

I've started this.
Documentation is still lacking regarding a reference of possible XML elements.


Page styles not overriding functional component styles when visited from different route

Version
v2.2.0
Reproduction link
https://codesandbox.io/s/k3y402xpyv
Steps to reproduce
Bug:

visit Other
visit Bug

No Bug
visit Bug directly or if you came from Other to Bug, just refresh it.
What is expected ?
Functional component's style gets overridden by page's style.
What is actually happening?
Functional component's style being overridden by page's style if coming from different route
Additional comments?
Not sure if this is nuxt issue or vue tbh

This bug report is available on Nuxt community (#c8120)

Likely related: https://github.com/vuejs/vue-loader/issues/1136

@manniL it doesn't exist if i turn it into a non-functional component

@xxRockOnxx I think opening a bug report in the vue repo too wouldn't hurt. I'm unsure whether this is a Nuxt or Vue bug :thinking:

@manniL I'm not sure either. As for opening another issue, the one you linked describes it almost the same. I guess that will do. You can see there that there's a lot of similar issues referenced also.

@xxRockOnxx Agreed.


Logo design

Hi, I'm a logo designer I just saw your project and if you want I can design a logo for your project. So, what do you say?

I guess I'm good with the current logo, but thanks a lot!


关键字冲突

当我使用图灵机器人时，在返回值中有字段与内建函数名重复，这时使用点语法会报错，请问该如何避免呢

Hey @dakezuo, any chance you could type this in English?
From what I can tell from google translate, I think you're asking about using built in names with the dot syntax. This won't work!
You can not use the dot syntax for keys that collide with builtins. You would have to use the getitem syntax instead e.g. my_addict['keys']

@mewwts  Yes, that's exactly what I'm doing right now, and I'm wondering if there's a way to identify these system keywords internally and make an escape substitution in string form to allow the outside world to continue implementing a bit of syntax, which of course is just a suggestion, because I'm new to python, so I don't know if it's possible

Hey @dakezuo - thanks for commenting!
I won't say it's impossible, but I'm not sure it's something I'd like to do, unfortunately. What's your specific usecase for this?

@mewwts  I've only recently used it, and I happen to encounter this return in a request.

Right, so you're using addict with arbitrary returns from http request is that so, @dakezuo?

@mewwts  Yes, the key and keyword of the field returned by the server coincidentally are duplicated in the HTTP return

@dakezuo I would fetch data residing on keys corresponding to builtin keywords using the getitem syntax i.e. mydict['keys'].


weekly live

Please use this template to ensure easier processing of your pull request
Category

[ ] Content fix
[ x] New article

Learn Build status updates of commit 399b803:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

SECURITY.md
:white_check_mark:Succeeded

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 learn.microsoft.com contributor guidesPost your question in the Learn support channel


Fix seed word letter suggestion bug

fix #366

ACK tested.
well done!

ACK tested, thank you!
@kdmukai your most familiar with this keyboard code. I'm good with this change, didn't know if you wanted to weigh in before I merge. Thanks!


Updating style ci?

Instead of bloating project with styleci.yml can we just add configuration to styleci settings?
https://github.styleci.io/repos/REPO_ID/settings
and can we add these two settings to make code more look better?
preset: laravel

enabled:
  - phpdoc_order
  - phpdoc_separation
  - align_double_arrow

Especially double arrow alignment?
Thanks

Done, thx!


Patches review for CVE-2019-951X

Hello Team gRPC, we have couple of very old releases of gRPC 1.0.0 and 0.11.0 integrated in our environment, in some of the newer software we were able to upgrade to relatively newer version of gRPC but we are still stuck with 1.0.0 and 0.11.0 for some legacy software.
I've ported this patch https://github.com/grpc/grpc/pull/19924 to earlier versions, can you please help with the review.
I've downloaded gRPC sources including submodules for these versions, applied the patches there and ran the tests that are available in the repo for C language.
 "tools/run_tests/run_tests.py -l c"
Looks like 1.0.0 version has more tests available for htttp2/transport area, I have seen only one for 0.11.0. All the relevant tests seem to pass after applying patches. If there are any additional tests that helps us to verify whether these patches really address the vulnerability, that would be very helpful. While porting patch to 1.3.0 I've requested for tests in the gRPC github page https://github.com/grpc/grpc/pull/19924, it looks like that hasn't been addressed yet because of other priorities.
Attaching the git diffs and the test run logs for 0.11.0 and 1.0.0.
grpc-1-0-0-git-diff.txt
grpc-0-11-0-git-diff.txt
test-run-2-c-with-chttp2-changes-1-0-0-log.txt
test-run-2-c-with-chttp2-changes-0-11-0-log.txt
Thank you.

@rambattu Sorry, I haven't been able to push the tests yet. I took a quick look and the changes look incomplete. Specifically, I couldn't find the changes which resumed reading.

Hi @yashykt thank you for taking a look, I will double check. You are specifically talking about this change right?
https://github.com/grpc/grpc/pull/19924/files#diff-4ef3a8619db94d8f66a6b6f18ab27c81R1049
Please let me know if you see any other discrepancies, thank you.

Hi @yashykt  I've updated the 1.0.0 version patch, attached to this post.
grpc-1-0-0-git-v2-diff.txt
This part seems not that straightforward for version 0.11.0, should I call
  while (recv_data_loop(t, &success))
    ;

after
    grpc_chttp2_schedule_closure(&t->global, &t->writing_action, 1);
    prevent_endpoint_shutdown(t);

at line 509 https://github.com/grpc/grpc/blob/release-0_11/src/core/transport/chttp2_transport.c#L509  in unlock() function.

Hi @yashykt thank you for taking a look, I will double check. You are specifically talking about this change right?
https://github.com/grpc/grpc/pull/19924/files#diff-4ef3a8619db94d8f66a6b6f18ab27c81R1049
Please let me know if you see any other discrepancies, thank you.

Yes

To make sure that these changes work, would you be able to manually test them?

It can be tested by hitting a server with a flood of RST_STREAM or SETTINGS frames

Closing this issue since there is nothing we can do.


Add function to VariableStore for fetching variable IDs for a given deliverable

[!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

#2112
#2111
#2110  👈
#2109
main

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

Join @nickgraz and the rest of your teammates on  Graphite


 The printer prints one "line" of the image and waits for ~2 seconds, then prints the next line and so on. The printer is definitely capable of much faster printing, I'm also trying out the python-escpos library and that one spits out a complete image in under a second without any delay between lines.
Not sure what is happening here. The python library allows selecting between normal and "high density" mode when printing images, maybe that is the difference, but I don't see how to toggle it here.
	p := escpos.New(socket)
	p.SetConfig(escpos.ConfigEpsonTMT88II)

	f, err := os.Open("./logo.gif")
	if err != nil {
		panic(err)
	}
	defer f.Close()
	img, fmtName, err := image.Decode(f)

	if err != nil {
		panic(err)
	}

	p.PrintImage(img)

I have not that much experience with serial connection optimization. I guess there might be some bottleneck with buffers or so.


Config.yml webhook secrets leaked on INFO log level

Since v1.0 , the webhooks specified in config.yml are spit out in the container logs on the INFO log level.
As with best practices, these secrets should either be logged on only the DEBUG log level, or they could be logged on the INFO level but at least be redacted. This is prevent secrets from being leaked as plaintext onto the disk or to the backing log database.

Thanks @leojonathanoh for the heads up. I think it is not a good idea to expose any kind of secrets at all, in general. So I removed it in #76 . Would be great if you can review.

would it be better if #76 was split up into two PRs, one addressing this issue and the other addressing #73?
I'd consider a fix for this to be a bugfix, whereas a fix for #73 I'd consider to be breaking for some users who have been reliant or expect some kind of verbose logging. I'm not familiar enough with the release cycle, so I'll leave it to you guys to decide whether to split the PR up :)

I don't think not printing secrets is a breaking major change. I would just go ahead and put it in a patch version upgrade. @bzon any concerns?

addressed in #76


chore: update metric exporter interface

…hutdown abstract

Which problem is this PR solving?
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes # (issue)
Short description of the changes
Type of change
Please delete options that are not relevant.

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

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[ ] Test A

Checklist:

[ ] Followed the style guidelines of this project
[ ] Unit tests have been added
[ ] Documentation has been updated

Nit: the prefix of this PR should be feat instead of chore. chore is suitable for internal facilities like how we run tests and more importantly it won't bump as semver minor when generating release versions.

Thanks, @legendecas. I was wondering if this change is needed since you had a question about the naming here https://github.com/open-telemetry/opentelemetry-js/issues/2589#issuecomment-1008072018

@lonewolf3739 I didn't mean we don't need this change. I mean we need a spec clarification on the interface naming. Just opened https://github.com/open-telemetry/opentelemetry-specification/pull/2286.


Create branch of existing content and update to current version

Working on rewrites to the content for the upcoming AIOps and Integration conference. There are lots of changes (eg Event Streams is no longer part of the product and App Connect has Event driven flows now) but I would like to keep the layout and structure that's here  and reuse what I can) rather than creating a new repo.  I need edit access to the repo to create a branches and update the master branch .

@djccarew you should have access now. thanks for keeping the structure together rather than creating a new repo.
LMK if you want me to review any PRs


self.retry in the README example

In the example in the README, the code has two occurance of:
        raise self.retry(exc=exc)

Where is the retry method defined in the example, and why is it using self.retry when it is not called from inside a class method?

Also there is an import:
from notifications.models import PushToken
What is this notifications models that is being imported?

We would appreciate it if the author answered the question on where self.retry comes from

This looks like it was lifted from a Celery task.
Typically you want to use Celery to run a task in the background. You gain use to the self keyword from the Celery decorator, which would look something like this:
@app.task(
    bind=True,
    max_retries=5,
    default_retry_delay=10,
    ignore_result=True,
)
def send_push_message(self, token, message, extra=None):
    ...

When the task fails, you can use self.retry(...) to reschedule it. Here are the docs: https://docs.celeryq.dev/en/stable/index.html


Special characters with keyboard

I'm about to create a custom keyboard for my Electron app and I have looked all over Google to find something I can use in NodeJS to simulate a keyboard. So far this module is the best, but it doesn't support special characters like Æ Ø Å.
Can I somehow write these or can they get supported?

This issue has been closed because it has been inactive for > 240 days.
You may reopen this issue if it has been closed in error.


Problem Searchable & Unsearchable with v1.6.1 & v1.6.2

My problem is that I am using the switch that toggle the record HIDE/VISIBLE and all its relationship, but after modifying the record it only shows relationship.
Notice: There is no such problem with version 1.5.1, problem only occurs with this version 1.6.1 and 1.6.2
Meilisearch version: v1.6.1 & v1.6.2
Système d’exploitation 64 bits processeur x64
Laptop
Windows 11
Chrome Version 121.0.6167.161 (Build officiel) (64 bits)

Hello @seifrached
Can you provide a reproducible example with detailed steps please? We need this to reproduce the bug.
Which documents do you send to Meilisearch? What do you try to do next? What do you get? What would you expect?
Thank you

Hello @curquiza
When I decide to make some records non-searchable after editing them, they don't appear, but if I don't edit them, no problem.

Hello @seifrached
I still don't understand exactly what you mean
Can you show a concrete a example with documents you send and the query you do?

@curquiza
There is two example for the same actions:
First for 1.6.2
https://github.com/meilisearch/meilisearch/assets/45343853/e951ce0d-278e-414a-a626-c5e5bc48e30a
Second for 1.5.1
https://github.com/meilisearch/meilisearch/assets/45343853/1252d4cc-c5ad-44b0-a11e-26e5d2b31d34

Hello @seifrached,
@curquiza is not available this week. I'll answer your comment.
It seems that the update has not been processed. Could you please copy past the /task route?
Thank you!

@ManyTheFish  Thanks for intervening
/tasks
{"results":[{"uid":6684,"indexUid":"propertys","status":"succeeded","type":"documentAdditionOrUpdate","canceledBy":null,"details":{"receivedDocuments":1,"indexedDocuments":1},"error":null,"duration":"PT0.100025400S","enqueuedAt":"2024-02-21T15:14:21.0533757Z","startedAt":"2024-02-21T15:14:21.2279586Z","finishedAt":"2024-02-21T15:14:21.327984Z"},{"uid":6683,"indexUid":"bookmarks","status":"succeeded","type":"documentAdditionOrUpdate","canceledBy":null,"details":{"receivedDocuments":101,"indexedDocuments":101},"error":null,"duration":"PT0.093985600S","enqueuedAt":"2024-02-21T15:14:20.9284464Z","startedAt":"2024-02-21T15:14:21.4745151Z","finishedAt":"2024-02-21T15:14:21.5685007Z"},{"uid":6682,"indexUid":"images","status":"succeeded","type":"documentAdditionOrUpdate","canceledBy":null,"details":{"receivedDocuments":1,"indexedDocuments":1},"error":null,"duration":"PT0.082209300S","enqueuedAt":"2024-02-21T15:14:20.8110261Z","startedAt":"2024-02-21T15:14:21.3603077Z","finishedAt":"2024-02-21T15:14:21.442517Z"},{"uid":6681,"indexUid":"propertys","status":"succeeded","type":"documentAdditionOrUpdate","canceledBy":null,"details":{"receivedDocuments":1,"indexedDocuments":1},"error":null,"duration":"PT0.100025400S","enqueuedAt":"2024-02-21T15:14:20.7217379Z","startedAt":"2024-02-21T15:14:21.2279586Z","finishedAt":"2024-02-21T15:14:21.327984Z"},{"uid":6680,"indexUid":"users","status":"succeeded","type":"documentAdditionOrUpdate","canceledBy":null,"details":{"receivedDocuments":1,"indexedDocuments":1},"error":null,"duration":"PT0.417201400S","enqueuedAt":"2024-02-21T15:14:20.6073947Z","startedAt":"2024-02-21T15:14:20.806317Z","finishedAt":"2024-02-21T15:14:21.2235184Z"},{"uid":6679,"indexUid":"propertys","status":"succeeded","type":"documentAdditionOrUpdate","canceledBy":null,"details":{"receivedDocuments":1,"indexedDocuments":1},"error":null,"duration":"PT0.101422900S","enqueuedAt":"2024-02-21T15:14:20.4336339Z","startedAt":"2024-02-21T15:14:20.4590947Z","finishedAt":"2024-02-21T15:14:20.5605176Z"},{"uid":6678,"indexUid":"propertys","status":"succeeded","type":"documentAdditionOrUpdate","canceledBy":null,"details":{"receivedDocuments":1,"indexedDocuments":1},"error":null,"duration":"PT0.101422900S","enqueuedAt":"2024-02-21T15:14:20.2789544Z","startedAt":"2024-02-21T15:14:20.4590947Z","finishedAt":"2024-02-21T15:14:20.5605176Z"},{"uid":6677,"indexUid":"users","status":"succeeded","type":"documentAdditionOrUpdate","canceledBy":null,"details":{"receivedDocuments":1,"indexedDocuments":1},"error":null,"duration":"PT0.417201400S","enqueuedAt":"2024-02-21T15:14:20.0794393Z","startedAt":"2024-02-21T15:14:20.806317Z","finishedAt":"2024-02-21T15:14:21.2235184Z"},{"uid":6676,"indexUid":"bookmarks","status":"succeeded","type":"documentAdditionOrUpdate","canceledBy":null,"details":{"receivedDocuments":101,"indexedDocuments":101},"error":null,"duration":"PT0.125412200S","enqueuedAt":"2024-02-21T15:14:19.8938214Z","startedAt":"2024-02-21T15:14:20.6488102Z","finishedAt":"2024-02-21T15:14:20.7742224Z"},{"uid":6675,"indexUid":"images","status":"succeeded","type":"documentAdditionOrUpdate","canceledBy":null,"details":{"receivedDocuments":1,"indexedDocuments":1},"error":null,"duration":"PT0.092700800S","enqueuedAt":"2024-02-21T15:14:19.7169203Z","startedAt":"2024-02-21T15:14:19.7534819Z","finishedAt":"2024-02-21T15:14:19.8461827Z"},{"uid":6674,"indexUid":"propertys","status":"succeeded","type":"documentAdditionOrUpdate","canceledBy":null,"details":{"receivedDocuments":1,"indexedDocuments":1},"error":null,"duration":"PT0.101422900S","enqueuedAt":"2024-02-21T15:14:19.6680112Z","startedAt":"2024-02-21T15:14:20.4590947Z","finishedAt":"2024-02-21T15:14:20.5605176Z"},{"uid":6673,"indexUid":"users","status":"succeeded","type":"documentAdditionOrUpdate","canceledBy":null,"details":{"receivedDocuments":1,"indexedDocuments":1},"error":null,"duration":"PT0.419562800S","enqueuedAt":"2024-02-21T15:14:19.4964471Z","startedAt":"2024-02-21T15:14:20.0348842Z","finishedAt":"2024-02-21T15:14:20.454447Z"},{"uid":6672,"indexUid":"propertys","status":"succeeded","type":"documentAdditionOrUpdate","canceledBy":null,"details":{"receivedDocuments":1,"indexedDocuments":1},"error":null,"duration":"PT0.101422900S","enqueuedAt":"2024-02-21T15:14:19.3004842Z","startedAt":"2024-02-21T15:14:20.4590947Z","finishedAt":"2024-02-21T15:14:20.5605176Z"},{"uid":6671,"indexUid":"images","status":"succeeded","type":"documentAdditionOrUpdate","canceledBy":null,"details":{"receivedDocuments":1,"indexedDocuments":1},"error":null,"duration":"PT0.092700800S","enqueuedAt":"2024-02-21T15:14:19.1278581Z","startedAt":"2024-02-21T15:14:19.7534819Z","finishedAt":"2024-02-21T15:14:19.8461827Z"},{"uid":6670,"indexUid":"propertys","status":"succeeded","type":"documentAdditionOrUpdate","canceledBy":null,"details":{"receivedDocuments":1,"indexedDocuments":1},"error":null,"duration":"PT0.101422900S","enqueuedAt":"2024-02-21T15:14:19.0872362Z","startedAt":"2024-02-21T15:14:20.4590947Z","finishedAt":"2024-02-21T15:14:20.5605176Z"},{"uid":6669,"indexUid":"users","status":"succeeded","type":"documentAdditionOrUpdate","canceledBy":null,"details":{"receivedDocuments":1,"indexedDocuments":1},"error":null,"duration":"PT0.419562800S","enqueuedAt":"2024-02-21T15:14:18.9416217Z","startedAt":"2024-02-21T15:14:20.0348842Z","finishedAt":"2024-02-21T15:14:20.454447Z"},{"uid":6668,"indexUid":"bookmarks","status":"succeeded","type":"documentAdditionOrUpdate","canceledBy":null,"details":{"receivedDocuments":101,"indexedDocuments":101},"error":null,"duration":"PT0.114868400S","enqueuedAt":"2024-02-21T15:14:18.7597485Z","startedAt":"2024-02-21T15:14:19.8828301Z","finishedAt":"2024-02-21T15:14:19.9976985Z"},{"uid":6667,"indexUid":"images","status":"succeeded","type":"documentAdditionOrUpdate","canceledBy":null,"details":{"receivedDocuments":1,"indexedDocuments":1},"error":null,"duration":"PT0.092700800S","enqueuedAt":"2024-02-21T15:14:18.5810068Z","startedAt":"2024-02-21T15:14:19.7534819Z","finishedAt":"2024-02-21T15:14:19.8461827Z"},{"uid":6666,"indexUid":"propertys","status":"succeeded","type":"documentAdditionOrUpdate","canceledBy":null,"details":{"receivedDocuments":1,"indexedDocuments":1},"error":null,"duration":"PT0.861673800S","enqueuedAt":"2024-02-21T15:14:18.5361531Z","startedAt":"2024-02-21T15:14:18.8854654Z","finishedAt":"2024-02-21T15:14:19.7471392Z"},{"uid":6665,"indexUid":"users","status":"succeeded","type":"documentAdditionOrUpdate","canceledBy":null,"details":{"receivedDocuments":1,"indexedDocuments":1},"error":null,"duration":"PT0.116696400S","enqueuedAt":"2024-02-21T15:14:18.3761215Z","startedAt":"2024-02-21T15:14:18.7206164Z","finishedAt":"2024-02-21T15:14:18.8373128Z"}],"total":6685,"limit":20,"from":6684,"next":6664}
This is my settings
 'meilisearch' => [
        'host' => env('MEILISEARCH_HOST','http://localhost:7700'),
        'key' => env('MEILISEARCH_KEY',null),
        'index-settings' => [
            Property::class => [
                'distinctAttribute' => null, //or ID

                'filterableAttributes'=> [
                    '_geo',
                    'user_id',
                    'uniqueid',
                    'status',
                    'type',
                    'city',
                    'state',
                    'area',
                    'price',
                    'rooms',
                    'bedrooms',
                    'bathrooms',
                    'building_age',
                    'air_conditioning',
                    'swimming_pool',
                    'central_heating',
                    'laundry_room',
                    'gym',
                    'alarm',
                    'window_covering',
                    'created_at',
                    'updated_at',
                ],
                'sortableAttributes'=>['price','created_at'],

            ]
]

@seifrached, you change the document visibility by changing its status, am I right?

@ManyTheFish
I’m accessing directly to my documents with meilisearch for speed request, scout more slowly 😛

Hello @seifrached,
What are the curl requests made behind to ask Meilisearch to hide or make a document visible?
I'd like to reproduce your issue on my side.
Meilisearch tasks are asynchronous, meaning that it may not have finished processing the task when you checked if the document was visible.
thanks

@ManyTheFish
I made requesst only for fetching data from Meilisearch, but in my case i use basic laravel HTTP Requests to delete "Record", but will to try to do a Curl query and let you know what happened.

@seifrached do you still have the issue with v1.8.0?

@seifrached do you still have the issue with v1.8.0?

Yes 😒

Hello @seifrached
We worked on this issue with @ManyTheFish again, and we really don't understand your problem. We need a reproducible example to fix your issue, and we don't have it at the moment.
What is a reproducible example of "making some records unsearchable"?

which documents did you add?
which settings do you have? (we have them ✅)
which queries do you send? What do you get? What would you expect instead?

Can you please provide it please?

I close this issue due to a lack of answers. Nothing is definitive of course, feel free to ask to re-open if needed 😊


Weave hangs at the introduction example

I tried the following code from the document.
(weave) pkg> st
Status `~/Work/weave/Project.toml`
  [717857b8] DSP v0.6.6
  [91a5bcdd] Plots v1.2.0
  [44d3d7a6] Weave v0.9.4

julia> using Weave

julia> weave(joinpath(dirname(pathof(Weave)), "../examples", "FIR_design.jmd"),
         out_path=:pwd,
         doctype = "md2html")
[ Info: Weaving chunk 1 from line 42
[ Info: Precompiling Plots [91a5bcdd-55d7-5caf-9e0b-520d859cae80]
WARNING: replacing module WeavePlots.
[ Info: Weaving chunk 2 from line 71
[ Info: Weaving chunk 3 from line 83
[ Info: Weaving chunk 4 from line 88

And it stops at line 88 for a few minutes until I ran out of patience.

can you try on the latest Weave version ?:

Now it hangs at a different place
julia> weave(joinpath(dirname(pathof(Weave)), "../examples", "FIR_design.jmd"),
                out_path=:pwd,
                doctype = "md2html")
┌ Info: Weaving chunk 1 from line 26
└   progress = 0.0
┌ Info: Weaving chunk 2 from line 49
└   progress = 0.16666666666666666
[ Info: Precompiling DSP [717857b8-e6f2-59f4-9121-6e50c889abd2]
┌ Info: Weaving chunk 3 from line 78
└   progress = 0.3333333333333333
┌ Info: Weaving chunk 4 from line 90
└   progress = 0.5
┌ Info: Weaving chunk 5 from line 95
└   progress = 0.6666666666666666

However, this works if I change the example file and only weave the first 3 chuncks
julia> weave("./FIR_design.jmd",
                out_path=:pwd,
                doctype = "md2html")
┌ Info: Weaving chunk 1 from line 43
└   progress = 0.0
┌ Info: Weaving chunk 2 from line 72
└   progress = 0.3333333333333333
┌ Info: Weaving chunk 3 from line 84
└   progress = 0.6666666666666666
┌ Info: Weaved all chunks
└   progress = 1
[ Info: Report weaved to FIR_design.html
"~/Work/weave/FIR_design.html"

I'm seeing the same issue.  Seems to happen on plot blocks.  I can make it progress by sending ^c when it gets stuck.  @newptcai did you find a workaround for this?
(weave) pkg> st
      Status `~/Projects/weave/Project.toml`
  [717857b8] DSP v0.7.2
  [91a5bcdd] Plots v1.19.3
  [44d3d7a6] Weave v0.10.10

julia> using Weave

julia> weave(joinpath(dirname(pathof(Weave)), "../examples", "FIR_design.jmd"),
                out_path=:pwd,
                doctype = "md2html")
┌ Info: Weaving chunk 1 from line 26
└   progress = 0.0
┌ Info: Weaving chunk 2 from line 49
└   progress = 0.16666666666666666
┌ Info: Weaving chunk 3 from line 78
└   progress = 0.3333333333333333
┌ Info: Weaving chunk 4 from line 90
└   progress = 0.5
┌ Info: Weaving chunk 5 from line 95
└   progress = 0.6666666666666666
^C┌ Info: Weaving chunk 6 from line 102
└   progress = 0.8333333333333334
^C┌ Info: Weaved all chunks
└   progress = 1
[ Info: Weaved to /home/pjw/Projects/weave/FIR_design.html
"/home/pjw/Projects/weave/FIR_design.html"

I had a similar problem #436 . You may try to see if the following workaround works for you.
ENV["GKSwstype"]="nul"
weave(joinpath(dirname(pathof(Weave)), "../examples", "FIR_design.jmd"),
                out_path=:pwd,
                doctype = "md2html")
ENV["GKSwstype"]="gksqt"

I am experiencing the same problem, running weave from the REPL in a graphical terminal on an Ubuntu system, where the run hangs at plot commands . As reported, ^C allows it to continue and produces a result. The workaround mentioned by @Ossifragus does work, but I also found that using the PyPlot backend also works. So that suggests the problem is related to the gr backend.

I had the same issue when running SciML/SciMLBenchmarks notebooks and @Ossifragus worked for me as well. This is such a non-obvious error. It would be good to somehow alert the user about it.


IGNITE-14336 pass a table modification command to the calcite schema …

…holder
Thank you for submitting the pull request to the Apache Ignite.
In order to streamline the review of the contribution
we ask you to ensure the following steps have been taken:
The Contribution Checklist

[ ] There is a single JIRA ticket related to the pull request.
[ ] The web-link to the pull request is attached to the JIRA ticket.
[ ] The JIRA ticket has the Patch Available state.
[ ] The pull request body describes changes that have been made.
The description explains WHAT and WHY was made instead of HOW.
[ ] The pull request title is treated as the final commit message.
The following pattern must be used: IGNITE-XXXX Change summary where XXXX - number of JIRA issue.
[ ] A reviewer has been mentioned through the JIRA comments
(see the Maintainers list)
[ ] The pull request has been checked by the Teamcity Bot and
the green visa attached to the JIRA ticket (see TC.Bot: Check PR)

Notes

How to Contribute
Coding abbreviation rules
Coding Guidelines
Apache Ignite Teamcity Bot

If you need any help, please email<EMAIL_ADDRESS>or ask anу advice on http://asf.slack.com #ignite channel.

This PR Seems to be not master -based development, https://issues.apache.org/jira/browse/IGNITE-14336 is resolved, closing PR


chore: remove autoImplicit from more files

and reduce its scope in a few other instances.
Mostly in CategoryTheory and Data this time; some Combinatorics also.

What is the current guidelines around variable {α : Type*} vs variable {α}? Is there a preference for one over the other?


BUG: LinearNDInterpolator >5 times slower than equivalent MATLAB's scatteredInterpolant

Describe your issue.
Hi,
I have been updating an old MATLAB source base into a python one but I have come across some difficulty with interpolation.
We simulate a signal (ZZ) on a 2D mesh (XX, YY). We then create a linear interpolator using scattered data to get the following inversion map (x, z) -> y.
Roughly speaking, the ranges of X, Y, and Z are [10, 200], [100, 4095], and [-0.5, 0.5] respectively (important due to rescaling).
While I can retrieve the exact results from our MATLAB test suite by

setting SciPy's LinearNDInterpolator's rescale parameter to True (MATLAB does this automatically),
setting MATLAB's scatteredInterpolant extrapolation to False (MATLAB does this by default)

Creating the interpolator takes about the same amount of time (< 20 seconds). I found that evaluating the LinearNDInterpolator object takes about 5 times longer than evaluating the scatteredInterpolant object when evaluating the object on my (somewhat large) input dataset.
Disclaimer: I'm using the MATLAB software (R2023 Update 5) on Windows (31.7G RAM) and the same version on WSL2 (15.5G RAM), while I run the python code on WSL2 (15.5G RAM). Using the reproduction scripts below on 1 CPU in WSL2, I don't see any significant additional RAM usage during LinearNDInterpolator's evaluation (<0.01G RAM). Using scatteredInterpolant, I see about 0.20G additional RAM being used during evaluation.
The input data, its data type etc. is all the same and I turned off the parallel pool in my MATLAB client to interference.
Still, I get runtimes of under 2 minutes with MATLAB and runtimes of close to 10 minutes with SciPy using a 40+ millions 2D input dataset.
I wondered if this was linked to a recent issue (#19547) but isn't QHull used when creating the Delaunay triangulation? Would it have an impact when evaluating the interpolant once the interpolator is created?
I don't really know what could make it that SciPy's evaluation takes so much longer than that of MATLAB when the rest of the code has been made much faster with Python/NumPy/SciPy, so I thought it may be useful submitting this.

In the meantime, I looked into ways to parallelize the evaluation of the interpolator using Python's multiprocessing's starmap on 10 CPUs, taking #8856 into account (2018) and splitting the dataset in 100 batches. However, the RAM usage is perpetually increasing the evaluation of the 40+ millions points had not finished after 26 minutes when it started hitting the swap, so I terminated the script. I had checked the script finished when using a very small input dataset, so I'm not sure what's causing the RAM to increase like. Since it's not happening on the sequential version, I'm considering it may be more of a multiprocessing issue though, like not freeing everything upon transferring the results to the main process.
I also looked into using Numba on the interpolator but these functions aren't supported yet. I'm considering looking into the threading library next, so I'll update once it's done.

Note: in the code block below, I reduced the number of 2D-points to evaluate the interpolant on down to 1 000 000. It took my computer 54 seconds using my WSL2 Python environment and only 4 seconds using my MATLAB environment (R2023a Update 5) in Windows and 3.5 seconds in WSL2. I'd have imagined the MATLAB speedup to be lower than x5 when using smaller datasets but this may be due to using a 1 million 2D points randomly generated dataset rather than our more behaved 40+ millions 2D points physical dataset. I could check tomorrow how the speedup scales using the randomly generated dataset.
Reproducing Code Example
## Python
from time import time
from scipy.interpolate import LinearNDInterpolator
from numpy import arange, meshgrid, exp
from numpy.random import randint, rand

X = arange(1, 201, 1, dtype=int)
Y = arange(0, 4096, 1, dtype=int)
XX, YY = meshgrid(X, Y)
ZZ = 1 / (1 + exp(-(XX-100)/100)) - YY/4095 - 0.5

new_X = randint(1, 200, size=1000000)
new_Z = rand(1000000) - 0.5

interpolator = LinearNDInterpolator(list(zip(XX.ravel(), ZZ.ravel())), YY.ravel(), rescale=True)
start = time()
new_Y = interpolator(new_X, new_Z)
print(f"Elapsed time: {time() - start:.2f}")

%% MATLAB
X  = 1:200;
Y  = 0:4095;
[XX, YY] = meshgrid(X, Y);
ZZ = 1 ./ (1 + exp(-(XX-100)/100)) - YY./4095 - 0.5;

new_X = randi([1 200], 1, 1000000);
new_Z = rand(1, 1000000) - 0.5;

interpolator = scatteredInterpolant(XX(:), ZZ(:), YY(:), 'linear', 'none');
tic
new_Y = interpolator(new_X, new_Z);
toc

SciPy/NumPy/Python version and system information
1.11.4 1.26.2 sys.version_info(major=3, minor=11, micro=0, releaselevel='final', serial=0)
Build Dependencies:
  blas:
    detection method: pkgconfig
    found: true
    name: openblas
    openblas configuration: USE_64BITINT= DYNAMIC_ARCH=1 DYNAMIC_OLDER= NO_CBLAS=
      NO_LAPACK=0 NO_LAPACKE= NO_AFFINITY=1 USE_OPENMP=0 PRESCOTT MAX_THREADS=128
    version: 0.3.21
  lapack:
    detection method: pkgconfig
    found: true
    name: openblas
    openblas configuration: USE_64BITINT= DYNAMIC_ARCH=1 DYNAMIC_OLDER= NO_CBLAS=
      NO_LAPACK=0 NO_LAPACKE= NO_AFFINITY=1 USE_OPENMP=0 PRESCOTT MAX_THREADS=128
    version: 0.3.21
  pybind11:
    detection method: pkgconfig
    name: pybind11
    version: 2.10.4
Compilers:
  c:
    commands: /croot/scipy_1701295040508/_build_env/bin/x86_64-conda-linux-gnu-cc
    linker: ld.bfd
    name: gcc
    version: 11.2.0
  c++:
    commands: /croot/scipy_1701295040508/_build_env/bin/x86_64-conda-linux-gnu-c++
    linker: ld.bfd
    name: gcc
    version: 11.2.0
  cython:
    commands: cython
    linker: cython
    name: cython
    version: 0.29.36
  fortran:
    commands: /croot/scipy_1701295040508/_build_env/bin/x86_64-conda-linux-gnu-gfortran
    linker: ld.bfd
    name: gcc
    version: 11.2.0
  pythran:
    include directory: ../../_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_p/lib/python3.11/site-packages/pythran
    version: 0.13.1
Machine Information:
  build:
    cpu: x86_64
    endian: little
    family: x86_64
    system: linux
  cross-compiled: false
  host:
    cpu: x86_64
    endian: little
    family: x86_64
    system: linux
Python Information:
  version: '3.11'

If your data is on a meshgrid you should use scipy.interpolate.RegularGridInterpolator instead

I agree but

it does not explain why it's so much slower than the MATLAB equivalent which could mean there is an issue in the implementation;
I'm using meshgrid to compute the signal ZZ, with ZZ somewhat randomly distributed in [-0.5, 0.5], but then I'm using the interpolant to invert the map (XX, YY) -> ZZ into (XX, ZZ) -> YY and RegularGridInterpolator requires XX and ZZ to be vectors (so; using vector x and making ZZ into a vector of shape y, the vectors used to make the XX, YY meshgrid). However, ZZ is not the same vector in every column. And that's without considering it requires the values of the input vectors to be monotonously increasing or decreasing, since I haven't found a way to reduce ZZ into a vector of shape y without loss of information anyways.

So in another case I would use RegularGridInterpolator (and have before) but here I cannot, and I'm doing the same in MATLAB though many times faster there which is why I'm posting this issue (and I'll post on math stackoverflow sometimes later for a more elegant way to invert the map, but which will introduce a breaking change from our code base).

To add to what Jake said above:

We do not know, and have no way of knowing, what matlab does under the hood.

If you see a way of speeding up SciPy's LinearNDInterpolator, we are very interested indeed.
The code is https://github.com/scipy/scipy/blob/main/scipy/interpolate/interpnd.pyx#L246 + Qhull for triangulation (the sources are in https://github.com/scipy/scipy/tree/main/scipy/spatial, look for qhull in that folder).

Alternatively, if you can use GPUs, you may want to keep an eye on https://github.com/cupy/cupy/pull/7985.

To add to what Jake said above:

We do not know, and have no way of knowing, what matlab does under the hood.
If you see a way of speeding up SciPy's LinearNDInterpolator, we are very interested indeed.
The code is https://github.com/scipy/scipy/blob/main/scipy/interpolate/interpnd.pyx#L246 + Qhull for triangulation (the sources are in https://github.com/scipy/scipy/tree/main/scipy/spatial, look for qhull in that folder).

Alternatively, if you can use GPUs, you may want to keep an eye on cupy/cupy#7985.

Yeah that's the issue with closed source... It's also why we're moving our code base to Python.
Thanks for letting me know where to find the relevant SciPy sources. I'll try to find some time to look at it, though I'm sure I won't be able to contribute much since you, @j-bowhay and the rest of the SciPy team have already well optimized everything beyond what little lambda users can provide.
For my short-term use, I'll also look into CuPy as you suggested. Thanks! I'll update this issue if I find anything.


Traccar server stops frequently

Hello,
I am using traccar on aws-EC2-t2.micro.. its 1 GM of RAM and 8GB volume.
Around 60 GPS devices connected to server with around 30 seconds interval.. but sometimes traccar service is stops and manually I have to start it to work it again..
Any reason for this? Or any way to auto restart the service if it stops?

You might need more memory. Also check this page:
https://www.traccar.org/optimization/

Yes, I am using mysql Database. But the max pool size is 5. Should I increase to 50, would it make difference here?
Any way to restart automatically if service stops?

I would recommend to increase it at least to 10-20. It definitely won't hurt.
You can probably set up some script system-level script to restart service if it's not running.

What OS are you using in that server? I used to have traccar installed in amazon micro instance and I start having issues, after a year I found that was the Linux version, I was using Centos which is a red hat based distribution, so when I changed to debian based, debian 8, all my troubles went away.
After lots of issues 2 years later I finally got out from amazon due to maintainance costs and move to linode, then I moved out again to contabo and Im very happy to be there.
Hope this information helps you out on choosing the best option.

Often the file descriptors in red hat based distributions are too low so you need to raise them up to be able to attach more devices which means you need to support higher number of opened sockets and file descriptors. please check ulimit -Hn and ulimit -Sn in linux based systems.

@hackerunet, this information is already included in the link that I provided earlier.

Hello, Thanks for your reply. I have increased pool size to 20, but still issue appears. I am using t2.micro with 8 Gb volume, and installed on ubuntu server. No other service is running except tomcat which is used for web services (very little usage).

Have you checked logs to see what happens?

What do you mean by very little usage? Tomcat is pretty heavy service by itself.

Hello, I can see below logs in wrapper.log file:

Looks like there is some problem with database connection.

Yes, but its not always. This exception comes randomly.. i.e.once in a day or 2

Not sure how it's relevant information. It doesn't change the fact that MySQL closed the connection for some reason.


ShallowWaters.jl example

Hey Gaël, feel free to use these cope snippets (for an additional tutorial?) to show how IndividualDisplacements.jl can be used with ShallowWaters.jl
using ShallowWaters, IndividualDisplacements, PyPlot, NetCDF, Printf

# Produce some turbulent flows with ShallowWaters.jl
nx = 400           # parameters
ny = 200
Lx = 2000e3
L_ratio = nx/ny
dx = Lx/nx

# spin up, starting from rest storing u,v,eta in run0000
RunModel(;nx,Lx,L_ratio,Ndays=100,output=true)    # may take 10min depending on resolution

# now use the previous run as initial condition to have a tracer advection with an already turbulent flow
RunModel(;nx,Lx,L_ratio,Ndays=50,output=true,initial_cond="ncfile")

Now the u,v fields are stored in run0001/u.nc etc. Load all time steps
ncfile = NetCDF.open("run0001/u.nc")
u = ncfile.vars["u"][:,:,:]
u /= dx                      # normalise m/s to 1/s by division with grid spacing dx

ncfile = NetCDF.open("run0001/v.nc")
v = zero(u)                  # pad with zeros
v[:,2:end,:] .= ncfile.vars["v"][:,:,:]
v /= dx                      # normalise

ncfile = NetCDF.open("run0001/sst.nc")
sst = ncfile.vars["sst"][:,:,:]
t = ncfile.vars["t"][:];      # time

Initialise the particles
nparticles = 500
x = nx*0.1 .+ (nx*0.8)*rand(nparticles)    # seed particles a bit away from boundaries
y = ny*0.1 .+ (ny*0.8)*rand(nparticles);   # in grid coordinates

# first flow field with 1. and 2. time step
F = 𝐹_Array2D(u[:,:,1],u[:,:,2],v[:,:,1],v[:,:,2],eltype(u).(t[1:2]))
I = Individuals(F,x,y)

Now we need a function similar to examples/helper_functions.jl#L113-L144
function update_FlowFields!(F::𝐹_Array2D{T},
                            u0::AbstractMatrix,
                            u1::AbstractMatrix,
                            v0::AbstractMatrix,
                            v1::AbstractMatrix,
                            t::AbstractVector) where {T<:Real}

    @boundscheck size(F.u0) == size(u0) || throw(BoundsError())
    @boundscheck size(F.u1) == size(u1) || throw(BoundsError())
    @boundscheck size(F.v0) == size(v0) || throw(BoundsError())
    @boundscheck size(F.v1) == size(v1) || throw(BoundsError())
    @boundscheck size(t) == (2,) || throw(BoundsError())

    # include type conversion if needed
    F.u0 .= T.(u0)
    F.u1 .= T.(u1)
    F.v0 .= T.(v0)
    F.v1 .= T.(v1)
    F.𝑇 .= T.(t)     # also reset the time
end

and compute the trajectories time step by time step
∫!(I)  # integrate first time step

for i in 3:length(t)
    update_FlowFields!(F,u[:,:,i-1],u[:,:,i],v[:,:,i-1],v[:,:,i],t[i-1:i])
    ∫!(I)
end

And finally I've create the frames for this video by
randcolours = rand(nparticles)

for tstep in 0:200
    id_range = I.🔴.t .== t[tstep+1]

    fig,ax = subplots(1,1,figsize=(8,4))

    ax.contourf(sst[:,:,tstep+1]',64,cmap="gray")
    scatter(I.🔴.x[id_range],I.🔴.y[id_range],30,c=randcolours)

    xlim(0,nx-1)
    ylim(0,ny-1)
    xticks([])
    yticks([])
    tight_layout()

    s = @sprintf("%06d",tstep)
    savefig("$s.png")
    close(fig)
end

Hey Gaël, feel free to use these cope snippets (for an additional tutorial?) to show how IndividualDisplacements.jl can be used with ShallowWaters.jl

Awesome! Will do. Thanks!!!

Hey Gaël, feel free to use these cope snippets (for an additional tutorial?) to show how IndividualDisplacements.jl can be used with ShallowWaters.jl

Awesome! Will do. Thanks!!!

You'll find one version in the docs of ClimateModels.jl
@ https://gaelforget.github.io/ClimateModels.jl/dev/examples/ShallowWaters.html
Thanks again


Implement ADC HAL

SAMD51 only at the moment, though I'll start on SAMD21 soon. The main motivator for this was pyportal touchscreen. Also makes minor changes to clocks, because I was in there adding the adc clock and found some stuff that needed changing.
Fixes #35

So one thing that's bugging me here is the samd21s only have one adc, and it's just called "adc" in the pac. In the current structure that means we can't name our hal for the adc "adc". So I named it "adc_hal" in samd21 and "adc" in samd51. I think that's pretty jank and bad. So we could either name them both "adc_hal" or it might be best to do a big restructure and put the pac in it's own module separate from the hal. Like I think nrf-rs has where the hal contains the pac under a "pac" module rather than having it all jumbled together. Let me know what you guys think.

@sajattack there's a big refactor I had in mind which I can attempt. I was hoping to land #60 first, but perhaps I should just try the refactor first instead

@tarcieri Yeah I have to rewrite like half the HAL anyway if I want upstream svd2rust to work so it's a good time for refactors.


Add contact us page to the website

This contact us option is in header section , Assign me I like to work on it , Add gssoc-ext , hactoberfest -accepted , level to this Issue @vishanurag

Similar issue is already assigned to someone else


Documentation for how to use the project  is missing

There appears to be no main() function and it is unclear where the external data needs to be put.
It would also be better  if the home dir was not hard coded.

Sorry about that, the instructions should now be at the bottom of the readme. Thanks!


Rename "api" directory to "typespec"

I've been wanting to rename this directory since the earliest days of ARO-HCP but I was holding off so as not to disrupt Petr's API specification work.
In my opinion, "typespec" is a more precise name for the content of the directory than just "api".
Compare with ARO Classic's "swagger" directory which holds its API specifications.
I tried my best to update all the directory name references in our scripts and documentation.

bikesheding alert FWIW I think api is a better name. typespec is an implementation detail IMO. I'm still getting to grips with HCP so feel free to disregard this

We also have an internal/api directory containing Go code, so an additional goal with this is to eliminate the ambiguity when we refer to the "api" directory.

Got :-1: from multiple team members so closing.


Add option to delete photo (fix bug 689365)

Oh hey: you can delete your photo now. Is there a cool mock file test thing for Django we can test this with, or is this better left to automation? (@m8ttyB -- what you say?)

tests, otherwise it looks great.

Also this fails if the user doesn't have a profile photo but sends the key anyway. I'll hide the option if their photo is blank and make sure we don't try to delete it if it doesn't exist.

Merged in 3eb4453c209170801e51ec2f06dcf5e6121b7b79.


Pair action

An action that pairs off emitted values before applying a function would be useful. Consider something that constructs a simple dictionary:
Dict   <- '{' Members? '}'
Values <- Member (',' Member)*
Member <- Key ':' Value

With some actions like this:
actions = {
    'Dict': Pack(dict),
    'Member': Pack(tuple)
}

Considering that Pack(tuple) takes 2 function calls (Pack, then tuple) for every member, this takes 2N + 1 function calls to construct the list. Consider instead this action:
actions = {
    'Dict': Pair(dict)
}

where Pair(dict) does something like dict(zip(args[::2], args[1::2])), that's just 3 calls (Pair, zip, then dict), plus the 2 __getitem__ calls on args. Here I'm only counting calls from user code, as presumably CPython would be more efficient in constructing tuples in zip. Preliminary tests show only slight gains in speed for small lists, but it seems to get better for longer lists. A bigger potential benefit is the reduction in recursive calls. In one example the recursion limit (e.g., depth of nested structure) went from 70 to 100 from this change alone.

Closed by 0938d8b483aa7b8a499b654a141e65c68c947587


FR - MT Truck Features slider variant

Agile Requirement
As a user, I want to interactively check the different particular customizations for the refuse and vocational work configurations, via a slider available in the Truck Features block.
Description
Allow content editors to add two different images in any of the truck features block sections. These two images should be displayed in the publish mode overlapped and the user should be able to slide left and right between each of them to compare the customizations, as in the design.
Acceptance Criteria

As an editor I can upload two images on any of the Truck Features block sections.
If two images have been uploaded by an author in a section of the Truck Features block, on publish, they are displayed overlapped and the user can slide left or right between both to compare them using the slider bar following the above mentioned design and style.
By default, the slider bar is in the center of the images.

Solution direction: https://cloudfour.com/thinks/building-an-accessible-image-comparison-web-component/

Adding this functionality to the Truck Features block is quite complicated Front-end-wise, making this easy for content editors is complex. As this is a comparison functionality we suggest having it in a different block such as #147. This will allow us to maintain this functionality but implement it in less time.

@WendyKruger @HaycockJill Adding this functionality to the Truck Features block is quite complicated and finding a user-friendly solution for content editors is too. As this is a comparison functionality that we understand can add value to users, we suggest having it in a different block such as #147. This will allow us to maintain this functionality but implement it in less time. Ticket #147 should be then re-estimated in a 5.

Ok, per comments on #147

will be fixed in #147


sudoku

We just submitted a result, please merge pull requests.
Daniel Haehn @.***> 于2021年6月24日周四 下午8:19写道：

Merged #7 https://github.com/LE-V-EL/cqaw_submission/pull/7 into main.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/LE-V-EL/cqaw_submission/pull/7#event-4934247565, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AMMTXGIR7WMT7DX3WRXLJ2LTUMPEJANCNFSM47AI5U5Q
.


Sponsor Saturday Sessions Lunch

Depending on Friday Night Pitch Night dinner, this could be pizza, sandwiches, or kabobs.

This was estimated at $600.00 in 2020. So, about $726 today.
I'm waiting on the venue sponsor for Pitch Night as that determines what options might be appropriate for Saturday lunch. If we do catering on Friday then we can do something less expensive for Saturday lunch.

Given that Through the Looking Glass will be the venue sponsor and we are doing pizza on Friday.
https://github.com/becamp/becamp.github.io/issues/6
We'll need a Not Pizza sponsor for Saturday lunch.

Here are some options
Sticks
Sultan Kebab
Otto
Mezah
Qdoba
Generic Mexican

For Sticks, we'll probably have to do a 50 person + 10 person catering.

I've got a catering for 50 + a catering for 10 = $954.75
That doesn't include any sweet treats. So I'll open a ticket to find a sponsor for sweets.

AutoStore cash donation is going to lunch.

https://www.autostoresystem.com/


[fastlane] local actions should be imported before their Fastfile otherwise importing the Fastfile might fail

This makes lots of sense, thanks for this. Have you tested if the tests fail when you revert the actual change?

@KrauseFx yes I started writing the test first then squashed. Next time I push separately so you get the circleci failure first if you prefer.


cli does not prompt for host on initializing a directory

When running admin ./sample, prompts do not ask you for a hostname. If you don't have a database running on your computer, the cli will then throw an error after the prompts.

@simov

Hi, in v2 of the admin there is no longer a CLI and instead you just have to setup your config.json file manually. All connection options are supported for your database driver. Also have a look at the changelog for any potential breaking changes.


[19.03] Revert Pass root to chroot to for chroot Tar/Untar (CVE-2018-15664)

The CVE fix merged in #254 is currently incorrect and breaks users (see https://github.com/moby/moby/issues/39348).
While we figure out the proper fix, unfortunately we need to revert the fix for 19.03.
Ping @andrewhsu @justincormack @tonistiigi @cpuguy83 @thaJeztah

Sorry, I'm not seeing the problem with the proposed patch (outside of showing the need for a rewrite)

@cpuguy83 it partially reverts the guarantees that the CVE fix added (by chroot-ing to one directory level above, which in the case of other drivers than overlay2 provides access to any other layer).

In the meantime, until a more suitable fix for the CVE is available, mitigation is to pause the container before doing file system operations if one is concerned about somebody being sneaky: https://github.com/moby/moby/pull/39252

Doesn't it make sense to have a partial mitigation?
Also was there some issue found with the "copy to container" scenario?


Generate khcj with CoclusteringResults

Currently CoclusteringResults generates a khc file on output. This is mostly used for tests. Since khcj will become the main output of Khiops Coclustering it may be useful to implement a khcj (JSON) output.
Note: The use-cases for this feature are not clear, so it is not at all prioritary at the moment.
Implementation Ideas

The trasposition of the JSON structures must be reversed to generate the file: The JSON structure is not isometric to that of Python objects
Can be encoded in UTF-8 without problems: Khiops will detect the khiops_encoding flag of the generated file and properly decode it.

Make sure all our tests (and code) only uses JSON reports.

Synchronize with Core policy.


Add rules for contractor credential objects

Details can be found in https://github.com/bcgov/DITP/issues/95

Should we create generic wildcards for dev, without specifying specific DIDs? This would help us with onboarding any new development team without having to vet them first, since this environment is likely going to be the first proving ground.

When onboarding a new agent (team) with the endorser we have to register the agent with the endorser in one of two ways since we don't, and should never, allow open endorsement to all:

configure the per-connection settings for auto-endorsement.
register a set of rules for the new agent.

The first method is hidden and includes some manual/scripted steps.  The second method is openly visible, descriptive, and has the added benefit of the history in git.
My preference is to onboard teams by registering their DIDs, and then we can decide to provide them with open (wildcard) or more restricted access to write schemas and cred defs.
I've purposely added some restrictions to both CDT and CSB rules.  CDT, simply because this is the first time we're creating a DID for ourselves and I'd like to record our use cases as we evolve them.  We have full control so it's easy for us to update our own rules.  For this use case we've defined governance rules defining the rules and responsibilities of each party, these rules reflect those defined by the governance documentation and explicitly reflect the fact that CDT is responsible for issuing the schema and CSB is responsible for issuing the cred-def based on that schema.


#15755 Improve ERD routing

Closes #15755
List of things to be done:

[x] - implement Mikami-Tabuchi for orthogonal routing(Still needs path manipulation support)
[x] - Change anchor from element to attributes, allowing to show path directly from the attributes. (Partly works not for all attribute types)

Current progress

This feature is disabled by default due to major changes in the program behavior, it can be enabled in the preferences. Attribute - attribute associations will be shown only if all attributes are shown. This was done to make all connections consistent.


add solr 3.x image

As we are migrating in sites we have run into the need to have a Solr 3.x image.
For an example, see:
https://hub.docker.com/r/previousnext/solr3/~/dockerfile/

The issue we were facing was actually to be found with how the Solr host/core/etc were being added to older drupal sites, after repairing this these sites were able to connect to Solr 5 or 6.


rules: add salt-call as a trusted process

What type of PR is this?
/kind bug
/kind rule-update
Any specific area of the project related to this PR?

/area rules

What this PR does / why we need it:
salt-minion was added as a trusted process in https://github.com/falcosecurity/falco/commit/85f51cf38c504772e00cc8918442ba6323ec9b89 and https://github.com/falcosecurity/falco/commit/1feae90c74943a7152972d94a39ed80965c26614, this however does not cover salt-call which is also a saltstack component and used on minions to apply changes from client-side. It should also be a trusted process along-with salt-minion as part of Saltstack.
Special notes for your reviewer:
Does this PR introduce a user-facing change?:
    rule(Read sensitive file untrusted): let salt-call read sensitive files
    rule(macro rpm_procs): let salt-call write to rpm database

Thanks!

Thanks for your pull request. Before we can look at it, you'll need to add a 'DCO signoff' to your commits.
:memo: Please follow instructions in the contributing guide to update your commits with the DCO
Full details of the Developer Certificate of Origin can be found at developercertificate.org.
The list of commits missing DCO signoff:

d8de725 rule(Read sensitive file untrusted): let salt-call read sensitive files
54e7fc9 rule(macro rpm_procs): let salt-call write to rpm database

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: vin01
Once this PR has been reviewed and has the lgtm label, please assign mstemm for approval by writing /assign @mstemm in a comment. For more information see the Kubernetes Code Review Process.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

rules/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Hi @vin01 , thanks for contributing :)
I'm wondering if you are suggesting to add salt-call since you have seen some noise coming form it. If this is the case, can you share which kind of noise have you experienced?
thanks

Hi @vin01 , thanks for contributing :) I'm wondering if you are suggesting to add salt-call since you have seen some noise coming form it. If this is the case, can you share which kind of noise have you experienced? thanks

Hi @darryk10, right. It was primarily Warning alerts as a result of attempts by salt-call to read files like /etc/shadow, /etc/sudo.* which is expected as salt is used to manage users, sudo rights using in-built modules. Typically I would just use a custom rule override but since salt-minion is trusted in this rule-set, I think it makes sense to have salt-call as well present in the same. salt-call is used on the client-side to apply states, while salt-minion is used when applying the same changes from Salt master itself.
Warning Sensitive file opened for reading by non-trusted program (user=root user_loginuid=-1 program=salt-call command=salt-call /usr/bin/salt-call state.apply ..

/milestone 0.34.0

Hi @vin01 thanks for the extra info and thanks to contributing to lower the noise :)
LGTM

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: darryk10, vin01
Once this PR has been reviewed and has the lgtm label, please assign mstemm for approval by writing /assign @mstemm in a comment. For more information see the Kubernetes Code Review Process.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

rules/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

LGTM label has been added.  Git tree hash: 402fc32a2d8fc5db8f2eeaff71f619984ec861b8

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: darryk10, jasondellaluce, vin01
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

rules/OWNERS [jasondellaluce]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/retest

closing and reopening to trigger the CI
/close

@jasondellaluce: Closed this PR.

In response to this:

closing and reopening to trigger the CI
/close

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

/reopen

@jasondellaluce: Reopened this PR.

In response to this:

/reopen

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: darryk10, jasondellaluce, leogr, vin01
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

rules/OWNERS [jasondellaluce,leogr]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Changes to switch from Yeller to Sentry

Fixes:
https://github.com/clojars/clojars-server-config/issues/37
Companion to:
https://github.com/clojars/clojars-web/issues/559

Not sure exactly how to fix and/or test this. Any advice?

Thanks! You can ignore the test failures, we haven't fully set up testing here, so they always fail. I'll disable them now.

I've disabled the Travis webhook for now.


fix: return None from exceptions in fetch_columns on deltalake extractor

Summary of Changes
For the deltalake metadata extractor, when fetching columns the code describes the table, and then tries to look at schema by doing spark.table('<table>').schema; this is wrapped in a try-catch to fail gracefully.
We ran into an issue recently where running spark.table('<table>').schema raised an exception, causing this method to drop into the except and log the error and return raw_columns. However, the type of raw_columns is not List[ScrapedColumnMetadata], it's a list of spark Row objects, e.g.
[Row(col_name='date', data_type='date', comment=''),
 Row(col_name='hour_start', data_type='timestamp', comment=None),
...

which caused the eventual user of the result (create_table_metadata) to encounter an exception because the metadata was not the type it was expecting.
This commit fixes this by returning None instead of raw_columns, and adds a test to assert that this is the behavior if an exception is returned in fetch_columns.

Tests
I added a test to simulate the behavior of fetch_columns with a non-existent table, which will cause an exception in the method.
Documentation
N/A
CheckList
Make sure you have checked all steps below to ensure a timely review.

[X] PR title addresses the issue accurately and concisely. Example: "Updates the version of Flask to v1.0.2"

In case you are adding a dependency, check if the license complies with the ASF 3rd Party License Policy.

[X] PR includes a summary of changes.
[X] PR adds unit tests, updates existing unit tests, OR documents why no test additions or modifications are needed.
[X] In case of new functionality, my PR adds documentation that describes how to use it.

All the public functions and the classes in the PR contain docstrings that explain what it does

Can you fix the signoff?
git commit --amend --no-edit --signoff

@sewardgw done!

cc @jroof88 given you work on delta extractor recently

cc @jroof88 given you work on delta extractor recently

@justaparth and I work together 😎 and he identified this bug! PR LGTM

update to return [] instead of None; i think it should fix the CI bug and is actually closer i think to the original code's intent


If --octoherd-token is not passed, prompt for it using GitHub's OAuth Device Flow

released in v3.1


Refactor/register

Added this as part of #122.
Thanks, @Saksham-1508 for this new page and @divyanshkhetan for reviews.


Snapping between items is very jerky

Hi guys,
I've searched around a lot and haven't found any information about this, but even the simplest of tests with the carousel I find are very jerky.
When swiping between items in the carousel, I notice that as soon as I release my finger, the speed of the snap changes.  This means when I quickly flick to the next item, it instantly slows the snap speed so it looks like the swipe "hit a wall."
I'm tested this using Expo on an iPhone 7.
I've compared this to the native ScrollView with pagingEnabled or even snapToInterval and that has a much smoother effect.
Is this purely because the "snapping" action can't work out how much force a user swiped with?  Or am I completely missing something?
I can probably put together an Expo snack to demonstrate the issue if need be.

You need to understand how the plugin works: it extends the FlatList component and, therefore, the ScrollView one. Unfortunately, and as described in the doc, there are many flaws and limitations with ScrollView's implementation. This means that we have to rely on workarounds and hacks to offer even the most basic features. For example, I would love to use snapToInterval but the scrollTo() method doesn't provide callbacks of any sort, and the prop is iOS only.

Never trust what you see in a debug environment. Make sure to build a production version of the app as this really smooths things out.

If you want to provide a momentum-based interaction, you can set prop enableMomentum to true.

I've never had any issue with nor complaints about carousel's behavior on iOS (Android is a different beast, which has been tamed recently). A screencast would definitely help me get a better understanding of the matter at stake.

I can use an Expo demo to let you know if what you're experiencing is to be expected.

I'm also experiencing weird behaviour on iOS. It wasn't like this a few months ago. Not sure which version i had the best success with though, I will hunt it down and report back here

@eurobob This is strange, because I can't reproduce the issue.
Would you mind sharing a screencast or setting up an Expo example?

@bd-arc I'll try to put together a screencast.  I also see this on the showcase application.  Basically, the speed of the swipe versus the speed of the snap is different, so you get this moment of switching between the swipe and the snap.
I suppose this is the best we are going to get until react-native improves ScrollView etc.

I thought I had already uploaded a screencast but it must not have gone through. Attaching it to this post instead
carousel-jerk.zip

@AdamPD Thanks for describing the issue in greater details.
@eurobob Thank you for taking the time to put the screencast together! You said that a previous version of the plugin wasn't affected by the issue. I'm surprised, especially because @AdamPD experiences the issue even with the showcase app that uses version 1.4.0. Still, if you can figure out which version provided a better feeling, it would help tremendously.
Unfortunately, we don't have much control over ScrollView's behavior. Particularly, there is no way to specify a duration for the scrollTo() method. As you've properly understood, this means that we can't define a snap duration that would be consistent with the swipe gesture...
I'll see what I can do about implementing pagingEnabled and snapToInterval in order to improve things on iOS. Still, I'm afraid that it might mess with the callback mechanism (a hacky way to make up for the fact that scrollTo() doesn't provide any callback...).
Your input and suggestions are most welcome ;-)

@bd-arc - I tried to implement this iOS only using snapToInterval but I ran into major issues with left and right padding.  If I used contentInsets it would not snap to the right position etc.  Seems like potentially a react-native bug but I gave up and went with this instead.

@JulianKingman sorry, a bit oot, how do you achieve the full screen slider like your gif animation? I tried setting sliderWidth and itemWidth to `Dimensions.get('window').width; but seems like each item is a little bit more than the screen width, and the next item offset becomes wrong. After a few scroll I will then need one extra scroll to get to the next item...

@JiboStore for reference, I just used itemWidth and sliderWidth, and had to be careful about using absolute positioning and flex sizing.

Hi, I have a similar issue, though the movement seems smooth, the snapping is not... Snappy.
https://www.youtube.com/watch?v=zlLHIGqNdOA

Hi @fotoflo,
Do you mean that the carousel doesn't snap to the desired position after releasing the touch?
If so, can you open a new issue including a Snack example that reproduces the problem?

hi @bd-arc,
actually it snaps... just happening very slowly.  Also it's offcenter.
Here in the snack it seems to work better... (still off center)
https://snack.expo.io/H1LOjtwPf

@fotoflo It's definitely not a plugin issue. My guess is that you've inadvertently activated the "Slow animations" feature of the iOS simulator (see the "Debug" menu).
Regarding slides' alignment, you made three mistakes:

You didn't specify a width for your ThumbnailBackgroundView.
You used a RN-specific style prop (justifyContent) while declaring your styles with styled components; you should have used justify-content.
You're supposed to use align-items for horizontal aligment since, in React Native, flex-direction defaults to column.

Use the following and you'll be fine:
const ThumbnailBackgroundView = styled.View`
  width: 320; // same as `itemWidth`
  align-items: center;
`;

@bd-arc  Thank you, excellent debugging job! works great 👍

Here's an updated example.  I think it shows a few important things:

Styling
Handling onPress and onSnapToItem
Controlling the carousel with the ref.

https://snack.expo.io/@fotoflo/react-native-snap-carousel-example
I'm just a beginner, so there may be things you want to change, but please feel free to use it as a more complete example.

Thanks @bd-arc  I was aware. I took a look at that app and was lost pretty quickly (sorry, i'm more of a product manager than an engineer) .... here are my thoughts (from memory, if you don't mind).

help me how to use snap carraosel basic

I am also facing the similar issue. I have places the carousel absolutely positioned on the top of a MapView(react-native-maps) with custom markers inside the MapView. When I place the carousel below the map inside a View, the snapping is smooth. But when I place it on the top of the MapView, it has jerks while snapping from one item to another. However, without custom Markers, the snapping is smooth.
I am using it something like:
...

<MapView
    ref={map => (this.map = map)}
    provider={PROVIDER_GOOGLE}
    region={this.state.region}
    style={{
        flex: 1
    }}
    customMapStyle={customMapStyle}
    loadingEnabled={true}
>
    {
     this.state.markers.map((marker, index) => {
      return (
        <Marker
            key={index}
            coordinate={{
                latitude: marker.latitude,
                longitude: marker.longitude
            }}
            image={icMarker}
        />
      );
     );
   }
</MapView>
   <View
        style={{
            position: 'absolute',
            bottom: 0
        }}
    >
        <Carousel
            ref={(c) => { this._carousel = c; }}
            data={this.props.data}
            activeSlideAlignment={'start'}
            inactiveSlideOpacity={1}
            renderItem={({ item, index }) => {
                return (
                    <ProductComponent
                        item={item}
                        index={index}
                    />
                );
            }}
            sliderWidth={size.width}
            itemWidth={((size.width * 2) / 3) - 20}
        />
    </View>

...

I am using:
"react": "16.6.3",
"react-native": "0.57.8",
"react-native-snap-carousel": "^3.7.5"

@JulianKingman sorry, a bit oot, how do you achieve the full screen slider like your gif animation? I tried setting sliderWidth and itemWidth to `Dimensions.get('window').width; but seems like each item is a little bit more than the screen width, and the next item offset becomes wrong. After a few scroll I will then need one extra scroll to get to the next item...
Sorry, I found it in the documentation:
https://github.com/archriss/react-native-snap-carousel/blob/master/doc/TIPS_AND_TRICKS.md#fullscreen-slides
I just need to add the extra:
slideStyle={{ width: viewportWidth }}
inactiveSlideOpacity={1}
inactiveSlideScale={1}

This helps me to fix the flickering of carousel after the loop.This can also fix this issue:https://github.com/archriss/react-native-snap-carousel/pull/368

Smooth scrolling will finally be a reality in the next version.
Click here to learn everything about the upcoming v4!

@bd-arc  if I set the autoplay prop to true thele animation is kind of fast that does not feel like it is animating but feels like only data in the card is changing. help needed

@bd-arc  if I set the autoplay prop to true thele animation is kind of fast that does not feel like it is animating but feels like only data in the card is changing. help needed

Sorry, please allow me to advertise for my open source library! ~
I think this library react-native-reanimated-carousel will solve your problem. It is a high performance and very simple component, complete with React-Native reanimated 2


Blank Screen

I create a Sli.dev project with yarn, and when I open my screen are blank
In console I not have any error. I'm using a macOs.

Same problem with me. I tried creating slidev with npm but I have black page. it was working very will yesterday.
I am running Manjaro linux and brave browser.

Same problem with me. I tried creating slidev with npm but I have black page. it was working very will yesterday.
I am running Manjaro linux and brave browser.

I already try Brave, Safari, Firefox, Google Chrome and Edge.
Noting work...

As Pythonista, we thought our nodejs world was terrible as we could not get to work. I am happy to here that I am not alone. Is any previous versions still working?

As Pythonista, we thought our nodejs world was terrible as we could not get it to work. I am happy to here that I am not alone. Is any previous versions still working?

Yea, already try generate a bunch of projects, all give a blank screen

@Proteusiq the same result here, tried on a MacOS; I also tried an older version (0.18.1) in hope that a severe bug was introduced just recently but it did not change the result. I did not dare trying an even earlier release 😅

I can confirm this issue as well. Running on Pop! OS 20.10, Node installed through NVM (Node Version Manager).

Got the same with, tried editing the slides.md and hot reloading worked as expected and shows the presentation.
Using Node: v14.16.0 on MacOS, testing with Chrome 91.0.4472.77

Got the same thing but, tried editing the slides.md and hot reloading worked as expected and shows the presentation.
Using Node: v14.16.0 on MacOS, testing with Chrome 91.0.4472.77

For me the hot reloading not working

Sometimes I receive this error:
<EMAIL_ADDRESS>has no corresponding SFC entry in the cache. This is a @vitejs/plugin-vue internal error, please open an issue.

Adding a height: 100% to the #slide-container element shows the content.

I don't know, but could this be related to what I mentioned in this discussion? https://github.com/slidevjs/slidev/discussions/231

Adding a height: 100% CSS rule to the #slide-container element shows the content.

Now appears<EMAIL_ADDRESS>has no corresponding SFC entry in the cache. This is a @vitejs/plugin-vue internal error, please open an issue.

Some dependencies issues, can you try with v0.16.9 to see if it's fixed? Thanks

And this vite error? Any solution?

@antfu  after change to 0.16.1 (not appears to me 0.16.9) the animations and highlighting not working
---
layout: image-right
image: https://source.unsplash.com/collection/94734566/1920x1080
---

# Code

Use code snippets and get the highlighting directly!

```ts {2,3|all}
function add(
  a: Ref<number> | number,
  b: Ref<number> | number
) {
  return computed(() => unref(a) + unref(b))
}

```
this is my code, and animations not run and not highlight the code

It's due to Vue 3.1, which I haven't find the way to fix it. Downgraded to fixed v3.0.x in v0.16.9

It's due to Vue 3.1, which I haven't find the way to fix it. Downgraded to fixed v3.0.x in v0.16.9

 But in versions of slidev not appear 0.16.9 only 0.16.1 and 0.17.0

Ah, sorry I mean v0.16.8

@vecerek, that works. Is it possible to make the changes permanent?

@Proteusiq not as far as I can tell. It would require a fix in the project and a new release. The CSS rule should persist across the pagination through the slides, though. So as long as you set the rule before presenting, it should be alright. Refreshing the page would override it, though.


Added Korean Translation to https://tkdodo.eu/blog/react-query-meets-react-router

It's always a useful article on a good topic!
thank you I want to share your writing with more Koreans.
Below is a link to the article translation.
https://itchallenger.tistory.com/719

Thank you. But can you please revert the changes to package-lock.json ? I think this happens if you use the wrong node/npm version.

Oh My! I didn't know, sorry!


Fix default builtin profile path when chartsDir is empty

Fix https://github.com/istio/istio/issues/25291.
[ ] Configuration Infrastructure
[ ] Docs
[x] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

/test all

@elfinhe: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

unit-tests_istio
3f1146f7738cc2cc467dcf37ccc602a3a7c0700d
link
/test unit-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest


Question: How to improve code to get list of all channels with metadata

Hi people,
Here is the code that I wrote to get complete list of user channels with metadata:
    private val channelsSubject = BehaviorSubject.create<List<ChatChannelMetaData>>()

    private val refreshStarted = AtomicBoolean(false)

    override val channels: Observable<List<ChatChannelMetaData>> = channelsSubject.hide()
        get() {
            if (!channelsSubject.hasValue()) {
                refreshChannels()
            }

            return field
        }

    private fun refreshChannels() {
        if (!refreshStarted.compareAndSet(false, true)) return

        val channels = client.channels

        channels.getPublicChannelsList(object : CallbackListener<Paginator<ChannelDescriptor>>() {
            override fun onSuccess(paginator: Paginator<ChannelDescriptor>?) {
                val subscribedChannels = channels.subscribedChannels

                if (subscribedChannels.size == 0) {
                    channelsSubject.onNext(emptyList())
                }

                fetchChannelsInfo(subscribedChannels)
            }
        })
    }

    private fun fetchChannelsInfo(subscribedChannels: List<Channel>) {
        subscribedChannels.forEachIndexed { index, subscribedChannel ->
            val isLastChannel = index == subscribedChannels.size - 1
            if (subscribedChannel.synchronizationStatus == ALL) {
                populatedChannelInfo(subscribedChannel, isLastChannel)
            } else {
                subscribedChannel.addListener(
                        object : TwilioChannelListenerAdapter() {
                            override fun onSynchronizationChanged(channel: Channel) {
                                if (channel.synchronizationStatus == ALL) {
                                    channel.removeListener(this)
                                    populatedChannelInfo(channel, isLastChannel)
                                }
                            }
                        }
                )
            }
        }
    }

    private fun populatedChannelInfo(channel: Channel, isLastChannel: Boolean) {
        val attributes = channel.attributes.toString()
        val metaDataAttribute: ChatChannelAttribute? = try {
            GsonUtil.getInstance().fromJson<ChatChannelAttribute>(
                    attributes,
                    object : TypeToken<ChatChannelAttribute>() {}.type
            )
        } catch (error: Throwable) {
            LogUtil.e("TwilioChat", "Invalid chat channel attributes", error)
            null
        }

        val metaData = ChatChannelMetaData(channel.sid, channel, metaDataAttribute)
        val existingChannels = channelsSubject.value
        val newList = existingChannels?.toMutableList() ?: mutableListOf()
        newList.add(metaData)
        channelsSubject.onNext(newList)

        if (isLastChannel) {
            refreshStarted.set(false)
        }
    }

Can I simplify it? Is there are more elegant way to do it?
I also set listener to client to receive callback when new channel is added/updated/deleted.
I'm afraid what will happen with all this refresh process when one of these callbacks will arrive.

Sorry for such dummy ticket. But I want to highlight how hard/complex it is in the current API to get list of channels sorted by the last received message.

Hi again @emartynov!
We're so appreciated your interest to our product!

In order to get complete list of user channels you don't have to call getPublilcChannelList at all.

There are 3 channel collections exposed by SDK:

public channels which are available for joining to any user
user channels - the channels user have joined.
subscribedChannels - once client get to SynchronizationStatus CHANNELS_COMPLETED this collection contains all user channels. So you don't have to request it each time from the backend by calling getUserChannels

As soon as you already use kotlin you can simplify the code a lot using coroutines:

    suspend fun getChannelsMetaDataList(): List<ChatChannelMetaData> {
        client.waitForSynchronization()
        client.channels.subscribedChannels.forEach { it.waitForSynchronization() }
        return client.channels.subscribedChannels
                .map { ChatChannelMetaData(it.sid, it, it.attributes.toChatChannelAttribute()) }
    }

    fun Attributes.toChatChannelAttribute() = try {
            GsonUtil.getInstance().fromJson<ChatChannelAttribute>(
                    "$this",
                    object : TypeToken<ChatChannelAttribute>() {}.type
            )
        } catch (error: Throwable) {
            LogUtil.e("TwilioChat", "Invalid chat channel attributes", error)
            null
        }

    suspend fun ChatClient.waitForSynchronization(
            synchronizationStatus: ChatClient.SynchronizationStatus = ChatClient.SynchronizationStatus.COMPLETED
    ): Unit = suspendCancellableCoroutine { continuation ->

        setListener(
                onClientSynchronization = { status ->
                    synchronized(continuation) {
                        if (continuation.isActive && status == synchronizationStatus) {
                            removeListener()
                            continuation.resume(Unit)
                        }
                    }
                }
        )
    }

    suspend fun Channel.waitForSynchronization(
            synchronizationStatus: Channel.SynchronizationStatus = Channel.SynchronizationStatus.ALL) {

        val complete = CompletableDeferred<Unit>()

        val listener = addListener(
                onSynchronizationChanged = { channel ->
                    synchronized<Unit>(complete) {
                        if (complete.isCompleted) return@addListener

                        if (channel.synchronizationStatus == Channel.SynchronizationStatus.FAILED) {
                            val errorInfo = ErrorInfo(
                                    CHANNEL_NOT_SYNCHRONIZED, "Channel synchronization failed: ${channel.sid}}")

                            complete.completeExceptionally(ChatException(errorInfo))
                        } else if (channel.synchronizationStatus.value >= synchronizationStatus.value) {
                            complete.complete(Unit)
                        }
                    }
                }
        )

        try {
            complete.await()
        } finally {
            removeListener(listener)
        }
    }

In order to save space I haven't provide setListener/addListener implementations here which are trivial and could be done the same way as in android-ktx

I don't see any sorting in your sample code but you can use getSubscribedChannelsSortedBy for that.

It's up to you how to organise your application and how to handle onChannelAdded/Updated/Deleted callbacks. I could recommend the google's Guide to app architecture and use the ChatClient as Remote data source in the Repository

Feel free to ask If you have more questions. We are here to help :)

Great! Appreciate the answer!
We don't use coroutines, so I can not simplify kotlin code in the proposed way.
One question - Am I right that SDK will always try to get all channels synchronized? So I don't need to call any load methods on client or channles to initiate the sync process?
One API suggestion - having one listener for client is not convenient sometimes - since you wont receive sync status, typing status on the channel object.

How to force client to load new channels created on server? How to refresh list of channels from server?

Hi!
Please found inline answers below

Am I right that SDK will always try to get all channels synchronized?

SDK always try to get only USER channels synchronized

Will channel receive channels synchronized event again when new channels will be added/deleted/updated on server?

No, the Client will not receive channels synchronized event again when new channels will be added/deleted/updated on server. It will receive onChannelAdded/Deleted/Updated event instead.

I don't need to call any load methods on client or channels to initiate the sync process?

Correct for Client and user channels, for public channels you have to call getChannel in order to start channel synchronization process.

Will sorting channels method initiate sync status in sorted order also for every channel?

getSubscribedChannelsSortedBy doesn't initialise sync channels, it just returns user channels in their current statuses. Then you can add ChannelListener to each channel in order to monitor synchronisation status updates.

How to force client to load new channels created on server? How to refresh list of channels from server?

No need to force anything. Once new channel created on server client will receive the onChannelAdded callback. The same for onChannelUpdated and onChannelDeleted.

Do you have some documentation about how internals of the library work in terms of the synchronization?

At the moment we have only docs and sample app code in this repo

So my logic for loading channels should be next:
Instantiate client and set listener
Wait until client get special sync status channels - I have list of all channels now
For each channel set listener
Wait until every channel gets sync status all - I can read last message now
If received all channels - sort them in chronological order

Correct if you are interested in user channels only, for pubilc channels you have to start synchronization by calling getChannel

One API suggestion - having one listener for client is not convenient sometimes - since you wont receive sync status, typing status on the channel object.

Agree that better to be able to add multiple listeners to the client, will add to our backlog.
I didn't get what do you mean you wont receive sync status, typing status on the channel object. Please clarify.
btw onTypingStarted is ChannelListener method,
not the ClientListener. Channels are able to have multiple listeners in the current SDK version.

Thank you, let me review my code with these comments.


Fix for mangled URLs in MDX

Changes proposed

Updates the convert_ipynb_to_mdx script to use mdformat for
formatting markdown cells.
Includes mdformat and mdformat-myst as required dev packages in
setup.py.
Resolves #1465

Types of changes

[x] Docs change / refactoring / dependency upgrade
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist

[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.
[x] The title of my pull request is a short description of the requested changes.

@ndmlny-qs Sorry for the hassle. In this time the error is that we don't have mdformat internally, so our dependency checker throws an error. Let me try importing it and then try re-run the linter

Thanks for letting me know. If mdformat is not available, and will not be available in the build process, I can find a different markdown formatter.

@horizon-blue I am in favor of closing this PR as the code that fixes the mangled URLs is also in PR #1476. Do you have any objections?

Let's keep this open? @horizon-blue has https://github.com/facebookresearch/beanmachine/pull/1476 stacked on top of this internally.
GH signals appear stale; this is green on internal CI