Update po file for US English

I found a few places where I edited the current .po file over the past couple of days and the changes aren't reflected in the app. In addition, I'm collecting a list of banner alert messages and other new features (Usage page) with text that's missing from the current .po file.
@briri please advise on the best approach to updating and correcting the US English translation.

there are a few gems that are not a part of the app.po. I had gone through and updated 'organisation' to 'organization' but may have missed some things. They can be found in:

config/locales/bootstrap/en_US.bootstrap.yml
config/locales/contact_us/contact_us.en_US.yml
config/locales/devise/devise.en_US.yml

We also use the 'date' and 'time' sections of the config/locales/en_US.yml file. The rest of the remaining content in that file is no longer used, so not to worry no need to update it! We will/should clean it out after MVP

i think we fixed all the things now. closing this issue.


Update Elixir/OTP and CI

The minimum version of Elixir is bumped up to 1.13,
so that it is guaranteed that URI.new/1 will be available.
Maintaining support for Elixir 1.9 would have meant there being no way
of supporting OTP 26 for all Elixir versions (you either need :http_uri.parse/1
or URI.new/1).
OTP 26 support also required a change to the String validator's doctest.
Earthly is introduced in order to run the same versions in dev as in CI.
Currently, mix credo --strict will not run as there's a TODO in social security.

Overall looks good :) If you can maybe just move the ftps://foo.bar/ test and it should be ready for merge :)


support middleware

https://github.com/prisma/nexus/issues/64 discusses the possibility of introducing middleware in nexus type definition to facilitate the re-usability of auth/validation logics in resolvers. Similarly, it would be nice if nexus-primsa could support middleware, maybe like this:
const Query = prismaObjectType({
  name: 'Query',
  definition(t) {
    t.prismaFields(['user', { name: 'users', middleware: [middleware1, middleware2] }])
  },
})

As nexus-prisma is just a wrapper around nexus, once nexus implements it, all the middleware will magically be able for nexus-prisma as well 🙂


a question for the output of static encoder

First, thanks for sharing the amazing project.
I found the outputs of the static encoder were not used in the forward of encoder-decoder. The output features, the offset, were set in the SkeletonConv, but not concatenated with the input in the forward. I was confused about that. It seemed the static-encoder didn’t work.

Hi, thanks for your interest in our project.
We use some trick in implementation considering efficiency so it's not exactly the same as the paper describes. Repeating and concating then applying convolution is actually equivalent to do a separate linear transformation on deep offset representation then add the result to the convolution result. We use the latter one in our implementation.


Code that has no effect

The last line in this code in libgringo/gringo/output/theory.hh:
        bool operator()(std::pair<IdSpan, LitSpan> const &x, std::pair<IdSpan, LitSpan> const &y) const {
            return x.first.size == y.first.size &&
                   x.second.size == y.second.size &&
                   std::equal(begin(x.first), end(x.first), begin(y.first));
                   std::equal(begin(x.second), end(x.second), begin(y.second));
        }

has  no effect.
It also causes this clang warning:
In file included from /usr/ports/math/clingo/work/clingo-5.7.0/libgringo/src/ground/statements.cc:25:
In file included from /usr/ports/math/clingo/work/clingo-5.7.0/libgringo/gringo/ground/statements.hh:28:
In file included from /usr/ports/math/clingo/work/clingo-5.7.0/libgringo/gringo/ground/statement.hh:28:
In file included from /usr/ports/math/clingo/work/clingo-5.7.0/libgringo/gringo/ground/literal.hh:30:
In file included from /usr/ports/math/clingo/work/clingo-5.7.0/libgringo/gringo/ground/instantiation.hh:28:
In file included from /usr/ports/math/clingo/work/clingo-5.7.0/libgringo/gringo/output/output.hh:31:
In file included from /usr/ports/math/clingo/work/clingo-5.7.0/libgringo/gringo/output/statements.hh:29:
In file included from /usr/ports/math/clingo/work/clingo-5.7.0/libgringo/gringo/output/literals.hh:36:
/usr/ports/math/clingo/work/clingo-5.7.0/libgringo/gringo/output/theory.hh:203:20: warning: ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result]
                   std::equal(begin(x.second), end(x.second), begin(y.second));
                   ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.

Thanks, it has to be x.first of course.


Add pause_space and restart_space

Resolves #1330 (following server-side implementation -internal link- cc @SBrandeis @coyotte508)
This PR adds 2 new endpoints:

pause_space (docs)
restart_space (docs)

Both returns a SpaceRuntime object, describing the state of the Space after the action has been completed. I have added a state "PAUSED" to the SpaceStage enum. Also added some docstrings and tests.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

Great, thanks for the review :) I'm merging


Test tools/test_utils.py test_random_token sometimes fails apprently randomly

this https://github.com/italia/eudi-wallet-it-python/blob/dev/pyeudiw/tests/tools/test_utils.py#L51
fails sometimes, as shown here: https://github.com/italia/eudi-wallet-it-python/actions/runs/11464697451/job/31901483660#step:9:90
needs further analysis

The bug is in the test.
There are cases when the random token '00' is created and is perfectly valid, it represent the integer zero, but the assertion require that it is non-zero
https://github.com/italia/eudi-wallet-it-python/blob/2eb59f04514c0110166a92f2a1ce3e902e245950/pyeudiw/tests/tools/test_utils.py#L81
in general, that assertion is not a valid check as the method int(…) raises an exception when it fails.
Will follow up with fixing pull request


'Split and Stitch' Encoding

I've been messing around with running separate FFmpeg processes on segments of the same video file.
There are a bunch of benefits here:

Encoding speed is only limited by chunk-duration and worker-pool size
Greater resource utilisation
Chunked job structure lends to more reliable progress-metrics

I've got this working reliably locally - with no performance gains obviously since I'm running all the FFmpeg processes on the same machine.
To get this working here we'll need a few things:

[ ] A new task to parse the original job into segments
[ ] The encoding task's group will become a chord so we can join the segments after encode
[ ] Job must be pickled, not sent as JSON. We need to transport Resolve's PyRemoteObj MediaPoolItem as task results
[ ] Additional cleanup required for temporary files (original segments, temp folder structure, etc.)

A lot of water under the bridge since this issue was opened!
Adding split and stitch encoding (a.k.a chunking), is going to be a huge refactor of the way job objects are handled. The job ojects should be refactored anyway, so adding chunking is a good reason to do it.
My list above is a little outdated now:
"Chunking" the jobs

[ ] A new task to parse the original job into segments

This doesn't need to be a task. We can chunk quickly and easily in the queuer. We can even only chunk jobs that are over a certain duration. Since Celery's object primitives allow for some pretty flexible nesting, we can check the duration of the source media and if it's over a certain duration, split it into a group of tasks with a callback (i.e. a "chord"), then we can wrap unchunked job plain-Jane-tasks and chunked job chords alike in a group.

[ ] The encoding task's group will become a chord so we can join the segments after encode

Our chunked job callbacks can be Celery tasks themselves to do the necessary ffmpeg join and cleanup. We can add a custom Celery task state for concatenating and removign temporary files to have this show up in queuer-side progress too.
Each primitive has its own results and those results are accessible asynchronously, even when deeply nested. This makes it possible to accomodate chunking in our queuer side progressbar with little modification.
Pickling for postencode

[ ] Job must be pickled, not sent as JSON. We need to transport Resolve's PyRemoteObj MediaPoolItem as task results

PyRemoteObjs are in-memory references. There is no way for media pool items to survive the round-trip between queuer and worker, except for using an ID to reference the in-memory objects on the queuer.
Maybe now with Resolve 18 it would be possible to use the new unique_id attributes to retain a reference to a media pool item across machines, but even so that would iterating all databases, projects, timelines, timeline items and finally media pool items by their respective ids. This may be just fine for a SQL database, but with the Python API, it's slow and made worse by the need for Resolve to actually open the projects and timelines to do this.
We're keeping it simple. Link if the same project is open, leave it to the user to reiterate the timelines manually when the proejct is open next time.

/cib


[Functional API] LSTM ignore mask in call

This is the model I used:
x = Input(shape=Xtrain.shape[1:], name='X')
vad = Input(shape=Xtrain_vad.shape[1:], name='vad')
l1 = LSTM(200)(x, mask=vad)
l2 = Dense(len(label), activation='softmax')(l1)

model = Model(input=[x, vad], output=l2)
model.compile(optimizer='rmsprop',
              loss='categorical_crossentropy',
              metrics=['accuracy'])
model.fit([Xtrain, Xtrain_vad], ytrain, nb_epoch=1)

And the output:

but the provided input variable at index 1 is not part of the computational graph needed to compute the outputs: vad.

Everything ran fine, but the model didn't take mask into account. Probably issue come from call of Layers, this method totally ignore the mask:
        # raise exceptions in case the input is not compatible
        # with the input_spec set at build time
        self.assert_input_compatibility(x)
        # build and connect layer
        input_added = False
        input_tensors = to_list(x)

        inbound_layers = []
        node_indices = []
        tensor_indices = []
        for input_tensor in input_tensors:
            if hasattr(input_tensor, '_keras_history') and input_tensor._keras_history:
                # this is a Keras tensor
                previous_layer, node_index, tensor_index = input_tensor._keras_history
                inbound_layers.append(previous_layer)
                node_indices.append(node_index)
                tensor_indices.append(tensor_index)
            else:
                inbound_layers = None
                break
        if inbound_layers:
            # this will call layer.build() if necessary
            self.add_inbound_node(inbound_layers, node_indices, tensor_indices)
            input_added = True

That's not how masking works. See the docs for the 'Masking' layer.
On 17 April 2016 at 17:20, TrungNT<EMAIL_ADDRESS>wrote:

This is the model I used:
x = Input(shape=Xtrain.shape[1:], name='X')
vad = Input(shape=Xtrain_vad.shape[1:], name='vad')
l1 = LSTM(200)(x, mask=vad)
l2 = Dense(len(label), activation='softmax')(l1)
model = Model(input=[x, vad], output=l2)
model.compile(optimizer='rmsprop',
loss='categorical_crossentropy',
metrics=['accuracy'])
model.fit([Xtrain, Xtrain_vad], ytrain, nb_epoch=1)
And the output:
but the provided input variable at index 1 is not part of the
computational graph needed to compute the outputs: vad.
Everything ran fine, but the model didn't take mask into account. Probably
issue come from call of Layers, this method totally ignore the mask:
    # raise exceptions in case the input is not compatible
    # with the input_spec set at build time
    self.assert_input_compatibility(x)
    # build and connect layer
    input_added = False
    input_tensors = to_list(x)

    inbound_layers = []
    node_indices = []
    tensor_indices = []
    for input_tensor in input_tensors:
        if hasattr(input_tensor, '_keras_history') and input_tensor._keras_history:
            # this is a Keras tensor
            previous_layer, node_index, tensor_index = input_tensor._keras_history
            inbound_layers.append(previous_layer)
            node_indices.append(node_index)
            tensor_indices.append(tensor_index)
        else:
            inbound_layers = None
            break
    if inbound_layers:
        # this will call layer.build() if necessary
        self.add_inbound_node(inbound_layers, node_indices, tensor_indices)
        input_added = True

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/fchollet/keras/issues/2374

model = Sequential()
model.add(Masking(mask_value=0., input_shape=(timesteps, features)))
model.add(LSTM(32))

This masking mechanism is very inflexible.
In my case, I have 2 different masks:

Normal mask that take out the timestep that lacks of data.
Voice Activity Detection mask.

Of course, the mask_value of normal mask in the input are all 0. However, the values of input timestep at VAD mask are still speech frame, and this masking mechanism cannot deal with this situation.

Hi @fchollet, is that possible to add some very simple examples with Masking for Functional API other than Sequential? It might be just 3 lines of codes.

Any update on this? I checked the the __call__ function of Layer and found when using Functional API, masking like val in l1 = LSTM(200)(x, mask=vad) will be ignored if x is a keras tensor, which will use the internal mask of x instead. In other words, x should be already masked before passing to LSTM.
I still think one example on the usage of Masking for Functional API is necessary. Also, l1 = LSTM(200)(x, mask=vad) is an more intuitive way to me than the current mechanism, although it is wrong for keras tensor.


Support router.merge

Support merge keyword

I added a test at test/generate/generate.js as follows:

And the test does pass, can you let me know where you are running into trouble with the merge keyword?

Apologies, it's actually Swagger UI that's not showing the merge.


contrib: add README.md, promote in documentation

Resolves: #475

Coverage remained the same at 57.925% when pulling 62577e65da05d92b915b6d5a677be70e4bc79657 on amritbrar:doc/475-contrib-readme into de06ef817efe90c3868be3f79f40faaccdb29df4 on newsboat:master.


Plugin release permissions for enhanced-old-build-discarder

Description
I have recently been developing an update to this plugin (https://github.com/jenkinsci/enhanced-old-build-discarder-plugin) and will be soon preparing a new public release of it. I have been listed as a Collaborator by the original developer on the repository and have master merge write access.
The original plugin developer @taksan is not listed with permissions for plugin release because of the age of the last release (5+ years ago).
Submitter checklist for changing permissions

Always

[x] Add link to plugin/component Git repository in description above

When adding new uploaders (this includes newly created permissions files)

[x] Make sure to @mention an existing maintainer to confirm the permissions request, if applicable
[x] Use the Jenkins community (LDAP) account name in the YAML file, not the GitHub account name
[x] All newly added users have logged in to Artifactory at least once

Close and reopen for new build.

@taksan, can you confirm

@BenjaminBeggs please confirm the format of the yml, it should look more like this:
https://github.com/jenkins-infra/repository-permissions-updater/blob/master/permissions/plugin-email-ext.yml

I have updated the developer line to mimic the example you've given.

It should be noted that the developer has not maintained the repository or made code reviews for recent PR's. He recently made quick contact with me to give me write access on the repo but I am not sure how active he is here. I made a request to be made maintainer on the plugin on the mailing list: https://groups.google.com/forum/?nomobile=true#!topic/jenkinsci-dev/HsV_p7ykTOU.
Just a heads-up in case @taksan does not reply.

I confirm and authorize

Wonderful, thank you!

@BenjaminBeggs I didn't see a check mark on the github repo permissions, do you already have permissions there?

No worries, I already have merge permissions there. Thanks!


Parameter Parsing should fail if violates declared route

Should be very simple to add runtime error if the declared path parameters do not meet the specification declared in the route itself.
Edit: I think a warn would be better... less opinionated.

This is something to eye for V3, particularly if we move towards a KSP approach that is generated at build time.  At runtime, this doesn't make too much sense.

closing this, as it is not really an "issue"


Allow dsn in addConnection to be of type Array or DBAL\Connection

Documentation on Link has an example to add a connection via an array. The method doc for addConnection says that the second param must be of type string, but this is not true. Some could either pass an Array, a String, or an instance of DBAL\Connection so I updated the param type to reflect this.
I found this problem because PHPStorm gave me a notice abut this.
Also fixed a typo for the default param.

This needs a test to accompany it that demonstrates this works.

Agreed.

There are already tests for array and Connection:
https://github.com/spotorm/spot2/blob/master/tests/Config.php#L49-L79

My bad. I didn't realize that this was just updating the comment.


[Bug]: anomalib/data/utils/boxes.py::masks_to_boxes raise an error if device is not both CPU and CUDA

Describe the bug
https://github.com/openvinotoolkit/anomalib/blob/34b3a90f9794dc037ec963381866d18f5f270328/src/anomalib/data/utils/boxes.py#L34-L37
When inferring with STFPM on XPU, error is raised at L37 with error 'TypeError: can't convert xpu:0 device type tensor to numpy. Use Tensor.cpu() to copy the tensor to host memory first.'.
It can be fixed by executing connected_components_gpu function not connected_components_cpu. Could you change code to execute connected_components_cpu if masks is on CPU and execute connected_components_gpu in other case?
Dataset
MVTec
Model
STFPM
Steps to reproduce the behavior
Infer STFPM model on XPU
OS information
OS information:

OS: Ubuntu 22.04.3 LTS
Python version: 3.10
Anomalib version: 0.5.1
PyTorch version: 2.1
CUDA/cuDNN version: N/A
GPU models and configuration: max gpu 1100
Any other relevant information: N/A

Expected behavior
Infer a model without errors.
Screenshots
No response
Pip/GitHub
pip
What version/branch did you use?
No response
Configuration YAML
Run on OTX

Logs
Traceback (most recent call last):
  File "/home/sdp/miniconda3/envs/eunwoosh_otx/bin/otx", line 8, in <module>
    sys.exit(main())
  File "/home/sdp/eunwoosh/otx/src/otx/cli/tools/cli.py", line 77, in main
    results = globals()[f"otx_{name}"]()
  File "/home/sdp/eunwoosh/otx/src/otx/cli/tools/eval.py", line 141, in main
    predicted_validation_dataset = task.infer(
  File "/home/sdp/eunwoosh/otx/src/otx/algorithms/anomaly/tasks/inference.py", line 227, in infer
    self.trainer.predict(model=self.model, datamodule=datamodule)
  File "/home/sdp/miniconda3/envs/eunwoosh_otx/lib/python3.10/site-packages/pytorch_lightning/trainer/trainer.py", line 892, in predict
    return call._call_and_handle_interrupt(
  File "/home/sdp/miniconda3/envs/eunwoosh_otx/lib/python3.10/site-packages/pytorch_lightning/trainer/call.py", line 38, in _call_and_handle_interrupt
    return trainer_fn(*args, **kwargs)
  File "/home/sdp/miniconda3/envs/eunwoosh_otx/lib/python3.10/site-packages/pytorch_lightning/trainer/trainer.py", line 938, in _predict_impl
    results = self._run(model, ckpt_path=self.ckpt_path)
  File "/home/sdp/miniconda3/envs/eunwoosh_otx/lib/python3.10/site-packages/pytorch_lightning/trainer/trainer.py", line 1112, in _run
    results = self._run_stage()
  File "/home/sdp/miniconda3/envs/eunwoosh_otx/lib/python3.10/site-packages/pytorch_lightning/trainer/trainer.py", line 1190, in _run_stage
    return self._run_predict()
  File "/home/sdp/miniconda3/envs/eunwoosh_otx/lib/python3.10/site-packages/pytorch_lightning/trainer/trainer.py", line 1244, in _run_predict
    return self.predict_loop.run()
  File "/home/sdp/miniconda3/envs/eunwoosh_otx/lib/python3.10/site-packages/pytorch_lightning/loops/loop.py", line 199, in run
    self.advance(*args, **kwargs)
  File "/home/sdp/miniconda3/envs/eunwoosh_otx/lib/python3.10/site-packages/pytorch_lightning/loops/dataloader/prediction_loop.py", line 100, in advance
    dl_predictions, dl_batch_indices = self.epoch_loop.run(
  File "/home/sdp/miniconda3/envs/eunwoosh_otx/lib/python3.10/site-packages/pytorch_lightning/loops/loop.py", line 199, in run
    self.advance(*args, **kwargs)
  File "/home/sdp/miniconda3/envs/eunwoosh_otx/lib/python3.10/site-packages/pytorch_lightning/loops/epoch/prediction_epoch_loop.py", line 100, in advance
    self._predict_step(batch, batch_idx, dataloader_idx)
  File "/home/sdp/miniconda3/envs/eunwoosh_otx/lib/python3.10/site-packages/pytorch_lightning/loops/epoch/prediction_epoch_loop.py", line 129, in _predict_step
    predictions = self.trainer._call_strategy_hook("predict_step", *step_kwargs.values())
  File "/home/sdp/miniconda3/envs/eunwoosh_otx/lib/python3.10/site-packages/pytorch_lightning/trainer/trainer.py", line 1494, in _call_strategy_hook
    output = fn(*args, **kwargs)
  File "/home/sdp/miniconda3/envs/eunwoosh_otx/lib/python3.10/site-packages/pytorch_lightning/strategies/strategy.py", line 408, in predict_step
    return self.model.predict_step(*args, **kwargs)
  File "/home/sdp/miniconda3/envs/eunwoosh_otx/lib/python3.10/site-packages/anomalib/models/components/base/anomaly_module.py", line 96, in predict_step
    outputs["pred_boxes"], outputs["box_scores"] = masks_to_boxes(
  File "/home/sdp/miniconda3/envs/eunwoosh_otx/lib/python3.10/site-packages/anomalib/data/utils/boxes.py", line 36, in masks_to_boxes
    batch_comps = connected_components_cpu(masks).squeeze(1)
  File "/home/sdp/miniconda3/envs/eunwoosh_otx/lib/python3.10/site-packages/anomalib/utils/cv/connected_components.py", line 45, in connected_components_cpu
    mask = mask.squeeze().numpy().astype(np.uint8)
  File "/home/sdp/miniconda3/envs/eunwoosh_otx/lib/python3.10/site-packages/intel_extension_for_pytorch/nn/functional/_tensor_method.py", line 13, in _numpy
    return torch._C._TensorBase.numpy(x)
TypeError: can't convert xpu:0 device type tensor to numpy. Use Tensor.cpu() to copy the tensor to host memory first.

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Closing as the PR has been merged


Broken link on ch3.2

the link for  Stashing and Cleaning is broken on the web page: https://git-scm.com/book/ch3-2.html. here is the right link: https://git-scm.com/book/en/v2/Git-Tools-Stashing-and-Cleaning
I could not find the web page on the git repo so but I know someone will know where it is

This is fixed. :tada:

if it was fixed, it is broken again. it is pointing to https://git-scm.com/book/ch00/_git_stashing

For starters, the first URL shouldn't resolve or should be a redirect to the actual one.

I think this is identical to the issue in #786.

Closing in favor of #786, which has more discussion.


fix: use UID 1000 for besu user (#6358)

PR description
The openjdk-latest Docker image is using UID 1001 for besu, because its base image ubuntu:23.10 now contains a default "ubuntu" user with UID 1000. (This UID change causes the besu user with UID 1001 to not have access to files created for past versions with UID 1000.)
This PR removes the default ubuntu user and explicitly uses UID 1000 when creating the besu user.
Note that this change will re-break file permissions for people who've already changed besu file ownership from 1000 -> 1001 when upgrading to 23.10.3, as the besu user goes back to UID 1000, as it was in versions prior to 23.10.3.

Fixed Issue(s)
Fixes #6358

h4l force-pushed the besu-uid-1000 branch from 6986827 to a64583e now

Added sign off to the commit msg.

Testing Gap

Nice catch, please add an entry and your warning to the changelog

Thanks, I've added this to the changelog. Is this as you'd expect?
(Also fixed a typo in my Dockerfile comment.)

Changelog is fine


Bug/style-change

When the style is changed:

Each layer is added as the style source is parsed
Any new layers since the last frame are sorted into added/deleted/changed in the next frames createRenderTree
Changed layers are updated, retaining the RenderLayer instance, and thus the existing drawables.
The results of evaluated properties were then applied to drawables created previously, leading to incorrect results in some cases

With this PR:

Layer tweakers are owned by render layers and individual drawables, and held weakly by layer groups
When the style changes (RenderLayer::layerChanged), the render layer drops the reference to the tweaker, leaving it owned only by the existing drawables.
For layers where the layer tweaker does not yet support property updates, the tweaker is re-created on calls to evaluate, but the reference on the corresponding drawables is updated.  This will become unnecessary as more tweakers support updating properties without re-creating the corresponding UBOs.
Frame updates that occur while the tile is loading skip updating the old tiles with the new properties by comparing the tweaker reference on the drawable to that of the render layer.
Once the async tile load is complete, a new bucket ID will be seen on the next frame, and the old drawables for that tile discarded, releasing the old layer tweaker.

Also fixes some related bugs:

Builder flush didn't clear textures, so they could be carried over to the next tile
Symbol UBOs weren't fully rebuilt on property change, only either text or icon were rebuilt, but both can be needed.

drawable main
drawable PR
legacy PR
metal PR

I see the following when flipping between two styles (FB Dark, 3D), looks like fill layer doesn't update correctly:
mbgl-glfw_dBb0c7LWXV.webm
In the clip, I can get the style to apply correctly by re-loading it. I move between both dark and light styles this way to better show the problem.

@mwilsnd I'm getting what seem like the same visual result during the transition, but yours never seems to complete and load some new layers.  Do you see anything being logged?
Could it be that the iOS app is rendering more frames on style switch, and that last frame is needed here?  If you pan or anything does it clear up?

If I switch rapidly now I've been getting an assertion in building the icon atlas that doesn't seem like anything I changed.

The issue is present in your image too - the fill pattern for the grass / park land use disappears after the first style change and never returns. The dark mode map is also missing the fill pattern. Look near the end of the video clip I posted where I switch from dark to light, then re-load the light style a second time. Calling Style::loadURL with the same style twice after having loaded a different style (dark in my example) correctly loads everything.
I did try panning around suspecting it might be work deferred to a pending frame but no such luck.
Here on the left is the style correctly loaded, on the right is after cycling to the dark style and then back again once. In this state re-loading the same style should correctly load the missing features.

There seems to be a deeper problem here, in that RenderOrchestrator::createRenderTree removes the images before doing anything with the layers.


Check the Blueprint file (Subutai.json) before building the environment

What does this mean and entail? This is an open source project, you have to make an effort to put more detail here. This is open information, everyone sees it. If I'm an employer and I Google for Adilet what will I think ;).

Its validate Subutai Blueprint Subutai.json file. The user might be missed some required JSON keys or values in Subutai.json. It says where was going wrong in Subutai.json.


Nuxt build script  could support to be

What problem does this feature solve?
May support this. https://cli.vuejs.org/guide/browser-compatibility.html#modern-mode

This feature request is available on Nuxt community (#c7644)

This would be a killer feature! :clap:

Related: #3848

https://github.com/nuxt/nuxt.js/pull/4231


Add Layering support for OpenAPI documents

Feature description:
Currently, DevX API has been encountering performance bottlenecks within the API's capacity as a result of growth of Graph resources and the size of the OpenAPI file over time. In a bid to optimize performance and memory usage while adding support for different sovereign clouds, a new proposal targeting layering of OpenAPI documents was born.
Using this layering approach should also help optimize external reference resolution.
Possible solution:
Using a layering approach when dealing with different versions of OpenAPI documents e.g. v1-fairfax.yaml and beta-fairfax.yaml
To layer two OpenAPI documents, you can merge the content of both documents into a single OpenAPI document.
Example:

First document (petStore1.yaml)

openapi: 3.0.0
info:
  title: Document 1
  version: 1.0.0
paths:
  /pets:
    get:
      summary: Get all pets
      responses:
        200:
          description: Success

Second document (petStore2.yaml)

openapi: 3.0.0
info:
  title: Document 2
  version: 1.0.0
paths:
  /pets/{id}:
    get:
      summary: Get a pet's details
      responses:
        200:
          description: Success

Combined document

openapi: 3.0.0
info:
  title: Combined Document
  version: 1.0.0
paths:
  /pets:
    get:
      summary: Get all pets
      responses:
        200:
          description: Success
  /pets/{id}:
    get:
      summary: Get a pet's details
      responses:
        200:
          description: Success

Additional Context:
There are two possible approaches we're considering:

Using a collection that dedupes objects and shares memory between document object model graphs. We will however need to handle conflicts that may occur when both documents define the same elements (e.g., the same paths or properties) by removing the duplicate elements appearing in both documents. E.g.:

// merge 2 documents
petStore1.Attach(petStore2);

// Get DOM of the merged documents
var mergedInfo = petStore1.Info;

Adding a layer property to the object models which in memory will be represented as a collection e.g. a dictionary of type <string, OpenAPIElement>  which can help us index into a particular document and its properties e.g.

// Get DOM of a specific layer
var petStore1Info = petStore1.Layer["petStore1"].Info;
var petStore2Info = petStore1.Layer["petStore2"].Info;

Link to ongoing discussion: https://github.com/microsoft/OpenAPI.NET/issues/1160#issuecomment-1426251183
Cc: @baywet, @darrelmiller
FYI: Bringing this conversation/issue over to DevX API as we're looking to have it implemented here as per this comment.

Thanks for bringing this up. I think my previous comment laid out a couple of questions we should answer, in additional to designing the consumer experience, before thinking about solutions here.
That being said. I believe that if the layering were to be implemented in this library, it'd be interesting to get the layering aspect "abstracted away" from the consumer (except for the "I want to load all those layers" and "I want to write to this specific layer" aspects). This way we can implement the set of deterministic rules my questions were hinting at and facilitate the work for the consumer.

We decided not to use layering but to use different Open API documents for each cloud.


file name hash is unbalance

stage2 map unbalance , many file in one reduce, the result is this task very slowly

@hn5092 IIRC the key for the reduce phase is the path, so I don't think the distribution should be skewed. Can you re-open if this is still an issue with more details on the problem case?


api2x does not work

Documented my setup pretty thoroughly here: https://catid.io/posts/vpl/
catid@devnuc:~/sources/libvpl/examples/api2x/hello-decode/build$ ./hello-decode -i sample_1280x720_surfing_with_audio.hevc
Cannot create session -- no implementations meet selection criteria
Decoded 0 frames

catid@devnuc:~$ vainfo
error: can't connect to X server!
libva info: VA-API version 1.20.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_18
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.20 (libva 2.12.0)
vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 23.2.3 ()
vainfo: Supported profile and entrypoints
      VAProfileNone                   : VAEntrypointVideoProc
      VAProfileNone                   : VAEntrypointStats
      VAProfileMPEG2Simple            : VAEntrypointVLD
      VAProfileMPEG2Main              : VAEntrypointVLD
      VAProfileH264Main               : VAEntrypointVLD
      VAProfileH264Main               : VAEntrypointEncSliceLP
      VAProfileH264High               : VAEntrypointVLD
      VAProfileH264High               : VAEntrypointEncSliceLP
      VAProfileJPEGBaseline           : VAEntrypointVLD
      VAProfileJPEGBaseline           : VAEntrypointEncPicture
      VAProfileH264ConstrainedBaseline: VAEntrypointVLD
      VAProfileH264ConstrainedBaseline: VAEntrypointEncSliceLP
      VAProfileVP8Version0_3          : VAEntrypointVLD
      VAProfileHEVCMain               : VAEntrypointVLD
      VAProfileHEVCMain               : VAEntrypointEncSliceLP
      VAProfileHEVCMain10             : VAEntrypointVLD
      VAProfileHEVCMain10             : VAEntrypointEncSliceLP
      VAProfileVP9Profile0            : VAEntrypointVLD
      VAProfileVP9Profile0            : VAEntrypointEncSliceLP
      VAProfileVP9Profile1            : VAEntrypointVLD
      VAProfileVP9Profile1            : VAEntrypointEncSliceLP
      VAProfileVP9Profile2            : VAEntrypointVLD
      VAProfileVP9Profile2            : VAEntrypointEncSliceLP
      VAProfileVP9Profile3            : VAEntrypointVLD
      VAProfileVP9Profile3            : VAEntrypointEncSliceLP
      VAProfileHEVCMain12             : VAEntrypointVLD
      VAProfileHEVCMain422_10         : VAEntrypointVLD
      VAProfileHEVCMain422_12         : VAEntrypointVLD
      VAProfileHEVCMain444            : VAEntrypointVLD
      VAProfileHEVCMain444            : VAEntrypointEncSliceLP
      VAProfileHEVCMain444_10         : VAEntrypointVLD
      VAProfileHEVCMain444_10         : VAEntrypointEncSliceLP
      VAProfileHEVCMain444_12         : VAEntrypointVLD
      VAProfileHEVCSccMain            : VAEntrypointVLD
      VAProfileHEVCSccMain            : VAEntrypointEncSliceLP
      VAProfileHEVCSccMain10          : VAEntrypointVLD
      VAProfileHEVCSccMain10          : VAEntrypointEncSliceLP
      VAProfileHEVCSccMain444         : VAEntrypointVLD
      VAProfileHEVCSccMain444         : VAEntrypointEncSliceLP
      VAProfileAV1Profile0            : VAEntrypointVLD
      VAProfileHEVCSccMain444_10      : VAEntrypointVLD
      VAProfileHEVCSccMain444_10      : VAEntrypointEncSliceLP

If building VPL GPU runtime locally (oneVPL-intel-gpu) you may need to update an environment variable to include the path to the runtime library (libmfx-gen.so.1.2). The full path to the directory containing VPL GPU runtime may be added either to LD_LIBRARY_PATH or ONEVPL_SEARCH_PATH. VPL dispatcher uses these paths when locating and loading 2.x libraries.

@jonrecker The strace output shows that libvpl is loading libmfx-gen.so.1.2.9 so it is finding the library

If it's the cap query thing, will there be useful logs somewhere I can check?

The GPU runtime supports some logging options which can be enabled at build time. Info here.

I was having this same issue - I was trying to debug why gstreamer msdk package wasn't working for me on ubuntu 22.04. I had a similar installation path that you outlined in your blog which I had found after googling the symptoms. The changes I had to do was:

Do not install intel-media-sdk.
Use the LD_LIBRARY_PATH variable.

I had originally tried writing /opt/intel/mediasdk/lib to /etc/ld.so.conf.d/intel-mediasdk.conf, but this didn't work. It only worked when I used sudo LD_LIBRARY_PATH=/opt/intel/mediasdk/lib ./hello-sharing-vaapi-import -i ../examples/content/cars_320x240.nv12 -w 320 -h 240
My guess is there's some bias/priority to loading libmfxhw64 without libmfx-gen when both are found in ldconfig. I thought about removing libmfxhw64 entirely, but I couldn't do so as many apt managed dependencies required it.

Adding the path to the environment variables is the correct way to resolve this as laid out by the commenter above.


Add i18n support to the Tile server pages

We need to add i18n support so labels ca be internationalized.  Also,  needed the support for custom messages

Not a requirement.


Synthesize research and prepare recommendations for next steps

This is in support of testing and research for the proof of concept.

@pamela-drouin is working on this feedback.

@pamela-drouin - thanks for the great presentation. I just want to document the next steps here:

Fix any critical bugs
Review any methods in queue
Rethink the way that we are framing the project for first time users
Simplify the About page
Make the messaging around contribution in GitHub and the website consistent

Is that accurate?
cc/ @susanjrobertson

If they are not already issues, @pamela-drouin  can you turn them into issues?

These items have been made into issues.
On Thu, Feb 2, 2017 at 2:32 PM, iamjessklein<EMAIL_ADDRESS>wrote:

If they are not already issues, @pamela-drouin
https://github.com/pamela-drouin can you turn them into issues?

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/bocoup/opendesignkit/issues/119#issuecomment-277106144,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFrJSfkfh4lusasW02r0d2NrpajWkubyks5rYlmRgaJpZM4JrVtA
.

--
Pam Drouin
UX Designer @Bocoup

Closing because this is complete.


Fix text wrapping and exclusions in Amber export

Description
Resolves #678 #679
Checklist

[ ] Add tests
[ ] Lint
[ ] Update docstrings

The problem here is that I wasn't following the weird behavior of specifying an atom's NUMBER_EXCLUDED_ATOMS entry as 1 when it has no excluded atoms, though I was including the nonsense "0" atom in the corresponding EXCLUDED_ATOMS_LIST. I don't understand why it has to be this way, but it does.

If an atom has no excluded atoms (either because it is a monoatomic ion or
all atoms it forms a bonded interaction with have a smaller index), then it
is given a value of 1 in this list which corresponds to an exclusion with (a
non-existent) atom 0 in EXCLUDED ATOMS LIST

https://ambermd.org/prmtop.pdf


[Godot 4] Arrays and Dictionaries export as nil.

Godot version
4.0.dev.calinou (18c0f0b3b)
System information
Windows 10
Issue description
When exported in a script, Arrays and Dictionaries are nil, no matter what value they have during the variable export.
Edit: To clarify, the values are assigned properly to Node and/or Resource and can be accessed, but in Editor they are shown as Nil Arrays and Dictionaries.

Steps to reproduce

Launch a 4.0 dev build.
Create new script extending Node or Resource.
Attempt to export an Array or Dictionary with predetermined values.
Check the variables with Arrays or Dictionaries in Node's or Resource's properties.

Minimal reproduction project
Test Project.zip

Is it still not possible to export dictionaries in 4.0 beta 3?

Duplicate of https://github.com/godotengine/godot/issues/62753.


PDI-14235: Merge i18n ja_JP translations offered by t-akito

@t-akito, could you take a look at this pull request just to make sure I correctly copied the bulk of your changes? I just want to make sure I didn't cause some weird character conversion issue to mess up your work. Thanks in advance!


Do not track apig binary

WHY
Binary built by simple go build should not be included in Git repository.
WHAT
Add apig to .gitignore. I missed this modification at #15 .

LGTM:+1: Thanks!!!


Contigs built - Update tutorial.md

306 Contigs are built after running velvetg
--> Please remove all this text before submitting your PR, it's just a checklist to help you :) <--

Give your pull request a good title

e.g. "Fix typo in ansible-galaxy tutorial" or "Add new transcriptomics tutorial covering a new sequencing technology"

Describe your changes in detail, list anything you still need some help with or things that are still TODO
Check that your images are allowed to be re-hosted by the GTN!
Still working on it? Make it a Draft pull request

Once it is ready, choose Ready for Review
Then the automated tests will run and we will know to review and merge it

Thanks

Thank you


Undefined is not a function error when including heatmap module

Here's the relevant part of my application.js file:
//= require highcharts
//= require highcharts/modules/no-data-to-display
//= require highcharts/modules/heatmap

All other charts are working correctly, but now that I've included the heatmap module I'm getting this javascript error:
Uncaught TypeError: undefined is not a function
extendClass @ highcharts-416b5f868265760f97cc1bf1a6d3a2a1.js?body=1:374
(anonymous function) @ heatmap-5cfdc27c93258bd1dfe7712f6e2da1aa.js?body=1:5
(anonymous function) @ heatmap-5cfdc27c93258bd1dfe7712f6e2da1aa.js?body=1:60

and highcharts doesn't recognize chart type heatmap
Any ideas?

Scratch that. Just realized I was using a waaaaaay old version of the gem.


Assembler names for mask load/store (vlm.v not vle1.v)

From lidawei14 on mailing list:
"Perhaps for explicit naming conventions of mask operations, we can name "vle1.v" to "vmle1.v" instead."

I agree that the current names are misleading.  Apart from that this instruction writes a mask register, it also treats length differently than other vle*/vse* operations.  I'd suggest "vlm.v"/"vsm.v".   The existing names can be kept as aliases to avoid disturbing software.


Update RTP/RTCP Read to be []byte

Returning a rtp.Packet requires an extra allocation.
Resolves #14

@Sean-Der Should we add an special method for rtcp simulcast read or add option to pass the rid?

Hey @OrlandoCo
I was able to make this work without making any interceptor changes! We know the SSRC when creating the interceptor so it works with no changes :)
I am going to tag this and open my PR in pion/webrtc and with your sign-off we should be good :fire:

Hey @OrlandoCo
I was able to make this work without making any interceptor changes! We know the SSRC when creating the interceptor so it works with no changes :)
I am going to tag this and open my PR in pion/webrtc and with your sign-off we should be good

@Sean-Der But pion ReadSimulcastRTCP does not call interceptors, or it does on recent change?

It does on recent change. Everything should run through and interceptor now

If I missed something was an accident


setting ptrace_scope to persistent value fails

Please fill out the below information:

Your Windows build number:  (Type ver at a Windows Command Prompt)
Windows 10 Pro
Version 1803
OS Build   17134.1
Ubuntu 16.04.05 LTS

What you're doing and what's happening:  (Copy&paste specific commands and their output, or include screen shots)

I modified the 10-ptrace.conf file to set kernel.yama.ptrace_scope to 0
kernel.yama.ptrace_scope = 0

What's wrong / what should be happening instead:

Rebooting Windows 10  does not update /proc/sys/kernel/yama/ptrace_scope to the new value.

#994 or #2530, depending on one's disposition. WSL does not run systemd at startup.
Ref #3053, which works recently.


Update website URL and support email

This will update the broken links in the wallet.
I also made a second commit that updated minor issues with the readme (iOS -> Android).

@Tech1k please create a feature/bugfix branch from develop. Do your changes and then create a PR to merge into develop

Closing and resubmitting from the develop branch.


Bug with mousewheeling

I have the following bug, when I use the mouse wheel to scroll down it works when my mouse is over the scrollbar, but as soon as I move the mouse outside of the scroller but still in the virtual scroller element, the scroll is considerably slower.
I've checked in the demo online and there is the same problem, but not on all the grids and not all browsers (it doesn't work in Edge and Chrome, but works in Firefox, I haven't tried other browsers).
Go to the demo here: https://rintoj.github.io/ngx-virtual-scroller/ click on Samples in the menu on the left, the first grid has the wheeling problem, but if you go the grid with multiple columns in works just fine.
Do you have an ideas ?

looks like a bug in chrome, latest  chrome update (macos) fixed it for me. Safari did not have the problem.

Yes it worked for me too!


pd.ewm_mean is deprecated for Series

Another one, not sure if it's important :)
/home/user/btctrading/ta/volume.py:38: FutureWarning: pd.ewm_mean is deprecated for Series and will be removed in a future version, replace with
        Series.ewm(ignore_na=False,span=3,min_periods=2,adjust=True).mean()
  return pd.Series(pd.ewma(ad, span=3, min_periods=2) - pd.ewma(ad, span=10, min_periods=9))

Well, this is a warning, this isn't a error.
I will change in the future 👍


Migrate Docs to Docusaurus 2 Alpha

Live Preview:
https://redux-starter-kit.netlify.com/
Here are some screenshots:

Issue
cc: @yangshun, @endiliey

@endiliey Live preview is available at https://redux-starter-kit.netlify.com/

As a first quick glance: looking at the Advanced Tutorial, the code block font seems smaller, and the diff-language blocks are not getting highlighted.

Regarding the font size and the diff not showing any color. It's mostly due to theme. The default theme we chose: Palenight has that problem.
Here's some comparison

@markerikson Can we use vsDark as the syntax highlighting theme?

@aswathkk : I'd really prefer to stick with Monokai.
So where does this PR stand overall at this point?

hey @markerikson seems there hasn't been much updates for a week, is it possible that we merge this PR to an intermediate branch at RSK then we (as Docusaurus maintainers) can work on top of that?
Perhaps it is because monokai is not an available theme by prism-react-renderer that Docusaurus 2 uses, but i guess we can convert this.
Looks to me we're mainly missing customized styling at this point.

Given that there's a docs preview here, do we actually need a separate branch?

Agree with @wgao19's approach. I think we need a separate branch so master can still keep the existing docs website and changes can be made to it.

Given that there's a docs preview here, do we actually need a separate branch?

I think the main idea here is to let the maintainer of Docusaurus to continue @aswathkk (not a maintainer) work on the migration.
Given that this PR isn't really ready yet, its not a good idea to push this to master.
If we were to send another PR to RSK that supersedes this PR, that won't be nice to aswathkk since he has put lot of effort into this PR.
The concern here is that the migration has take a while and rounds of reviews is gonna put things more delayed
On another note deploy preview isn't working because the build directory has changed in v2. I recommend using a netlify config like CRA so that not only those who have access to RSK netlify.com setting can modify it.
https://github.com/facebook/create-react-app/blob/master/netlify.toml

Okay, just created a docusaurus-v2-integration branch.
Looks like there's conflicts from my recent changes to the tutorials.  Fix those and we can merge this into the integration branch.

@markerikson I've resolved the conflicts.

It's failing to build atm, but yeah, let's go ahead and get this into the integration branch.


git-revise support

Hello,
Would you consider adding support for git-revise's version of the todo file?
It adds the following features:

c, cut <commit> = interactively split commit into two smaller commits
i, index <commit> = leave commit changes staged, but uncommitted

And the buffer is otherwise the same format as git rebase -i, unless if the -e/--edit flag is given by the user.
Here is an example of the output when used with git revise -ie:

git-revise-todo

++ pick aaaaaaaaaaaa
Another commit title

Yet another body.

++ pick bbbbbbbbbbb
Commit title without a body

++ pick cccccccccccccc
Commit title with body

Body.

# Interactive Revise Todos(3 commands)
#
# Commands:
#  p, pick <commit> = use commit
#  r, reword <commit> = use commit, but edit the commit message
#  s, squash <commit> = use commit, but meld into previous commit
#  f, fixup <commit> = like squash, but discard this commit's message
#  c, cut <commit> = interactively split commit into two smaller commits
#  i, index <commit> = leave commit changes staged, but uncommitted
#
# Each command block is prefixed by a '++' marker, followed by the command to
# run, the commit hash and after a newline the complete commit message until
# the next '++' marker or the end of the file.
#
# Commit messages will be reworded to match the provided message before the
# command is performed.
#
# These blocks are executed from top to bottom. They can be re-ordered and
# their commands can be changed, however the number of blocks must remain
# identical. If present, index blocks must be at the bottom of the list,
# i.e. they can not be followed by non-index blocks.
#
#
# If you remove everything, the revising process will be aborted.

The ++ syntax for including the commit messages isn't a part of git-rebase as far as I know. I don't plan on supporting git-revise here but it should be easy to make a tree-sitter-git-revise using this grammar as a reference.

I figured you would want to keep your grammar focused, I just find it a bit unfortunate to have to fork the grammar for so little. Oh well, I'll get to it when I find some time then.


Add QLik API Integration

Closes #1
Here's my (hopefully) complete implementation of the QLik API for this project. In some ways this is similar to my previous example implementation, however I have greatly improved the code quality, added comments where necessary and made these changes backwards-compatible with previous data.
Summary of changes

puppeteer and cheerio have been removed from the project dependencies as they are no longer needed.
node-fetch and ws have been added to the project dependencies.
Two configuration options have been added to scrape.js - PAGE_URI for the page url which contains the graphs, and QLIK_WS_PREFIX which is the prefix for the QLik Sense server.
Two new folders have been created in data/docs to store the new raw data in - raw-new and rawhtml-new.
A new script create-legacy-data.js has been added, which turns the new raw files into old files. As a result of this, this change data source should be fully backwards compatible for any consumers. This script should be run before generating the CSV data.
The GitHub action has been modified to run create-legacy-data.js before generate-csv.js. I have also separated the yarn install command into a separate step, removed the puppeteer image (which should vastly increase the action speeds) and removed the step which installs git (as it is already installed).
The README has been updated with the new script in the "To run yourself" section
generate-csv.js has not been updated as no changes are necessary

Possibly breaking changes
The files in the docs/data/raw directory, all.csv, all.json have the following changes which may impact data consumers:

Numbers are no longer comma-separated or truncated.
Percentages are no longer prefixed with a percentage symbol.

This can be seen in the below images. The new files are shown on the left.

Best wishes,
llui85

Also, @jxeeno would you mind licensing this repository under an open source license?

Thank you so much @llui85.  I'll review tonight and notify some of the downstream users that I know of to make sure they're aware of the potentially breaking changes.
And thanks for the reminder re license -- we're now using CC0.

LGTM! Thanks for putting this together, @llui85. Much appreciated 🙏

Heads up @llui85 , it turns out modifiedDate can change without the data changing!  We may have to go back to the regex 🙃

@jxeeno Do you think it would be enough to remove the check that the raw data still exists when writing the file? I think it would work, as the data will update later, but could mean inaccurate data for the current day, which isn't ideal.
https://github.com/jxeeno/aust-govt-covid19-stats/blob/92f25518702c46a83341ec29f3bf30f73e69e494/scrape.js#L202-L209

Also, there are a few other date properties which might be what we want. Does qLastReloadTime or qMeta.createdDate have the correct value?
{
	"0": {
		"qDocName": "COVID-19 - NIR External Report",
		"qConnectedUsers": 0,
		"qFileTime": 0,
		"qFileSize": 556269,
		"qDocId": "e8635e3f-b339-4ab3-a9de-b4e3b15c6bbc",
		"qMeta": {
			"createdDate": "2021-07-08T05:11:22.498Z",
			"modifiedDate": "2021-07-08T10:00:05.986Z",
			"published": true,
			"publishTime": "2021-07-08T10:00:04.556Z",
			"privileges": [
				"read"
			],
			"description": "r6.4 Release",
			"dynamicColor": "hsla(187,18%,43%,1)",
			"create": null,
			"stream": {
				"id": "aaec8d41-5201-43ab-809f-3063750dfafd",
				"name": "Everyone"
			},
			"canCreateDataConnections": false
		},
		"qLastReloadTime": "2021-07-08T04:32:59.426Z",
		"qTitle": "COVID-19 - NIR External Report",
		"qThumbnail": {
			"qUrl": "/appcontent/e8635e3f-b339-4ab3-a9de-b4e3b15c6bbc/30layer.PNG"
		}
	}
}


Bug Report: Game crashes after clearing song (resets week unlock progress)

Happens every song, thorns doesn't work either

had same problem, edit the code until it works


Automatic decoding

Is there a way to (roughly) detect the encoding used for a piece of text?

The only thought I have is that you could try running each encoding (see encodings.js, there aren't actually that many, just lots of aliases) with the error mode set to fatal, then stop at the first one that doesn't produce any errors.  It'll be very much imperfect though.


I am writing a very simple application based on the HelloTriangle, available at https://github.com/ForeverZer0/glfw-net on VisualStudio 2019.
When I added some callbacks, I got the following error message:
Process terminated. A callback was made on a garbage collected delegate of type 'GLFW.NET!GLFW.MouseCallback::Invoke'.
at GLFW.Glfw.PollEvents()
at GLFW.Glfw.PollEvents()
at HelloTriangle.Program.Main(System.String[])
I've looked at "https://github.com/ForeverZer0/glfw-net/issues/19" and my code is very similar to your "solution 2".
using System;
using System.IO;
using GLFW;
using static OpenGL.Gl;
using GlmNet;

namespace HelloTriangle
{
    class Program
    {
        static void Main(string[] args)
        {
            PrepareContext();
            Window window = CreateWindow(1500, 1500);
            var program = CreateProgram();

            var loc = glGetUniformLocation(program, "projectionMatrix");
            SetCallBacks(window);

            while (!Glfw.WindowShouldClose(window))
            {

                // Swap fore/back framebuffers, and poll for operating system events.
                Glfw.SwapBuffers(window);
                Glfw.PollEvents();

                int w, h;
                Glfw.GetFramebufferSize(window, out w, out h);  //this works properly.
                glViewport(0, 0, w, h);

                glClear(GL_COLOR_BUFFER_BIT);

                mat4 mat = glm.ortho(0, w, h, 0);
                glUniformMatrix4fv(loc, 1, false, mat.to_array());
            }

            Glfw.Terminate();
        }

        private static void SetCallBacks(Window window)
        {
            Glfw.SetCursorPositionCallback(window, mouseHandler);  //MouseCallback
        }

        private static void mouseHandler(Window win, double x, double y)
        {
            Console.WriteLine("Mouse: " + x + "  " + y);
        }
       ....
}

====================================================

#version 330 core
layout (location = 0) in vec3 pos;
uniform mat4 projectionMatrix;
out vec2 TexCoord;

void main()
{
    TexCoord = uv;
    gl_Position = projectionMatrix * vec4(pos.x, pos.y, pos.z, 1.0);
}

====================================================
The application crashes after a few seconds. If I comment the command
glUniformMatrix4fv(loc, 1, false, mat.to_array());
it runs a bit longer before crashing.

This part is the problem:
Glfw.SetCursorPositionCallback(window, mouseHandler);  //MouseCallback

This caused me a bit of issues too while I was creating the NativeWindow class, as it is not very apparent. Essentially, passing a method name directly as a delegate is just some syntatic sugar that C# implements, where it will automatically create an anonymous delegate for the specified method that you pass. The problem is that this anonymous delegate will get garbage collected, as the managed code thinks it is no longer referenced, even though it is in unmanaged code.
The solution is to explicitely set a delagte field containing the reference, which you can see examples of in NativeWindow.cs. The primary sections to look at are these parts:
Private fields the class uses:
        private PositionCallback windowPositionCallback;
        private SizeCallback windowSizeCallback, framebufferSizeCallback;
        private FocusCallback windowFocusCallback;
        private WindowCallback closeCallback, windowRefreshCallback;
        private FileDropCallback dropCallback;
        private MouseCallback cursorPositionCallback, scrollCallback;
        private MouseEnterCallback cursorEnterCallback;
        private MouseButtonCallback mouseButtonCallback;
        private CharModsCallback charModsCallback;
        private KeyCallback keyCallback;
        private WindowMaximizedCallback windowMaximizeCallback;
        private WindowContentsScaleCallback windowContentScaleCallback;

The method that creates refrences and stores them as member variables, so that a reference will exists for the lifetime of the object:

        private void BindCallbacks()
        {
            windowPositionCallback = (_, x, y) => OnPositionChanged(x, y);
            windowSizeCallback = (_, w, h) => OnSizeChanged(w, h);
            windowFocusCallback = (_, focusing) => OnFocusChanged(focusing);
            closeCallback = _ => OnClosing();
            dropCallback = (_, count, arrayPtr) => OnFileDrop(count, arrayPtr);
            cursorPositionCallback = (_, x, y) => OnMouseMove(x, y);
            cursorEnterCallback = (_, entering) => OnMouseEnter(entering);
            mouseButtonCallback = (_, button, state, mod) => OnMouseButton(button, state, mod);
            scrollCallback = (_, x, y) => OnMouseScroll(x, y);
            charModsCallback = (_, cp, mods) => OnCharacterInput(cp, mods);
            framebufferSizeCallback = (_, w, h) => OnFramebufferSizeChanged(w, h);
            windowRefreshCallback = _ => Refreshed?.Invoke(this, EventArgs.Empty);
            keyCallback = (_, key, code, state, mods) => OnKey(key, code, state, mods);
            windowMaximizeCallback = (_, maximized) => OnMaximizeChanged(maximized);
            windowContentScaleCallback = (_, x, y) => OnContentScaleChanged(x, y);

            Glfw.SetWindowPositionCallback(Window, windowPositionCallback);
            Glfw.SetWindowSizeCallback(Window, windowSizeCallback);
            Glfw.SetWindowFocusCallback(Window, windowFocusCallback);
            Glfw.SetCloseCallback(Window, closeCallback);
            Glfw.SetDropCallback(Window, dropCallback);
            Glfw.SetCursorPositionCallback(Window, cursorPositionCallback);
            Glfw.SetCursorEnterCallback(Window, cursorEnterCallback);
            Glfw.SetMouseButtonCallback(Window, mouseButtonCallback);
            Glfw.SetScrollCallback(Window, scrollCallback);
            Glfw.SetCharModsCallback(Window, charModsCallback);
            Glfw.SetFramebufferSizeCallback(Window, framebufferSizeCallback);
            Glfw.SetWindowRefreshCallback(Window, windowRefreshCallback);
            Glfw.SetKeyCallback(Window, keyCallback);
            Glfw.SetWindowMaximizeCallback(Window, windowMaximizeCallback);
            Glfw.SetWindowContentScaleCallback(Window, windowContentScaleCallback);
        }

Thank you a lot. It worked !!!
I suggest you to create one more example (extension of Hello Triangle) including:
1 - This callback handling
2 - Code to handle Shading Compiler Error
private static uint CreateShader(int type, string source)
{
     var shader = glCreateShader(type);
     glShaderSource(shader, source);
     glCompileShader(shader);
     string s = glGetShaderInfoLog(shader);
     if (!string.IsNullOrWhiteSpace(s))
     {
         Console.WriteLine(s);
     }
     return shader;
}

3 - A more complex primitive. I took a lot of time to notice that
glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, vboID[2]);

doesn't work with
glDrawElements(GL_TRIANGLES, indices);

and that the best way is to use, for instance:
glDrawArrays(GL_TRIANGLE_STRIP, 0, numVert);
glDrawArrays(GL_LINE_LOOP, 0, numVert);

with no index array.

I agree about clarifying callback handling, will definitey take that into account and likely expand on that in the documentation and/or the wiki when I get around to it.
As for the OpenGL logic in the example, that is a bit outside the scope of the this project. The bindings themselves really shouldn't be used in any production code, and were generated from a hand-made script using the Khronos registry. They were not even checked extensively for correctness, just quick overlook and a few edits for ease-of-use. If you choose to use them, be sure to double-check the correctness of any methods you may be using, I would be surprised if there wasn't at least one or two functions that are incorrect with an in/out of a pointer, etc. I just wanted to supply a some bare-bones OpenGL code that could be used for testing the GLFW library that didn't require dependencies on another package.
I have since created better bindings for a personal project, more complete, taking advantage of C# language constructs, like strongly-typed enums, naming conventions, overloads, etc. I perhaps may include this or package it and release as a compliment to this one for those of us who like to start with the minimal bindings, and not have it abstracted away with full-fledged game engines, etc.

Thank you again. I'm not so fluent on bindings and C# to code something more robust than your implementation. I'll continue using it as it is. Thanks.


Bitwise shift operator breaks indentation rules

When I let Emacs indent this code, it assumes the bitwise shift operator is an opening angle bracket.
let a = u32::MAX << 5;
The issue is caused by the column characters, I personally think rust-is-lt-char-operator  doesn't handle this special case.

Very annoying, indeed. It messes up the whole auto indent.

Any update on this?

Unfortunately, we lack active maintainers.

this is extremely annoying issue.

Pull requests are very welcome.

I might try to look into it but frankly my emacs-lisp fu is not that high.
In meantime the workaround is:
let u64_max = u64::MAX;
x = u64_max << 5;

It's probably more finding the correct regexes and existing functions that can be used than writing lots of elisp. I'm always very careful changing such functionality as it is likely to break something else. That's why adding tests for those things is always a good idea. And I have a better feeling when I press the merge button.


Add cover page to resume book

Also sort resume book output

@JoshOldenburg how were you thinking of sorting?

@JoshOldenburg how were you thinking of sorting?

I'm not sure what I had in mind when I write that. Alphabetical by last name is probably fine, just something deterministic.

I'm not sure what I had in mind when I write that. Alphabetical by last name is probably fine, just something deterministic.


StartifyAllBuffersOpenend does not fire

I want to restart the YCM server once all buffers of a saved session are opened. Opening of the session happens normally over the startify "landing page". I put this line in .vimrc:
autocmd User StartifyAllBuffersOpened YcmRestartServer
However, this event never fires but no errors are generated. The same command works with the StartifyReady event. The same command generates an error with the StartifyBufferOpened event:
E216: No such group or event: <nomodeline> User StartifyBufferOpened
Additional line regarding startify in .vimrc that may be of interest:
let g:startify_change_to_dir =1

The above patch should fix the error message, but mind that StartifyBufferOpened and StartifyBuffersOpened are only emitted for buffers opened from the Startify buffer.
When you want to do something after loading a session, have a look at :h SessionLoadPost.


[Feature Request] Add additional row padding at mobile/tablet breakpoint.

I've always had to add a class with additional padding on the top level row, as I find that the default column gutter padding is too small when the content gets to the edge of the screen. It looks very small on mobile.
Similar effect to this
  .row {
    padding-left:rem-calc(20);
    padding-right:rem-calc(20);
    .row {
      padding-left:0;
      padding-right:0;
      .row {
        padding-left:0;
        padding-right:0;
        .row {
          padding-left:0;
          padding-right:0;
        }
      }
    }
  }
}

But much less nasty.
It would be nice to have a additional setting in _settings.scss to add a specified amount of padding to the top level row, rather than column padding, as to not change the standard gutter width.
Thanks

@brettsmason thoughts ?

I'm not sure I see the need for it to be honest. I would of thought you would be better off creating a new class for yourself, something like:
.row-padded {
  @include breakpoint(medium down) {
    padding-left: rem-calc(20);
    padding-right: rem-calc(20);
  }
}

Then just add that to your top level .row (along with the existing .row class).
I can't see a need for it in core, but my opinion could be wrong 😄

@brettsmason I think the same brett ....
I am sorry @danielnr87 but feel like PASS will be better of for the time being as similar to brett ...  i also dont feel like it to be a part in the core .... a bit of over engineering for the framework ..... but maybe that's just me !
@kball for final decision on this!

Ahh shucks. :) Thanks for your responses.
My only reason for suggesting it in core is it is easy to miss the class on a big site, and its not obvious at desktop resolution to see if it is there.
I will just check more thoroughly on mobile in the future!
Thanks


Initialize the project

Need to create a scaffold that has the following features

JXS support
Docker support
React support
Webpack support
Less support
Babel support
Be able to build but not minify
Be able to ship to production with un-minified version

JXS support
Docker support
React support
Webpack support
Less support
Babel support
Be able to build but not minify
Be able to ship to production with un-minified version

Resolved


Make "Index Based Search Filter" available for open beta

Purpose of this pull request
This pull request (PR) moves this article from closed beta to open beta:
https://help.sumologic.com/docs/manage/users-roles/roles/rbac-for-indexes/
It also adds a release note.
Issue number:

Jira: SUMO-216336
Asana: RBAC for Indexes - Beta 2 (open beta)

Select the type of change:

[ ] Minor Changes - Typos, formatting, slight revisions
[ ] Update Content - Revisions and updating sections
[x] New Content - New features, sections, pages, tutorials
[ ] Site and Tools - Updates, maintenance, and new packages for the site, Gatsby, React, etc

Thanks for the review, @kimsauce!


Permalink does not grey out goddess cube options when disabled

When using a permalink to update settings, the goddess cube sub-options do not get disabled based on the general goddess cube setting

No longer an issue - behavior removed by consequence of removing the "banned types" setting


State

Catalog # 24
Link to Design

Blocked as the status of the design it was set to 'status: refining' by @carrenelloyd

The State pattern will be incorporated into the new Notification pattern extension currently being worked on by Maui Francis.


Attribute's Row on the fly modification and after saving giving 404 error [ScreenRecord Added]

Describe the bug
I have created a row in existing attribute and modified the row before save. After saving giving 404 error.
To Reproduce
Steps to reproduce the behavior:

Go to Catelogs
Click on 'Attributes'
Scroll down to 'Add Row'
After adding, edit the row
Save

Expected behavior
It should save properly.
Screenshots
Screen-Record Added
Screencast from 12-7-24 12:37:58 পূর্বাহ্ণ +06.webm
Desktop (please complete the following information):

OS: [ubuntu 22.04]
Browser Tested [chrome]
Bagisto Version [2.1.2]

@shakib04
Thank You So Much for bringing this issue in light, as per checking the video we were able to find it and hence we are working on it for quickiest fixing. I would really appreciate your patience.
Thank You,
Issue Video
https://github.com/user-attachments/assets/9139b815-1ca6-4957-bd69-8e9942db898a

@shakib04
Thank you so much for your patience. We really appreciate it.
We are pleased to inform you that the issue has been fixed and a pull request has been created. Everything is now working fine.
PR Link: https://github.com/bagisto/bagisto/pull/10054
For reference, you can check the video.
Video
https://github.com/user-attachments/assets/515db9ae-38c5-48ba-a489-78289e109f74


Slow completionEntryDetails result in simple TS project

From https://github.com/microsoft/vscode/issues/73311

TypeScript Version: 3.5.0-dev.20190507

Search Terms:

suggestion
completionEntryDetails
tsserver

Repo
git clone https://github.com/mjbvz/vscode-73311
cd vscode-73311
npm install
code-insiders .

Open index.js and try triggering suggestions after Flex by deleting the trailing x then typing it again

The project uses styled components:
import styled from "styled-components";

type Justify = "space-around" | "space-between";

export const FlexBox = styled.div<{
    column?: boolean;
    justify?: Justify;
}>`
  display: flex;
  flex-direction: ${props => (props.column ? "column" : "row")};
  ${props => !!props.justify && `justify-content: ${props.justify}`}
`;

export const Flex = styled.div<{ flex?: number }>`
  flex: ${props => props.flex || 1};
`;

Bug
The completionEntryDetails request this triggers can often take half a second or longer to process:
Info 214  [15:56:42.198] request:
    {"seq":37,"type":"request","command":"completionEntryDetails","arguments":{"file":"/Users/matb/projects/san/index.ts","line":1,"offset":5,"entryNames":[{"name":"Flex","source":"/Users/matb/projects/san/components"}]}}
Info 215  [15:56:42.199] getCompletionData: Get current token: 0
Info 216  [15:56:42.199] getCompletionData: Is inside comment: 0
Info 217  [15:56:42.199] getCompletionData: Get previous token 1: 0
Info 218  [15:56:42.199] getCompletionData: Get previous token 2: 0
Info 219  [15:56:42.202] getCompletionData: Semantic work: 3
Perf 220  [15:56:43.103] 37::completionEntryDetails: elapsed time (in milliseconds) 905.5459
Info 221  [15:56:43.105] response:
    {"seq":0,"type":"response","command":"completionEntryDetails","request_seq":37,"success":true,"body":[{"name":"Flex","kindModifiers":"export","kind":"const","displayParts":[{"text":"const","kind":"keyword"},{"text":" ","kind":"space"},{"text":"Flex","kind":"localName"},{"text":":","kind":"punctuation"},{"text":" ","kind":"space"},{"text":"StyledComponent","kind":"aliasName"},{"text":"<","kind":"punctuation"},{"text":"\"div\"","kind":"stringLiteral"},{"text":",","kind":"punctuation"},{"text":" ","kind":"space"},{"text":"any","kind":"keyword"},{"text":",","kind":"punctuation"},{"text":" ","kind":"space"},{"text":"{","kind":"punctuation"},{"text":"\n","kind":"lineBreak"},{"text":"    ","kind":"space"},{"text":"flex","kind":"propertyName"},{"text":"?","kind":"punctuation"},{"text":":","kind":"punctuation"},{"text":" ","kind":"space"},{"text":"number","kind":"keyword"},{"text":";","kind":"punctuation"},{"text":"\n","kind":"lineBreak"},{"text":"}","kind":"punctuation"},{"text":",","kind":"punctuation"},{"text":" ","kind":"space"},{"text":"never","kind":"keyword"},{"text":">","kind":"punctuation"}],"documentation":[],"codeActions":[{"description":"Import 'Flex' from module \"./components\"","changes":[{"fileName":"/Users/matb/projects/san/index.ts","textChanges":[{"start":{"line":1,"offset":1},"end":{"line":1,"offset":1},"newText":"import { Flex } from \"./components\";\n\n"}]}]}],"source":[{"text":"./components","kind":"text"}]}]}

Playground Link:
Related Issues:

simple TS project

uses styled-components

right now these appear to be mutually exclusive statements XD

simple TS project

uses styled-components

right now these appear to be mutually exclusive statements XD

Hahahahaha, it's simple, for now 😂

I have just decided to not upgrade VSC as my delay is often many seconds. It makes one of the main value propositions of the IDE unusable unless you stick on <=February

I have just decided to not upgrade VSC as my delay is often many seconds. It makes one of the main value propositions of the IDE unusable unless you stick on <=February

@johnculviner you mean vscode <= feb?

@jordyvandomselaar this is the version I'm stuck on to get acceptable performance

I have downgraded to the February version by simply installing over the new version and am still facing the issue. Is there anything else I have forgotten to do? This is really impeding my work at the moment.

@markonyango that did it for me. Make sure to turn off auto updates though or you are right on the new version again!

Thanks for the replies @markonyango @johnculviner, I see @ahejlsberg has anded the "Fixed" label so all that's left is hoping for the best =), I've installed the Insiders edition as someone else noted that might help as well.
Thanks for fixing this issue guys!

Yeah thats pretty awesome when the father of C# and Typescript fixes your issue! :)
❤❤❤❤❤ OPEN SOURCE!
Did insiders help? @jordyvandomselaar


MudTabs slider doesn't work with AuthorizeView

Bug type
Component
Component name
MudTabs
What happened?
When surrounding MudTabPanel's with AuthorizeView , the slider doesn't work.
Created this repo to demonstrate.
Expected behavior
I would expect the slider to behave as normal
Reproduction link
https://github.com/devlife/BlazorApp2/
Reproduction steps

Clone the repo
Set the Server project as the startup project
Register
Login
Note that you cannot see tabs Twelve or Thirteen and cannot scroll
...

Relevant log output
No response
Version (bug)
5.1.5
Version (working)
No response
What browsers are you seeing the problem on?
Microsoft Edge
On what operating system are you experiencing the issue?
Windows
Pull Request

[ ] I would like to do a Pull Request

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Hi all. Just wondering if this has made it anywhere?

I'm currently facing the same issue. Additionally it looks like the mud-tabs-scroll-button positions are inverted too.
Both problems do not occur if RightToLeft is true.


Remove unnecessary console.log

Removed an unnecessary console.log from the index.tsx file

this change is not in the latest npm package.
can you push it to the npm package pls.

@Ereur it has been pushed.


Meal Plans - Date calculations using number of days

"The end date is calculated if a start date and number of days has been entered"
Open Create a meal plan dialog
Enter start date
Cannot enter a number of days so end date cannot calculate
Can enter total number of days, but then there are no dates attached.
Unsure if this is actually how this is meant to work? i.e.
EITHER - a date range, OR
a number of days with no date range?
May just need to update test plan

@jody-tait yes I've put a little divider with the word OR.
the idea was to either made it for a date range or just a number of days and that after creation it can be rescheduled as many times as you want.
my thought were someone whos curating / publishing mealplans would choose the number of days, and other users would be able to copy those plans into their accounts.
maybe there is a better wa to convey its one or the other in the UI?

Let's leave it for now and see how people use it / question it


Update FuturelightSC250's weight

Due to personal research

Plugin export diff
(Output of test script tests/github/export-diff.js.)
You can run view your uncommited changes in plugin exports manually by executing:
$ node cli/diff-plugin-outputs.js -p <plugin name> <fixtures>
Fixture futurelight/sc-250-scanner modified in this PR
Fixture output to all plugins is checked.
:information_source: Plugin d-light
Outputted files not changed.
:warning: Plugin ecue

Changed outputted file UserLibrary.xml
--- removed
+++ added
@@ -2,9 +2,9 @@
 <Document Owner="user" TypeVersion="2" SaveTimeStamp="2017-12-21#21:04:53">
     <Library>
         <Fixtures>
             <Manufacturer _CreationDate="2017-12-21#21:04:53" _ModifiedDate="2017-12-21#21:04:53" Name="Futurelight" Comment="" Web="http://www.steinigke.de/futurelight/">
-                <Fixture _CreationDate="2017-12-21#00:00:00" _ModifiedDate="2017-12-21#00:00:00" Name="SC-250 Scanner" NameShort="FuturelightSC250" Comment="generated by the Open Fixture Library – https://open-fixture-library.herokuapp.com/futurelight/sc-250-scanner" AllocateDmxChannels="6" Weight="10" Power="250" DimWidth="280" DimHeight="160" DimDepth="470">
+                <Fixture _CreationDate="2017-12-21#00:00:00" _ModifiedDate="2017-12-21#00:00:00" Name="SC-250 Scanner" NameShort="FuturelightSC250" Comment="generated by the Open Fixture Library – https://open-fixture-library.herokuapp.com/futurelight/sc-250-scanner" AllocateDmxChannels="6" Weight="11.1" Power="250" DimWidth="280" DimHeight="160" DimDepth="470">
                     <ChannelFocus Name="Pan" DefaultValue="128" Highlight="255" Deflection="0" DmxByte0="1" DmxByte1="0" Constant="0" Crossfade="0" Invert="0" Precedence="LTP" ClassicPos="1"/>
                     <ChannelFocus Name="Tilt" DefaultValue="128" Highlight="255" Deflection="0" DmxByte0="2" DmxByte1="0" Constant="0" Crossfade="0" Invert="0" Precedence="LTP" ClassicPos="2"/>
                     <ChannelColor Name="Color Wheel" DefaultValue="0" Highlight="255" Deflection="0" DmxByte0="3" DmxByte1="0" Constant="0" Crossfade="0" Invert="0" Precedence="LTP" ClassicPos="3">
                         <Range Name="Open (White)" Start="0" End="7" AutoMenu="1" Centre="0"/>

:warning: Plugin ofl

Changed outputted file futurelight/sc-250-scanner.json
--- removed
+++ added
@@ -20,9 +20,9 @@
       280,
       160,
       470
     ],
-    "weight": 10,
+    "weight": 11.1,
     "power": 250,
     "DMXconnector": "3-pin",
     "bulb": {
       "type": "HIT 150 W"

:warning: Plugin qlcplus

Changed outputted file Futurelight-SC-250-Scanner.qxf
--- removed
+++ added
@@ -74,9 +74,9 @@
  </Channel>
  <Mode Name="6-channel">
   <Physical>
    <Bulb Type="HIT 150 W" Lumens="0" ColourTemperature="0"/>
-   <Dimensions Weight="10" Width="280" Height="160" Depth="470"/>
+   <Dimensions Weight="11.1" Width="280" Height="160" Depth="470"/>
    <Lens Name="Other" DegreesMin="19" DegreesMax="19"/>
    <Focus Type="Mirror" PanMax="0" TiltMax="0"/>
    <Technical DmxConnector="3-pin" PowerConsumption="250"/>
   </Physical>

Export files validity
(Output of test script tests/github/exports-valid.js.)
Test the exported files of selected fixtures against the plugins' export tests.
You can run a plugin's export tests by executing:
$ node cli/run-export-test.js -p <plugin name> <fixtures>
Fixture futurelight/sc-250-scanner changed in this PR

d-light

attributes-correctness

:white_check_mark: futurelight/sc-250-scanner-6ch.xml

ecue
ofl
qlcplus

xsd-schema-conformity

:white_check_mark: Futurelight-SC-250-Scanner.qxf

Plugin export diff
(Output of test script tests/github/export-diff.js.)
You can run view your uncommited changes in plugin exports manually by executing:
$ node cli/diff-plugin-outputs.js -p <plugin name> <fixtures>
Fixture futurelight/sc-250-scanner modified in this PR
Fixture output to all plugins is checked.
:information_source: Plugin d-light
Outputted files not changed.
:warning: Plugin ecue

Changed outputted file UserLibrary.xml
--- removed
+++ added
@@ -2,9 +2,9 @@
 <Document Owner="user" TypeVersion="2" SaveTimeStamp="2017-12-21#21:11:37">
     <Library>
         <Fixtures>
             <Manufacturer _CreationDate="2017-12-21#21:11:37" _ModifiedDate="2017-12-21#21:11:37" Name="Futurelight" Comment="" Web="http://www.steinigke.de/futurelight/">
-                <Fixture _CreationDate="2017-12-21#00:00:00" _ModifiedDate="2017-12-21#00:00:00" Name="SC-250 Scanner" NameShort="FuturelightSC250" Comment="generated by the Open Fixture Library – https://open-fixture-library.herokuapp.com/futurelight/sc-250-scanner" AllocateDmxChannels="6" Weight="10" Power="250" DimWidth="280" DimHeight="160" DimDepth="470">
+                <Fixture _CreationDate="2017-12-21#00:00:00" _ModifiedDate="2017-12-21#00:00:00" Name="SC-250 Scanner" NameShort="FuturelightSC250" Comment="Note that the manual contains some mistakes that are corrected in this definition. (generated by the Open Fixture Library – https://open-fixture-library.herokuapp.com/futurelight/sc-250-scanner)" AllocateDmxChannels="6" Weight="11.1" Power="250" DimWidth="280" DimHeight="160" DimDepth="470">
                     <ChannelFocus Name="Pan" DefaultValue="128" Highlight="255" Deflection="0" DmxByte0="1" DmxByte1="0" Constant="0" Crossfade="0" Invert="0" Precedence="LTP" ClassicPos="1"/>
                     <ChannelFocus Name="Tilt" DefaultValue="128" Highlight="255" Deflection="0" DmxByte0="2" DmxByte1="0" Constant="0" Crossfade="0" Invert="0" Precedence="LTP" ClassicPos="2"/>
                     <ChannelColor Name="Color Wheel" DefaultValue="0" Highlight="255" Deflection="0" DmxByte0="3" DmxByte1="0" Constant="0" Crossfade="0" Invert="0" Precedence="LTP" ClassicPos="3">
                         <Range Name="Open (White)" Start="0" End="7" AutoMenu="1" Centre="0"/>

:warning: Plugin ofl

Changed outputted file futurelight/sc-250-scanner.json
--- removed
+++ added
@@ -13,16 +13,17 @@
     ],
     "createDate": "2017-12-21",
     "lastModifyDate": "2017-12-21"
   },
+  "comment": "Note that the manual contains some mistakes that are corrected in this definition.",
   "manualURL": "http://www.partirentournee.com/sites/default/files/matos/Future%20Light/asservis/Scan%20SC%20series%20240%20to%20980/SC-250.pdf",
   "physical": {
     "dimensions": [
       280,
       160,
       470
     ],
-    "weight": 10,
+    "weight": 11.1,
     "power": 250,
     "DMXconnector": "3-pin",
     "bulb": {
       "type": "HIT 150 W"

:warning: Plugin qlcplus

Changed outputted file Futurelight-SC-250-Scanner.qxf
--- removed
+++ added
@@ -74,9 +74,9 @@
  </Channel>
  <Mode Name="6-channel">
   <Physical>
    <Bulb Type="HIT 150 W" Lumens="0" ColourTemperature="0"/>
-   <Dimensions Weight="10" Width="280" Height="160" Depth="470"/>
+   <Dimensions Weight="11.1" Width="280" Height="160" Depth="470"/>
    <Lens Name="Other" DegreesMin="19" DegreesMax="19"/>
    <Focus Type="Mirror" PanMax="0" TiltMax="0"/>
    <Technical DmxConnector="3-pin" PowerConsumption="250"/>
   </Physical>

Plugin export diff
(Output of test script tests/github/export-diff.js.)
You can run view your uncommited changes in plugin exports manually by executing:
$ node cli/diff-plugin-outputs.js -p <plugin name> <fixtures>
Fixture futurelight/sc-250-scanner modified in this PR
Fixture output to all plugins is checked.
:information_source: Plugin d-light
Outputted files not changed.
:warning: Plugin ecue

Changed outputted file UserLibrary.xml
--- removed
+++ added
@@ -2,9 +2,9 @@
 <Document Owner="user" TypeVersion="2" SaveTimeStamp="2017-12-21#22:04:48">
     <Library>
         <Fixtures>
             <Manufacturer _CreationDate="2017-12-21#22:04:48" _ModifiedDate="2017-12-21#22:04:48" Name="Futurelight" Comment="" Web="http://www.steinigke.de/futurelight/">
-                <Fixture _CreationDate="2017-12-21#00:00:00" _ModifiedDate="2017-12-21#00:00:00" Name="SC-250 Scanner" NameShort="FuturelightSC250" Comment="generated by the Open Fixture Library – https://open-fixture-library.herokuapp.com/futurelight/sc-250-scanner" AllocateDmxChannels="6" Weight="10" Power="250" DimWidth="280" DimHeight="160" DimDepth="470">
+                <Fixture _CreationDate="2017-12-21#00:00:00" _ModifiedDate="2017-12-21#00:00:00" Name="SC-250 Scanner" NameShort="FuturelightSC250" Comment="Note that the manual contains some mistakes that are corrected in this definition. (generated by the Open Fixture Library – https://open-fixture-library.herokuapp.com/futurelight/sc-250-scanner)" AllocateDmxChannels="6" Weight="11.1" Power="250" DimWidth="280" DimHeight="160" DimDepth="470">
                     <ChannelFocus Name="Pan" DefaultValue="128" Highlight="255" Deflection="0" DmxByte0="1" DmxByte1="0" Constant="0" Crossfade="0" Invert="0" Precedence="LTP" ClassicPos="1"/>
                     <ChannelFocus Name="Tilt" DefaultValue="128" Highlight="255" Deflection="0" DmxByte0="2" DmxByte1="0" Constant="0" Crossfade="0" Invert="0" Precedence="LTP" ClassicPos="2"/>
                     <ChannelColor Name="Color Wheel" DefaultValue="0" Highlight="255" Deflection="0" DmxByte0="3" DmxByte1="0" Constant="0" Crossfade="0" Invert="0" Precedence="LTP" ClassicPos="3">
                         <Range Name="Open (White)" Start="0" End="7" AutoMenu="1" Centre="0"/>

:warning: Plugin qlcplus

Changed outputted file Futurelight-SC-250-Scanner.qxf
--- removed
+++ added
@@ -74,9 +74,9 @@
  </Channel>
  <Mode Name="6-channel">
   <Physical>
    <Bulb Type="HIT 150 W" Lumens="0" ColourTemperature="0"/>
-   <Dimensions Weight="10" Width="280" Height="160" Depth="470"/>
+   <Dimensions Weight="11.1" Width="280" Height="160" Depth="470"/>
    <Lens Name="Other" DegreesMin="19" DegreesMax="19"/>
    <Focus Type="Mirror" PanMax="0" TiltMax="0"/>
    <Technical DmxConnector="3-pin" PowerConsumption="250"/>
   </Physical>


[FR] Add relevant days to time range

Great initiative!
Please consider adding for each timeframe - relevant days,
Meaning, for each timeframe I will be able to set on which day is it relevant, so if time range is on but not for the relevant day, binary sensor will be off.
for instance
Morning:
  Sun-Thu 06:00-12:00
  Fri 07:00-12:00
  Sat 09:00-12:00

Currently, I'm using binary sensors of time of the day to achieve the same functionality - per day period (Morning, Noon, Afternoon, Evening and Night) * 3 scenarios (Weekday, Weekend, Weekend Eve) = 15 binary sensors.

You will be pleased with the new buoy-in "schedule" integration which is coming as part of 2022.9 (in a week). It's a weekly schedule which should address nicely your use case.

Great, thanks for the super quick response


Add bot automerge

@conda-forge-admin, please add bot automerge

Hi! This is the friendly automated conda-forge-webservice.
I just wanted to let you know that I added bot automerge in conda-forge/jhsingle-native-proxy-feedstock#10.


Accordion

Hi!
What about "accordions" (a group of toggles)?
No implementations or guides for them?

Oddly enough accordions were removed from the material 2 spec and there is nothing on the roadmap for mdc web.  I did like the old ones though, they’d be a fun add on component for RMWC. Are you referring to accordions or expandable menus?

I think accordions, they often used for FAQ sections

Cool. I’ll see if I can dig up the one out of the old spec and build an implementation.

Sorry meant to comment not close.

Happy to report this functionality is coming in 5.x.x under the name collapsible list. It specifically works with the built in list component, but can technically work with any type of content.

Fixed with the release of V5 with CollapsibleList


ERROR in multi script-loader after updating to angular-cli 1.0.0

Bug Report or Feature Request (mark with an x)
- [ x] bug report -> please search issues before submitting
- [ ] feature request

Versions.
@angular/cli: 1.0.0
node: 6.10.1
os: win32 x64
@angular/common: 4.0.0
@angular/compiler: 4.0.0
@angular/core: 4.0.0
@angular/forms: 4.0.0
@angular/http: 4.0.0
@angular/platform-browser: 4.0.0
@angular/platform-browser-dynamic: 4.0.0
@angular/router: 4.0.0
@angular/cli: 1.0.0
@angular/compiler-cli: 4.0.0
Repro steps.
Added  "scripts": [
"../node_modules/jquery/dist/jquery.js"
]
to apps[0] in .angular-cli.json to include 3rd party scripts. When I run ng build I get:
ERROR in multi script-loader!./~/jquery/dist/jquery.js script-loader
Before updating to angular-cli 1.0.0 it worked.

I got that too. But for styles and addons

I have the same issue

1, me too!

I got same issue.

Same issue

Just want to say that this is a really critical (killer) feature of angular-cli and it's build process. If Treeshaking would also fail, I would skip angular-cli.
I am wondering (not trolling, really interessted!) how this could pass unit-tests? We don't use unit-tests ourselves, so does angular-cli development have unit tests?

Same here, pretty important in our software.

We are also having similar problems, oddly installing node_modules using yarn seems to resolve the issue - not sure why?

Hey guys. Try to check the urls again. After checking and correct it. It
works for me now. But of course, probably should have some better error
message.
On Tue, Apr 4, 2017 at 5:38 PM the-r3dshirt<EMAIL_ADDRESS>wrote:

We are also having similar problems, oddly installing node_modules using
yarn seems to resolve the issue - not sure why?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/angular/angular-cli/issues/5665#issuecomment-291691591,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEDfwDlV7y6fCeHeu2U0rvPM4BPZgpriks5rsuKNgaJpZM4Mpd2R
.

Right found our problem, moment-timezone version change combined with a filename change and a yarn.lock referencing an earlier version of moment-timzone.
The error message in this case could use a little work showing which script/file specifically could not be loaded.

Same issue after updating to 1.0.0 and adding a new app into apps.

same issue
[INFO] ERROR in multi script-loader!./~/jquery/dist/jquery.min.js script-loader!./~/moment/min/moment.min.js script-loader!./~/bootstrap/dist/js/bootstrap.min.js script-loader!./~/admin-lte/dist/js/app.min.js script-loader!./~/fullcalendar/dist/fullcalendar.min.js script-loader!./~/fullcalendar/dist/locale/fr.js script-loader!./~/mapbox-gl/dist/mapbox-gl.js script-loader!./~/ng2-bs3-modal/bundles/ng2-bs3-modal.min.js script-loader!./~/ng2-bootstrap/bundles/ng2-bootstrap.umd.min.js
[INFO] Module not found: Error: Can't resolve '/home/maryo/dev/project/pg2/spg22/node_modules/ng2-bootstrap/bundles/ng2-bootstrap.umd.min.js' in '/home/maryo/dev/project/pg2/spg22'
[INFO]  @ multi script-loader!./~/jquery/dist/jquery.min.js script-loader!./~/moment/min/moment.min.js script-loader!./~/bootstrap/dist/js/bootstrap.min.js script-loader!./~/admin-lte/dist/js/app.min.js script-loader!./~/fullcalendar/dist/fullcalendar.min.js script-loader!./~/fullcalendar/dist/locale/fr.js script-loader!./~/mapbox-gl/dist/mapbox-gl.js script-loader!./~/ng2-bs3-modal/bundles/ng2-bs3-modal.min.js script-loader!./~/ng2-bootstrap/bundles/ng2-bootstrap.umd.min.js
[INFO]
[INFO] ERROR in Cannot read property 'getSymbolByModule' of undefined

I've just run into the same here.

I do yarn upgrade and it's works

"scripts": [         "assets/js/jquery-1.10.2.min.js",         "assets/js/bootstrap.min.js", ]
ERROR in multi script-loader!./src/assets/js/jquery-1.10.2.min.js script-loader!./src/assets/js/bootstrap.min.js

Instead of writing ./ use ../

Closing as this seems to be a dependency problem that goes away when reinstalling dependencies (and making sure the paths are correct).

Not fixed at all.  I just upgraded my project to @angular/cli and now every script will not load.  No paths have changed.
ERROR in multi script-loader!C:/~/phaser-ce/build/phaser.js script-loader!./~/phaser-ce/build/box2d-plugin-full.js

package.json
"scripts": [
"../node_modules/phaser-ce/build/phaser.js",
],
What should the path be?

I had the same error. But, was my fault, I didn't install bootstrap with --save option.
Tha correct way:
npm install --save bootstrap@next

I had the same issue. But I have solved it.
Main error is in the scripts and css which are coming from the 'node_modules' folder.

Thanks

@shaadh Could I ask you to elaborate how you fixed this issue? Do you mean delete all styles and scripts that reference files in node_modules? If so what do I replace them with?

use bootstrap loader ... I was having same issue resolved it.
run following commands.

npm install --save resolve-url-loader --dev
npm i --save-dev bootstrap@next bootstrap-loader tether jquery

Any update on this? I got the same error after updating angular-cli to 1.2.0
My paths are accurate, no idea why it isn't working.

Try to update your path
   "styles": [         "styles.css",         "../node_modules/bootstrap/dist/css/bootstrap.css"       ],       "scripts": [         "../node_modules/jquery/dist/jquery.js",         "../node_modules/bootstrap/dist/js/bootstrap.js"       ]

i run on this same problem aswell and the 100% fix on this is the rewrite  the code manually. instead of copy pasting it and edit the path.
styles: [
"styles.css",
"../node_modules/bootstrap/dist/css/bootstrap.css"
],
scripts: [
"../node_modules/jquery/dist/jquery.js",
"../node_modules/bootstrap/dist/js/bootstrap.js"
]

@craftpip exactly what package did you miss?

Hello all,
I've got the same issue. None of the above mentioned fixes seem to be working for me.
Any ideas?

I alse got the same issue.and I check the answer,i find none of the above mentioned can fix my problem, so i should give up the angualr-cli? Any ideas?
ERROR in multi angular angular-route jquery Module not found: Error: Can't resolve 'angular' in 'C:\workspace\backup'  @ multi angular angular-route jquery

@wangjunxin actually I am giving up on angular-cli and shift to webpack. I am developing with Visual Studio and the tooling in the latest version is incredible good. There is a angular projecttemplate with webpack and at the moment I dig into webpack and how it works.

ERROR in multi script-loader!./src/..node_modules/jquery/dist/jquery.min.js script-loader!./~/bootstrap/dist/css/bootstrap.min.
js
Module not found  ..
Same issue, somebody please help with this issue.

Some changes has been made to bootstrap : https://github.com/angular/angular-cli/blob/7b8e0fa5220ef77bc95c404200cc84fb1e9a8f12/docs/documentation/stories/global-lib.md

@jishnuk61  i used cdn link for jquery it resolve error multi script-loader..

Holy Crap!  What an ordeal!  I finally got it to work.  I had<EMAIL_ADDRESS>and I upgraded to 1.4.1 and it worked!  It probably is a good idea to upgrade your typescript version also.  I upgraded my typescript to 2.4.0 from 2.3.3.  Not sure if that helped, but somewhere between the two it works now.
Your paths are fine if they were working before.  Don't change them, just upgrade the cli.

First of all you need to verify if the file showed in the log exists, If It not exists you need to verify the version of this npm package, Each Npm Package has a repository normallly GitHub, where you can search for new changes, In the majority of cases you only need to update the package to the lastest version, But If the problem continue, verify recents changes in GitHub repository.

I tried multiple suggestion using Yarn, rm -rf node_module and npm install as a resetter, ensured path was correct, and even uninstalled/reinstalled angular/cli, but what worked for me (and is still working after more tests), is by:

deleting the "scripts" line entirely,
running ng build -w
quitting it
putting back the "scripts" line including path, and it all worked again.

It not the most eloquent way to understanding the real problem, but I hope this works for those that are running out of options.

same issue but FIXED :)
if you are using "npm install<EMAIL_ADDRESS>to install bootstrap 3.3.7 you will face the error,
MUST USE --save,
"npm install<EMAIL_ADDRESS>--save".
This is perfect solution and worked for me... :) 👍 🥇 💯

I had the same issue and I tried this:
Using "node_modules/jquery/dist/jquery.js" instead of "../node_modules/jquery/dist/jquery.js", and it worked.


How to upload files and pictures

Very useful, it would be better if it can save pictures and files

Here are all the Ollama multimodal models. Llava is pretty good!

Thank you for the recommendations. I tried it out, and if I want to support the display of various types of images and the parsing of certain files, I would need to introduce a third-party library, which is a bit different from my original intention. If I don't display the images and only show file links, the UI design would also look a bit strange.


Citations not generated when inside italic or  tags

I am using Quartz to build my blog/notes. In this blog, I want to have both citations and image captions.
For image captions, I am using the rehype-image-caption package, which wraps the caption inside a figcaption within a figure tag, using the following markdown syntax:
![alttext](some-image.jpg)
*Some caption that explains the image.*

This works as expected. However, I encountered an issue when trying to include a citation inside an image caption. Here's the markdown I used:
*An elephant drinking water from Nile river. [@doe2024]*

Instead of rendering the citation, it produces the following HTML output:

	An elephant drinking water from Nile river. [@doe2024]

Expected Behavior
The expected HTML output should look something like this, where the citation is properly parsed and generated inside the  tag:

	An elephant drinking water from Nile river.

		(
		Doe, 2022
		)

or, inside a figcaption:

  An elephant drinking water from Nile river.

  (
    Doe, 2022
  )

Additional Information:

I am not familiar with Typescript or Javascript, so I'm unsure if this is related to how rehype-citation handles content within  or similar tags.
I am using rehype-citation version ^2.1.1 along with the lastest versionrehype-image-caption.

Could you provide guidance on how to address this issue? Is there a possible fix or workaround?
EDIT:
After seeing #25, I am wondering if we can include em or figcaption in permittedTags? What would be the trade-off?
https://github.com/timlrx/rehype-citation/blob/fc0fde0764096958185cbd997c82f4cba76c963a/src/generator.js#L30

Hi, as a workaround if your Markdown application/processor supports HTML, you can simply wrap the citation by a  tag. This way the parent tag will be in the permittedTags list.

Ah, well, you're right. That resolves the issue. 😅
I am closing this now.