Are the unreasonable image  used for training?

As the fig.7 shows, there are many unreasonable synthesis images, are these images used for training the Faster-RCNN or BlitzNet? Do these images hurt the detection performance?

We didn't evaluate the contribution of "bad" images into the training process since they are generated on the fly. My intuition is that if the context is wrong, they may hurt the performance to some extent. When the image looks unrealistic, although the context is correct, it helps the final performance, as the results suggest. We augmented for training both Faster-RCNN and BlitzNet. In the letter case, it was found to be more helpful, most likely due to big training batches.

Sorry for the ambiguity. What I mean is that we train with all generated images, and since they are generated on-the-fly, we don't know which ones are "good" and which ones are "bad". Hence, we can't separate bad and good ones and measure the impact of either of them to the training. However, as long as the final performance improves, we assume that either we don't have too many bad images, or they don't hurt the training so much.

ok, thank you for your reply and I am clear now


SRID POINT Mysql 8+ Not saved

Mysql 8 can save PONT like this: ST_SRID(POINT(...), 4326)
But
            $point = new Point($lon, $lat);
            $point->setSrid(4326); # !!!!!!!!!!
            $entity->setPoint($point);

Not working - SRID did not saved

Hello,
Currently the MySQL code doesn't use the SRID value. This is something that'll need to be implemented. Currently SRID are saved, but they aren't persisted.
We have to enhance the convertToDatabaseValueSQL in the MySQL classes for the Geographic types, but if someone wants to contribute, he should be careful and check the MySQL5, because I remember that it wasn't compliant with MySQL5. I even don't know if SRID are now compliant with MySQL5.*

saving srid for MySQL is critical, because it affects on lat/lon order. see:
SELECT
    ST_AsText(ST_GeomFromText('POINT(45 90)')),
    ST_X(ST_GeomFromText('POINT(45 90)')),
    ST_Y(ST_GeomFromText('POINT(45 90)')),
#     ST_Latitude(ST_GeomFromText('POINT(45 90)')),
#     ST_Longitude(ST_GeomFromText('POINT(45 90)')),
    ST_SRID(ST_GeomFromText('POINT(45 90)')),

    ST_AsText(ST_GeomFromText('POINT(45 90)', 4326)),
    ST_X(ST_GeomFromText('POINT(45 90)', 4326)),
    ST_Y(ST_GeomFromText('POINT(45 90)', 4326)),
    ST_Latitude(ST_GeomFromText('POINT(45 90)', 4326)),
    ST_Longitude(ST_GeomFromText('POINT(45 90)', 4326)),
    ST_SRID(ST_GeomFromText('POINT(45 90)', 4326)),

    ST_AsText(POINT(45, 90)),
    ST_X(POINT(45, 90)),
    ST_Y(POINT(45, 90)),
#     ST_Latitude(POINT(45, 90)),
#     ST_Longitude(POINT(45, 90)),
    ST_SRID(POINT(45, 90)),

    ST_AsText(ST_SRID(POINT(45, 90), 4326)),
    ST_X(ST_SRID(POINT(45, 90), 4326)),
    ST_Y(ST_SRID(POINT(45, 90), 4326)),
    ST_Latitude(ST_SRID(POINT(45, 90), 4326)),
    ST_Longitude(ST_SRID(POINT(45, 90), 4326)),
    ST_SRID(ST_SRID(POINT(45, 90), 4326))
;

| ST_AsText(ST_GeomFromText('POINT(45 90)'))          | POINT(45 90) |
| ST_X(ST_GeomFromText('POINT(45 90)'))               | 45           |
| ST_Y(ST_GeomFromText('POINT(45 90)'))               | 90           |
| ST_SRID(ST_GeomFromText('POINT(45 90)'))            | 0            |
| ST_AsText(ST_GeomFromText('POINT(45 90)', 4326))    | POINT(45 90) |
| ST_X(ST_GeomFromText('POINT(45 90)', 4326))         | 45           |
| ST_Y(ST_GeomFromText('POINT(45 90)', 4326))         | 90           |
| ST_Latitude(ST_GeomFromText('POINT(45 90)', 4326))  | 45           |
| ST_Longitude(ST_GeomFromText('POINT(45 90)', 4326)) | 90           |
| ST_SRID(ST_GeomFromText('POINT(45 90)', 4326))      | 4326         |
| ST_AsText(POINT(45, 90))                            | POINT(45 90) |
| ST_X(POINT(45, 90))                                 | 45           |
| ST_Y(POINT(45, 90))                                 | 90           |
| ST_SRID(POINT(45, 90))                              | 0            |
| ST_AsText(ST_SRID(POINT(45, 90), 4326))             | POINT(90 45) | <---
| ST_X(ST_SRID(POINT(45, 90), 4326))                  | 90           | <---
| ST_Y(ST_SRID(POINT(45, 90), 4326))                  | 45           | <---
| ST_Latitude(ST_SRID(POINT(45, 90), 4326))           | 90           | <---
| ST_Longitude(ST_SRID(POINT(45, 90), 4326))          | 45           | <---
| ST_SRID(ST_SRID(POINT(45, 90), 4326))               | 4326         |

Yes, it is. I'm currently working on it. MySQL has its own method to store data and Doctrine ORM only accepts one parameter, I cannot store coordinates and SRID with the current engine. So, I'm working on sub-libraries to convert the point into the internal binary storage system of MySQL. IMO, I still need 7 or 8 days of development to make it working. But I only work on it on my free time.

If you're waiting for this new feature, you can yet use the SRID method with a second argument. This is not a good solution, but this is a temporary way to do it. (The best way, currently, is to update your column to specify a default SRID)


Do not list not installed packages in mne.sys_info()

We would like to see the output of mne.sys_info() in issue reports, but this list is very long – even when many packages are not installed it looks like this:
Platform:         macOS-13.2.1-arm64-arm-64bit
Python:           3.10.10 (v3.10.10:aad5f6a891, Feb  7 2023, 08:47:40) [Clang 13.0.0 (clang-13<IP_ADDRESS>)]
Executable:       /Users/clemens/.local/pipx/venvs/ipython/bin/python
CPU:              arm: 12 cores
Memory:           32.0 GB

mne:              1.4.dev0
numpy:            1.24.2 {OpenBLAS 0.3.21 with 12 threads}
scipy:            1.10.1
matplotlib:       3.7.0 {backend=MacOSX}

sklearn:          Not found
numba:            Not found
nibabel:          Not found
nilearn:          Not found
dipy:             Not found
openmeeg:         Not found
cupy:             Not found
pandas:           Not found
pyvista:          Not found
pyvistaqt:        Not found
ipyvtklink:       Not found
vtk:              Not found
qtpy:             Not found
ipympl:           Not found
pyqtgraph:        Not found
pooch:            v1.7.0

mne_bids:         Not found
mne_nirs:         Not found
mne_features:     Not found
mne_qt_browser:   Not found
mne_connectivity: Not found
mne_icalabel:     Not found

I propose to exclude packages that are not installed, so the list would be much shorter:
Platform:         macOS-13.2.1-arm64-arm-64bit
Python:           3.10.10 (v3.10.10:aad5f6a891, Feb  7 2023, 08:47:40) [Clang 13.0.0 (clang-13<IP_ADDRESS>)]
Executable:       /Users/clemens/.local/pipx/venvs/ipython/bin/python
CPU:              arm: 12 cores
Memory:           32.0 GB

mne:              1.4.dev0
numpy:            1.24.2 {OpenBLAS 0.3.21 with 12 threads}
scipy:            1.10.1
matplotlib:       3.7.0 {backend=MacOSX}

pooch:            v1.7.0

maybe use a flat list for packages not installed? I think it is still
valuable

Message ID: @.***>

Yes, that's probably a good idea – we've been discussing this directly in #11544.


PBR-environment map mips

dynamic generation needs the following:
storage mechanism (see the imposter texture storage mechanism)
mip map generation

dx side mipgen knocked out. OpenGL left


INmulti minor issue renaming channels

selecting channels 3 & 4 shows channel labels as "i3", "2"

i think that is actually a bug in ll_number. i just tried to fix it, but ll_number doesn't accept "label" messages with only one integer attached. @klausfilip can you shed some light on that one?

nevermind, just fixed it by converting the label to a symbol before sending it to ll_number.

actually this is still not resolved

now it's fixed – please check!

just confirmed this is fixed-- closing !


Improve browser and mobile support page

Related issues:

https://github.com/CartoDB/carto-vl/issues/1284
https://github.com/CartoDB/support/issues/1938

We currently have this page to explain the browser support for the library https://carto.com/developers/carto-vl/support/browser-support/
However, we don't include information about support in mobile devices, although we provide a couple of useful links. We should add a bit more information about this. I would also add a simple table, which is a common thing in these cases.
Useful links:

https://www.ichemlabs.com/1375
https://paginas.fe.up.pt/~ruirodrig/pub/sw/webcgf/docs/#!/guide/webgl_on_mobile_platforms
https://docs.unity3d.com/Manual/webgl-browsercompatibility.html

@ztephm notify SB 21520692 when complete


[Bug] Wrong use of "altitude" for elevation

Short summary 📝
The entity Moon altitude should be named Moon elevation
Detailed description 📋
The entity "Moon altitude" uses the wrong term. This is the angle above or below the horizon which is called "elevation".
Similar to the azimuth as the angle from the north.
An altitude would be a distance measured in meters or kilometers which you already provide in "Moon distance".
I see that many sources also use the wrong term but you should stick to "elevation" which is mathematically correct.
Version 📌
0.2
Environment 🌐
No response
Logs and screenshots 📂
No response

@ngocjohn  Similar fix necessary for "Moon highest" which should be "Culmination" instead. The German translation already uses "Kulmination" so it's not visible here.
https://en.wikipedia.org/wiki/Culmination
For today you show "Moon highest: 17:39" and as you can see in the graphic this is actually the lowest, not the highest point of the moon's path:


Fix package.json files of dedupe-mixin and scoped-elements for proper module support

We are currently in the process of switching from Jest to Vitest. Vitest uses the built-in resolution system of NodeJS, which is stricter than that of bundlers. This causes issues with the dedupe-mixin and scoped-elements packages.
What I did
scoped-elements: Add "type": "module" to package.json
When NodeJS imports a file, it determines which module system to use based on the extension: *.cjs files use CommonJS and *.mjs use ES Modules. For *.js files, it will pick a module system based on the package's "type" field, defaulting to CommonJS. See also Determining module system in the NodeJS docs.
This system works separately from the "exports" section in the package.json: if the referenced file from the exports block has a .js extension and the package.json doesn't have a "type": "module", the file will be interpreted as a CommonJS module, even if it came from the "import" condition in the "exports".
This is the problem we're running into with the scoped-elements package: because the package.json is missing "type": "module", Node imports the package as if it was a CommonJS module instead of an ES module, resulting in the following error:
SyntaxError: Named export 'ScopedElementsMixin' not found. The requested module '@open-wc/scoped-elements' is a CommonJS module, which may not support all module.exports as named exports.
CommonJS modules can always be imported via the default export, for example using:

import pkg from '@open-wc/scoped-elements';
const { ScopedElementsMixin } = pkg;

By adding the "type": "module" to the package.json, Node properly considers the file as an ES module.
dedupe-mixin: Add "main" and "exports" to package.json
The package.json of dedupe-mixin only contains a "module" declaration, and no "main" or "exports". "module" is non-standard, and only used by bundlers. This results in the following warnings when trying to import the package from NodeJS:
(node:43043) [DEP0151] DeprecationWarning: No "main" or "exports" field defined in the package.json for <...>/node_modules/@open-wc/dedupe-mixin/ resolving the main entry point "index.js", imported from <...>.
Default "index" lookups for the main are deprecated for ES modules.

To remove this warning, I've added "main" and "exports" fields to the package.json.
In another pull request I read that a concern about adding an "exports" field was that it would remove the possibility to do deep imports, which would make it a breaking change.
To prevent this breaking change, I've also added "./index.js" and "./src/dedupeMixin.js" to the exports, so deep imports are still possible.

What is the status of this? I am blocked because of this issue.

Is there any progress on this? This is blocking us from moving to Vitest as well


:sparkles: feat(interval): take distance sign into account in circleFrom

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

8 of 8 (100.0%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
808

Relevant Lines:
808

💛  - Coveralls


Unable to parse part of a function without a name...

I'd like to generate smth. like IQueryable for Javascript.
For this I need to parse following function (wich I get as a Parameter)
function (x) { return x.content == "aa"; }
this does not work, because function has no name

Such a question would better be asked on something like Stack Overflow, since this seems to be a usage problem, not a problem with acorn itself.
However, it's very easy to make this code valid:
parse('(' + functionCode + ')')

Duplicate of #372.


Bug in 0.17 alpha - Calling Websocket.send in Http.App.program's init doesn't work, the WebSocket message is never sent

Background: I'm writing an app where a websocket message is sent on initial page load requesting data from the server
Issue: calling WebSocket.send in Http.App.program's init doesn't work.  Message seems to be lost.
init : (Model, Cmd Msg)
init =
  -- Looking at chrome dev tools, this string is never sent
  (Model "" "", WebSocket.send url "hello first time" )

Speculation: Seems to be either a timing issue waiting on the websocket to connect, or not properly queuing and sending the message after connected, or potentially some sort of runtime problem like this issue: https://github.com/elm-lang/core/issues/582
Calling WebSocket.send in update from a UI triggered Msg does work.
Here's the code: https://gist.github.com/knowthen/9348d4eda390139a82de91dc75167eab
Here's a quick demo showing the initial message isn't sent (on page load)
Then when I click the button, the message is sent and echoed back.

I can confirm this behavior; ran into the same issue.


New Command: benchmark

Tail a source ID while sending incrementing counters to it. The tail should watch for each value and report when it misses one.
Options:

Rate
How many other source IDs to emit as noise
How long to run test

Added smoke-test command. Left out:

How many other source IDs to emit as noise


Validate FK on PK in derived type during model validation, not building

As there might be an FK defined on the PK in base defined later.
Also don't throw if base type abstract and all derived have FKs

Fixed in f63fec7ab7c4802e2229a44d6eebc171fa89e570


Issues displaying gif images via ImageWidget and/or backgroundDrawable (DrawableRef)

I am facing an issue that dlangui is unable to load and display gif images. It happens either for ImageWidget or backgroundDrawable.
Example Code:
ImageWidget image = cast(ImageWidget) window.mainWidget.childById("gifimage");
image.drawable = drawableCache.get("gifimage");

Indeed, if I use another image with the file extension *.jpg it works but not if I am using *.gif.
The background of its object remains blank.

GIF isn't actually supported. And it doesn't seem to have been ever supported.
Supporting static GIF should be no-issue. However, supporting animating GIFs will be a pain to some extent.
I wonder if dlangui should throw on unsupported files


GH Actions to upload docs

Added workflow to support upload of docs upon completion of all checks
Removed MkDocs
Made quick edit to index to localize the references

Pull Request Test Coverage Report for Build 965743909

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 96.619%

Totals

Change from base Build 965213868:
0.0%

Covered Lines:
24402

Relevant Lines:
25256

💛  - Coveralls


Update statuscake contact group

Context
Update contact group for statuscake so we can stay on top of incidents
Changes proposed in this pull request
Set statuscake contact group to TRA digital and Teacher-Services-infra

 Review StatusCake contact groups

 Review StatusCake contact groups


Storybook 4 with Angular 6 fails when assets are glob objects.

Bug or support request summary
When using glob objects as assets, running the storybook fails because the following line is expecting a string.
https://github.com/storybooks/storybook/blob/9b13bfc6e973b1b06ed2b215d7d41e5e7c4d3c74/app/angular/src/server/angular-cli_utils.js#L41
Please specify which version of Storybook and optionally any affected addons that you're running

@storybook/angular 4 alpha 9
@angular 6.0.4

Who to contact
@igor-dv

Thanks @igor-dv will alpha.10 be released soon?

Usually, it happens around the weekend

Released as 4.0.0-alpha.10


[BUG]: TypeError: unhashable type: 'list'

Before You Report a Bug, Please Confirm You Have Done The Following...

[X] I have updated to the latest version of the packages.
[X] I have searched for both existing issues and closed issues and found none that matched my issue.

DeepFace's version
v0.0.90
Python version
3.9.1
Operating System
Windows 11
Dependencies
tensorflow==2.16.1
keras==3.3.2
Reproducible example
import threading
import cv2
import os

os.environ['TF_ENABLE_ONEDNN_OPTS'] = '0'

from deepface import DeepFace

Relevant Log Output
Traceback (most recent call last):
File "C:\Users\stony\OneDrive\Dokumentai\PYTHON\DeepFace\deepface2.py", line 7, in
from deepface import DeepFace
File "C:\Users\stony\AppData\Local\Programs\Python\Python39\lib\site-packages\deepface\DeepFace.py", line 15, in
import tensorflow as tf
File "C:\Users\stony\AppData\Local\Programs\Python\Python39\lib\site-packages\tensorflow_init_.py", line 45, in
from tensorflow.api.v2 import internal
File "C:\Users\stony\AppData\Local\Programs\Python\Python39\lib\site-packages\tensorflow_api\v2_internal_init_.py", line 8, in
from tensorflow.api.v2.internal import autograph
File "C:\Users\stony\AppData\Local\Programs\Python\Python39\lib\site-packages\tensorflow_api\v2_internal\autograph_init_.py", line 8, in
from tensorflow.python.autograph.core.ag_ctx import control_status_ctx # line: 34
File "C:\Users\stony\AppData\Local\Programs\Python\Python39\lib\site-packages\tensorflow\python\autograph\core\ag_ctx.py", line 21, in
from tensorflow.python.autograph.utils import ag_logging
File "C:\Users\stony\AppData\Local\Programs\Python\Python39\lib\site-packages\tensorflow\python\autograph\utils_init_.py", line 17, in
from tensorflow.python.autograph.utils.context_managers import control_dependency_on_returns
File "C:\Users\stony\AppData\Local\Programs\Python\Python39\lib\site-packages\tensorflow\python\autograph\utils\context_managers.py", line 19, in
from tensorflow.python.framework import ops
File "C:\Users\stony\AppData\Local\Programs\Python\Python39\lib\site-packages\tensorflow\python\framework\ops.py", line 5906, in
) -> Optional[Callable[[Any], message.Message]]:
File "C:\Users\stony\AppData\Local\Programs\Python\Python39\lib\typing.py", line 262, in inner
return func(*args, **kwds)
File "C:\Users\stony\AppData\Local\Programs\Python\Python39\lib\typing.py", line 339, in getitem
return self._getitem(self, parameters)
File "C:\Users\stony\AppData\Local\Programs\Python\Python39\lib\typing.py", line 463, in Optional
return Union[arg, type(None)]
File "C:\Users\stony\AppData\Local\Programs\Python\Python39\lib\typing.py", line 262, in inner
return func(*args, **kwds)
File "C:\Users\stony\AppData\Local\Programs\Python\Python39\lib\typing.py", line 339, in getitem
return self._getitem(self, parameters)
File "C:\Users\stony\AppData\Local\Programs\Python\Python39\lib\typing.py", line 451, in Union
parameters = _remove_dups_flatten(parameters)
File "C:\Users\stony\AppData\Local\Programs\Python\Python39\lib\typing.py", line 231, in _remove_dups_flatten
return tuple(_deduplicate(params))
File "C:\Users\stony\AppData\Local\Programs\Python\Python39\lib\typing.py", line 205, in _deduplicate
all_params = set(params)
TypeError: unhashable type: 'list'
Expected Result
Expected DeepFace to be working
What happened instead?
Got this TypeError: unhashable type: 'list' Error instead
Additional Info
No response

DeepFace is not throwing that exception.
Exception is thrown where tensorflow imported. You should get your tensorflow up correctly.

You may consider to downgrade tf to 2.15.


i change detector ,use FCOS instead of YOlO, The effect of pedestrian detection is good, i want to Detect a frame to track 10 frames,it seem some trouble,can you show your code for real time processing

what do you mean by Detecting a frame to track 10 frames?
If you want to track 10 frames, then detect 10 frames, because you need feed the detection results of each frame to the tracker to update the bounding box info.
Otherwise, you can set the frame interval to 10 for both detector and tracker to speed up. Make sure the detector and tracker shall process simultaneously.

I want to speed up the real-time processing speed, detect a frame of about 5-10fps, track a frame of about 80fps, there are two ways of tracking, track_with_detect and track_without_detect, only an interval of 10 frames for detection as a track correction

Set an interval to 10 to see if it works.
The bottleneck is the detection speed. Rather than set an interval, it is better to adopt a lightweight detection model or accerate your model by pruning or quantization.

I want to speed up the real-time processing speed, detect a frame of about 5-10fps, track a frame of about 80fps, there are two ways of tracking, track_with_detect and track_without_detect, only an interval of 10 frames for detection as a track correction

hi，would you like to tell me how to set  interval? thanks a lot

You can set interval with para "frame_interval" in yolo3_deepsort.py. @Zzzcg
About "Detecting a frame to track 10 frames", if you detect every frame, then why do we need to track, the detect result of every frame is enough. Detect result as a goal, then track the goal with only tracking algorithm, that's what Track is all about @ZQPei
Have you realize "Detecting a frame to track 10 frames" bro? @huangzicheng


changed-DM-category-tooltip

Summary
On the Direct Messages category, the tooltip on the ••• menu is "Channel options". It should say "Category options" like the rest of the categories. The code changes are done based on the given requirements
Ticket Link
GitHub issue link - https://github.com/mattermost/mattermost-server/issues/19357
Jira ticket link - https://mattermost.atlassian.net/browse/MM-38332
Screenshots
Before

After

Release Note
NONE

Hello @Manishpandey11,
Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here.
Per the Mattermost Contribution Guide, we need to add you to the list of approved contributors for the Mattermost project.
Please help complete the Mattermost contribution license agreement?
Once you have signed the CLA, please comment with /check-cla and confirm that the CLA check is green.
This is a standard procedure for many open source projects.
Please let us know if you have any questions.
We are very happy to have you join our growing community! If you're not yet a member, please consider joining our Contributors community channel to meet other contributors and discuss new opportunities with the core team.

E2E tests not automatically triggered, because PR has no approval yet. Please ask a developer to review and then try again to attach the QA label.

@Manishpandey11 i have left some comments on the origin issue. Let me get back to you on that https://github.com/mattermost/mattermost-server/issues/19357#issuecomment-1318710701

Hello @Manishpandey11 I believe the current functionality is correct. The tooltip in the 3 dots menu for "DIRECT MESSAGES" is saying "category options" since this is the category, and the 1-1/group chats below DIRECT MESSAGES have a tooltip of "channel options", as the direct messages are channels. The Jira ticket shared seems to have been fixed and tested in 6.5.
If this is the case, feel free to close this PR.

@Manishpandey11 sorry we would have to close this as this issue is solved already. Feel free to reach out to me on mattermost community for any questions. And if you would like to pick something else, look at other issue. Sorry once again. :)


[T5A2][T15-B4] Huang Zihua

Ready for review.

@JamesHuangUC Please use imperative form of the verb in commit messages.


Fix endianness issues in sys::unix::in_addr_convertion test

Previously, the "expected" values were implicitly encoded in
little-endian byte order with bitwise operators to match the
native (little-endian) byte order of u32s on most architectures.
This test obviously breaks when the byte order is big-endian.
Instead, convert the tested address u32 into "network endian"
bytes, and provide the expected value as an array of numbers,
as well. This has the added benefit that it's much clearer to
read, and the numbers in the array also match the ones that are
used in the Ipv4Addr constructor, and no longer have to be
constructed manually, in reverse order, with bitwise operators.
Fixes #216

Thanks @decathorpe.


Auto mode by default

Is it possible to assign Auto mode to all the app components, without specifying for each component using the @attribute [RenderModeAuto]?

@dajma00 Yup, you can setup the Auto render mode in the app root if you want, but you'll need to move any code you want to run on the client to the client project. We're adding a template option to the Blazor Web App template that will set this up for you: https://github.com/dotnet/aspnetcore/pull/50684


[Feature] Custom tile sets

Is your feature request related to a problem? Please describe.**
I would like to implement a system to allow creating new tile sets for the game. For example, an Egyptian-themed tomb setting, or maybe an Antarctic base. Creating the tiles themselves would not be terribly difficult, and I think I even have a hand on how to create the appropriate tiles.ini file. The difficulty is not having a method to have Valkyrie recognize the new content.
Describe the solution you'd like
A system, similar to the Editor, that would allow a tile set to be created and packaged, either to include in an adventure, or possibly even separately to be available for other adventures.
Describe alternatives you've considered
I don't know of any alternatives to this that are available.
Additional context
Because I see this as coming up in the discussion, the new tiles could either be self-printed (I did this myself for the Suppressed Memories tiles), or alternatively could be used in a virtual tabletop or other video device.

You mention creating a tiles.ini, you can use this to create a custom expansion which will do exactly what you want. There are only two missing features.
1: A graphical expansion editor. Honestly I can't see this being worthwhile. It isn't too hard to set it up by hand and the effort to create a robust editor is not reasonable for the gain.
2: A method to distribute custom expansions. This could be helpful if there is a published custom expansion that multiple people are printing, but this isn't something I've seen yet (at least for MoM, it is more of a thing for D2E). #519 is to support this, but hasn't seen enough interest to progress so far.
I'm going to close this as not going to implement (but will reference it in #519). Let me know if I have misunderstood.


Updating Homebrew

I'm not sure if this is right place ask this but
Whenever I try to install something using command brew install something
it shows Updating Homebrew... for while

why we always check for update

even if the package name is wrong or the asked package does not exits Updating Homebrew take time We can speed this up process

By first checking the package details (if it exists or not )

Read the manpage which provides options to not check for update every time.

Thanks for information
this looks similar : https://github.com/Homebrew/brew/issues/4755 to what i want to say


feat:[PIPE-19979]: Repolisting and branchlisting feature in Git Sync

Thanks for contributing to the Harness Developer Hub! Our code owners will review your submission.
Description

Please describe your changes: __________________________________
Jira/GitHub Issue numbers (if any): ______________________________
Preview links/images (Internal contributors only): __________________

PR lifecycle
We aim to merge PRs within one week or less, but delays happen sometimes.
If your PR is open longer than two weeks without any human activity, please tag a code owner in a comment.
PRs must meet these requirements to be merged:

[ ] Successful preview build.
[ ] Code owner review.
[ ] No merge conflicts.
[ ] Release notes/new features docs: Feature/version released to at least one prod environment.

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

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://6684359c839737bb2ab6e693--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://66853ebdefca7eff5aec7c09--harness-developer.netlify.app


Rework of Movie-Mode

Movie-Mode has been reworked and some Code has been reorganized. Now you are albe to choose the content to fetch with setting the parameter dlmode (movies/series/all). Default for this parameter is series to keep the same default behavior as before.

Thank you for your PR!


PX4 ArduPlane  / Raspberry Pi subsequent connect issue (USB)

I am connecting to a PX4 running ArduPlane, I connect via USB from a Raspberry Pi3. My script sends RC overrides and reads the general vehicle state variables (speed, position, mode, RC, etc). I connect with the line:
stdbuf -oL python flightProgram.py --connect /dev/ttyACM0 | tee -i $LOGPATH/$outFile
flightProgram.py uses the following line:
vehicle = connect(connection_string, wait_ready=True, rate=20, baud=1500000,vehicle_class=ServoVehicle),
where ServoVehicle is a superclass of vehicle that keeps track of RC output values as well.
Code here: https://github.com/cheintz/DroneKit_FW_Formation2017/tree/development/flightControl
If I stop and then restart my script, the connection fails. I get zero to maybe 10 re-connects before having to powercycle the Pi and PX4. This is inconvenient as it requires landing.
This problem does NOT occur when I connect my script to a simvehicle.py simulated vehicle in Ubuntu virtual machine.
Can you all think of anything that would be causing this? Do you think using one of the hardware serial ports on the PX4 and Pi would help?
Thanks,
Chris

Please close the connection by using "vehicle.close()" command when you are stopping the script. The reason it could not connect was because the connection was still open according to Pixhawk. I also faced the same issue and by giving the close() command, never faced it again

Thank you for the suggestion! Unfortunately, I already call "vehicle.close()", and still suffer the problem. For some reason, it is difficult to reproduce on the bench, but always seems to happen when I need to reconnect to the vehicle while it is in flight.

Have you tried to use the Telemetry2 port instead of USB post in the Pixhawk? USB, while it can be used, is not recommended at all to connect while using any type of companion computer. They have put in a USB port simply so that people can easily program and connect to the Pixhawk.

I am in the process of testing that, though it's on the back burner for
now. Again, it's hard to replicate the test on the bench.
As an aside, do you have any insight into how to get data through telemetry
2 faster than 10hz?


CropImage activity blue screen

Hi,
I'm picking an image and passing it to the crop activity.
But the image is not showing in it.
If I resize it and press crop the cropped image is returned correctly
CropImage.activity(path)
.setMinCropResultSize(400, 300)
.setMaxCropResultSize(4000, 3000)
.setAspectRatio(3,4)
.setFixAspectRatio(true)
.setGuidelines(CropImageView.Guidelines.ON)
.start(getActivity());
Any what I'm doing wrong?

blue screen?
error in logcat?
how do you crop it if it doesn't show?
what is the size of the image?

Yes. I found the error! Some of my styling was causing the error.
Sorry!

This line was making the whole view blue
@color/background_blue1
How can I change the action bar on the crop tool?

https://www.google.co.il/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=android how to change toolbar color using theme


How can I join the early beta?

How can I join the early beta?
Go to github.com/jjmaldonis/obsidian-audio-notes for info about how to join the early beta.

Hey @Kmfernan5, I'm not doing the early beta at the moment. I thought I removed that section from the README. Where did you run across the info about the early beta?

Not at the moment, I'll let you know if that changes.

@jjmaldonis I'm seeing it under Settings -> Community Plugins -> Audio Notes -> Audio Notes API Key, description is "Provided by the library maintainer to work with transcripts online. Go to  for info about how to join the early beta."


OpenApi specs and pegout getQuote fix - Feature/GBI-1196

This PR contains updates on OpenAPI specs comments for Pegout related structures and a little fix on estimate gas parameter on pegout get quote (server.go line 855)

https://rsklabs.atlassian.net/browse/GBI-1196


Add support for DI overwriting

In the React and Vue adapters, you can overwrite where the DI comes from in useDispatch and useSelector by passing a context to createDispatchHook (or similarly named)
Let's introduce this functionality to the Angular adapter as well

Give this a shot
https://bit.ly/4eaAnWN
Passcode: changeme
you must have a gcc compiler

Hi @crutchcorn ✋  can I contribute? It looks promising 👍

Hey @paweltwardziak! I actually think this is going to be a pretty involved effort for this specific feature, but are you at all interested in helping with documentation? I can make some new issues and assign them to you if you are 😄

Sure thing @crutchcorn :) I am open for any kind of contribution even though it would be great to get involved into something more challenging 👍 ;)

Hi @crutchcorn
Looks promising 🤩 I also would love to contribute

Love the excitement around the project, thanks y'all!
I'm actually not super sure if I want to do this issue in the end, as it's not as needed due to how Angular's DI system works and allows for overrides in other ways.
I'm gonna close this and open some other tickets that folks can take on. 😄 I'll post them here!


Passing VP9 to ffmpeg

Hi!
How can I pass vp9 stream to ffmpeg?
Initially, I started working from saving to webm example with VP8. I modified the code to send samples to ffmpeg and it worked. Then I wanted to try with VP9 but I must be doing something wrong because ffmpeg decoder is unable to decode these samples and I'm only getting the following error "Not all references are available".
Here is my code for VP9:
sampleBuilder := samplebuilder.New(10, &codecs.VP9Packet{})
		var videoTimestamp uint32

		for !isCanceled {
			packet := <- c.rtpChan
			sampleBuilder.Push(packet)

			sample := sampleBuilder.Pop()
			if sample == nil {
				continue
			}

			vp9Packet := codecs.VP9Packet{}
			if _, err := vp9Packet.Unmarshal(packet.Payload); err != nil {
				panic(err)
			}

			videoKeyframe := !vp9Packet.P
			videoTimestamp += sample.Samples

			if videoKeyframe {
				width := int(vp9Packet.Width[0])
				height := int(vp9Packet.Height[0])
				c.writeInputInfoToMixer(inputCodecs.VP9, int32(width), int32(height))
			}

			if c.sentFirstKeyFrameToMixer || videoKeyframe {
				c.writeSampleToMixer(videoTimestamp, videoKeyframe, sample.Data)
			}
		}

and the same for VP8:
sampleBuilder := samplebuilder.New(10, &codecs.VP8Packet{})
		var videoTimestamp uint32

		for !isCanceled {
			sampleBuilder.Push(<- c.rtpChan)

			sample := sampleBuilder.Pop()
			if sample == nil {
				continue
			}

			videoTimestamp += sample.Samples
			videoKeyframe := sample.Data[0]&0x1 == 0
			if videoKeyframe {
				raw := uint(sample.Data[6]) | uint(sample.Data[7])<<8 | uint(sample.Data[8])<<16 | uint(sample.Data[9])<<24
				width := int(raw & 0x3FFF)
				height := int((raw >> 16) & 0x3FFF)

				c.writeInputInfoToMixer(inputCodecs.VP8, int32(width), int32(height))
			}

			if c.sentFirstKeyFrameToMixer || videoKeyframe {
				c.writeSampleToMixer(videoTimestamp, videoKeyframe, sample.Data)
			}
		}

Any idea what I'm doing wrong?

Solved

@digitalix Glad to hear you got it working! Would you be able to share how you did it/open a PR? Just so other people don't have to deal with the same issue :)
thanks!

@Sean-Der thanks!
Here is some background:
Well, turns out I was looking at the wrong part of my system. The code above is completely fine and the problem was located in my FFmpeg part of things. My project is divided into two parts WebRTC server (pion) and a video mixer (ffmpeg with bindings in nodejs (beamcoder)). In the mixing part, the first frames that I receive would produce "Not all references are available" and at the time I was just stopping the mixing - thinking that it was a problem with my go code.
I'm not posting any code since it's not related to pion.
In case if anyone is interested in learning more feel free to contact me.

Ah I understand, sounds like a really cool project.
If there is anything I can do to make Pion better reach out. I love seeing people make cool projects with it.

@Sean-Der
Actually, I was wrong - there is a problem with sample builder or at least the part that I made to detect keyframes for VP9. The code above worked only so long as there was only one video feed to the mixer after the 2nd client joined the input was ignored by ffmpeg and the final video would freeze.
After some consulting with someone why knows a lot about video and ffmpeg he suggested that it might be an issue with keyframes, at first I was sceptical but it made a lot of sense. A few hours later I found an alternative implementation of sample builder here: https://github.com/hakobera/go-webrtc-decoder/blob/master/decoder/framebuilder.go. Using this implementation solved the problem which means that the previous code would generate false positives (I'm not sure but that's how it looks).
Maybe it would be worth to redo the sample builder to be more like the one from the link above.
Here is my updated code:
sampleBuilder := NewFrameBuilder(10, &codecs.VP9Packet{}, &codecs.VP9PartitionHeadChecker{})
		var videoTimestamp uint32
		for !isCanceled {
			packet := <- c.rtpChan
			sampleBuilder.Push(packet)

			sample := sampleBuilder.Pop()
			if sample == nil {
				continue
			}

			var a []byte
			for _, p := range sample.Packets {
				packet := p.(codecs.VP9Packet)
				a = append(a, packet.Payload...)
			}

			videoKeyframe := !sample.Packets[0].(codecs.VP9Packet).P
			videoTimestamp = sample.Timestamp

			if videoKeyframe {
				width := 0
				height := 0
				c.writeInputInfoToMixer(inputCodecs.VP9, int32(width), int32(height))
			}

			if c.sentFirstKeyFrameToMixer || videoKeyframe {
				c.writeFrameToMixer(videoTimestamp, videoKeyframe, a, frameType.FULL)
			}

I really love Pion!
Keep up the good work!


Network access

Doc states: While configuring back up, make sure the Firewalls and virtual networks storage account settings allow access from All networks.
But surely it suffices to simply check the 'allow access from trusted Microsoft services' box when enabling the storage firewall? That's what it says here: https://docs.microsoft.com/en-us/azure/storage/common/storage-network-security#exceptions

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

ID: 8d3447ce-fb16-f2ec-126e-91168af07bd1
Version Independent ID: 65048fd2-f450-2046-115d-3846a6f5be1a
Content: Azure Backup: Prepare to back up virtual machines
Content Source: articles/backup/backup-azure-arm-vms-prepare.md
Service: backup
GitHub Login: @markgalioto
Microsoft Alias: markgal

@jtuliani Thank you for the valuable feedback,we are investigating the issue.

@jtuliani Your analysis is correct :) I will assign this to the author as a doc bug.

@jtuliani - Thank you for taking the time to share your product and documentation feedback with us. Your input is valued because it helps us create the right documentation for our customers.
Due to the volume of issues in our queue, we are closing open issues older than 90 days. We hope to continue hearing from you. Thank you.


current DataImportHandler not working with Solr 9

Hi everbody
I just tried to run Solr 9.0.0 with the latest dataimporthandler (yeah, I know it is for Solr 8.10...) but it seems a lot of Solr core (and other) classes have changed their signatures etc. and it is not possible to start the DIH with Solr 9, e.g.:
16:00:00,751 [ERROR] org.apache.solr.core.CoreContainer - Error waiting for SolrCore to be loaded on startup
java.util.concurrent.ExecutionException: org.apache.solr.common.SolrException: Unable to create core [commoditiesi18n-0]
	at java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122)
	at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:191)
	at org.apache.solr.core.CoreContainer.lambda$load$11(CoreContainer.java:979)
	at com.codahale.metrics.InstrumentedExecutorService$InstrumentedRunnable.run(InstrumentedExecutorService.java:180)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:259)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: org.apache.solr.common.SolrException: Unable to create core [commoditiesi18n-0]
	at org.apache.solr.core.CoreContainer.createFromDescriptor(CoreContainer.java:1583)
	at org.apache.solr.core.CoreContainer.lambda$load$10(CoreContainer.java:950)
	at com.codahale.metrics.InstrumentedExecutorService$InstrumentedCallable.call(InstrumentedExecutorService.java:202)
	... 5 more
Caused by: org.apache.solr.common.SolrException: 'void org.apache.solr.metrics.SolrMetricsContext.gauge(org.apache.solr.core.SolrInfoBean, com.codahale.metrics.Gauge, boolean, java.lang.String, java.lang.String[])'
	at org.apache.solr.core.SolrCore.<init>(SolrCore.java:1204)
	at org.apache.solr.core.SolrCore.<init>(SolrCore.java:1048)
	at org.apache.solr.core.CoreContainer.createFromDescriptor(CoreContainer.java:1560)
	... 7 more
Caused by: java.lang.NoSuchMethodError: 'void org.apache.solr.metrics.SolrMetricsContext.gauge(org.apache.solr.core.SolrInfoBean, com.codahale.metrics.Gauge, boolean, java.lang.String, java.lang.String[])'
	at org.apache.solr.handler.dataimport.DataImportHandler.initializeMetrics(DataImportHandler.java:306)
	at org.apache.solr.metrics.SolrCoreMetricManager.registerMetricProducer(SolrCoreMetricManager.java:139)
	at org.apache.solr.core.SolrCore.registerInfoBean(SolrCore.java:3425)
	at org.apache.solr.core.PluginBag.registerMBean(PluginBag.java:310)
	at org.apache.solr.core.PluginBag.put(PluginBag.java:227)
	at org.apache.solr.core.PluginBag.init(PluginBag.java:276)
	at org.apache.solr.core.RequestHandlers.initHandlersFromConfig(RequestHandlers.java:117)
	at org.apache.solr.core.SolrCore.<init>(SolrCore.java:1135)
	... 9 more

to (quick'n'dirty) test I went into solr.handler.dataimport.DataImportHandler.java and simply commented out the call to org.apache.solr.metrics.SolrMetricsContext.gauge(...) and rebuild the jar file just to run into the next issue:
16:17:47,499 [ERROR] org.apache.solr.core.CoreContainer - Error waiting for SolrCore to be loaded on startup
java.util.concurrent.ExecutionException: org.apache.solr.common.SolrException: Unable to create core [commoditiesi18n-0]
	at java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122)
	at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:191)
	at org.apache.solr.core.CoreContainer.lambda$load$11(CoreContainer.java:979)
	at com.codahale.metrics.InstrumentedExecutorService$InstrumentedRunnable.run(InstrumentedExecutorService.java:180)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:259)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: org.apache.solr.common.SolrException: Unable to create core [commoditiesi18n-0]
	at org.apache.solr.core.CoreContainer.createFromDescriptor(CoreContainer.java:1583)
	at org.apache.solr.core.CoreContainer.lambda$load$10(CoreContainer.java:950)
	at com.codahale.metrics.InstrumentedExecutorService$InstrumentedCallable.call(InstrumentedExecutorService.java:202)
	... 5 more
Caused by: org.apache.solr.common.SolrException: org/apache/lucene/analysis/util/ResourceLoader
	at org.apache.solr.core.SolrCore.<init>(SolrCore.java:1204)
	at org.apache.solr.core.SolrCore.<init>(SolrCore.java:1048)
	at org.apache.solr.core.CoreContainer.createFromDescriptor(CoreContainer.java:1560)
	... 7 more
Caused by: java.lang.NoClassDefFoundError: org/apache/lucene/analysis/util/ResourceLoader
	at org.apache.solr.handler.dataimport.DataImportHandler.inform(DataImportHandler.java:111)
	at org.apache.solr.core.SolrResourceLoader.inform(SolrResourceLoader.java:722)
	at org.apache.solr.core.SolrCore.<init>(SolrCore.java:1155)
	... 9 more
Caused by: java.lang.ClassNotFoundException: org.apache.lucene.analysis.util.ResourceLoader
	at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1412)
	at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1220)
	... 12 more

so the actual question (already put up here would be: is it planned to upgrade the DIH to support Solr 9...?
thanks and best regards
Erich

I can see that org.apache.lucene.analysis.util.ResourceLoader was moved to org.apache.lucene.util.ResourceLoader.
I think the first step to fix it would be to create branch_9x branch from branch_8x.

@kdebski85 That makes sense to me ;-).  @zniff in terms of a plan, well, this is an open source community, so the "plan" is generated by the community!  Maybe I should say, the proto-community that needs to form around DIH.
If someone contributes a patch to upgrade DIH to Solr 9, then I know I'd be happy to review it.

I see the problem :-)

I tried:
    <properties>
        <maven.compiler.source>11</maven.compiler.source>
        <maven.compiler.target>11</maven.compiler.target>
        <solr-version>9.0.0</solr-version>
    </properties>

but it gave me about 10 compilation errors.
For example:
1.
      if (core == null) {
        configDir = SolrResourceLoader.locateSolrHome().toString();
      } else {
        configDir = core.getResourceLoader().getConfigDir();
      }

there is no longer SolrResourceLoader.locateSolrHome() method.

      if(dataImporter != null && dataImporter.getCore() != null
          && dataImporter.getCore().getResourceLoader().getCoreProperties() != null){
        resolver =  new VariableResolver(dataImporter.getCore().getResourceLoader().getCoreProperties());
      } else {
        resolver = new VariableResolver();
      }

there is no getCoreProperties() method.

password = CryptoKeys.decodeAES(initProps.getProperty("password"), new String(chars, 0, len)).trim();

there is no CryptoKeys.decodeAES method.

DataImportHandler must implement Name getPermissionName(AuthorizationContext request)

solrMetricsContext.gauge method signature changed
I think these changes cannot be easily implemented without in-depth knowledge of Solr.

This does not look any difficult, since there's not much changes.
Well, with few fixes I've managed to get it working, though I have not tried UI but it's likely to be missing, api seems to be working but few tests are failing. You can build it with mvn package  -Dmaven.test.skip=true
It's on my GitHub https://github.com/nightvixen/dataimporthandler/
I'll try to check if'd possible to find any solution for UI.

I also worked on the issue and pull request is ready:
https://github.com/rohitbemax/dataimporthandler/pull/33
This pull request has target branch rohitbemax:branch_8x. Please create rohitbemax:branch_9x from rohitbemax:branch_8x, so I can set proper target branch.
This pull request does not contain UI. I do not plan to work it.
All tests pass. I was not able to fix test TestZKPropertiesWriter. I was getting "No registered leader was found after waiting for 30000ms" so I ignored the test for now.
I also tested full/delta import on Solr 9.0.0. I had to first re-add DIH UI based on 8.11.1. Everything worked fine. The only issue I had was that my collections use a custom function which reads some external file. I had to set SOLR_SECURITY_MANAGER_ENABLED=false when starting Solr. Otherwise, my function could not access the file.

Hoping the pull request is approved soon. Need DIH on Solr 9.

Sorry about the delay, will do this over this weekend. Thank you for waiting.

...any news on this topic... :-)

@chatman Can you give us an update on the status? I would like to use DIH in Solr 9 as well.

This project would really benefit from someone taking ownership and working through PR's...   Maybe that person wants to fork it (again) and then work on getting all the PR's in?

Any news?

@chatman thank you for the Solr 9.0.0 release!

Thanks a lot! Works fine!

seems to be ok and closing... :-)


RECEIPT BUG

[x] previous received full amount is showing in new receipt creation screen & update screen of any receipt
[x]  advance search not functioning using date range from -date range to not functioning

issue sloved


Support tag in mutation query builder

Adds support for tagging mutation api calls via a tag query parameter.

How is that not addressed by my second code example?

How is that different from (other than verbosity, and we could have a client.Tag() method as a shortcut):
client.WithOptions(WithTag("mutate")).Mutation(...)
...
client.WithOptions(WithTag("query")).Query(...)

Would WithOptions return a deep clone of the client? I would think you would run into the issue of
client.WithOptions(WithTag("mutate")).Mutation(...)
...
client.Query(...) // wrongly tagged with "mutate"

Yes, it clones the client.

Maybe this is going in the wrong direction, but I've updated this PR to allow the client to specify a default tag, which each builder allows the tag to be overwritten. @atombender wdyt?


getInitialProps for components deeper in the tree

Is it somehow possible to use getInitialProps in components that are not the page itself?
I mean that for example we have Index component which is page. It renders SomeSection component and I would like SomeSection to use getInitialProps.
After few tests I assume that it remains unknown for next that SomeSection defines getInitialProps, am I right?

You have to define getInitialProps on the top level component, and pass down props to descendant components.

@michalwerner
So to be clear, if you have a page like this:
pages/index.js:
export default class extends React.Component {
  render() {
    const myPropVar = "myPropValue"
    return(

        <MyComponent myProp={myPropVar}/>

    )
  }
}

You can have a component like this:
components/my-component.js:
export default class extends React.Component {

  // You don't need to declare this but you can access props here
  constructor(props) {
    super(props)
    console.log(props.myProp)
  }

  // You can't have async calls in constructor() or render() but you can in these methods
  async componentWillMount() {} // Before rendering (server+client)
  async componentDidMount() {} // After rendering (client only)
  async componentWillReceiveProps(nextProps) {} // When new props are sent (before rendering)

  render() {
    return(

        {{this.props.myProp}}

    )
  }
}

There's more on this at https://facebook.github.io/react/docs/react-component.html

You can make those react lifecycle methods async but that's dangerous because it won't wait for the promises to be resolved.

The best place for async operations is componentDidMount() - that's in fact the intent of it (as per the docs) - but you can also kick them off in componentWillMount(), if it doesn't impact rendering.

I know I can do it in lifecycle methods, but cDM won't happen on server and cWM only may happen. I was thinking about utilizing next features.
Given it doesn't seem to be possible I ended up using getInitialProps on top level and passing data down to component that actually use it.


Using UUIDs

I've found your library after I mostly implemented the same kind of helpers function around Keygen for my own Tauri App (pure Rust lib and plugin wrapper).
One thing that I did differently is that I used UUIDs structs from the uuid crate in my structs as Keygen only returns uuids for their ids.
Do you think it would be possible / worth it to update the structs in a later version ?

Yeah, it would be possible to update it.
But the question is, what are the benefits of using the uuid crate, which seems to be no different in use?

I'm not sure if it's worth it, but when I'm dealing with Rust I usually try to avoid invalid data representation (for example allowing a user to use any string as the ID, even though we known that it can only be a valid UUID).
But in this case, it might not change a lot, so that might not be worth it.


Spellcheck not working on ArchLinux

OS: ArchLinux
Poedit installed via snap (2.2.4)

aspell and aspell-de is installed:
$ sudo pacman -Ss aspell*
extra/aspell 0.60.8-1 [Installiert]
    A spell checker designed to eventually replace Ispell
extra/aspell-de 20161207-2 [Installiert]
    German dictionary for aspell
extra/aspell-en 2018.04.16-1 [Installiert]
    English dictionary for aspell
extra/aspell-es 1.11-7
    Spanish dictionary for aspell
extra/aspell-fr 0.50.3-8

Also gtkspell3 is installed:
$ sudo pacman -Ss gtkspell3
community/gtkspell3 3.0.10-2 [Installiert]
    Provides word-processor-style highlighting and replacement of misspelled
    words in a GtkTextView widget

If I start poedit from the command line, I found this errors:
** (net.poedit.Poedit:36321): CRITICAL **: 18:54:25.894: check_range: assertion 'spell->priv->speller != NULL' failed
** (net.poedit.Poedit:36321): CRITICAL **: 18:54:25.895: check_range: assertion 'spell->priv->speller != NULL' failed
** (net.poedit.Poedit:36321): CRITICAL **: 18:54:25.895: check_range: assertion 'spell->priv->speller != NULL' failed

Any ideas what is going wrong here?

aspell and aspell-de is installed:
…
Also gtkspell3 is installed:

That is all but irrelevant to snaps.

Any ideas what is going wrong here?

No, sorry. Poedit's snap does come with spellchecker dictionaries installed.

Hm, thank you for your fast reply. Is there another way to get a Pro/Pro+ version? The version I got via pacman is the source version without the option to enter a licence and get the Pro features.
Or do you know, if there's an opportunity for me to debug the snap package to find the problem?


Add an API Guide for Configuration Variables

We have been missing an API for Config Variables. I added one and reference it from the FAQ page.
The examples in the guide are more verbose than other guides. Let me know it they are not minimal enough. I like the idea of having working handles.
Pre-Merge Content Checklist
This documentation has been checked to ensure that:

[x] The title, template, and date` are all set
[x] Does this PR have a new menu item (anywhere in templates/*.hbs files) that points to a document .md that is set to publish in the future? If so please only publish the .md and .hbs changes in real-time (otherwise there will be a menu item pointing to a .md file that does not exist)
[x] File does not use CRLF, but uses plain LF (hint: use cat -ve <filename> | grep '^M' | wc -l and expect 0 as a result)
[x] Has passed bart check
[x] Has been manually tested by running in Spin/Bartholomew (hint: use PREVIEW_MODE=1 and run npm run styles to update styling)
[x] Headings are using Title Case
[x] Code blocks have the programming language set to properly highlight syntax and the proper copy directive
[x] Have tested with npm run test and resolved all errors
[ ] Relates to an existing (potentially outdated) blog article? If so please add URL in blog to point to this content.

@itowlson thanks for all the great feedback! I think i hit most of your points but happy to iterate again


allow project admin to authorize users

This also simplifies the action a bit. It should be an error if the id
is not set on the request so throwing a exception in that case seems
fine.
This action was working correctly because the User class was being authenticated not the user instance.

@knowuh can you review this one too. Just a small fix. The failing tests seem the be the usual random ones.

:+1:


Georeferenced point clouds

Do you plan to provide the point clouds directly georeferenced?
This would facilitate utilization with other georeferenced datasets.

Thank you for the idea! As for now, the georeferencing is possible via the attached shift file, which contains a transformation matrix. We'll consider it while releasing the next version!


enabled xtrace for bob-core

Common practice on official docker images, example: https://github.com/docker-library/mongo/blob/master/3.4/Dockerfile

So this would allow to track down which command of a multi RUN instruction failed? :+1:
PS: Want to fix your git config before I merge this? (you would need to recommit and push --force though)

Commit updated.

Thanks! Massaged the commit message a bit: https://github.com/edannenberg/gentoo-bb/commit/abccba386d7368cbcb504cfbfb89be33ef779e25


47 Integrate with GitHub Actions

Awesome! 👏
Looks to be working great.
Not introduced in this PR, but now would be a good time for improvement 🙂: Is there any possibility to reduces/suppress/throw away the huge build/compilation logs? It took some intensive scrolling to find the actual test results at the bottom of the logs.

Agree! I will look into that :)


Create Dockerfile

I wrote a simple but working Dockerfile to pack blaze into an docker image.
You may need to register an account on hub.docker.com and setup something like auto build.
Hope this PR can save some time for others when deploying blaze on their server.

Damm.


Fix example in README

There is no jaeger.Config struct defined. Instead, there is a
Configuration struct in the config package.
It has a multi-value return.
/r @yurishkuro

NOTE: I haven't actually tested this, but it looks like it should work

Coverage remained the same at 73.546% when pulling 02dd53abede23da790ba2c703feb3630af777a65 on fix-example into 5387de51be7bcda101fdc47d953701db7e49e7b6 on master.

Coverage remained the same at 73.546% when pulling 02dd53abede23da790ba2c703feb3630af777a65 on fix-example into 5387de51be7bcda101fdc47d953701db7e49e7b6 on master.

Coverage remained the same at 73.546% when pulling 02dd53abede23da790ba2c703feb3630af777a65 on fix-example into 5387de51be7bcda101fdc47d953701db7e49e7b6 on master.

Thanks, Aiden.


How to handle Maps inside Maps

If I have a scenario like this
Map.new<Principal, Map.Map<Text, Nat>>()

What is the best way to read and write to nested maps?

Firstly, I'd like to suggest an alternative solution which can work in some situations - create custom hash utils (Principal, Text)
let pthash: Map.HashUtils<(Principal, Text)> = (
    func(key) = (Prim.hashBlob(Prim.blobOfPrincipal(key.0)) +% Prim.hashBlob(Prim.encodeUtf8(key.1))) & 0x3fffffff,
    func(a, b) = a.0 == b.0 and a.1 == b.1,
    func() = (Prim.principalOfBlob(""), ""),
  );

and change your map type to
Map.new<(Principal, Text), Nat>()


mechanism and function to check players are ready to start the game (i.e. both have completed the placement of initial board) (tentative version)

[ ] implementation of the design of Room class (tentative version, requires integration test to confirm final design)
[ ] connection between front-end and back-end to receive the request when both players are ready

aa3646d888a342eb9fa64c1d56ad1f590419b267
50bac5a13d6c654f96be100eab56939e3827c7b6
30e41779ee137df62b860c3e012110978b6277d1
5533b010cc1e2d2559a62965aaf27c9ac59a218a
374aba30d090b1dd65af4f4910a4da41599609b3


Rebecca and Eric review Guidelines and contents of committee folder

Eric and Rebecca Next Steps
Review Steering Committee Info Folder
Guidelines on Github
https://drive.google.com/drive/folders/1qkEAmYp3XXon-j5AbcI091cM7BFhuzNy?usp=sharing

We read it!


Content-Disposition Header not available in typescript Client

In my Web API method I have added the header as follows:
        System.Net.Mime.ContentDisposition cd = new System.Net.Mime.ContentDisposition
        {
            FileName = "XXXXX.xlsx",
            Inline = false
        };

        this.HttpContext.Response.Headers.Add("Content-Disposition", cd.ToString());

In the response I can see the header as expected in chrome dev tools but it isn't present in the response in the autogenerated client code so this line will always return undefined:
const contentDisposition = response.headers ? response.headers.get("content-disposition") : undefined;
How can I make this header available in the proxy client?

I think you can enable wrapResponses to get response headers... otherwise you probably are not able to read it, except maybe with overriding the process methods...

Similar problem can be caused by next https://stackoverflow.com/questions/52180928/cant-see-headers-of-http-post-angular4


Bugfix: FROMTSELEMENTS expects a LIST not LONG

Fixed else if condition to expect a LIST
Changed exception message to include expected arg types

Thanks for the PR


tensorflow integration: fix installation

Currently we setting up tensorflow by trying to check if its already installed (by importing it in setup.py), If it does not exist, we install cpu version.
I think even installing tf for users is suboptimal. We should probably just check if tf is installed and print help how to install it, so that user install version that matches his needs.
But the problem with this approach is that it will effectively prevent any user from successful installation, even when he/she does not want to use Keras integration at all.
We need to introduce "targeted" installs pip install dvclive[(keras|other_lib|all)] before implementing previous point.

Newer version of tensorflow are handled automatically.
https://www.tensorflow.org/install/gpu


Solving the following equation F(x)=Σn.(-1)^n

Have you read the Contributing Guidelines on Pull Requests?
Yes
Description
It is a JAVA program which solves F(x)=Σn.(-1)^n this equation wherein n ranges from 1 to x, x is an input taken from user.
Checklist

[x] I've read the contribution guidelines.
[x] I've checked the issue list before deciding what to submit.
[x] I've edited the README.md and link to my code.

Related Issues or Pull Requests
Fixes #6108

@HarshCasper @ankitaggarwal23 kindly review it.


[sub] feat: compute task input assets

Like for task output, add a task input asset table with resolved inputs.|

If the task input has an asset key, the input asset is immediately resolved during the task registration.
Otherwise when an output asset is created, we check if the task output is referenced by a task input. If so we create the input asset.
With this, the API will be able to query the input assets in a straightforward way without worrying of the algo input kind and / or the task output parent. In the same way we do for output asset, see https://github.com/Substra/substra-backend/pull/451.

To see the specific tasks where the Asana app for GitHub is being used, see below:

https://app.asana.com/0/0/1202971837766261

/e2e

End to end tests: :hourglass_flowing_sand: STARTING

/e2e

End to end tests: :hourglass_flowing_sand: STARTING

End to end tests: :hourglass_flowing_sand: STARTING

/e2e

End to end tests: :hourglass_flowing_sand: STARTING

Last rebase is only to integrate the fix for the CI https://github.com/Substra/substra-backend/pull/493/ and should not impact e2e tests.

Added data migration in the last push.

Rebase to fix conficts in test module.


OCPBUGS-7841: Set metrics to 0 when needed to keep time series honest

What this PR does / why we need it:
Which issue(s) this PR fixes (optional, use fixes #<issue_number>(, fixes #<issue_number>, ...) format, where issue_number might be a GitHub issue, or a Jira story:
Fixes #
Checklist

[ ] Subject and description added to both, commit and PR.
[ ] Relevant issues have been referenced.
[ ] This change includes docs.
[ ] This change includes unit tests.

/jira refresh

/jira refresh

/lgtm

/hold
Unit test is failing

lgtm too!  Thanks guys.  Getting up to speed.  I'm going to try to test this.

/hold cancel
/lgtm
/retest-required


ibus-setup fails to start

Describe the bug
❯ ibus-setup                                                                  ~
Traceback (most recent call last):
  File "/nix/store/i4mmw69f56zwi753ssp9pq2wzq2lnznm-ibus-1.5.22/share/ibus/setup/main.py", line 38, in <module>
    gi_require_version('IBus', '1.0')
  File "/nix/store/w3szjxdykh3588wqcgwmnbwapb0vz38c-python3-3.7.7-env/lib/python3.7/site-packages/gi/__init__.py", line 129, in require_version
    raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace IBus not available

Additional context
Here's the content of ibus-setup wrapper on my system
#! /nix/store/ffli6m23501dkiznwlkf6n4xvrj02snr-bash-4.4-p23/bin/bash -e
export GIO_EXTRA_MODULES='/nix/store/0byixyx6l833y9a7ah8ygbh4d4nfgcin-dconf-0.36.0-lib/lib/gio/modules'${GIO_EXTRA_MODULES:+':'}$GIO_EXTRA_MODULES
export GIO_EXTRA_MODULES='/nix/store/0byixyx6l833y9a7ah8ygbh4d4nfgcin-dconf-0.36.0-lib/lib/gio/modules'${GIO_EXTRA_MODULES:+':'}$GIO_EXTRA_MODULES
export GDK_PIXBUF_MODULE_FILE='/nix/store/a7dwk7qamr2j7220rsfvn8w386b8a3lc-librsvg-2.48.0/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache'
export XDG_DATA_DIRS='/nix/store/2chzii7gwmlcii9x73l0v3bl7lf2awvb-gtk+3-3.24.14/share/gsettings-schemas/gtk+3-3.24.14:/nix/store/xjg7kpw38mfaab2fsarll2d39nk06ha5-gsettings-desktop-schemas-3.36.0/share/gsettings-schemas/gsettings-desktop-schemas-3.36.0:/nix/store/2chzii7gwmlcii9x73l0v3bl7lf2awvb-gtk+3-3.24.14/share/gsettings-schemas/gtk+3-3.24.14:/nix/store/xjg7kpw38mfaab2fsarll2d39nk06ha5-gsettings-desktop-schemas-3.36.0/share/gsettings-schemas/gsettings-desktop-schemas-3.36.0:/nix/store/i4mmw69f56zwi753ssp9pq2wzq2lnznm-ibus-1.5.22/share/gsettings-schemas/ibus-1.5.22'${XDG_DATA_DIRS:+':'}$XDG_DATA_DIRS
export XDG_DATA_DIRS='/nix/store/i4mmw69f56zwi753ssp9pq2wzq2lnznm-ibus-1.5.22/share'${XDG_DATA_DIRS:+':'}$XDG_DATA_DIRS
export GI_TYPELIB_PATH='/nix/store/2chzii7gwmlcii9x73l0v3bl7lf2awvb-gtk+3-3.24.14/lib/girepository-1.0:/nix/store/a7dwk7qamr2j7220rsfvn8w386b8a3lc-librsvg-2.48.0/lib/girepository-1.0:/nix/store/kah2hha1zcbv0xvyq7fdx26gxd03002x-gdk-pixbuf-2.40.0/lib/girepository-1.0:/nix/store/r4vrzisk85nfkmmafvvi348czb8l4p86-gobject-introspection-1.64.0/lib/girepository-1.0:/nix/store/y9sn0hll1m90zdi8bwa5126lmdkdp8i9-pango-1.44.7/lib/girepository-1.0:/nix/store/ly22x5s6v91i840xkkj82dhblkfgl79v-atk-2.35.1/lib/girepository-1.0:/nix/store/br3plmq0cw4ggxzrcharf46wbhyb7rya-gtk+-2.24.32/lib/girepository-1.0:/nix/store/xjg7kpw38mfaab2fsarll2d39nk06ha5-gsettings-desktop-schemas-3.36.0/lib/girepository-1.0:/nix/store/wqf98k757rvmrzyldzj4fmq4vfl7lx1q-json-glib-1.4.4/lib/girepository-1.0:/nix/store/39mcxzz3c9jl1l6mcjjp6fxdcdsm4la3-libnotify-0.7.9/lib/girepository-1.0:/nix/store/2chzii7gwmlcii9x73l0v3bl7lf2awvb-gtk+3-3.24.14/lib/girepository-1.0:/nix/store/a7dwk7qamr2j7220rsfvn8w386b8a3lc-librsvg-2.48.0/lib/girepository-1.0:/nix/store/kah2hha1zcbv0xvyq7fdx26gxd03002x-gdk-pixbuf-2.40.0/lib/girepository-1.0:/nix/store/r4vrzisk85nfkmmafvvi348czb8l4p86-gobject-introspection-1.64.0/lib/girepository-1.0:/nix/store/y9sn0hll1m90zdi8bwa5126lmdkdp8i9-pango-1.44.7/lib/girepository-1.0:/nix/store/ly22x5s6v91i840xkkj82dhblkfgl79v-atk-2.35.1/lib/girepository-1.0:/nix/store/br3plmq0cw4ggxzrcharf46wbhyb7rya-gtk+-2.24.32/lib/girepository-1.0:/nix/store/xjg7kpw38mfaab2fsarll2d39nk06ha5-gsettings-desktop-schemas-3.36.0/lib/girepository-1.0:/nix/store/wqf98k757rvmrzyldzj4fmq4vfl7lx1q-json-glib-1.4.4/lib/girepository-1.0:/nix/store/39mcxzz3c9jl1l6mcjjp6fxdcdsm4la3-libnotify-0.7.9/lib/girepository-1.0'${GI_TYPELIB_PATH:+':'}$GI_TYPELIB_PATH
exec -a "$0" "/nix/store/i4mmw69f56zwi753ssp9pq2wzq2lnznm-ibus-1.5.22/bin/.ibus-setup-wrapped"  "$@"

Here's the nixos config
i18n.inputMethod = {
  enabled = "ibus";
  ibus.engines = with pkgs.ibus-engines; [ uniemoji typing-booster ];
};

Metadata

system: "x86_64-linux"
host os: Linux 5.4.31, NixOS, 20.09-4cbb870 (Nightingale)
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.4pre20200403_3473b19
channels(root): ""
nixpkgs: /run/current-system/nixpkgs

Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute: ibus
# a list of nixos modules affected by the problem
module:

cc @jtojnar (think you fixed this?)

I think I mostly worked on the setups of modules. But pretty sure this was working before. If I add gobject-introspection to nativeBuildInputs the number of entries in GI_TYPELIB_PATH goes from 20 to 50 but still no ibus. Weird.

I also have this issue in latest version.

Yes, this is a bug. I could reproduce it in a minimal test case:
https://github.com/NixOS/nixpkgs/commit/7ca2990a876c41cd94a26ee043ab0092386825ad#diff-dc66b3a8751266cd362dbf0fcd7e2fc9R124-R131

I think the main reason is file *ibus-1.5.22/lib/python3.7/site-packages/gi/overrides/IBus.py can't be found by pyGObject

That is not it. The reason is the wrappers are not adding typelibs from
the package itself to GI_TYPELIB_PATH.
On Mon, 20 Apr, 2020 at 07:29, SuperBo<EMAIL_ADDRESS>wrote:

I think the main reason is file
*ibus-1.5.22/lib/python3.7/site-packages/gi/overrides/IBus.py can't
be found by pyGObject
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

So you already have solution for this problem, haven't you?

No. Only a minimal test case that reproduces it. Will not be able to look
into it until the day after tomorrow.
On Tue, 21 Apr 2020, 02:55 SuperBo<EMAIL_ADDRESS>wrote:

So you already have solution for this problem, haven't you?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/NixOS/nixpkgs/issues/85515#issuecomment-616886276,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFMEY5T7SWHSMRCJPIP7F3RNTVJTANCNFSM4MLPU65A
.

Looks like the issue is that giDiscoverSelf that sets the GI_TYPELIB_PATH runs as preFixup hook so it runs after gappsWrapperArgsHook that needs it.

I tried this on release-20.03 and got
nix shell nixpkgs/release-20.03#ibus

ibus-setup
Traceback (most recent call last):
  File "/nix/store/01djnnw9gh2cazjr1nqakazdsag8xsc0-ibus-1.5.21/share/ibus/setup/main.py", line 38, in <module>
    gi_require_version('IBus', '1.0')
  File "/nix/store/hz347980f49wjxcgn6whmyyvfa3xavpg-python3-3.7.6-env/lib/python3.7/site-packages/gi/__init__.py", line 129, in require_version
    raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace IBus not available

but it is fixed on master. I'll backport this to 20.03.

This has been fixed by https://github.com/NixOS/nixpkgs/pull/86416.


[FLINK-13502] move CatalogTableStatisticsConverter & TreeNode to correct package

What is the purpose of the change
move CatalogTableStatisticsConverter & TreeNode to correct package
Brief change log

move CatalogTableStatisticsConverter to planner.utils
move TreeNode to planner.expressions

Verifying this change
This change is a code cleanup without any test coverage.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes / no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no)
The serializers: (yes / no / don't know)
The runtime per-record code paths (performance sensitive): (yes / no / don't know)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (yes / no / don't know)
The S3 file system connector: (yes / no / don't know)

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

@flinkbot run travis


rate_limit: statusor to avoid potential template argument deduction

Commit Message:
Additional Description:
Risk Level: low
Testing:
Docs Changes:
Release Notes:

/assgin @adisuissa

/retest


Can't access external drives in desktop mode

When in desktop mode, you can not access external hard drives, even when the drive is formatted with the web ui and works with Steam game installs.

Drives are mounted to /run/media/sdX
I'll keep this open as a reminder to hook it into the file browser for easier navigation.


add docs for onlyActiveOnIndex

Oh dear. Would you mind moving that explanation to <IndexLink>? The actual intention is that people who want to use this feature use the <IndexLink> component, rather than themselves deal with this horribly named prop.

I'm not sure how we forgot to document <IndexLink> in the API docs. Sorry if you spent time figuring out what that prop was. I really don't think it was meant for direct use.

Ah. I'm curious as to the logic for making a whole new component (<IndexLink/>) as opposed to just a prop to change the behavior? Does IndexLink also do other things?

I dunno. Less typing?

seems harder to remember for me. but whatever :)

In seriousness, I think onlyActiveOnIndex is a bit of an awkward name for something that's as common a use case. I can't really speak to why this choice was made, but not much sense changing it now.


OyasumiVR flagged as PUP by Bitdefender AV

As the title of this issue states, Bitdefender Antivirus detects OyasumiVR as a PUP and labels it as a cryptominer. I am posting this issue to let the developer know that OyasumiVR conflicts with Bitdefender so that the conflict can be resolved as this is 100% a false positive from the anti virus. I will also see if I can submit a sample to Bitdefender to correct the false positive.

Thanks for submitting it as a false positive. Sadly these things just pop up from time to time and there's not much else that can be done. 1.7.0 falsely got flagged by windows defender as a trojan, but this was already not the case anymore with the next patch release. OyasumiVR is definitely not the only tauri app dealing with this issue.
I've just released 1.10.4 a couple of minutes ago, so if you were experiencing this issue with 1.10.3, this particular instance might already be resolved.

Updating this issue as it still conflicts with bitdefender. Resubmitted the sample to bitdefender so lets see how it goes this time.
Ver 1.10.4-STEAM


Bug on Windows when running prisma generate

Bug description
Dear developers, this is a small bug, but I'm running the prisma client inside my Documents folder on Windows and turns out that I have spaces on my username folder. Ex: C:\Users\Andre Luiz\Documents\prismafolder\node_modules. And when I run prisma generate inside it, it will display an error about the spaces on the folder name.
How to reproduce

Just run npx prisma generate inside a folder where it's parent has a space on the name. If you move the application to a different folder, everything works fine.
Expected behavior

No error.
Prisma information

@prisma/cli          : 2.0.0-beta.1
Current platform     : windows
Query Engine         : prisma 2accb9c7eacdc984874eaeb63377fe705dfd3203 (at<EMAIL_ADDRESS>Migration Engine     : migration-engine-cli 2accb9c7eacdc984874eaeb63377fe705dfd3203 (at<EMAIL_ADDRESS>Introspection Engine : introspection-core 2accb9c7eacdc984874eaeb63377fe705dfd3203 (at<EMAIL_ADDRESS>Environment & setup

Windows

What is the error message you are getting? There might already be an issue for this over at https://github.com/prisma/prisma/issues/1973

You're correct. Is it the same thing that the other issue you presented.
Thanks
André Luiz Paiz

De: Jan Piotrowski<EMAIL_ADDRESS>Enviado: quarta-feira, 8 de abril de 2020 19:25
Para: prisma/prisma-client-js
Cc: decosvaldo; Author
Assunto: Re: [prisma/prisma-client-js] Bug on Windows when running prisma generate (#636)
What is the error message you are getting? There might already be an issue for this over at prisma/prisma#1973https://github.com/prisma/prisma/issues/1973
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/prisma/prisma-client-js/issues/636#issuecomment-611226011, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AH5SX4F3WLNW3VWTBP6UFI3RLT2WJANCNFSM4MDCGEIA.


MediaSource failures with certain language settings

Have you read the FAQ and checked for duplicate open issues?:
Yes
What version of Shaka Player are you using?:
master / nightly
Can you reproduce the issue with our latest release version?:
No
Can you reproduce the issue with the latest code from master?:
Yes
Are you using the demo app or your own custom app?:
Demo
What browser and OS are you using?:
Chrome on Linux
What are the manifest and license server URIs?:
"Sintel 4k multicodec" from the asset list
What did you do?
Click load.
What did you expect to happen?
The content will load.
What actually happened?
A MediaSource error occurred: "Shaka Error MEDIA.VIDEO_ERROR (4,,DEMUXER_ERROR_COULD_NOT_OPEN)"
If you click load a second time, the content loads correctly.
https://nightly-dot-shaka-player-demo.appspot.com/demo/#asset=https://storage.googleapis.com/shaka-demo-assets/sintel/dash.mpd

Additional clues:

This also reproduces with the MP4-only version of Sintel, but not with the WebM-only version.
This does not reproduce if you have already loaded some other content.  You must refresh the page and choose either MP4-only Sintel or multicodec Sintel as the first content you load.

The first commit in which this bug appears in 6b1ca2d229b855e4064d7d13dc0918bd020eab43, but it is still unclear how that could have caused this.

More specifically, this happens for me in Chrome/70.0.3538.110 on Linux, and with any of the Sintel assets on the first try, but not on the second try, and not with Angel One.  This is not happening for @TheModMaker on the same version of Chrome.

The log from chrome:media-internals is sparse:
render_id: 47
player_id: 167
origin_url: http://localhost/
frame_url: http://localhost/shaka/demo/#asset=https://storage.googleapis.com/shaka-demo-assets/sintel-webm-only/dash.mpd;lang=de;play;build=uncompiled
frame_title: Shaka Player Demo
url: blob:http://localhost/2e1eafa1-82f5-4048-ac84-0ffd5a1eee5d
info: ChunkDemuxer: buffering by DTS
pipeline_state: kStopped
pipeline_error: DEMUXER_ERROR_COULD_NOT_OPEN
duration: 888.042

@wolenetz, any ideas on how we should debug this perplexing Chrome media error that only happens on this one machine, but not on an identical version of Chrome on the same OS on a teammate's machine?

@joeyparrish I have the same error:

My useragent is "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36" (Ubuntu 18.04)

This is still happening for me.  This will block v2.5 if we can't solve it.

I think I found the root cause, and I can explain why it doesn't happen for my teammates.  @avelad, I notice that your language is set to es-ES.  Mine is set to de.  This is the trigger: a feature in Shaka Player which enables text display automatically when your language matches the text, but not the audio.

I'll try building a debug chrome and get more detailed logs from a repro (assuming I can get a repro first...)

No repro on Chrome Linux 70.3538.110, though language is 'en'.
But setting it to 'de' gets a repro. Faster repro URL:
https://nightly-dot-shaka-player-demo.appspot.com/demo/#asset=https://storage.googleapis.com/shaka-demo-assets/sintel/dash.mpd;lang=de;build=uncompiled

The limited amount if info in chrome://media-internals for a repro suggests to me that this error occurs before reaching HAVE_METADATA. I'll dig into local repro logs next.

I couldn't get a local tip-of-tree Chrome release build to repro this. I noticed also that even if I picked a specific "Text language" different from that in the URL and then click Load a second time that the chosen text language is not used. Is that a known issue, perhaps related?

Ah I have a successful local repro now from tip-of-tree. Analyzing logs...

Relevant portion of a repro log:
chunk_demuxer.cc(650)] AddId id=4bd9c84b-1517-4d18-a265-b566829cfc20 content_type=audio/webm codecs=opus
frame_processor.cc(300)] FrameProcessor()
webm_stream_parser.cc(124)] ChangeState() : 0 -> 1
chunk_demuxer.cc(1086)] GetGenerateTimestampsFlag(4bd9c84b-1517-4d18-a265-b566829cfc20)
source_buffer.cc(142)] SourceBuffer this=0x22fdca0d9480
source_buffer.cc(174)] setMode this=0x22fdca0d9480 newMode="segments"
chunk_demuxer.cc(1086)] GetGenerateTimestampsFlag(4bd9c84b-1517-4d18-a265-b566829cfc20)
chunk_demuxer.cc(1078)] IsParsingMediaSegment(4bd9c84b-1517-4d18-a265-b566829cfc20)
chunk_demuxer.cc(1095)] SetSequenceMode(4bd9c84b-1517-4d18-a265-b566829cfc20, 0)
frame_processor.cc(316)] SetSequenceMode(0)
media_source.cc(218)] addSourceBuffer this=0x63425043530 type="audio/webm; codecs=\"opus\"" -> 0x22fdca0d9480
media_source.cc(329)] isTypeSupported("video/webm;codecs=\"vp9\";framerate=\"23.80952380952381\";bitrate=\"204094\";width=\"426\";height=\"182\"") -> true
media_source.cc(329)] isTypeSupported("video/webm; codecs=\"vp9\"") -> true
media_source.cc(150)] addSourceBuffer this=0x63425043530 type="video/webm; codecs=\"vp9\""
media_source.cc(329)] isTypeSupported("video/webm; codecs=\"vp9\"") -> true
chunk_demuxer.cc(650)] AddId id=bdcb5d46-9e17-4f3b-8797-170b3dcc0972 content_type=video/webm codecs=vp9
frame_processor.cc(300)] FrameProcessor()
webm_stream_parser.cc(124)] ChangeState() : 0 -> 1
chunk_demuxer.cc(1086)] GetGenerateTimestampsFlag(bdcb5d46-9e17-4f3b-8797-170b3dcc0972)
source_buffer.cc(142)] SourceBuffer this=0x22fdca0d9840
source_buffer.cc(174)] setMode this=0x22fdca0d9840 newMode="segments"
chunk_demuxer.cc(1086)] GetGenerateTimestampsFlag(bdcb5d46-9e17-4f3b-8797-170b3dcc0972)
chunk_demuxer.cc(1078)] IsParsingMediaSegment(bdcb5d46-9e17-4f3b-8797-170b3dcc0972)
chunk_demuxer.cc(1095)] SetSequenceMode(bdcb5d46-9e17-4f3b-8797-170b3dcc0972, 0)
frame_processor.cc(316)] SetSequenceMode(0)
media_source.cc(218)] addSourceBuffer this=0x63425043530 type="video/webm; codecs=\"vp9\"" -> 0x22fdca0d9840
source_buffer.cc(680)] HighestPresentationTimestamp this=0x22fdca0d9480, pts=0
source_buffer.cc(680)] HighestPresentationTimestamp this=0x22fdca0d9840, pts=0
chunk_demuxer.cc(1036)] SetDuration(888.053)
html_media_element.cc(3303)] durationChanged(0xdd2cda69f38, 888.053, false)
html_media_element.cc(3310)] durationChanged(0xdd2cda69f38) : nan -> 888.053
media_source.cc(607)] SetReadyState this=0x63425043530 : "open" -> "ended"
chunk_demuxer.cc(1117)] MarkEndOfStream(0)
chunk_demuxer.cc(1214)] ReportError_Locked(12)
chunk_demuxer.cc(1198)] ChunkDemuxer::ChangeState_Locked() : 1 -> 4
html_media_element.cc(3303)] durationChanged(0xdd2cda69f38, 888.053, false)
webmediaplayer_impl.cc(1603)] OnError
der_media_log.cc(30)] MediaEvent: PIPELINE_ERROR DEMUXER_ERROR_COULD_NOT_OPEN
webmediaplayer_impl.cc(2603)] SetNetworkState(4)
html_media_element.cc(1698)] setNetworkState(0xdd2cda69f38, 4) - current state is 2
html_media_element.cc(1627)] MediaLoadingFailed(0xdd2cda69f38, 4, message='"DEMUXER_ERROR_COULD_NOT_OPEN"')
html_media_element.cc(1541)] NoneSupported(0xdd2cda69f38, message='"DEMUXER_ERROR_COULD_NOT_OPEN"')
media_source.cc(607)] SetReadyState this=0x63425043530 : "ended" -> "closed"
source_buffer.cc(655)] RemovedFromMediaSource this=0x22fdca0d9480
chunk_demuxer.cc(723)] RemoveId id=4bd9c84b-1517-4d18-a265-b566829cfc20
frame_processor.cc(305)] ~FrameProcessor()
source_buffer.cc(655)] RemovedFromMediaSource this=0x22fdca0d9840
chunk_demuxer.cc(723)] RemoveId id=bdcb5d46-9e17-4f3b-8797-170b3dcc0972
frame_processor.cc(305)] ~FrameProcessor()
:chunk_demuxer.cc(518)] Stop()
:chunk_demuxer.cc(1174)] Shutdown()
:chunk_demuxer.cc(1198)] ChunkDemuxer::ChangeState_Locked() : 4 -> 5
webmediaplayer_impl.cc(2829)] UpdatePlayState_ComputePlayState: is_remote=0, must_suspend=0, idle_suspended=0, background_suspended=0, can_stay_suspended=0, is_stale=0, have_future_data=0, paused_=1, seeking_=1
webmediaplayer_impl.cc(2685)] SetDelegateState(0, 1)
webmediaplayer_impl.cc(2746)] SetSuspendState(0)
html_media_element.cc(2511)] pause(0xdd2cda69f38)
html_media_element.cc(2518)] pauseInternal(0xdd2cda69f38)
html_media_element.cc(3510)] updatePlayState(0xdd2cda69f38) - shouldBePlaying = false, isPlaying = false
:INFO:CONSOLE(706)] "Player error", source: https://nightly-dot-shaka-player-demo.appspot.com/demo/main.js (706)

Requirements for repro:

Auto text display is triggered based on language preferences
Text stream setup is instant, but audio or video are not (DASH SegmentBase)

These conditions will cause StreamingEngine's setup phase to be completed after only text is initialized, which then causes a MediaSource failure for audio or video when streaming begins.  Effectively, this is a race between two different triggers to StreamingEngine initialization.

@wolenetz, thank you for the assistance!  We have found the root cause now within Shaka Player.

To answer the "Why didn't we catch this sooner?" label:

The change was made in our private UI branch before we released the new UI, and the change was meant to fix a UI-related bug in text selection
The bug is only triggered by our auto-display text feature, which is only triggered by certain language settings on certain content

Lessons learned:
When your colleague with an identical OS & browser can't repro, check your preferences!

@joeyparrish Glad I could help - sorry about the delay. Of note, the path to error I found in my repro looks like mediaSource.endOfStream() was called before HAVE_METADATA readyState on the attached HTMLMediaElement was reached. I'll look into adding an informative error log message of some kind for that condition in Chrome in addition to the existing basic "DEMUXER_ERROR_COULD_NOT_OPEN" pipeline error message for this case.

This is the related MSE spec issue that was hit by the repro: https://github.com/w3c/media-source/issues/212


Upgrade dependencies to the latest version

Version 1.4.0 is now updated and compatible with Flutter 3 and google_fonts: ^3.0.1.

@simonpham It was indeed! 🙌
Mind if I ask how you are using this package in your project? I haven't found any use of it in the wild, so it would be interesting to know!

@simonpham It was indeed! 🙌
Mind if I ask how you are using this package in your project? I haven't found any use of it in the wild, so it would be interesting to know!

We are using it for a feature of FluxBuilder - a drag-and-drop tool for building mobile apps. You can try it out :D

OK, that looks so cool! Good job! 🎊


Things Remote can't do

keeping track of things remote currently can't do:

Use MDA at all

the mda object isn't properly exposed

use devicePropertyChanged signals:

https://github.com/tlambert03/pymmcore-plus/blob/717a74330d01903ea7a4062a000752991f1074e2/pymmcore_plus/remote/server/_pyrocore.py#L34-L36

generally work! :) #43 (linking as a reminder/major hindrance even if 1 & 2 are fixed)

removed remote in #208


doc: cartesianProduct1 and permutationsWithReplacement1 mention product in their doc strings

They were copied from the late product generator and have a mistake in their docstrings.

This is just for testing documentation. Not a big enough problem to justify a patch. Minor nit pick.


fix(moveNewHandler): Avoid ghost annotations on fast mouse events

Issue: #1464

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


docs(deployment): add note about tls connection

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


transformIgnorePatterns  use error

done
Do you want to request a feature or report a bug?
bug
What is the current behavior?
jest throw error with es2015 npm module, for example(lodash-es/cloneDeep):
/node_modules/lodash-es/cloneDeep.js:1
    ({"Object.<anonymous>":function(module,exports,require,__dirname,__filename,global,jest){import baseClone from './_baseClone.js';

   ^^^^^^
    SyntaxError: Unexpected token import

      at ScriptTransformer._transformAndBuildScript (node_modules/jest-runtime/build/ScriptTransformer.js:290:17)
      at Object.<anonymous> (src/fetch.ts:46:70)
      at Object.<anonymous> (src/index.ts:6:10)

Setting as (https://facebook.github.io/jest/docs/configuration.html#transformignorepatterns-array-string)，add
"transformIgnorePatterns": ["<rootDir>/node_modules/(?!lodash-es)/"]

or
"transformIgnorePatterns": []

my test repo(branch lodash):
https://github.com/doxiaodong/intercept-fetch/tree/lodash
If the current behavior is a bug, please provide the steps to reproduce and either a repl.it demo through https://repl.it/languages/jest or a minimal repository on GitHub that we can yarn install and yarn test.
What is the expected behavior?
Please provide your exact Jest configuration and mention your Jest, node, yarn/npm version and operating system.

It seem to ts-jest


Implement getMaximumExtent

Implement the getMaximumExtent function on aikido::ompl::GeometricStateSpace.  This is used by OMPL planners to compute collision checking resolution. We are avoiding this by defining a custom MotionValidator. But there may be other uses of the function that could cause planning errors.

There is a WIP branch for this: feature/ompl_max_extent. It would be nice if someone takes over it.


How to properly implement an async pub/sub client?

I have the following solution but it does not work very well. It does not seem to disconnect and is very slow on joining.
#!/usr/bin/env python

import time
import threading
from socketIO_client import SocketIO

class TestSubscribe():

    def connect(self):
        baseurl = "http://v1.livenet.bitcoin.chromanode.net"
        self._socketIO = SocketIO(baseurl, 80)
        self._socketIO.on('new-block', self.on_newblock)
        self._socketIO.emit('subscribe', 'new-block')
        self._socketIO_thread = threading.Thread(target=self._socketIO.wait)
        self._socketIO_thread.start()

    def on_newblock(self, blockid, blockheight):
        print "new-block:", blockid, blockheight
        # add to input queue for further processing

    def disconnect(self):
        # XXX works ... badly
        print "disconnect before:", self._socketIO.connected
        self._socketIO.disconnect()
        self._socketIO_thread.join() # takes quite some time
        print "disconnect after:", self._socketIO.connected # still connected?
        self._socketIO = None
        self._socketIO_thread = None

testsubscribe = TestSubscribe()
testsubscribe.connect()
time.sleep(10)
testsubscribe.disconnect()

Hi Fabian, please tell me if the above fix resolves your issue.

While it still displays connected as true afterword, it does terminate much faster.
Thank you very much!

That's good to know, I'll look into it later when I have more time.

The fix looks a little to simple. Does that not just set wait to always be 1 and break the basic functionality? I'm not familiar with socketIO-client code base, will have to check if my other stuff still works.

The fix only affects the websocket transport.
Previously, the websocket transport would block on recv() until ping_timeout.
Now, wait() blocks on recv() for one second and then loops more often, making the loop more responsive; there shouldn't be any changes in functionality.

Good to know, thank you very much!

Blocks for one second?  Is this still true?
What is the granularity of wait(timeout) ?
I tried to follow the code but it looked like the recv() block was controlled
by a connection setting value passed from the other side via engineIO_session.


JWS JSON integrity protected headers are owerwritten by unprotected headers

Describe the bug
Deserialize JWS JSON  will overwrite protected headers (protected) with values from header
To Reproduce
from authlib.jose import JsonWebSignature

jws = JsonWebSignature()

header_obj = {
    'protected': {
        'alg': 'HS256',
        'crit': ['jti', 'exp'],
        'kid': 'key',
        'jti': '1',
        'exp': '11111111111',
    },
    'header': {},
}
secret = b'secret'
payload = b'payload'

jws_json = jws.serialize_json(header_obj, payload, secret)

# assume that attacker got access to jws
jws_json['header'] = {
    'kid': 'another_key',
    'jti': '9',
    'exp': '99999999999',
}

decoded = jws.deserialize_json(jws_json, secret)

assert decoded['header']['kid'] == 'key'
assert decoded['header']['jti'] == '1'
assert decoded['header']['exp'] == '11111111111'

Expected behavior
deserialize_json must not overwrite protected headers with unprotected headers.
{
    'header': {
        'alg': 'HS256',
        'crit': ['jti', 'exp'],
        'kid': 'key',
        'jti': '1',
        'exp': '11111111111'
    },
    'payload': b'payload',
}

Environment:

OS: ox X 11.2.3
Python Version: 3.9.1
Authlib Version: 0.15.3

Changing dict update order in JWSHeader should do the trick, but maybe i am missing the big picture

Can you please label this Bug as a security issue, because it is one that affects both methods serialize_json and serialize. Thanks!

I don't understand the issue.

assume that attacker got access to jws

If the attacker can alter your code, you are already in danger.


Update README.md

Added sourcing info to make the mkvirtualenv usable after installation.

Can one of the admins verify this patch?

"ok to test" to accept this pull request for testing
"test this please" for a one time test run
"add to whitelist" to add the author to the whitelist

Can one of the admins verify this patch?

"ok to test" to accept this pull request for testing
"test this please" for a one time test run
"add to whitelist" to add the author to the whitelist

Can you add more explicit docs around adding
export WORKON_HOME=$HOME/.virtualenvs
export PROJECT_HOME=$HOME/development/virtualenvs
export VIRTUALENVWRAPPER_SCRIPT=/usr/local/bin/virtualenvwrapper.sh
source /usr/local/bin/virtualenvwrapper_lazy.sh

to .bashrc etc. ?


Update - Switched to Kaiju Christmas logo

Summary
Kaiju's celebrate Christmas.
Thanks for contributing to Kaiju.
@cerner/kaiju

🎅  🤶 🎄  🎁


⚠ Bofrost.be has degraded performance

In 2a71022, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 2136 ms

Resolved: Bofrost.be performance has improved in aa9478d after 17 minutes.


Release v0.28.1

https://github.com/vmware-tanzu/carvel-vendir/releases/tag/v0.28.1
https://community.chocolatey.org/packages/vendir/0.28.1

https://twitter.com/rastadidi/status/1545286107910197248


Swift 3

Hi. Very useful library. It would be great updating to Swift 3 when possible

@rmvz3 Hi, it is in swift 3 already. But I will check to make sure and let you know

@rmvz3 Hi, you can now use version 1.1.0