Selected items must not refresh after sorting or searching

Description

Maintain selected items even after sorting or searching.
Related Issue :

No issue
How Has This Been Tested?

1 . Go to data flow detail -> click + add dataset  -> check some items -> sort list by asc or desc -> check if selected items are not refreshed.
2 . Go to dataflow detail -> click one wrangled dataset -> open swap dataset popup -> change selected item -> search dataset -> check if radio button is not refreshed.
3 . Go to dataflow detail -> click +add dataset button
total number of selections are not based on displaying list.
3-1. check three items

3-2. search sdsddea  -> there will be no items in the list

3-3. selected number of items should not change (3 selections)

Types of changes

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

Checklist:

[ ] My code follows the code style of this project. it will be added soon
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document. it will be added soon
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

Additional Context

 데이터플로우 입력 데이터셋 치환 팝업에서 검색시 선택되어있던 라디오 버튼이 체크해제됩니다.

run build
deploy to 2


Disable default keybindings

Is there a way to disable the default keybindings? I like to explicitly set all my own keybindings in a separate config file to make it easier for me to remember what keys I've bound and for what plugins.

You can still set you own keymaps and ignore those from vim-illuminate, vim-illuminate won't override any existing keymaps.


Multi-cluster

For Argo Workflows, we're building a multi-cluster solution. I wonder if this is something we want for dataflow? It's easier to do today, than tomorrow, but is not without cost. I'm not clear about the benefit either.

I'm thinking we should focus on single cluster for now.

I'm not actually sure users would want it. Just collecting 👍


[SPARK-46123][DOCS][PYTHON] Using brighter color for document title for better visibility

What changes were proposed in this pull request?
This PR proposes to adjust the font color of the titles in the PySpark documentation.
Why are the changes needed?
For better visibility. The current title font color is not optimal for readability especially in dark mode, which can hinder user experience.
Does this PR introduce any user-facing change?
No API changes, but the font color for titles has been updated to a lighter shade, improving contrast and readability as below:
Before

After

How was this patch tested?

By manually building docs.
Was this patch authored or co-authored using generative AI tooling?

No.

cc @HyukjinKwon


fix pose code snippet

First issue: mp_holistic is not defined in this snippet. It was replaced by mp_pose.
Second issue: model_complexity=2 is available for MediaPipe Holistic but not for MediaPipe Pose.
The snippet will work with the changes that I made.

@googlebot I signed it!

Thanks for reporting this. Fixed in our internal code base upstream, and will be pushed to GitHub in the next release.


Add/fix support for definitions on spreadsheets

The two other failing tests rely on https://github.com/hed-standard/hed-python/pull/844 and should work when re-run after it's updated.


feat: exchange rates

While running this I see it saying around ~36 minutes to complete on my system. It's around 10 minutes slower than it used to be.
Maybe some sort of multicall or batching might help. Or ensuring we have a minimum span of time/blocks between rate refreshes. ( though we lose accuracy :( )

After doing more testing I'm not sure this adds much time at all. It seems quite negligible. I took a dump of the results and reran it using the result set as a cache/datasource from JSON and the difference was very small.  (frax-staking processor 58907 vs 58842)


TypeError: forward() got an unexpected keyword argument 'output_attentions'

Hi! Thanks for your contribution.
When I trained config/train/single_tf.yaml: the following error occurred：
Traceback (most recent call last):
  File "/usr/local/bin/dlhpcstarter", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.8/site-packages/dlhpcstarter/__main__.py", line 126, in main
    submit(args, cmd_line_args, stages_fnc)
  File "/usr/local/lib/python3.8/site-packages/dlhpcstarter/__main__.py", line 21, in submit
    stages_fnc(args)
  File "/home/tools/stages.py", line 85, in stages
    trainer.fit(model, ckpt_path=ckpt_path)
  File "/usr/local/lib/python3.8/site-packages/lightning/pytorch/trainer/trainer.py", line 543, in fit
    call._call_and_handle_interrupt(
  File "/usr/local/lib/python3.8/site-packages/lightning/pytorch/trainer/call.py", line 43, in _call_and_handle_interrupt
    return trainer.strategy.launcher.launch(trainer_fn, *args, trainer=trainer, **kwargs)
  File "/usr/local/lib/python3.8/site-packages/lightning/pytorch/strategies/launchers/subprocess_script.py", line 105, in launch
    return function(*args, **kwargs)
  File "/usr/local/lib/python3.8/site-packages/lightning/pytorch/trainer/trainer.py", line 579, in _fit_impl
    self._run(model, ckpt_path=ckpt_path)
  File "/usr/local/lib/python3.8/site-packages/lightning/pytorch/trainer/trainer.py", line 986, in _run
    results = self._run_stage()
  File "/usr/local/lib/python3.8/site-packages/lightning/pytorch/trainer/trainer.py", line 1030, in _run_stage
    self.fit_loop.run()
  File "/usr/local/lib/python3.8/site-packages/lightning/pytorch/loops/fit_loop.py", line 205, in run
    self.advance()
  File "/usr/local/lib/python3.8/site-packages/lightning/pytorch/loops/fit_loop.py", line 363, in advance
    self.epoch_loop.run(self._data_fetcher)
  File "/usr/local/lib/python3.8/site-packages/lightning/pytorch/loops/training_epoch_loop.py", line 141, in run
    self.on_advance_end(data_fetcher)
  File "/usr/local/lib/python3.8/site-packages/lightning/pytorch/loops/training_epoch_loop.py", line 295, in on_advance_end
    self.val_loop.run()
  File "/usr/local/lib/python3.8/site-packages/lightning/pytorch/loops/utilities.py", line 182, in _decorator
    return loop_run(self, *args, **kwargs)
  File "/usr/local/lib/python3.8/site-packages/lightning/pytorch/loops/evaluation_loop.py", line 135, in run
    self._evaluation_step(batch, batch_idx, dataloader_idx, dataloader_iter)
  File "/usr/local/lib/python3.8/site-packages/lightning/pytorch/loops/evaluation_loop.py", line 396, in _evaluation_step
    output = call._call_strategy_hook(trainer, hook_name, *step_args)
  File "/usr/local/lib/python3.8/site-packages/lightning/pytorch/trainer/call.py", line 311, in _call_strategy_hook
    output = fn(*args, **kwargs)
  File "/usr/local/lib/python3.8/site-packages/lightning/pytorch/strategies/strategy.py", line 410, in validation_step
    return self._forward_redirection(self.model, self.lightning_module, "validation_step", *args, **kwargs)
  File "/usr/local/lib/python3.8/site-packages/lightning/pytorch/strategies/strategy.py", line 640, in __call__
    wrapper_output = wrapper_module(*args, **kwargs)
  File "/usr/local/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "/usr/local/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1527, in _call_impl
    return forward_call(*args, **kwargs)
  File "/usr/local/lib/python3.8/site-packages/torch/nn/parallel/distributed.py", line 1519, in forward
    else self._run_ddp_forward(*inputs, **kwargs)
  File "/usr/local/lib/python3.8/site-packages/torch/nn/parallel/distributed.py", line 1355, in _run_ddp_forward
    return self.module(*inputs, **kwargs)  # type: ignore[index]
  File "/usr/local/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "/usr/local/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1527, in _call_impl
    return forward_call(*args, **kwargs)
  File "/usr/local/lib/python3.8/site-packages/lightning/pytorch/strategies/strategy.py", line 633, in wrapped_forward
    out = method(*_args, **_kwargs)
  File "/home/modules/lightning_modules/single.py", line 455, in validation_step
    output_ids = self.encoder_decoder.generate(
  File "/usr/local/lib/python3.8/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context
    return func(*args, **kwargs)
  File "/usr/local/lib/python3.8/site-packages/transformers/generation/utils.py", line 1597, in generate
    model_kwargs = self._prepare_encoder_decoder_kwargs_for_generation(
  File "/usr/local/lib/python3.8/site-packages/transformers/generation/utils.py", line 523, in _prepare_encoder_decoder_kwargs_for_generation
    model_kwargs["encoder_outputs"]: ModelOutput = encoder(**encoder_kwargs)
  File "/usr/local/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "/usr/local/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1527, in _call_impl
    return forward_call(*args, **kwargs)
TypeError: forward() got an unexpected keyword argument 'output_attentions'

But I trained other models config/train/multi_tf.yaml without any problem.
I did not find out the reason. I tried switching the transformer version, but it didn't work.

I found the problem. The forward() of the class CvtWithProjectionHead in modelling_single.py should add the parameter output_attentions: Optional[bool] = None, or do not pass this parameter.
class CvtWithProjectionHead(transformers.CvtPreTrainedModel):
    def __init__(self, config):
        super().__init__(config)

        self.cvt = transformers.CvtModel(config, add_pooling_layer=False)
        self.projection_head = CvtProjectionHead(config)

        # Initialize weights and apply final processing:
        self.post_init()

    def forward(
        self,
        pixel_values: Optional[torch.Tensor] = None,
        output_hidden_states: Optional[bool] = None,
        return_dict: Optional[bool] = None,
        output_attentions: Optional[bool] = None,
    ) -> Union[Tuple, ModelOutput]:

        return_dict = return_dict if return_dict is not None else self.config.use_return_dict

        outputs = self.cvt(
            pixel_values,
            output_hidden_states=output_hidden_states,
            return_dict=return_dict,
        )

        projection = self.projection_head(
            torch.permute(torch.flatten(outputs.last_hidden_state, 2), [0, 2, 1]),
        )

        if not return_dict:
            return projection

        return ModelOutput(
            last_hidden_state=projection,
        )

Thanks for that, this started occurring in later transformers packages. I will fix this up. Did I fix this up on the Hugging Face Hub with aehrc/cxrmate-single-tf? I might have just missed it in this repo...


Niamh25/doc 5053/present checksum as a table rather than sections

Checksum has been made into a table instead of sections.

I don't think you need the  elements with  the  ones


GH-40375: [C++] Remove misleading noexcept from cdef functions

Rationale for this change
noexcept attribute is ignored by cython for functions returning python objects, and provokes a warning or error in recent versions of cython. This is causing unnecessary CI noise

What changes are included in this PR?
Remove the noexcept attributes

Are these changes tested?
Yes

Are there any user-facing changes?
No

GitHub Issue: #40375

FYI: #40387 is the same fix.

Can we close this because we merged #40387?


Update messages_sv.properties (Swedish localization)

fixed some typos, added proper quotation marks.

Ah of course. I'll move them!


SAPUI5 - Open the SAP Web IDE in SAP Cloud Platform

Hi,
As the "old" SAP Web IDE will be deprecated by end of 2018, this tutorial should be removed or adapted to Web IDE Full-Stack (though I think there's already a tutorial enabling Web IDE Full-Stack).
Thanks,
Michal.

Agreed.  This is in the process of being rewritten, and will be removed once the new tutorials are finished.

I'm unclear on the exact turorial referenced: https://developers.sap.com/tutorials/sapui5-webide-create-project.html is current and https://developers.sap.com/tutorials/sapui5-webide-part1-create-project.html has been removed -- is it safe to close this, or are we talking about another tutorial that is still visible?

@michal-keidar I will close this issue. If there still is a problem, feel free to reopen and add an explanation. Thanks.


Unable to provision RKE2 downstream clusters on HA Rancher install

Rancher Server Setup

Rancher version: 2508215
Installation option (Docker install/Helm Chart): Rancher HA Helm install

If Helm Chart, Kubernetes Cluster and version (RKE1, RKE2, k3s, EKS, etc): RKE1

Proxy/Cert Details: Rancher geenrated

Information about the Cluster

Kubernetes version: 1.24 local RKE1 cluster

User Information

What is the role of the user logged in? (Admin/Cluster Owner/Cluster Member/Project Owner/Project Member/Custom) admin

Describe the bug
Unable to provision RKE2 downstream clusters on HA Rancher install
To Reproduce

Deploy 1 etcd, 1 cp and 1 worker node clusters - Linode and AWS RKE2 node driver cluster - v1.23.8+rke2r1
Cluster is stuck in Error state Cluster health check failed: Failed to communicate with API server during namespace check: Get "https://<IP_ADDRESS>:443/api/v1/namespaces/kube-system?timeout=45s": context deadline exceeded
Provisioning logs:

11:15:40 am | [INFO ] waiting for viable init node
-- | --
11:16:08 am | [INFO ] configuring bootstrap node(s) sowmya-test-rke2-pool1-c6d66f7c-6dw8f: waiting for agent to check in and apply initial plan
11:17:40 am | [INFO ] configuring bootstrap node(s) sowmya-test-rke2-pool1-c6d66f7c-6dw8f: waiting for probes: etcd, kubelet
11:18:20 am | [INFO ] configuring control plane node(s) sowmya-test-rke2-pool2-cccc95948-j279x: waiting for agent to check in and apply initial plan
11:18:24 am | [INFO ] configuring control plane node(s) sowmya-test-rke2-pool2-cccc95948-j279x: waiting for probes: calico, kube-apiserver, kube-controller-manager, kube-scheduler, kubelet
11:19:02 am | [INFO ] configuring control plane node(s) sowmya-test-rke2-pool2-cccc95948-j279x: waiting for probes: calico, kube-apiserver, kube-controller-manager, kube-scheduler
11:19:08 am | [INFO ] configuring control plane node(s) sowmya-test-rke2-pool2-cccc95948-j279x: waiting for probes: calico
11:20:22 am | [INFO ] configuring control plane node(s) sowmya-test-rke2-pool2-cccc95948-j279x: waiting for cluster agent to connect
11:48:49 am | [INFO ] waiting for control plane to be available

Expected Result
Cluster should come up Active
Note:

On a docker install, clusters come up Active
Fleet on both the rancher server - docker install and Rancher HA are in a bad state.
Error on fleet:

"rancher/fleet:v0.3.10-rc1": rpc error: code = Unknown desc = Error response from daemon: manifest for rancher/fleet:v0.3.10-rc1 not found: manifest unknown: manifest unknown

Fleet errors will be resolved separately via https://github.com/rancher/fleet/pull/850

Please validate these scenarios on a RKE1 local cluster HA Rancher setup

Provisioning RKE2 Node driver cluster - 3 etcd, 2cp, 3 worker nodes
Provisioning RKE2 custom cluster
Provisioning RKE2 import cluster

Verified this is addressed on https://github.com/rancher/rancher/commit/cfba0bc4fe19177cef627d36ad86744b62e5e751.
ENVIRONMENT DETAILS

Rancher Install: Helm
Rancher version: v2.6-head https://github.com/rancher/rancher/commit/cfba0bc4fe19177cef627d36ad86744b62e5e751
Browser: Chrome

TEST RESULT
PASS
VERIFICATION STEPS

Setup Rancher and navigate to the UI in a browser.
Created a standard user and login to Rancher as that user.
Provisioned the following clusters: RKE2 node driver, RKE2 custom, RKE2 imported. Verified all of them came up as Active:


Update generator to handle the Operation OperationGroup renamed to RestApi

Description

Update DownloadSharedSource to include mgmt shared code (This ADO item will adjust the branch to master after we ship preview)
Update autorest to write out the Operation OperationGroup as RestApi to avoid naming issue with Operation class in Azure.Core
Update ArmClientExtension to include a getter to retrieve the RestApiClient

Checklist
To ensure a quick review and merge, please ensure:

[ ] The PR has a understandable title and description explaining the why and what.
[ ] The PR is opened in draft if not ready for review yet.

If opened in draft, please allocate sufficient time (24 hours) after moving out of draft for review

[ ] The branch is recent enough to not have merge conflicts upon creation.

Ready to Land?

[ ] Build is completely green

Submissions with test failures require tracking issue and approval of a CODEOWNER

[ ] At least one +1 review by a CODEOWNER
[ ] All -1 reviews are confirmed resolved by the reviewer

Override/Marking reviews stale must be discussed with CODEOWNERS first

@chamons @allenjzhang given that the duplication already existed (it was just in the Directory.Builds.props file and now its in a different file) should we open an issue against the repo to consolidate the build targets / props holistically and keep the scope of this PR as is?


Pointer out of the heap

Do you know why when I have an error in the translation ID in modbus TCP sometimes a pointer goes out of the heap area and the ESP32 reboot?

Not right away...
Can you put this:
monitor_filters = esp32_exception_decoder

in your platformio.ini file and try again? This will give us a readable backtrace to see what originally was causing the exception.

Not right away...
Can you put this:
monitor_filters = esp32_exception_decoder

in your platformio.ini file and try again? This will give us a readable backtrace to see what originally was causing the exception.

@francescogirotto : Any news?

@francescogirotto : Any news?

@francescogirotto : may we assume the bug was caused from another source? Then I would like to close this issue.

@francescogirotto : may we assume the bug was caused from another source? Then I would like to close this issue.

Closing this for now.

Closing this for now.


[Enhancement] make decommission of BE more safe

check replication repquirements before decommission
check disk space available before decommission
fix the issue that the REST API of CheckDecommissionAction always return true

What type of PR is this:

[ ] BugFix
[ ] Feature
[x] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[ ] I have checked the version labels which the pr will be auto-backported to the target branch

[x] 3.1
[x] 3.0
[x] 2.5
[ ] 2.4

[FE PR Coverage Check]
:disappointed: fail : 4 / 17 (23.53%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/http/rest/CheckDecommissionAction.java
0
1
00.00%
[107]

:large_blue_circle:
com/starrocks/alter/SystemHandler.java
3
15
20.00%
[245, 247, 249, 250, 251, 253, 254, 255, 258, 260, 261, 264]

:large_blue_circle:
com/starrocks/system/SystemInfoService.java
1
1
100.00%
[]

[FE PR Coverage Check]
:disappointed: fail : 4 / 16 (25.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/http/rest/CheckDecommissionAction.java
0
1
00.00%
[107]

:large_blue_circle:
com/starrocks/alter/SystemHandler.java
3
14
21.43%
[245, 247, 249, 250, 251, 253, 254, 255, 258, 260, 261]

:large_blue_circle:
com/starrocks/system/SystemInfoService.java
1
1
100.00%
[]

[FE PR Coverage Check]
:heart_eyes: pass : 31 / 35 (88.57%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/alter/SystemHandler.java
30
34
88.24%
[238, 247, 248, 261]

:large_blue_circle:
com/starrocks/system/Backend.java
1
1
100.00%
[]

@Mergifyio backport branch-3.1

@Mergifyio backport branch-3.0

@Mergifyio backport branch-2.5


Switching to "References" tab after SigMakeDialog

At the moment the plugin doesn't do anything with GUI when you click "Scan" button in the SigMakeDialog. Recently new function was added to the x64dbg called GuiShowReferences that switch GUI focus to the "References" tab. I think it fits perfect there, as it is bit confusing especially for new plugin users when nothing is happening after clicking "Scan".
I've also updated the necessary SDK headers. Keep in mind that I did nothing with the .a files, as the linker asked me for .lib during compilation, totally ignoring the .a files that are in the repository.

Hi, I'll merge this PR, but just so you're aware SigMake has been superseded by SwissArmyKnife. All of the changes should be identical if you'd like to open a pull request on the other repo.
The relevant piece of code is at this link. I'll also post an updated release build afterwards.

Thanks, I wasn't aware that the SwissArmyKnife is the successor of this plugin. I've created pull request in the repo you linked above.


Hide Table Headers when table is empty

Table headers should only show after at least one dat is created.
Current state:

Feels like we'd need an empty state hmmmm ✨
On Mon, Dec 5, 2016 at 10:14 AM Kristina Schneider<EMAIL_ADDRESS>wrote:

Table headers should only show after at least one dat is created.
Current state:
[image: image]
https://cloud.githubusercontent.com/assets/53684/20879327/58cf7696-bb27-11e6-9bbe-19af0b9a2e09.png
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/datproject/dat-desktop/issues/97, or mute the thread
https://github.com/notifications/unsubscribe-auth/ACWlepgi8244HMj1Mh3x7BpVLzQcUm8bks5rE9YBgaJpZM4LEAAK
.

@yoshuawuyts Yup :)
Can you set up an empty template for me that I can take from there and start styling?

Also tracked here: https://github.com/datproject/dat-desktop/issues/68

Closing, tracking this in #68


Also check top-level node_modules when looking for flatten

Fixes https://github.com/felixrieseberg/electron-windows-store/issues/43
Please review.

Thank you, that looks just fine 👍


Insulated redstone cables no longer have an API

In Minecraft 1.7.10, our insulated redstone cables supported MineFactory Reloaded's RedNet API. MineFactory Reloaded doesn't support modern versions of Minecraft, leaving us without an API for insulated redstone cables in these versions. I brought this up on IRC, and tterrag suggested that we switch to the API from Charset (GitHub, Curse).

This issue has been holding up compatability with TIS-3D for over a year now. I would really love for Ender IO to be my one-stop shop for everything cable-related but without a proper bundled redstone API for TIS-3D to implement I need to install Project Red with all it's overhead just to do what Ender IO should already be able to do.

Charset doesn't have bundled redstone anymore, so we're back at square 1 now, either having to pick another mod or do our own API.

Stupid idea, why not just integrate and update the old api from MFR?

I don't think its license allows that.

Why was this closed? Was one added?

@josephcsible It's coming back. Same API.

Sorry for posting twice, but here it is: https://minecraft.curseforge.com/projects/simplelogic-wires
The API has been marked as un-deprecated as of the matching release of CharsetLib.


Content organization

Proposal:
About
Introduction
Understanding and Getting Started with DEI
Demograhics
Inclusive Language & Communication
Accessibility
Intersectionality and Identity
Code of Conduct, DEI Policies, and Governance
Fostering an Inclusive Open Source Culture
Developing Action Plans
How to implement
Assessment and Benchmarking
Case Studies
Glossary of DEI Terms
Resources
We need to think on how to include the other headers we have into this model. However, we are open to discuss further changes


Import Error When Following Instructions in WebStorm

I created a new project in WebStorm, ran the command npm install fetch-instagram --save and once installed I created an index.js file in the root directory of the project and inserted the sample code with my key. When I click "Run index.js", I get the error:
C:\Users\User\WebstormProjects\fetch-io\index.js:1
(function (exports, require, module, __filename, __dirname) { import ig from "fetch-instagram";
                                         `                     ^^^^^^

SyntaxError: Unexpected token import
    at createScript (vm.js:80:10)
    at Object.runInThisContext (vm.js:152:10)
    at Module._compile (module.js:624:28)
    at Object.Module._extensions..js (module.js:671:10)
    at Module.load (module.js:573:32)
    at tryModuleLoad (module.js:513:12)
    at Function.Module._load (module.js:505:3)
    at Function.Module.runMain (module.js:701:10)
    at startup (bootstrap_node.js:194:16)
    at bootstrap_node.js:618:3

Process finished with exit code 1

Command my debug configuration used:
C:\Program Files\JetBrains\WebStorm 2018.2\bin\runnerw.exe" "C:\Program Files\nodejs\node.exe" C:\Users\User\WebstormProjects\fetch-io\index.js

Any idea how to get this working? I tried setting up Babel but I'm new to Node/NPM so I'm sure I probably did it wrong.

Your environment doesn't seem to support ES6 imports, hence also it's not related to this library which builds to cjs.


Add option to drop variants with only N total alt reads supporting just the variant locus

E.g. our current IND says we need 3 supporting the variant to use them.
The current min-reads-supporting-variant-sequence is a stronger filter; instead of just at the variant locus, this is across the entire variant sequence.

A slightly more general version of this is implemented by the existing --min-variant-sequence-coverage option, which clips variant sequences to only the regions supported by N reads (and if there are fewer than N supporting reads then the variant gets skipped)


README is broken cannot build sample

I followed the readme but when arriving at tns run android i get:
npm WARN package.json<EMAIL_ADDRESS>license should be a valid SPDX license expression
Executing before-prepare hook from /home/andrea/tmp/nativescript-angular/ng-sample/hooks/before-prepare/nativescript-dev-typescript.js
Found peer TypeScript 1.8.10
app/app.ts(49,38): error TS2307: Cannot find module './examples/animation/animation-ngclass-test'.

I couldn't reproduce the issue.
The file exists.
One thing I noticed that the casing of the import is different : ngClass. However, it doesn't cause the error on my end.
Could you please verify that animation-ngclass-test.ts file is there and if it is - can you try changing the casing of the import statement to see if this is actually the problem.

@vakrilov renaming works. :+1:


perf: remove markdown parsing

Rather than parsing markdown on every request we can skip this altogether and just use Lua. This decreases the space where bugs can occur and also increases the lookup performance since we don't need to check the filesystem if the file exists and parse it. Plus lua module caching makes this fast.
Supersedes #23 because GitHub won't let me re-open it for whatever reason

Oh wait, I see. You are pulling these from an external source and also have automated syncing of the error translations from upstream.... ignore this...


Not able to connect with Elastic cache Redis

Getting this error from the connector but I am able to connect using Redis CLI:
Unable to connect
	at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:94)
	at io.lettuce.core.AbstractRedisClient.getConnection(AbstractRedisClient.java:261)
	at io.lettuce.core.cluster.RedisClusterClient.connect(RedisClusterClient.java:348)
	at com.github.jcustenborder.kafka.connect.redis.RedisSessionFactoryImpl$RedisSessionImpl.create(RedisSessionFactoryImpl.java:154)
	at com.github.jcustenborder.kafka.connect.redis.RedisSessionFactoryImpl.create(RedisSessionFactoryImpl.java:52)
	at com.github.jcustenborder.kafka.connect.redis.RedisSinkTask.start(RedisSinkTask.java:72)
	at org.apache.kafka.connect.runtime.WorkerSinkTask.initializeAndStart(WorkerSinkTask.java:309)
	at org.apache.kafka.connect.runtime.WorkerTask.doRun(WorkerTask.java:189)
	at org.apache.kafka.connect.runtime.WorkerTask.run(WorkerTask.java:240)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.lang.UnsupportedOperationException
	at java.base/java.util.AbstractList.add(AbstractList.java:153)
	at java.base/java.util.AbstractList.add(AbstractList.java:111)
	at io.lettuce.core.output.ArrayOutput.set(ArrayOutput.java:54)
	at io.lettuce.core.protocol.RedisStateMachine.safeSet(RedisStateMachine.java:358)
	at io.lettuce.core.protocol.RedisStateMachine.decode(RedisStateMachine.java:139)
	at io.lettuce.core.protocol.CommandHandler.decode(CommandHandler.java:716)
	at io.lettuce.core.protocol.CommandHandler.decode0(CommandHandler.java:680)
	at io.lettuce.core.protocol.CommandHandler.decode(CommandHandler.java:675)
	at io.lettuce.core.protocol.CommandHandler.decode(CommandHandler.java:596)
	at io.lettuce.core.protocol.CommandHandler.channelRead(CommandHandler.java:565)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
	at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
	at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919)
	at io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:800)
	at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:487)
	at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:385)
	at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
	at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
	at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
	... 1 more

I am using the below configs:
cp-kafka-connect - cp-kafka-connect:6.1.9
redis-sink - jcustenborder-kafka-connect-redis-<IP_ADDRESS>
Redis - AWS elastic cache
Connect config:
{     "connector.class": "com.github.jcustenborder.kafka.connect.redis.RedisSinkConnector",     "topics": "TOPIC_NAME",     "input.data.format": "BYTES",     "tasks.max": "1",     "key.converter": "org.apache.kafka.connect.converters.ByteArrayConverter",     "value.converter": "org.apache.kafka.connect.converters.ByteArrayConverter",     "redis.hosts": "TARGET_REDIS_URL_WITHOUT_PORT_AND_HTTP",     "redis.client.mode":"Cluster" }
Need help for this Urgently. Thanks!

hi @jasbirDream11! Can you give this version a shot? https://github.com/jcustenborder/kafka-connect-redis/tree/v2
This is the next release that has support for Redis Cluster.

Hey @jcustenborder Thanks for your quick response. I just tried with 0.0.4 version but still it is giving me the same error.

Hey @jasbirDream11 Did you clone that branch and build it? Try this package? It should be something like 0.2-SNAPSHOT.
jcustenborder-kafka-connect-redis-0.2-SNAPSHOT.zip

I actually downloaded from confluent-hub directly and it contained all the jars. For local testing I ran it in standalone mode with redis.host as localhost:6379 and it worked fine on the VM. But it was just a simple Redis that I used and not AWS elastic cache.

The branch I am pointing to does not exist on the Confluent Hub yet.

Gotcha. My Bad. I'll try and build this branch and test it with this jar.

Hey @jasbirDream11 Did you clone that branch and build it? Try this package? It should be something like 0.2-SNAPSHOT.
jcustenborder-kafka-connect-redis-0.2-SNAPSHOT.zip

Here is a build with updated dependencies. Make sure you use mvn clean package if you build it yourself. Take the zip and all of it's contents from target/components/...

Thanks Bro. It worked like a charm. Can't thank you enough for your quick help.

@jasbirDream11 did this work for you?

Yeah. Thanks for your quick help. It worked without any issues. Although I am yet to check what changes have you made in your new branch to enable cluster mode.

I think this is something that I'll need to do a slight code change for. Right now I'm using the put() method to write changes to redis using lettuce pipelining. Flushing the commands to redis is handled during the flush() method call. I didn't think about the fact flushing of offsets to Kafka can be delayed. I think I need to refactor this.
@jasbirDream11 As a work around, can you try setting offset.flush.interval.ms=5000? I'm not sure if can do this at the connector level you might need to do it at the worker level.

@jcustenborder Tried the property at connector level. It did not change anything. Will try to check the code once to test this out. Thanks for the help!


How to write more words in a single line

When I use markdown to generate pages, I usually want to show more words in a single line instead of wrapping them to the next line automatically. Is there anyone who can help?

Any updates on this?


Balance temporarily dips after sending a tip

After a small outgoing transaction, some of the remaining dogecoins are in an unconfirmed transaction. +balance result does not account for these dogecoins. It appears to the user that the balance is handled incorrectly.

this is fixed in the https://github.com/just-an-dev/sodogetip/tree/balance-bug branch


Should TwitarrTeam have access to server settings?

Got a 403 or something as a member of TwitarrTeam when accessing the server settings pages. Should we let users other than admin access server settings?

The Server Settings page doesn't have much that should need to change unless something goes wrong or we need to disable a feature. And, we don't have a mechanism to log changes made to the stuff in server settings. So, I don't know--I'm not the security expert. A rogue person with access to server settings could cause short-term chaos but it's all reversible and significantly less risk than, say, direct SQL access. That's balanced against the chance we might need to disable a feature in a hurry but can't find any of the admins.

I'm splitting the difference and making the settings read-only to twitarrteam.


增加配置参数对环境变量的支持

Agent adds environment variable support of configuration file. It can set the configuration parameters needed by agent by setting system environment variable. System attribute (- D) has the highest priority, environment variable has the lowest priority, and configuration file has the lowest priority

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.lizishan seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.lizishan seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Could you change Tab to 4 space?

Could you change Tab to 4 space?

Codecov Report

Merging #7533 (ef73f53) into master (e4a95ae) will increase coverage by 0.12%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master    #7533      +/-   ##
==========================================
+ Coverage   38.70%   38.82%   +0.12%
==========================================
  Files        3345     3478     +133
  Lines       96480    99654    +3174
  Branches    11896    12237     +341
==========================================
+ Hits        37340    38694    +1354
- Misses      56227    57976    +1749
- Partials     2913     2984      +71

Impacted Files
Coverage Δ

.../navercorp/pinpoint/bootstrap/AgentIdResolver.java
75.00% <ø> (ø)

...orp/pinpoint/bootstrap/AgentIdResolverBuilder.java
0.00% <0.00%> (ø)

...avercorp/pinpoint/bootstrap/AgentIdSourceType.java
100.00% <ø> (ø)

.../navercorp/pinpoint/bootstrap/PinpointStarter.java
0.00% <0.00%> (ø)

...om/navercorp/pinpoint/common/hbase/HbaseTable.java
77.77% <0.00%> (-22.23%)
:arrow_down:

...navercorp/pinpoint/common/util/SystemProperty.java
20.00% <0.00%> (-20.00%)
:arrow_down:

...pinpoint/grpc/server/TransportMetadataFactory.java
70.00% <0.00%> (-15.72%)
:arrow_down:

...rp/pinpoint/rpc/control/ControlMessageDecoder.java
64.28% <0.00%> (-14.29%)
:arrow_down:

...pinpoint/grpc/server/DefaultTransportMetadata.java
57.89% <0.00%> (-11.34%)
:arrow_down:

...p/pinpoint/rpc/stream/StreamChannelRepository.java
75.00% <0.00%> (-10.00%)
:arrow_down:

... and 262 more

Continue to review full report at Codecov.

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

Codecov Report

Merging #7533 (ef73f53) into master (e4a95ae) will increase coverage by 0.12%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master    #7533      +/-   ##
==========================================
+ Coverage   38.70%   38.82%   +0.12%
==========================================
  Files        3345     3478     +133
  Lines       96480    99654    +3174
  Branches    11896    12237     +341
==========================================
+ Hits        37340    38694    +1354
- Misses      56227    57976    +1749
- Partials     2913     2984      +71

Impacted Files
Coverage Δ

.../navercorp/pinpoint/bootstrap/AgentIdResolver.java
75.00% <ø> (ø)

...orp/pinpoint/bootstrap/AgentIdResolverBuilder.java
0.00% <0.00%> (ø)

...avercorp/pinpoint/bootstrap/AgentIdSourceType.java
100.00% <ø> (ø)

.../navercorp/pinpoint/bootstrap/PinpointStarter.java
0.00% <0.00%> (ø)

...om/navercorp/pinpoint/common/hbase/HbaseTable.java
77.77% <0.00%> (-22.23%)
:arrow_down:

...navercorp/pinpoint/common/util/SystemProperty.java
20.00% <0.00%> (-20.00%)
:arrow_down:

...pinpoint/grpc/server/TransportMetadataFactory.java
70.00% <0.00%> (-15.72%)
:arrow_down:

...rp/pinpoint/rpc/control/ControlMessageDecoder.java
64.28% <0.00%> (-14.29%)
:arrow_down:

...pinpoint/grpc/server/DefaultTransportMetadata.java
57.89% <0.00%> (-11.34%)
:arrow_down:

...p/pinpoint/rpc/stream/StreamChannelRepository.java
75.00% <0.00%> (-10.00%)
:arrow_down:

... and 262 more

Continue to review full report at Codecov.

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

Could you change Tab to 4 space?

OK, it's done

Could you change Tab to 4 space?

OK, it's done

Please change the title to English.

Please change the title to English.

Supplementary note: the key of the environment variable is to replace the points in the configuration parameter with underscores, and all of them are capitalized, for example: profiler.transport.grpc.collector.ip , should be configured as PROFILER_TRANSPORT_GRPC_COLLECTOR_IP in the environment variable

Supplementary note: the key of the environment variable is to replace the points in the configuration parameter with underscores, and all of them are capitalized, for example: profiler.transport.grpc.collector.ip , should be configured as PROFILER_TRANSPORT_GRPC_COLLECTOR_IP in the environment variable


Enable Dependabot

There are quite a few outdated dependencies in this project which should be upgraded. Generally it is a good practice to let a tool like Dependabot do a lot of the work for you.
This PR adds a config that will upgrade dependencies defined via Gradle or npm.
I know this will trigger quite a few PRs initially but I'm happy to assist with working through them.

Sagan will be soon retired. A note has been added to the README.
We don't accept contributions anymore as a result.
Thanks for your help!


Add Join the Alliance Page

All the content for Join the Alliance page is in this doc (page 2):
https://docs.google.com/document/d/1yeUfEvfvKOZHn9YNmFzD3IoqBPJwjLi3txcKiMam3SE/edit?usp=sharing

Will need a simple reach out form linking to my email<EMAIL_ADDRESS>Also, let's make sure the Landing page (page 1) text is updated on website (there are small edits in that text)

[x] Implement Join us page
[ ] Improve Styling

Added support for sending email via backend
Implemented join us page

waiting for UI team to finish styling of the page


Faster whisper 1.1.0

Upgrade to Faster whisper 1.1.0
This fixes an issue with language detection.

We could also benefit from the new BatchedInferencePipeline
Maybe drop stable-ts: see also #133

If we drop stable ts #112 also becomes redundant


Typeahead changes input display value with model (array of objects)

I have an array of id-value objects, I want my typeahead to let the user to select a value while having its id in the model (as I can do in select directive with the 'select as label for value in array' expression).
The typeahead displays values correctly while I'm typing, but when I select one from the dropdown list I get its id in the input box:
http://plnkr.co/edit/AMV7OaRMaYkq4UIhL7cP?p=preview
Any help?

@pkozlowski-opensource am I right that because of this bug there is no way to use ng-model-options getterSetter something like that?
<input type="text" class="form-control"                  id="elem-{$ $id $}" ng-model="value.value"                 ng-model-options="{ getterSetter: true }"                 typeahead="option for option in value.getOptions()">

Also, may be this bug is related: https://github.com/angular-ui/bootstrap/issues/3258

@pkozlowski-opensource  could you please give an update on using typeahead-input-formatter with ajax based results? I too have the similar problem mentioned by @krimhorn
Your inputs are highly appreciated! Thanks in advance

We have workaround for this issue, hope this will help someone.
Category //service
.getAllSubCategories()
.then(function categoryResolve(data) {
        vm.options.allSubCategories = data;
        return data;
 }) //First get all the data requited to make typeahead options and then trigger the model change
.then(function (data) {
        var temp = $scope.model;
        $scope.model = null;
        $timeout(function () { //Needed to notify about the change.
          $scope.model = temp;
     });
});

Till then waiting it to get resolved.

@lokeshjainRL maybe there is another fix for it, jfyi. https://github.com/angular-ui/bootstrap/pull/3865

Thanks, this looks nice and simple approach.
On Wed, Aug 19, 2015 at 7:20 PM, Paul<EMAIL_ADDRESS>wrote:

@lokeshjainRL https://github.com/lokeshjainRL maybe there is another
fix for it, jfyi. #3865
https://github.com/angular-ui/bootstrap/pull/3865
—
Reply to this email directly or view it on GitHub
https://github.com/angular-ui/bootstrap/issues/981#issuecomment-132605356
.

--
Lokesh kumar Jain
ReachLocal Services Pvt. Ltd.
5-B | Express Zone Towers  |  Patel Vanika |  Western Express Highway |
Goregaon (E) | Mumbai – 400097
www.reachlocal.com | www.reachservices.co.in

the simplest workaround for that is to use typeahead-input-formatter and typeahead-on-select combined:
<input  typeahead="obj.id as obj.name for schema in vm.getMatches($viewValue)"
typeahead-on-select="vm.onSelectedCallback($item, $model, $label)"
typeahead-input-formatter="vm.formatLabel($model)"/>

vm.onSelectedCallback = function ($item, $model, $label) {
    vm.selectedItem = $item;
}
vm.formatLabel = function () {
    return vm.selectedItem.name;
};

Maybe its also something promising for a fix :)

Working with an array of objects with a schema like this {id: 45, value: 'Test'}. I would like to see value on the screen and id on the model.... Ok, everyone wants this... So if you use correct input-formatter you can achieve this IF YOUR DATA ARRAY IS ALREADY LOADED... I mean that if your data is async default values wouldn't work correctly... and this is a real problem for me... So after a long series of tries i found a solution and I thought would be nice to share with others....
Solution: Use ng-if on typeahead element and while the array is empty switch the element for a simple text input.. this remove typeahead from dom and only when your array is loaded it calls input-formatter.

I've used that "hack" on a couple of other similar issues regarding async GETs and initialization. Didn't think to apply it to the typeahead though. Thanks for the verification that it will work there too. Much better than doing a temp value and forcing a $digest cycle.

@mgibas Your solution works. However, there is one problem, this would not work if the user entered the value manually or pasted the value.

Closing, as this should be addressed with the ng-model-options="{getterSetter: true}" support, already in the past couple of releases.

@wesleycho Is there a working example anywhere of the ng-model-options="{getterSetter: true}" support mentioned in your last comment?

Hello Everyone ,
I have a response data of country  in CountrylistResponse and based on the selection of country I have to update the Code value in other json which is ProjectdataRepsonse
CountrylistResponse :  {"name": "Australia", "code": "AU"}, {"name": "Austria", "code": "AT"},{"name": "Azerbaijan", "code": "AZ"}
ProjectdataRepsonse:{ "Country": "","CountryCode": ""}.
input tag has following code

$scope.formatCountryLabel = function(model) {
for (var i = 0; i < $scope.countrydata.length; i++) {
if (model === $scope.countrydata[i].code) {
return $scope.countrydata[i].name;
}  }  }
I am able to update the CountryCode value based on the selection . After updating the CountryCode data is sent to database , but when I am fetching the data back I am not able to show correct value in input box because my ng-model refer to data.CountryCode but while showing the data I have to show value in data.Country.
Please let me know how we can solve this issue.


#292: Fix installation with man page

Fixes #292.

Current coverage is 90.61%

Merging #293 into master will not affect coverage as of e792d27

Powered by Codecov. Updated on successful CI builds.

:+1:

:+1:


Case where movetoworkspacesilent has no animation

Already reported ? *

[X] I have searched the existing open and closed issues.

Regression?
No
System Info and Version
 System/Version info
Hyprland, built from branch main at commit e74efd87e5aa38f9cf84cb3848ee1ab26e5e4bcb  (internal: fix initial cursor warping (7793)).
Date: Sun Sep 15 00:37:18 2024
Tag: v0.43.0-25-ge74efd87, commits: 5221

flags: (if any)

System Information:
System name: Linux
Node name: aphe-pc
Release: 6.10.10-2-cachyos
Version: #1 SMP PREEMPT_DYNAMIC Fri, 13 Sep 2024 18:44:28 +0000

GPU information:
03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Renoir [Radeon Vega Series / Radeon Vega Mobile Series] [1002:1636] (rev c2) (prog-if 00 [VGA controller])

os-release: NAME="CachyOS Linux"
PRETTY_NAME="CachyOS"
ID=cachyos
ID_LIKE=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://cachyos.org/"
DOCUMENTATION_URL="https://wiki.cachyos.org/"
SUPPORT_URL="https://forum.cachyos.org/"
BUG_REPORT_URL="https://github.com/cachyos"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=cachyos

plugins:

Description
Sometimes movetoworkspacesilent dispatcher has no animation. Particularly when entering and exiting the special workspace window. And when returning the window to the current workspace
How to reproduce
See vid
Crash reports, logs, images, videos
https://github.com/user-attachments/assets/ca45893e-0a02-4e36-b7ad-5788758999b3

https://github.com/hyprwm/Hyprland/commit/1cc1a46c2e154a27750b81307040d3bf7ff0f64f
fixed a case. There's still this one (move a window silently in a special workspace) :
https://github.com/user-attachments/assets/660932ab-2aa0-4bcd-a3d2-c4727b9cda2c


Setting the height and width using the style attribute is not increasing the size of the text box.

🐛 Bug Report
Setting the height and width using the style attribute is not increasing the size of the text box.
🔍 Bug Description
A clear and concise description of what the bug is.
📝 Steps to Reproduce

Go to '...'
Click on '....'
Scroll down to '....'
See error

✅ Expected Behavior
The CKEditor5 text box should adjust its height and width according to the values specified in the style attribute. For example, if style="height: 400px; width: 600px;" is applied, the text box should appear with a height of 400 pixels and a width of 600 pixels.
A clear and concise description of what you expected to happen.
❌ Actual Behavior
The CKEditor5 text box does not change its size according to the specified style attributes. Despite setting height and width using inline styles, the text box remains at its default size and does not expand to the specified dimensions.
A clear and concise description of what actually happened.
📸 Screenshots

If applicable, add screenshots to help explain your problem.
📋 Additional Context
= ckeditor5_editor initial_data: @body, name: 'email[body]',style: 'height: 300px;'

Add any other context about the problem here
Include relevant logs if available
List related issues/PRs

@dil-bparihar It's not an issue in the integration itself, as it's how CKEditor 5 supposed to work. Afair, you have to set CSS style directly on editable, like this:
.ck-editor__editable { min-height: 150px; }

to make it work.

Trying with this its not working for me @Mati365

Is it possible to configure CSS properties like height or width for the .ck-editor__editable class in the CKEditor configuration (e.g., using a configuration like ckeditor: { height: "400px" }), without having to write inline CSS for each individual editor?
@Mati365

@dil-bparihar Nope, you can use css class or even id and then style it using .ck-editor__editable selector. I'll try to extend the API a bit to use a custom plugin to archive this.

@dil-bparihar I introduced editable_height attribute to the editor, it's now possible: https://github.com/Mati365/ckeditor5-rails/commit/1caeec9e00be16b6f6031f36b14764e7ce4a223f

Thanks @Mati365  Its working and helps a lot.


showReportDialog() gives "Bad data decoding request"

using @sentry/electron": "^0.11.0",  I initialize sentry electron with

const { init, showReportDialog } = require("@sentry/electron");

exports.initializeSentry = () => {
  init({
    dsn: <my dsn>,
    enableNative: false,
    release: require("./package.json").version,
    beforeSend(event) {
      if (event.exception) {
        showReportDialog();
      } else {
        return event;
      }
    }
  });
};

This is called both from the main process and the render process. The docs tell me  the beforeSend is a noop in the main process. OK, so I trigger an error either with a raw throw or an explicit call to Sentry.captureException(e). The box comes up but before I enter anything in the dialog box, I see this error in the terminal:
{ SentryError: HTTP Error (400): Bad data decoding request (TypeError, Incorrect padding)
    at new SentryError (C:\dev\saymore-js\node_modules\@sentry\core\dist\error.js:21:28)
    at ClientRequest.req.on (C:\dev\saymore-js\node_modules\@sentry\electron\dist\main\transports\net.js:44:36)
    at emitOne (events.js:116:13)
    at ClientRequest.emit (events.js:211:7)
    at URLRequest.ClientRequest.urlRequest.on (C:\dev\saymore-js\node_modules\electron\dist\resources\electron.asar\browser\api\net.js:207:12)
    at emitOne (events.js:116:13)
    at URLRequest.emit (events.js:211:7) name: 'SentryError' }

Seeing this in the terminal meant that it's coming from main process. Sure enough, if I don't initialize sentry from the main process, I don't see this error, either in the terminal or the chrome debug console. However, I assume it is still breaking, because I've never seen the results of my feedback show up in Sentry, and as far as I can tell, the event itself does not show up if I have this beforeSend() parameter. If I remove it, then I get events.

Found a debug option, and turning that on gave me this error:
Sentry Logger [Error]: `beforeSend` method has to return `null` or a valid event
which makes sense. so I changed the code to:
    beforeSend(event) {
      if (event.exception) {
        showReportDialog();
      }
      return event;
    }

Which made that error go away but didn't change the behavior, otherwise. There are no other errors showing as a result of the debug option.

Tried with the new release, 0.12.0, no change.

We have just released v3.0.0 of the SDK which includes a lot of changes and improvements since this issue was opened.
If you can still reproduce this with v3, please open a new issue and I'll look into it.


Collapse interceptors into a single chain.

Instead of having a chain of application interceptors and a separate chain
of network interceptors, this makes a single heterogeneous chain. It makes
the OkHttp core and network caller into interceptors.

lgtm!


Use PHP enums in migrations

Currently, when I have a migration, I can create an enum column by writing:
$table->enum('user_role', ['admin', 'member']);

Since PHP 8.1 supports now native enums, it would be great if I could do the following:
enum UserRole: string
{
    case Admin = 'admin';
    case Member = 'member';
}

$table->enum('user_role', UserRole::class);

This pull requests adds this functionality.

I think this is actually a bad idea. It means you can never edit the enum.

See previous attempts


Magless operation improvements

Magnetometer-less GPS fusion is now possible thanks to the INS/GNSS yaw estimation provided by the yaw EKF-GSF filter introduced in https://github.com/PX4/ecl/pull/770 (Firmware PR: https://github.com/PX4/Firmware/pull/14162).
The general functionality is there and works properly but a few points are still to be improved (https://github.com/PX4/Firmware/pull/14162#issuecomment-607149388):

[ ] Set home position even if GPS is not fused in the EKF solution (because the orientation is unknown)
[ ] Improve local position validity probation logic: we shouldn't need to wait for more than a few seconds if the EKF reports valid local position (@MaEtUgR )

The second point would require to find a good solution for https://github.com/PX4/Firmware/pull/14224

Is there anything specific or special that should be considered if wanting to test this in fixedwing?

@ryanjAA Please try it first in SITL (I never tried it for a FW). If everything goes well, I'm quite confident that this would also work properly on a real vehicle. Just be ready to do the whole flight in stabilized/altitude mode if something goes wrong.


Adding ARM to ADOPTERS file

/kind enhancement
What this PR does / why we need it:
Adding ARM to ADOPTERS file

/lgtm
/approve

ARM has approved this.

/override pull-kubevirt-e2e-k8s-1.21-sig-storage


seq scripts - too many dots in filenames breaks the script

come up with a better way to handle dots - or we could use fewer dots in filename.

This has been resolved in various commits, but the function currently resides in ififuncs https://github.com/kieranjol/IFIscripts/commit/e9a373bad80da5adec4edeac84fda3798a2a144b


transformers 4.34 broke CTransformersTokenizer(PreTrainedTokenizer)

transformers version: pip install transformers==4.34.0
ctransformersversion: pip install ctransformers==0.2.27
I encounter the following error
File ".venv\lib\site-packages\ctransformers\transformers.py", line 84, in __init__kages\ctransformers\transformers.py", line 84, in __init__
    super().__init__(**kwargs)

File ".venv\lib\site-packages\transformers\tokenization_utils.py", line 366, in __init__
    self._add_tokens(self.all_special_tokens_extended, special_tokens=True)

File ".venv\lib\site-packages\transformers\tokenization_utils.py", line 462, in _add_tokens
    current_vocab = self.get_vocab().copy()

File ".venv\lib\site-packages\transformers\tokenization_utils_base.py", line 1715, in ``get_vocab
    raise NotImplementedError()``
NotImplementedError

transformers has PreTrainedTokenizer in tokenization_utils.py code change (2da8853) where _add_tokens on line 454 current_vocab = self.get_vocab().copy().
PreTrainedTokenizer itself has added_tokens_decoder and __len__ implemented, so only get_vocab would cause NotImplementedError()

Just had this issue an hour ago. Try this
model = AutoModelForCausalLM.from_pretrained("TheBloke/Llama-2-7B-GGML", hf=True, model_type="llama", gpu_layers=110)
tokenizer = AutoTokenizer.from_pretrained('togethercomputer/LLaMA-2-7B-32K')

I you are not using ctransformers[cuda] then remove the gpu_layers=110
There could be an issue retrieving the tokenizer inside the model you selected or in ctransfomers. You can get around this by selecting tokenizer from a MATCHING model.

Issue can be created with this code from the readme
from ctransformers import AutoModelForCausalLM

llm = AutoModelForCausalLM.from_pretrained("/path/to/ggml-model.bin", model_type="gpt2")

print(llm("AI is going to"))

or in [Colab|https://colab.research.google.com/drive/1GMhYMUAv_TyZkpfvUI1NirM8-9mCXQyL].
Hope this issue is address because finding the correct tokenizer from a different source may not be possible for most model.

PR submitted and it works for me now, this is my setup.
model = AutoModelForCausalLM.from_pretrained(..., hf=True)
tokenizer = AutoTokenizer.from_pretrained(model)

transformers 4.34.0 now support Mistral, so I really want to use it. 😁

I spent all day trying to get Mistral working with ctranformers, but it is returning garbage text on my end. I believe it may be the tokenizer because tokenizer = AutoTokenizer.from_pretrained(model) will not work for any model.

Yes, they refactored PreTrainedTokenizer which cTransformers tokernizer extended from. I ran open orca Mistral it runs fine with 4.34 but all quantized failed unless I go back to 4.33, so my PR fixed that.
I will try to run quantized Mistral tomorrow to see if it works.

I just ran TheBloke/Mistral-7B-OpenOrca-GGUF, it works fine for me.

Are you able to use the model.generate(...) I have got everything to run until I start generating text, it will just run indefinitely.

ok, I quickly write this up and it works fine (you will need transformers==4.34.0 then build ctransformers from #155  and install)

import os
from ctransformers import (
    AutoModelForCausalLM as cAutoModelForCausalLM,
    AutoTokenizer as cAutoTokenizer,
)

model = cAutoModelForCausalLM.from_pretrained(
            model_path_or_repo_id="TheBloke/Mistral-7B-OpenOrca-GGUF",
            model_file="mistral-7b-openorca.Q5_K_M.gguf",
            model_type="mistral",
            hf=True,
            temperature=0.7,
            top_p=0.7,
            top_k=50,
            repetition_penalty=1.2,
            context_length=8096,
            max_new_tokens=2048,
            threads=os.cpu_count(),
            stream=True,
            gpu_layers=0
            )
tokenizer = cAutoTokenizer.from_pretrained(model)

mistral_no_mem_prompt_template = """
<|im_start|>system
The following is a friendly conversation between a human and an AI. The AI is talkative and provides lots of specific details from its context. If the AI does not know the answer to a question, it truthfully says it does not know.
<|im_end|>
{placeholder}
"""

mistral_openorca_prompt = """
<|im_start|>user
{input}<|im_end|>
<|im_start|>assistant
"""

mistral_no_mem_template = mistral_no_mem_prompt_template.replace("{placeholder}", mistral_openorca_prompt)
question = "The cafeteria had 23 apples. If they used 20 for lunch and bought 6 more, how many apples do they have?"
prompt = mistral_no_mem_template.replace("{input}", question)

input_ids = tokenizer(prompt, return_tensors="pt").input_ids.to("cpu")
generated_ids = model.generate(input_ids, max_new_tokens=2048, temperature=0.7, do_sample=True)
response = tokenizer.decode(generated_ids[0][input_ids.shape[-1]:], skip_special_tokens=True, clean_up_tokenization_space=True)
print(f"Response: {response}")

Still having issues with tokenizer = cAutoTokenizer.from_pretrained(model) but using Open-Orca/Mistral-7B-OpenOrca for the tokenizer appears to resolved it. I am not too happy about the speed though. When using lllm =cAutoModelForCausalLM.from_pretrained(...) and then llm('Tell me a story about a knight') it will generate a full story in 10~24 seconds (200~800 tokens). But when using the generate function it takes about 15 minutes to generate 200 tokens. I am using a 3070ti, for reference

So i get x15 faster token output by having no gpu layers.... I think something is wrong

yes, something is wrong, for me, gpu_layer has no effect.😅

I think my lib was a bit messy yesterday. I copy get_vocab from transformers and pushed to the PR #155 . I test with open ocra mistral code from above (type mistral) and exact same code but switch the model to vicuna 1.5 gguf (type llama) and also works.
@CHesketh76 can you rebuild and give it a try?
model = cAutoModelForCausalLM.from_pretrained(
            model_path_or_repo_id="TheBloke/vicuna-13B-v1.5-16K-GGUF",
            model_file="vicuna-13b-v1.5-16k.Q6_K.gguf",
            model_type="llama",
            hf=True,
            temperature=0.7,
            top_p=0.7,
            top_k=50,
            repetition_penalty=1.2,
            context_length=8096,
            max_new_tokens=2048,
            threads=os.cpu_count(),
            stream=True,
            gpu_layers=0
            )

@victorlee0505 how to rebuilt #155 ?

make sure to run export CT_CUBLAS=ON before python setup.py sdist otherwise it won't build the cuda support.
you might also need to setup these two in your bashrc and confirm the nvcc version matches nvidia-smi
export PATH="/usr/local/cuda/bin:$PATH"
export LD_LIBRARY_PATH="/usr/local/cuda/lib64"

Hi @victorlee0505 . I've rebuilt with PR https://github.com/marella/ctransformers/pull/155 and can confirm, the NotImplementedError is gone. Thanks!

I won't move forward with this PR, I don't think it is a good fix, but ok to use as is.
I only copy one of the def get_vocab(self): implementation from transformers related to transformers.models.llama.tokenization_llama.LlamaTokenizer.get_vocab. There are different get_vocab implementation for different type. search def get_vocab(self): in transformers you will see what i mean.
Therefore  I can not guarantee nor have time to figure out the perfect solution😥

ok, no I do not get the error on  this:
tokenizer = AutoTokenizer.from_pretrained(model)
but now on:
model_inputs = tokenizer([text], return_tensors="pt")


nb-badge did not found in nodemodule.

you mention in your documentation that you can use  NbBadgeComponent but when i try to find this component in node-modules. i feel disappointed. also when i import this module i got error. if there is no NbBadgeComponent in node-module. then why you mention that component in documentation.
if i'm doing any thing wrong please guide me. your guide will be appreciable.

Hi @mali208 this component was just added in rc.5 of Nebular (https://github.com/akveo/nebular/blob/master/CHANGELOG.md#200-rc5-2018-01-31). Try installing the latest version to be able to use it. Thanks!


Another example to README

This example illustrates that input objects can have different structure.

landed

Also, thank you for your fine addition!


UX feedback and suggestions

This is the author of FaceFusion - I tried your plugin and most of it worked perfect. Thanks for your work!
poc.webm
We consider using it in the future, here are some suggestions

It took me a while to figure out that the pencil stands for editing a bbox
We don't want modals in our app, it would be nice to disable certain buttons and have a inline mode
Allow the user to draw new bboxes directly to the canvas
The image container needs a fixes height - it does flicker on rerender
Consider using requestAnimationFrame() to improve render performance

Hi @henryruhs, thank you for your feedback, I’m glad to hear that it worked for you!
I think all of your suggestions are on point, and I will try to implement them in future releases.
I also agree that being able to draw and edit boxes directly on the canvas will create a more fluid interaction, but this will require more time to implement. I could first add an option to disable the modal menu if that would help.

@edgarGracia Let me know how we can help, our project has a huge community and this plugin would indeed make a difference.
Feel free to add me on LinkedIn.

Your feedback is actually very helpful to make this component better, but if any of you also want to contribute to this project, please feel free to submit PRs. I will be happy to review and accept them.

Hi @henryruhs, I just released a new version with a new parameter disable_edit_boxes which disables the modal menu. Please let me know if this helps for now.
In the coming days I will be working on a way to draw new boxes directly on the canvas.

Thanks you very much, I keep you updated once we tried it.

Hi again @henryruhs, I just wanted to inform you that with the new version it is now possible to draw boxes directly on the canvas. If you have any feedback, I'd be happy to hear it.

Could you provide a hugginface demo?


Add plug-in test case for gp-maven-plugin

gp-maven-plugin currently does not have any mojo test case. Add one.

Already done. See it


Dynamic URIs should not serve deeper URIs without a _common page

With a _common page, tracked in issue #317, dynamic URIs are allowed to be nested forever, so the _common Page Logic can deal with dispatching a 404 where necessary.
Without a _common, when just using @dynamic syntax, the deepest the URI should go is as deep as the directory containing the @dynamic page.

To clarify, this is a bug and nothing due to "missing" functionality of a _common. The _common view issue has been closed, because it doesn't make sense alongside the dynamic @ syntax.
This bug can be described simply as this: it is impossible to navigate to a directory lower than a dynamic view. For example: View file at<EMAIL_ADDRESS>served at /shop/this-is-dynamic prevents any deeper views from being routed, such as /page/shop/<EMAIL_ADDRESS>

Starting point of the buggy logic: https://github.com/PhpGt/WebEngine/blob/011ee2d4bdcc37c0644e98b39a9fe64eb32e55f7/src/Dispatch/Dispatcher.php#L104

Moving to Router repo.

Closed in Router tests.


FEATURE/AllowAdminToSeeAuditorPages

Issue #, if available:
N/A
Description of changes:
Small change to improve admin functionality.  This will allow Admins to see Auditor pages (which they already have permissions to access via graphql.  Purely a frontend change.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@vinnymachacek  the solution was designed intentionally to enforce separation of duty.  Admins by authorisation policy should not be able to see request history even via graphQL ( except request raised/approved by the admin)


Transition support from cacheurl to cachekey ATS plugin

From the ATS users list:
Hello ATS users,
We are removing cacheurl plugin in 7.0.0 release.
As it was already mentioned in its documentation in 6.2.0 release:
https://docs.trafficserver.apache.org/en/6.2.x/admin-guide/plugins/cacheurl.en.html
this plugin was deprecated as of v6.2.0 and now we are removing it as of v7.0.0.
It is replaced by a new Cache Key Manipulation Plugin:
https://docs.trafficserver.apache.org/en/latest/admin-guide/plugins/cachekey.en.html
If you have not already replaced it please find some examples below:
https://docs.trafficserver.apache.org/en/6.2.x/admin-guide/plugins/cacheurl.en.html#converting-to-admin-plugins-cachekey
https://docs.trafficserver.apache.org/en/latest/admin-guide/plugins/cachekey.en.html
Please let me know if any problems or concerns!
Thank you,
—Gancho

This is on my to-do list.


fix Option/Validated tests that pass in a assertion

while experimenting with the matchers i noticed that the tests for Option and Validated pass in a predicate instead of an assertion to shouldBeSome and shouldBeValid/shouldBeInvalid. The result of the predicate won't have any effect. I have changed the tests and also added a negative test that exposes the issue.

Nice thank you.


Ability to remove parents with a specific weight from a user

Description
Hey, it would be great if you could remove parents with a specific weight from a user, so that this parent could be replaced with another one with the same weight without causing problems...
An example is that my Players have the Ability to select a "Title" that they want to display in the TAB List in front of the Rank. The thing is that the currently equipped Title needs to be removed before a new one can be added (Or it causes problems for displaying it).
Currently, I have to execute /lp user %player_name% parent clear, then check which rank they have to re-add their Rank and then add the new Title...which is very messy and unnecessary...as this needs to be done for every Rank/Titles combination...(Using DeluxeMenus)
So if I could for example remove the parent with the weight 1 (Which all the "Titles" have), I could just precisely remove the old Title and equip the new one without clearing and re-adding the Rank.
Proposed Behaviour
This could maybe be implemented with a new subcommand like these:
/lp user %player_name% parent removeweight "weight"
or
/lp user %player_name% parent weight remove "weight"
or something in this style...
Extra Details
No response

Bump.

Hey @lucko :)
Sorry to ping you, but I was wondering if you maybe missed my issue, as it is now almost as month old without any interaction...
I was wondering if you could check it out and tell me what you think of it...as I could really use that feature :)
~Cheers

I have a workaround for that:
Why don't you add all your title type groups into one track, let's say "titles" and everything else into another track, let's say "playerranks". Now with that in place, you can use /lp user %player_name% parent settrack <track> <group>
'Settrack' works just like 'parent set' but does not impact other tracks than the one you specify, hence not removing the groups which root from your "playerranks" track, replacing the 'old' with  new.
Meta stacking would have to be adjusted accordingly of course to display both track-based prefixes.
What'cha think?

There is a command to clear and set a parent in once: /lp user %player_name% parent set <new group>.

There is a command to clear and set a parent in once: /lp user %player_name% parent set <new group>.

The issue isn't the setting the parent command, the issue is removing a prefix without touching their group and setting a new one for the player without knowing which one the player has at the time, so even unsetting the custom prefix isn't an option unless you want to fire the unset command for every single prefix potentially possible before adding the new one. Currently, he clears the user first, adds their group back and then applies the new custom prefix (title) to the user.

@ZeromaniacMc
I checked DeluxeTags and AlonsoTags out, but Deluxe is not quite what i need and Alonso seems to have what I need, but some of the features are paid :/
So I'm going to try that "track" thing as that sounds really promising!
Thank you very much for these tips :)

The issue isn't the setting the parent command, the issue is removing a prefix without touching their group and setting a new one for the player without knowing which one the player has at the time (...). Currently, he clears the user first, adds their group back and then applies the new custom prefix (title) to the user as far as I understood that correctly ofc.

Exactly that!
I'm sorry it's a bit confusing, I had some trouble explaining what I wanted to do :)
I'm going to close this as I think I found a fix for my issue, if I can't fix it with this, then I'm going to re-open the issue.
Thanks again :)

If it's only the prefix you want to change, why don't you look for a plugin to change the prefix of players?
I hope it's oke if I tell you the name of the plugin I'm using myself to change players prefix; PrefiX - Custom Tag Manager. You can find it on spigot.


Fixed rendering of SVG using SvgQRCode

Hi @kassovic-f ,
can you explain your changes? I tried to compare the result of your code and mine code.
For "drawQuietZones=true" the result is the same. For "drawQuietZones=false" I see a difference.
Unfortunately your result can't be rendered. I tested the SVG results with:
http://www.freecodeformat.com/svg-editor.php
There your version/code doesn't render.
So I would be happy if you could tell me, what you've changed and why you did this. Because right now, I can't see the benefit.

Original code problems:

Original rendering issues:
drawQuietZones = true:

drawQuietZones = false:

hope this helps.
Yep, u r right, I've just added CultureInfo.InvariantCulture. Sorry for that.

Thanks for your valuable input! There were really some errors. When I implemented it, I used integers, because when using fractions/decimals The QR codes were rendered with tiny whitespaces between the blocks. But today I learned, that this can be avoided by adding shape-rendering="crispEdges" to deactivate antialiasing, which was the source for the whitespaces...
Since I wanted to keep the original parameter names, I decided to implement your input/tips myself instead of merging. See here: https://github.com/codebude/QRCoder/blob/master/QRCoder/SvgQRCode.cs
Hope you're not said about this, but the parameter names are 1) consistent for all QrCode rendering types, so that I like to keep it simple and 2) partly official names. (QuietZone is a term from the QR code ISO norm. Yes, border seems to be more precise, but the official name is "quiet zone".)

Hi, no problem. I didn't know about this ISO terminology. Original request for the change of quiet zones switch also called it "border", so I thought that it is better as the change has no breaking change issues. :-)
One note: instead of
input.ToString().Replace(",", ".");
u should use input.ToString(System.Globalization.CultureInfo.InvariantCulture) as I mentioned before. There could potentially be other separators than "," or "."...

Another good input from your side. Thanks. https://github.com/codebude/QRCoder/commit/544c3a1f2878d0f7f0728915740b38badd089f44


tmux: enable parallel building

Motivation for this change
I have built this a lot of times on a heavily loaded machine with 8 cores. I don't think the build has concurrency issues.
My actual personal motivation for this was that I rebuild tmux with LTO (not in this in PR).
Things done

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

[x] NixOS
[ ] macOS
[ ] other Linux distributions

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

cc maintainers @fpletz @tobias-hammerschmidt

Result of nixpkgs-review pr 117958 at 6d4741ef run on x86_64-linux 1

5 packages built successfully:

byobu
germinal
overmind
tmux
tmux-cssh

1 suggestion:

warning: build-tools-in-build-inputs
makeWrapper is a build tool so it likely goes to nativeBuildInputs, not buildInputs.
Near pkgs/tools/misc/tmux/default.nix:41:3:
   |
41 |   buildInputs = [
   |   ^


TypeError: this._meter.createSumObserver is not a function @opentelemetry/host-metrics 0.26.0

What version of OpenTelemetry are you using?
@opentelemetry/api": "^1.0.3",
@opentelemetry/api-metrics": "^0.27.0",
@opentelemetry/core": "^1.0.1",
@opentelemetry/exporter-jaeger": "^1.0.1",
@opentelemetry/exporter-prometheus": "^0.27.0",
@opentelemetry/host-metrics": "^0.26.0",
@opentelemetry/instrumentation-express": "^0.27.0",
@opentelemetry/instrumentation-graphql": "^0.27.0",
@opentelemetry/instrumentation-http": "^0.27.0",
@opentelemetry/sdk-metrics-base": "^0.27.0",
@opentelemetry/sdk-trace-base": "^1.0.1",
@opentelemetry/sdk-trace-node": "^1.0.1",

What version of Node are you using?
v16.13.0
What did you do?

import { PrometheusExporter } from '@opentelemetry/exporter-prometheus';
import { MeterProvider } from '@opentelemetry/sdk-metrics-base';
import { HostMetrics } from '@opentelemetry/host-metrics';

const exporter = new PrometheusExporter({ appendTimestamp: true }, () => {
  console.log('prometheus scrape endpoint: http://localhost:9464/metrics');
});

const meterProvider = new MeterProvider({
  exporter,
  interval: 2000,
});

const metrics = new HostMetrics({ meterProvider, name: 'example-host-metrics' });
metrics.start();

What did you expect to see?
CPU, Memory, and Network metrics should be exported to Prometheus.
What did you see instead?
node_modules/@opentelemetry/host-metrics/build/src/metric.js:132:
-> this._cpuTimeObserver = this._meter.createSumObserver(enums.METRIC_NAMES.CPU_TIME, { description: 'Cpu time in seconds', unit: 's' });

TypeError: this._meter.createSumObserver is not a function
    at HostMetrics._createMetrics (/node_modules/@opentelemetry/host-metrics/build/src/metric.js:132:45)
    at /node_modules/@opentelemetry/host-metrics/build/src/metric.js:173:18

I guess the error is happening here:

Additional context

The project uses<EMAIL_ADDRESS>and<EMAIL_ADDRESS>

The version of @opentelemetry/host-metrics is not aligned with @opentelemetry/sdk-metrics-base and @opentelemetry/api-metrics. As the api-metrics is under work to reach the stable status, there might be breaking changes introduced on semver major bumps.
Either way, I'd believe we should update @opentelemetry/host-metrics to works with v0.27.0 as we already released @opentelemetry/api-metrics v0.27.0.

@legendecas thank you very much for the help

Metrics SDK and API are still win works. Tune in here: https://github.com/open-telemetry/opentelemetry-js/projects/16


Error when running script with my cookies

Good afternoon everyone, I encountered the following problem: when I try to run a script with my cookies, which I made myself, I get this error:
tiktok_uploader.auth.InsufficientAuth:
Insufficient authentication:
> TikTok uses cookies to keep track of the user's authentication or session.

Either:
    - Use a cookies file passed as the `cookies` argument
        - easily obtained using https://github.com/kairi003/Get-cookies.txt-LOCALLY
    - Use a cookies list passed as the `cookies_list` argument
        - can be obtained from your browser's developer tools under storage -> cookies
        - only the `sessionid` cookie is required

Please help me solve my problem

I solved the problem by removing the \t argument from the split() function of the get_cookies() method in the AuthBackend class

@TheOverflowProgrammer This script uses the Netscape cookie format for its cookies. Consider using cookies.txt to get your cookies file if any issue persists.
How to use the extension:

Add the extension to your browser
Go to tikrok.com and log in
Click the extension
Click export as
Choose a location to save the cookie file

You can then pass your cookie file in this uploader
If your issue is resolved, please close the issue


Easy onboarding for app developers, they shouldn't to build the backend

Send them:

API_BASE_URL: https://based-hardware-development--backend-api.modal.run/
Android Debug Jks, create one and add to firebase dev https://stackoverflow.com/questions/51845559/generate-sha-1-for-flutter-react-native-android-native-app/56091158#56091158
Firebase Service Account Key firebase_dev_key.json
GoogleService-Info.plist

That's all!
Don't forget finish prerequisites https://docs.omi.me/get_started/Setup
Command lines might help:
$ dart pub global activate flutterfire_cli

$ flutterfire config --platforms="android,ios" --out=lib/firebase_options_dev.dart --ios-bundle-id=com.friend-app-with-wearable.ios12.development --android-app-id=com.friend.ios.dev --android-out=android/app/src/dev/  --ios-out=ios/Config/Dev/ --ios-target="Runner" --yes --service-account="firebase_dev_key.json" --project="based-hardware-dev"

# to bypass the compile error, product only
$ flutterfire config --platforms="android,ios" --out=lib/firebase_options_prod.dart --ios-bundle-id=com.friend-app-with-wearable.ios12 --android-app-id=com.friend.ios.dev --android-out=android/app/src/prod/  --ios-out=ios/Config/Prod/ --ios-target="Runner" --yes --service-account="firebase_dev_key.json"  --project="based-hardware-dev"

hi @adamcohenhillel feel free to ask me anything.

I think most people want to run the backend and point the app to it instead, but your call guys.

I agree with @josancamon19, app devs don't want to run their own backend for app specific changes and backend devs don't want to build their own app fir backend specific changes

the story is, Adam called me and asked if he could help with the app developer onboarding. that's why we have this ticket, target on the app dev.
what about the backend dev? for sure bruh. we have to make their onboarding easier too. but, who want to join the ticket for backend dev ? lmk then i will take some note.
as for users? no plan for now.

And you guys sure that the developers we need are the mobile devs? not the back ones / integrations?

what about the backend dev? for sure bruh. we have to make their onboarding easier too. but, who want to join the ticket for backend dev ? lmk then i will take some note.
burhhh...

hi @adamcohenhillel any question sir ?

Yo @beastoin , sorry haven't seen your comments here.
@josancamon19  - The focus on app devs is mainly to push forward the app store inside of Omi - and not for onboarding devs to help improve Omi itself - that is something separate.
@beastoin - I understand all these steps, I did them myself, but imo this is too complicated for a 3rd party person who don't know us to follow. Like - they literally need us to add their key sha to firebase
ANy ideas how can we simply this?

Can you show me a repo that's easy to onboard?
| @josancamon19 - The focus on app devs is mainly to push forward the app store inside of Omi
Then you need to be able to change the back url from the app, or let the use e.g. development, which I think we already are

cc https://github.com/orgs/BasedHardware/projects/1/views/1?pane=issue&itemId=85289036&issue=BasedHardware|omi|1212

they literally need us to add their key sha to firebase
@adamcohenhillel we do this step, just send them jks file. just updated the description to clarify. for short: we give them the api path + 3 files, that's all.

@beastoin no one will manually send anything to the devs
only if this will be publicly accessible than it might work

publicly accessible

ofc man

Sure Nik feel free to remove me - all up to you.
The solution I came up with to make it a bit simpler is to create a dev public keystore, place it in the repo, and add its sha256 ans sha1 to the repo
that way we are not blocking devs to jump on the repo

Feel free to let someone else implement this.
Either way - it needs to come with a FULL youtube video of 5 mins on how to setup local frontend app and develop your first app with Omi
A few more words in docs wont do

In the long run, we should move authentication to the backend so that there's no dependency on Firebase in the app (except for notifications). This would also make things easy for backend devs as well (they can just simply set their backend URL in the prod app)

@mdmohsin7 you'd still need furebase auth in that case^

@mdmohsin7 you'd still need furebase auth in that case^

For the app?

@mdmohsin7 do you want to join this task ? if yes, pls finish in-progress tickets then move to this task. if no, i will find someone else but next week.

My Proposal:
For short-term:

Create a new branch dev, in that branch include the dev firebase files alongside a dummy debug jks
All the changes and commits/PRs will happen on the dev branch, and during release those changes will be merged in the main branch
Users won't have to do any setup to get the app running without backend (they'll only have to add the endpoint url in env)
Does exposing the json file and jks harms us? The firebase project will be on free plan, so shouldn't be a big issue and the jks will be a dummy one which is solely created for this purpose

For long-term:

Move the complete auth logic to backend (google and apple will give us the token on the front, we send it to backend and authenticate the user with Firebase and once done we create a custom jwt token)
We will store the jwt token on the front and with every API call, user will send this. If it is expired, we will refresh it
This way the only dependency on Firebase on the frontend will be for notifications


Add files via upload

cis.edu.eg     // website is down now
New Cairo Academy in egypt

@Gravy9588 Regrettably, I cannot add a domain to this trusted list if the official website of the domain is down. The information that you provide about the university must be verifiable independently.
Please apply for free educational license with an official document which proves that you are a student. You can do it using "OFFICIAL DOCUMENT" tab at https://www.jetbrains.com/shop/eform/students.
I have to close the request without merging.
Thank you for the understanding!


Remote Configuration Follow Up

Reviewer: @jonathanKingston @kdzwinel

Description:

Follow up changes based on comments in #723
Steps to test this PR:

Go through all the tests in http://privacy-test-pages.glitch.me/privacy-protections/index.html
All tests should appear the same as develop branch

Automated tests:

[x] Unit tests
[x] Integration tests

Reviewer Checklist:

[ ] Ensure the PR solves the problem
[ ] Review every line of code
[ ] Ensure the PR does no harm by testing the changes thoroughly
[ ] Get help if you're uncomfortable with any of the above!
[ ] Determine if there are any quick wins that improve the implementation

PR Author Checklist:

[ ] Get advice or leverage existing code
[ ] Agree on technical approach with reviewer (if the changes are nuanced)
[ ] Ensure that there is a testing strategy (and documented non-automated tests)
[ ] Ensure there is a documented monitoring strategy (if necessary)
[ ] Consider systems implications

Old versions stored with their etag? I'm not sure of the purpose and I don't see us doing that with other lists.
Not sure why we didn't with the old file but a fallback will be good for race conditions on launch and other network issues so that we're not throwing errors.
I know we're tracking this in another task but I don't know where its supposed to be fixed. Will sync with @jonathanKingston
I'll look in to this one.
Disabling contentBlocking will appear the same as a temp unprotected site.

Can we drop unit-test/data/protections.json as this has been since removed. Do we need an equiv?


API failure multiple times

Hello Romel,
API failure multiple time with response code 503
response:
{
"statusCode": 503,
"body": "\n\t\n\t  \n\t\t<meta name="viewport" content="width=device-width, initial-scale=1">\n\t\t<meta charset="utf-8">\n\t\tApplication Error\n\t\t<style media="screen">\n\t\t  html,body,iframe {\n\t\t\tmargin: 0;\n\t\t\tpadding: 0;\n\t\t  }\n\t\t  html,body {\n\t\t\theight: 100%;\n\t\t\toverflow: hidden;\n\t\t  }\n\t\t  iframe {\n\t\t\twidth: 100%;\n\t\t\theight: 100%;\n\t\t\tborder: 0;\n\t\t  }\n\t\t\n\t  \n\t  \n\t\t<iframe src="//www.herokucdn.com/error-pages/application-error.html">\n\t  \n\t",
"headers": {
"connection": "close",
"server": "Cowboy",
"date": "Wed, 02 May 2018 09:18:23 GMT",
"content-length": "506",
"content-type": "text/html; charset=utf-8",
"cache-control": "no-cache, no-store"
},
"request": {
"uri": {
"protocol": "https:",
"slashes": true,
"auth": null,
"host": "www.alphavantage.co",
"port": 443,
"hostname": "www.alphavantage.co",
"hash": null,
"search": "?function=TIME_SERIES_INTRADAY&symbol=AWK&interval=1min&outputsize=full&apikey=XXXXXXXXXXXXXX",
"query": "function=TIME_SERIES_INTRADAY&symbol=AWK&interval=1min&outputsize=full&apikey=XXXXXXXXXXXXXX",
"pathname": "/query",
"path": "/query?function=TIME_SERIES_INTRADAY&symbol=AWK&interval=1min&outputsize=full&apikey=XXXXXXXXXXXXXX",
"href": "https://www.alphavantage.co/query?function=TIME_SERIES_INTRADAY&symbol=AWK&interval=1min&outputsize=full&apikey=XXXXXXXXXXXXXX"
},
"method": "GET",
"headers": {}
}
}
Also sometimes it's returning response status 200 but response data like below
{
"statusCode": 200,
"body": "{\n    "Error Message": "Invalid API call. Please retry or visit the documentation (https://www.alphavantage.co/documentation/) for TIME_SERIES_INTRADAY."\n}",
"headers": {
"connection": "close",
"server": "gunicorn/19.7.0",
"date": "Wed, 02 May 2018 09:21:23 GMT",
"transfer-encoding": "chunked",
"allow": "GET, HEAD, OPTIONS",
"content-type": "application/json",
"x-frame-options": "SAMEORIGIN",
"vary": "Cookie",
"via": "1.1 vegur"
},
"request": {
"uri": {
"protocol": "https:",
"slashes": true,
"auth": null,
"host": "www.alphavantage.co",
"port": 443,
"hostname": "www.alphavantage.co",
"hash": null,
"search": "?function=TIME_SERIES_INTRADAY&symbol=AWK&interval=1min&outputsize=full&apikey=XXXXXXXXXXXXXXXXXX",
"query": "function=TIME_SERIES_INTRADAY&symbol=AWK&interval=1min&outputsize=full&apikey=XXXXXXXXXXXXXXXXXX",
"pathname": "/query",
"path": "/query?function=TIME_SERIES_INTRADAY&symbol=AWK&interval=1min&outputsize=full&apikey=XXXXXXXXXXXXXXXXXX",
"href": "https://www.alphavantage.co/query?function=TIME_SERIES_INTRADAY&symbol=AWK&interval=1min&outputsize=full&apikey=XXXXXXXXXXXXXXXXXX"
},
"method": "GET",
"headers": {}
}
}

Hi Guys - Status 503 is an internal server error, often brought about when a server is overloaded, and that's its way of telling you it can't handle your request right now. This is the most likely case, especially if the API works just fine for you in other places. If this is the problem, putting a time.sleep() in ther might help. Here's how I'd try:
MAX_RETRY_PER_SYMBOL = 3
for symbol in list_of_symbols:

    # Gets M1 data for around 14 days
    try:
        m1_data = ava_api.get_data(
            endpoint='TIME_SERIES_INTRADAY&symbol=' + symbol + '&interval=1min&outputsize=full&apikey=' + ava_api.get_api_key())
    except:
        for retry_cnt in list(range(MAX_RETRY_PER_SYMBOL)):
            try:
                m1_data.get_data(endpoint='TIME_SERIES_INTRADAY&symbol=' + symbol + '&interval=1min&outputsize=full&apikey=' + ava_api.get_api_key())
                break
            except:
                print("Failed to get M1 data (%s) on try # %s" % symbol, retry_cnt)
                continue
        continue

    if m1_data is None:
        continue

    if 'Time Series (1min)' not in m1_data:
        print("No m1 data in time series from AvaAPI for (%s). Continue with next symbol." % symbol)
        continue

Another possibility is that one of alphavantage's web-servers is under maintenance, and they just forgot to tell the load-balancer.


:sparkles: feat(note): add respellByBaseNoteDistance method

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

4 of 4 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
812

Relevant Lines:
812

💛  - Coveralls


Breadcrumbs don't work on dynamic routes

e.g. the user profiles, dynamic backend pages, etc.

@arekkas I worked out a solution different to what we discussed: If we add a fixed label to those dynamic pages, the breadcrumbs work the same as in other pages. For example, the breadcrumbs for /navigation/container/get/2 are

Backend < Navigation < Manage navigation

where only the last element is not linked. This makes it really easy to include other dynamic pages, because we only have to add the dynamic pages to src/config/instance/xyz.php with a appropriate label. Before I do this for the existing dynamic pages, do you see any problems in this approach? See #92

Works, but all routes need to be updated then


pkg builds in nix-shell, but not in nix-env

Describe the bug
When I do "nix-shell $NIXPKGS -A surge" followed by "genericBuild", my pkg starts building. When I do "nix-env -f $NIXPKGS -iA surge" I get an error. What could cause that difference?
To Reproduce
cd $NIXPKGS
mkdir -p pkgs/applications/audio/surge/
echo '
{ stdenv, fetchgit, premake5, pkgconfig, cairo, libxkbcommon, libxcb, xcb-util-cursor, xcbutilkeysyms }:

stdenv.mkDerivation rec {
  pname = "surge";
  version = "1.6.6";

  src = fetchgit {
    url = "https://github.com/surge-synthesizer/surge";
    rev = "release_${version}";
    sha256 = "16mkapds0vbl83z6ch044gm0kbdvfqg9brbj3bd4a6yifl8kch7g";
    deepClone = true;
    };

  nativeBuildInputs = [ premake5 pkgconfig  ];

  buildInputs = [  cairo libxkbcommon libxcb xcb-util-cursor xcbutilkeysyms ];

  phases = [  "buildPhase" "installPhase" ];

  buildPhase = ''.
      cd surge
      patchShebangs build-linux.sh
      ./build-linux.sh build
    '';

  installPhase = ''
    mkdir -p $out/bin
    cp target/headless/Release/Surge/Surge-Headless $out/bin/
    mkdir -p $out/lib/lv2
    cp -r target/lv2/Release/Surge.lv2/ $out/lib/lv2
    mkdir -p $out/lib/vst
    cp target/vst3/Release/Surge.so $out/lib/vst
  '';

  meta = with stdenv.lib; {
    description = "Synthesizer plug-in (previously released as Vember Audio Surge)";
    homepage = https://surge-synthesizer.github.io;
    license = licenses.gpl3;
    platforms = platforms.linux;
    maintainers = with maintainers; [ magnetophon ];
  };

}
`  > pkgs/applications/audio/surge/default.nix
vim pkgs/top-level/all-packages.nix

insert   surge = callPackage ../applications/audio/surge { }; before sunvox
nix-env -f $NIXPKGS -iA surge

Expected behavior
I expect the pkg to install.
Metadata

system: "x86_64-linux"
host os: Linux 4.19.107, NixOS, 20.09.git.3dd8cd60488 (Nightingale)
multi-user?: yes
sandbox: no
version: nix-env (Nix) 2.3.3
channels(bart): ""
channels(root): "nixos-20.09pre215947.82b54d49066"
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

What error are you seeing?

installing 'surge-1.6.6'
these derivations will be built:
  /nix/store/21zd9z4fiinm2s6h6z0k3a5ywpq24ziy-surge-1.6.6.drv
building '/nix/store/21zd9z4fiinm2s6h6z0k3a5ywpq24ziy-surge-1.6.6.drv'...
building
/nix/store/mlvv07nd2c7kaqd5mcqf5iv2j55mjx23-stdenv-linux/setup: line 1299: .: filename argument required
.: usage: . filename [arguments]
builder for '/nix/store/21zd9z4fiinm2s6h6z0k3a5ywpq24ziy-surge-1.6.6.drv' failed with exit code 2
error: build of '/nix/store/21zd9z4fiinm2s6h6z0k3a5ywpq24ziy-surge-1.6.6.drv' failed

You have an extra . on the first line of buildPhase.

@jtojnar Good catch, thanks!
Odd that it does build in nix-shell.

Shell does not set -o errexit, while the builder does.

@jtojnar Right, all clear.
Thank you!


Questions, Comments, Feedback

Hello Oliver,
Now that I am able to get into InvenTree and start using the program, here come the the questions, comments, and feedback.
• I see that you use the term "BOM", meaning Bill-of-Material, as many people do, and I wonder what your reference is? ANSI/ASME Y14.34 Associated Lists has:

And this note:

I prefer and use the term "parts list" (PL) myself but can get along with the term "BOM".
• In the BOM "Reference" column, can this be sorted to be in alpha-numeric order?
• There are two varieties of parts lists (PLs)/BOMs.

Is the engineering or design type that has one line for each instance of a part. This comes in handy when trouble shooting an assembly as it is easy to find the component in ref des alpha numeric order. For design purposes you can easily see the last ref des used if you need to add another component and you can see which ref des is not used.
Is the manufacturing/purchasing (procurement) style where each line could have multiple instances of a component and thus a total number of that component that is needed. However, it is difficult to pick out a particular ref des when there are many items.
When handling PLs/BOMs a program should be able to readily go back and forth between these two styles, especially these days with modern computer technology.

• You can view my series of articles about reference designations at https://techexplorations.com/reference-designations-for-electrical-and-electronics-parts-and-equipment/. This website is out of Sydney, Australia.
--Larry

Oliver, I see by doodling around that the BOM function does have a sorting function for the Reference column and will do a sort on part numbers, except it doesn't sort correctly for my part numbers. In the Parts section the sort on part numbers does not sort correctly either.
--Larry

Hey @LarryJoy, thanks for your feedback. The term BoM is very commonly used and I'm able to sort parts in a BoM by any field shown in the table.
If you have any other comment/feedback, do you mind closing this issue and opening a new one with more focus on the actual problem or improvement you are proposing? Thanks 😃

Yes, I too am able to sort correctly on any column/field in a BoM, just have to click on the heading more than once.
--Larry