Getting the Note Length?

ex:
foreach(var midiEvent in track.MidiEvents)
    {
        if(midiEvent.MidiEventType == MidiEventType.NoteOn)
        {
            var channel = midiEvent.Channel;
            var note = midiEvent.Note;
            var velocity = midiEvent.Velocity;
            var noteLength = midiEvent.Length //--I want a feature like this, indicate the length of the note (noteOff time - noteOn time)
        }
    }

Yes, please! Note length is very important in midi music. And this is the most convenient C# midi parser on the internet afaik. Please make this happen!

I have implemented this in a derivative work by splitting midiEvents into MidiOnEvents and MidiOffEvents then calculating the difference in the NoteOn and NoteOff time markers
This is a very nice  and robust parser, by the way. I am trying to extract my changes so they can be fully isolated from this example.


fix: PMD warnings with new version

Was getting an unused local variable error due to "__" not being a named variable within try blocks. Warnings have been suppressed.
https://stackoverflow.com/questions/16588843/why-does-try-with-resource-require-a-local-variable
#910

@DBlanchard88 the CI failure is related to codecov rate limits and not your problem. I think your changes are valid. I will re-run in a bit.


Ansible docker connection type fails to run any task

After some research with Ansible there seems to be a problem with the kernel in the dlite vm.
I can build and start containers with ansible, but I can't use the docker connection type to perform the equivalent of "docker exec"

if you can tell me what kernel features are required, i'm happy to fix it.

https://github.com/ansible/ansible/issues/13876
it looks like some sort of interaction with ssh

this is the thread on similar kernel issues
https://github.com/ansible/ansible/issues/13876

I can give you a sample playbook if that would help.

http://pastebin.com/z926PW0X
use:
ansible-playbook bin/playbooks/main.yml -vvvv

the error message is:
TASK [Run docker image] ********************************************************
fatal: [localhost]: FAILED! => {"changed": false, "error": "ConnectionError(MaxRetryError("HTTPConnectionPool(host='<IP_ADDRESS>', port=2376): Max retries exceeded with url: /v1.21/images/create?tag=7&fromImage=centos (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x10cd2b450>: Failed to establish a new connection: [Errno 61] Connection refused',))",),)", "failed": true, "msg": "Failed to pull the specified image: centos:7"}

EXEC ['/usr/local/bin/docker', 'exec', '-i', u'test_dlite', '/bin/sh', '-c', '/bin/sh -c '( umask 22 && mkdir -p "echo $HOME/.ansible/tmp/ansible-tmp-1460407965.83-161144435727650" && echo "echo $HOME/.ansible/tmp/ansible-tmp-1460407965.83-161144435727650" )'']
this is the call ansible is trying to make.  docker exec -i test_dlite /bin/sh -c mkdir -p && echo and for some reason it isn't getting the echo back.
but when I run this from the cli myself I do get the echo back.  So I'm not sure what it is listening for.  I did verify the playbook works with docker-toolbox on OSx and on linux natively.  So it's certainly something with dlite

this has all been reworked, feel free to open a new issue if you're still using dlite and have problems with the newest beta https://github.com/nlf/dlite/releases/tag/2.0.0-beta7


Make a multistate example

The current nup84, mediator and exosome IHM data examples are not multistate, so the multistate features of the format have not been tested.
Ben and Brinda and I discussed making multistate example.  Ben said the exosome project was 2 states but done as 2 separate imp jobs for the two states so it is not an ideal example.  Another multistate system Ben mentioned was published years ago and does not use current IMP protocols which would make it hard to put into IHM format.  So we didn't come up with any candidate example systems.

PMI as of salilab/pmi@8ec5930 should have basic support for multi-state modeling. I've generated a preliminary version of the exosome example including the two states that were originally modeled, available at ftp://salilab.org/ben/exosome/multi_state/exosome.cif. Please check it out when you have time and let me know if a) it conforms to the dictionary and b) it makes sense conceptually to you. I think it should be complete (with the exception of full details for the Ski7 comparative model, see integrativemodeling/exosome#4).
Note that the two states, since they share a common exo10 core, use the same set of asym_ids for exo10 in each state (only the asym_ids for the components that differ in the two states are unique). Each state is a separate subassembly. The crosslinking data was collected for both states simultaneously and so should not contain any duplicates.
I expect the file will need a bit of tweaking. When it looks good to everyone, I'll update the exosome example in the repository.


Added packh instruction

Please resolve merge conflicts

You've created a new submodule (mipt-mips). Could you please remove it in order to launch CI pipelines?
git rm mipt-mips
git commit -a -m "Delete redundant submodule"

Also, could you please answer this question: have you build and run tests locally?

Closing since there is no response from the author.

Gentle reminder about deadline...


[Windows] upgrade php version to 8.1

Description
Update PHP to 8.1 on Windows

Related issue: #4678
Check list

[X] Related issue / work item is attached
[ ] Tests are written (if applicable)
[ ] Documentation is updated (if applicable)
[ ] Changes are tested and related VM images are successfully generated

/azp run windows2016, windows2019, windows2022


added axios utility

What is the change?
axios utility function
Is it bug?
no
*Dev Tested?

[ ] Yes
[ ] No

*Tested on:
Platforms

[ ] Web

Browsers

[ ] Chrome
[ ] Safari
[ ] Firefox

Before / After Change Screenshots

For visual or interaction changes. Can be video / screenshot.

Is it being referred from certain document?

Is it being referred from certain document?

not document but repo like status , backend already have this created. So I referred from that

I remember this utility tool from status site, it was built by Nikhil and We were building it together
Are there rest cases added for that?


components does not work

root route:
const routes = {
    path: '/',
    component: App,
    components: {
        Navi: require('./components/navigation').default
    },

in App:
        const { Navi } = this.props
        console.log('navi', Navi)

Gives undefined.

Named components inject props into their parents. You don't specify both on the same route.

Thanks @taion
That's so confusing, do you have more documentation about it?


Compile Failed

Dirb and packet-sniffer failed to compile.

Issue #1 Fixed Re wrote sniffer in python and recoded build in order to compile dirb correctly


Error on warmup JAIS model

System Info
I have AWS instance: g5.12xlarge
Information

[X] Docker
[ ] The CLI directly

Tasks

[ ] An officially supported command
[ ] My own modifications

Reproduction
sudo docker run --gpus all --shm-size 64g -p 8080:80 -v $volume:/data  ghcr.io/huggingface/text-generation-inference:1.4 --model-id brainiac-origin/jais-chat-30b-8bit --trust-remote-code --quantize bitsandbytes

Expected behavior
2024-03-25T13:21:54.376266Z  INFO text_generation_launcher: Args { model_id: "brainiac-origin/jais-chat-30b-8bit", revision: None, validation_workers: 2, sharded: None, num_shard: None, quantize: Some(Bitsandbytes), speculate: None, dtype: None, trust_remote_code: true, max_concurrent_requests: 128, max_best_of: 2, max_stop_sequences: 4, max_top_n_tokens: 5, max_input_length: 1024, max_total_tokens: 2048, waiting_served_ratio: 1.2, max_batch_prefill_tokens: 4096, max_batch_total_tokens: None, max_waiting_tokens: 20, max_batch_size: None, enable_cuda_graphs: false, hostname: "6af26331ef70", port: 80, shard_uds_path: "/tmp/text-generation-server", master_addr: "localhost", master_port: 29500, huggingface_hub_cache: Some("/data"), weights_cache_override: None, disable_custom_kernels: false, cuda_memory_fraction: 1.0, rope_scaling: None, rope_factor: None, json_output: false, otlp_endpoint: None, cors_allow_origin: [], watermark_gamma: None, watermark_delta: None, ngrok: false, ngrok_authtoken: None, ngrok_edge: None, tokenizer_config_path: None, disable_grammar_support: false, env: false }
2024-03-25T13:21:54.376302Z  WARN text_generation_launcher: `trust_remote_code` is set. Trusting that model `brainiac-origin/jais-chat-30b-8bit` do not contain malicious code.
2024-03-25T13:21:54.376399Z  INFO download: text_generation_launcher: Starting download process.
2024-03-25T13:21:59.102180Z  INFO text_generation_launcher: Files are already present on the host. Skipping download.

2024-03-25T13:21:59.781784Z  INFO download: text_generation_launcher: Successfully downloaded weights.
2024-03-25T13:21:59.782082Z  INFO shard-manager: text_generation_launcher: Starting shard rank=0
2024-03-25T13:22:09.791734Z  INFO shard-manager: text_generation_launcher: Waiting for shard to be ready... rank=0
2024-03-25T13:22:19.800415Z  INFO shard-manager: text_generation_launcher: Waiting for shard to be ready... rank=0
2024-03-25T13:22:29.810400Z  INFO shard-manager: text_generation_launcher: Waiting for shard to be ready... rank=0
2024-03-25T13:22:39.820932Z  INFO shard-manager: text_generation_launcher: Waiting for shard to be ready... rank=0
2024-03-25T13:22:44.077307Z  INFO text_generation_launcher: Server started at unix:///tmp/text-generation-server-0

2024-03-25T13:22:44.125779Z  INFO shard-manager: text_generation_launcher: Shard ready in 44.342725238s rank=0
2024-03-25T13:22:44.224503Z  INFO text_generation_launcher: Starting Webserver
2024-03-25T13:22:44.692725Z  INFO text_generation_router: router/src/main.rs:181: Using the Hugging Face API
2024-03-25T13:22:44.692765Z  INFO hf_hub: /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/hf-hub-0.3.2/src/lib.rs:55: Token file not found "/root/.cache/huggingface/token"
2024-03-25T13:22:45.127789Z  INFO text_generation_router: router/src/main.rs:443: Serving revision 5200b63dc1ac35793b5158fdc2f33445203d8251 of model brainiac-origin/jais-chat-30b-8bit
2024-03-25T13:22:45.127814Z  INFO text_generation_router: router/src/main.rs:242: Using the Hugging Face API to retrieve tokenizer config
2024-03-25T13:22:45.133481Z  INFO text_generation_router: router/src/main.rs:291: Warming up model
2024-03-25T13:22:56.130420Z ERROR text_generation_launcher: Method Warmup encountered an error.
Traceback (most recent call last):
  File "/opt/conda/lib/python3.10/site-packages/text_generation_server/utils/logits_process.py", line 60, in __call__
    local_scores = warper(None, local_scores)
  File "/opt/conda/lib/python3.10/site-packages/transformers/generation/logits_process.py", line 449, in __call__
    sorted_logits, sorted_indices = torch.sort(scores, descending=False)
RuntimeError: CUDA error: operation not permitted when stream is capturing
Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/conda/bin/text-generation-server", line 8, in <module>
    sys.exit(app())
  File "/opt/conda/lib/python3.10/site-packages/typer/main.py", line 311, in __call__
    return get_command(self)(*args, **kwargs)
  File "/opt/conda/lib/python3.10/site-packages/click/core.py", line 1157, in __call__
    return self.main(*args, **kwargs)
  File "/opt/conda/lib/python3.10/site-packages/typer/core.py", line 778, in main
    return _main(
  File "/opt/conda/lib/python3.10/site-packages/typer/core.py", line 216, in _main
    rv = self.invoke(ctx)
  File "/opt/conda/lib/python3.10/site-packages/click/core.py", line 1688, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/opt/conda/lib/python3.10/site-packages/click/core.py", line 1434, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/opt/conda/lib/python3.10/site-packages/click/core.py", line 783, in invoke
    return __callback(*args, **kwargs)
  File "/opt/conda/lib/python3.10/site-packages/typer/main.py", line 683, in wrapper
    return callback(**use_params)  # type: ignore
  File "/opt/conda/lib/python3.10/site-packages/text_generation_server/cli.py", line 89, in serve
    server.serve(
  File "/opt/conda/lib/python3.10/site-packages/text_generation_server/server.py", line 235, in serve
    asyncio.run(
  File "/opt/conda/lib/python3.10/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "/opt/conda/lib/python3.10/asyncio/base_events.py", line 636, in run_until_complete
    self.run_forever()
  File "/opt/conda/lib/python3.10/asyncio/base_events.py", line 603, in run_forever
    self._run_once()
  File "/opt/conda/lib/python3.10/asyncio/base_events.py", line 1909, in _run_once
    handle._run()
  File "/opt/conda/lib/python3.10/asyncio/events.py", line 80, in _run
    self._context.run(self._callback, *self._args)
  File "/opt/conda/lib/python3.10/site-packages/grpc_interceptor/server.py", line 165, in invoke_intercept_method
    return await self.intercept(
> File "/opt/conda/lib/python3.10/site-packages/text_generation_server/interceptor.py", line 21, in intercept
    return await response
  File "/opt/conda/lib/python3.10/site-packages/opentelemetry/instrumentation/grpc/_aio_server.py", line 82, in _unary_interceptor
    raise error
  File "/opt/conda/lib/python3.10/site-packages/opentelemetry/instrumentation/grpc/_aio_server.py", line 73, in _unary_interceptor
    return await behavior(request_or_iterator, context)
  File "/opt/conda/lib/python3.10/site-packages/text_generation_server/server.py", line 95, in Warmup
    max_supported_total_tokens = self.model.warmup(batch)
  File "/opt/conda/lib/python3.10/site-packages/text_generation_server/models/model.py", line 74, in warmup
    self.generate_token(batch)
  File "/opt/conda/lib/python3.10/contextlib.py", line 79, in inner
    return func(*args, **kwds)
  File "/opt/conda/lib/python3.10/site-packages/text_generation_server/models/causal_lm.py", line 638, in generate_token
    next_token_id, logprobs = next_token_chooser(
  File "/opt/conda/lib/python3.10/site-packages/text_generation_server/utils/tokens.py", line 95, in __call__
    scores, next_logprob = self.static_warper(scores)
  File "/opt/conda/lib/python3.10/site-packages/text_generation_server/utils/logits_process.py", line 57, in __call__
    with torch.cuda.graph(self.cuda_graph, pool=mempool):
  File "/opt/conda/lib/python3.10/site-packages/torch/cuda/graphs.py", line 197, in __exit__
    self.cuda_graph.capture_end()
  File "/opt/conda/lib/python3.10/site-packages/torch/cuda/graphs.py", line 88, in capture_end
    super().capture_end()
RuntimeError: CUDA error: operation failed due to a previous error during capture
Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.

2024-03-25T13:22:56.131417Z ERROR warmup{max_input_length=1024 max_prefill_tokens=4096 max_total_tokens=2048 max_batch_size=None}:warmup: text_generation_client: router/client/src/lib.rs:33: Server error: Unexpected <class 'RuntimeError'>: captures_underway == 0 INTERNAL ASSERT FAILED at "/opt/conda/conda-bld/pytorch_1699449201336/work/c10/cuda/CUDACachingAllocator.cpp":2939, please report a bug to PyTorch.
Error: Warmup(Generation("Unexpected <class 'RuntimeError'>: captures_underway == 0 INTERNAL ASSERT FAILED at \"/opt/conda/conda-bld/pytorch_1699449201336/work/c10/cuda/CUDACachingAllocator.cpp\":2939, please report a bug to PyTorch. "))
2024-03-25T13:22:56.192490Z ERROR text_generation_launcher: Webserver Crashed
2024-03-25T13:22:56.192518Z  INFO text_generation_launcher: Shutting down shards
2024-03-25T13:22:57.678429Z  INFO shard-manager: text_generation_launcher: Shard terminated rank=0
Error: WebserverFailed

Same with 4 more different models.
Any updates on these cuda and torch errors?

same issue with JAIS  :(

Try to ensure your GPU driver configurations are installed properly. In my case I had a Problem that my Nvidia docker Toolkit wasn't configured properly.

@AIvashov
Text generation does not support a pre-quantized bitandBytes model. The same problem is discussed here: . You can use the original model and it works fine. The --quantize option indicates whether you want to quantize the model or not. Check this link for more information: .


Patch rule files automatically

Running pnpm run generate:rules results in some files that are invalid
We can run git diff -R src/rules/<plugin>/<rule>.d.ts > scripts/generate-rule-files/diffs/rules/<plugin>/<rule>.d.ts.diff to generate a diff file that reverts what is invalid

@Dimava and @Julien-R44 please review this PR and give me some feedback
When this is merged, we can go back to #177 🙂

LGTM ! Much simpler than my over-engineered system with ASTs ahah 🤪
Do we agree that we can now close #142 ?

@Shinigami92 LGTM
What happens if diff is not appliable?
BTW, would adding EventEmitter be a good idea for streamlining logging, counting and #137 ?

@Shinigami92 please add fixes for #181

@Shinigami92 please add fixes for #181

Will do in separate PR 👍

What happens if diff is not appliable?

I have not checked that, but I assume it would fail or something like that
Theoretically it is the same mechanism as https://www.npmjs.com/package/patch-package is doing

BTW, would adding EventEmitter be a good idea for streamlining logging, counting and #137 ?

Could you explain a bit more? Maybe outsource this discussion into a new separate issue/discussion


Add Safepal Wallet Gateway

Safepal is a hardware and mobile EOA wallet and browser extension with 10m+ verified users. Of the 10m, 2.5m users are actively using the mobile dapp center. Safepal agreed to list the OETH dapp on the dapp center after we can add Safepal as a supported wallet.
Integration guide: https://devdocs.safepal.com/Connect-wallet/#why-choose-safepal

Safepal was officially added to Rainbowkit, should be easy to add them now


Fragmentation

I was trying to send CKE with some additional data[21000] which is obviously very large. Fragmentation at IP layer doesnt work properly and CKE is never exchanged.
Do you have a code with supported fragmentation in tinyDTLS.

Hello,
We are not actually upstream for this project, it was https://github.com/obgm.
Regards.


Dockerfile improvement to support building in Apple M1

This change forces the Docker base image to be amd64 (x86) instead of using the platform default for M1 Macs (ARM).
The SGDK container requires i386 packages that are not available in ARM platform. Docker for Apple silicon allows to build and run x86 images.
With this change, the docker image can be used to build SGDK projects in M1 Macs.

Wasn't an older version using this amd64/ubuntu source ?

Platform wasn't specified so it used the machine defaults (amd64 for x86 computers and arm for Mac M1)

I'm not using Docker myself but if it doesn't bring any regression then i'm ok with it =)

This change won't have any effect in x86 machines so it won't break any working setup


KAFKA-8910: Incorrect javadoc at KafkaProducer.InterceptorCallback#onCompletion

Fix the inconsistency between KafkaProducer.InterceptorCallback#onCompletion and Callback#onCompletion.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

Rebased onto the latest trunk.

retest this please

Rebased onto the latest trunk.
cc/ @omkreddy @stanislavkozlovski

ping @omkreddy @guozhangwang

@dongjinleekr I also checked the code, and I think the original reporter is right: when an exception is thrown, the metadata would be null (e.g. see completeFutureAndFireCallbacks in ProducerBatch; only in the interceptor-callback which is different from the producer-callback we would create a dummy metadata and trigger the callback.
I think we should fix InterceptorCallback and let the user-callback to be triggered with null metadata still, and then change the javadoc of Callback.

@guozhangwang Oh yes, I also re-checked the code and you are right. I misunderstood the code - the original reporter was right. :sweat_smile:

@hachikuji Could you merge this PR? 🙃

At first I was wondering why PR only changes the javadoc of DemoCallBack but now I got it was overlapped with a merged https://github.com/apache/kafka/pull/5798 :) Will merge now. Thanks @dongjinleekr


AdminSet allows for duplicate 'title'

An administrator is currently able to create an AdminSet having the same title as another one in the system. Technically this makes sense, but from a practical standpoint it would lead to confusion on the UI for choosing which AdminSet to associate a new work to.
I think it would be worthwhile to enforce uniqueness on the AdminSet.title.

:+1:

Thoughts on this, @projecthydra-labs/hyrax-code-reviewers @projecthydra-labs/hyrax-ui-ux-advisors ?

👍  to requiring AdminSet titles to be unique to avoid confusion when choosing them from a menu

Does Fedora allow for enforcing this? Because uniqueness validation is best served by the persistence layer - traditionally database constraints.
Reference: https://robots.thoughtbot.com/the-perils-of-uniqueness-validations

At present, I think this is a won't-fix. We can't reliably ensure title uniqueness, short of making titles IDs.
Administrators have recourse to (re)name admin sets as they please, and I think that may be the best we can offer here without significant effort.


Need to hide technical folder named clientdata in Manage attachments

EPAM AI DIAL chat version
0.20.0
What happened?
Now:

Confidential information

[X] I confirm that do not share any confidential information

Verified on staging that now there is no clientdata folder in All files


[Store Version] WSL failed mounting physical drive

Version
Windows version: 10.0.22471.1012
WSL Version

[X] WSL 2
[ ] WSL 1

Kernel Version
Kernel version: <IP_ADDRESS>
Distro Version
Kali Linux 2021.3
Other Software
Not related.
Repro Steps

Ensure that everything is normal via rebooting the system.
Open PowerShell (Admin) (It took around 10 seconds, but this is another issue)
Ensure that wsl is not running via

wsl --shutdown
wsl --list -v

Mount the (offline) physical drive:

wsl --mount \\.\PHYSICALDRIVE0 --bare
echo $LASTEXITCODE

Open WSL and check if the disk is mounted or not:

# under wsl
sudo blkid
sudo fdisk -l

We'll see that the disk is not mounted
Expected Behavior
The same command were used in previous version (before moving to store version), where the physical drive can be mounted
Actual Behavior
Now it won't.
Diagnostic Logs
PS C:\> wmic diskdrive get Availability,Capabilities,CapabilityDescriptions,DeviceID,InterfaceType,MediaLoaded,MediaType,Model,Name,Partitions
Availability  Capabilities  CapabilityDescriptions                                       DeviceID            InterfaceType  MediaLoaded  MediaType              Model                           Name                Partitions
              {3, 4, 10}    {"Random Access", "Supports Writing", "SMART Notification"}  \\.\PHYSICALDRIVE1  SCSI           TRUE         Fixed hard disk media  KBG40ZNS512G NVMe KIOXIA 512GB  \\.\PHYSICALDRIVE1  4
              {3, 4, 10}    {"Random Access", "Supports Writing", "SMART Notification"}  \\.\PHYSICALDRIVE0  SCSI           TRUE         Fixed hard disk media  ST1000DM010-2EP102              \\.\PHYSICALDRIVE0  3

Sorry, I might know why it failed (the disk number changed from 1 to 0 for some unknown reason, so I mounted the wrong disk)

Thanks for reporting this @suxpert. There was a bug causing wsl --mount --bare to not properly show errors. This has been fixed in 0.48.2.


Namespace in HomeController.cs does not match the default name I chose on Yeoman command line

I created a folder called vega, entered that folder and ran yo aspnetcore-spa.
For the project questions I entered the following:
? Framework Angular
? Do you want to include unit tests? No
? Your project name vega

For the last question, I simply pressed enter as it seemed to detect the project folder name as vega.
Taking a look at the files created I noticed that in HomeController.cs, the namespace in there seems incorrect.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;

using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;

namespace WebApplicationBasic.Controllers
{
    public class HomeController : Controller
    {
        public IActionResult Index()
        {
            return View();
        }

        public IActionResult Error()
        {
            return View();
        }
    }
}
{
    public class HomeController : Controller
    {
        public IActionResult Index()
        {
            return View();
        }

        public IActionResult Error()
        {
            return View();
        }
    }
}

Why is the namespace WebApplicationBasic.Controllers. Should it not reflect my project name vega?

Sorry for the inconvenience with that. If should reflect your project name, so for now you'll need to change it manually.
Note that this works correctly in the latest dotnet new templates.
Very soon we'll be deprecating and removing the Yeoman templates, simply because there's no advantage to using them as compared with the dotnet new ones. The dotnet new templates produce exactly the same SPA projects (without bugs like this one you've reported) and are just easier to work with. I'll close this as not-going-to-fix since we're not doing any further work on the Yeoman templates right before removing them.


[FRONTEND WITH FRAMEWORK]: Angular(2.4)->What is Property Binding?

Description 📜
What is property binding?
How it works?
Difference between property binding and interpolation.
How to bind directive property?
Brief about property binding among components.
Explain with code snippets/syntax.
Fixes # <3235>

Type of change 📝

[x] Documentation (Content Creation in the form of codes or tutorials)

Domain of Contribution 📊

[x] Frontend Dev #React/Angular/Vue

Checklist ✅

[x] I follow Contributing Guidelines & Code of conduct of this project.
[x] I have performed a self-review of my own code or work.
[x] My changes generates no new warnings.
[x] I'm GWOC'21 contributor

Screenshots / Gif (Optional) 📸

@RIYANSHGARG please use links for reference only not to copy paste. Examples also can't be pasted, please create new one.

Hey I have made some changes please review them .

@RIYANSHGARG seems good to go


Multi-token macro names

In some other languages, ? and ! are used to help distinguish between special forms of functions/syntax. Livescript has several of these, such as require!/require, lisp is very fond of ?, f# has things like let!/let.
Is there any planned support for these?

We had them in 0.x and I do want to add them back. readtables #535 might be sufficient but if not we can discussion how to add true multi-token macro names back.


Compat fix for 0.5

Will prevent warnings on 0.4 too.
All tests pass locally on 0.4.3 and 0.3.12.

Thanks, merged!


feat(RHIDP-2677): Add script to copy data from Prow to in-house storage

Added exported Horreum config dumps (schema and test) to the PR alongside to the script to upload data from Prow to Horreum.

/test ?

The "permanent recurring job" is added by https://github.com/openshift/release/pull/48212

@jhutar Where is this script called from?

/lgtm


Error in Swipe action

I add SwipeActionAdapter and implements SwipeActionListener.

When i swipe listView's element hasAction method runs and i have error

My adapter

I use

ActionBarActivity its a problem. When i extending from Activity all works

Without proper instructions to reliably reproduce this issue, I have to consider this to be a bug in your code rather than the library.
I suggest you use the debugger to step through the code and find out where the NullPointerException is coming from.
Also try using AppCompatActivity rather than ActionBarActivity.

AppCompatActivity can't resolve my problem. Only extending from Activity or deleting LoaderManager.LoaderCallbacks helps me.

This still sounds like an issue with your code, rather than this library.
If you can make a sample project that reproduces the issue, I'll take a look at it.
Until then, I suggest you whip out the debugger and step through your code to see what's happening. Your description sounds like it's some sort of race condition.

i have the same issue here , and change to Activity didn't solve my problem

i discovered the issue , this issue appear only when you try to set swipe adapter with empty list view , so in this situation and i think that exception raised because the onswip event invoked on not exist item view in list view .
sorry bad english


Switch K8s registry to registry.k8s.io

Description
Update K8s image registry to registry.k8s.io. Validated that the images we use exist in the new registry.
GitHub Issues
List the GitHub issues impacted by this PR:

GitHub Issue #

744

Checklist:

[X] I have performed a self-review of my own code to ensure there are no formatting, vetting, linting, or security issues
[ ] I have verified that new and existing unit tests pass locally with my changes
[x] I have not allowed coverage numbers to degenerate
[ ] I have maintained at least 90% code coverage
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[x] I have maintained backward compatibility

How Has This Been Tested?
Manual pull of Docker image.

Is there any update on this one? Do we have to merge this one for the release CSM 1.7?

@adarsh-dell : We have to merge this PR?

@adarsh-dell : We have to merge this PR?

CC : @donatwork


mpp: support for defining partition layouts

It is now possbile to define a partiton layout via mpp-define-image. The defined layout is actually written to a temporary sparse file and read back via sfdisk, so that all partiton data like size and start include actual padding and such. The image variable will be defined with size and layout keys, the latter containing the partition layout data. It can be accessed via the "String expansion" mechanism.

Maybe you want an argument (optional) for the name of the variable?

How is this ordered vs variable expansion though? You have to list all the partition offsets, which means you have to sum up all previous sizes, etc. I used variable expansion to do this in my manifests, but here you cant?

I.e. if you change the size of the efi partition you need to manually recompute the other ones.

Maybe it could just drop the start and assume partitions are tightly packed if not specified.

How is this ordered vs variable expansion though? You have to list all the partition offsets, which means you have to sum up all previous sizes, etc. I used variable expansion to do this in my manifests, but here you cant?

Ah, actually sfdisk will figure those out for you, if you leave them out. Let me update the manifest and see what we need to specify.

@alexlarsson Update the mpp section to only include what is needed to know, which is the sizes for all but the last partition:
"partitions": [
        {
          "id": "bios-boot",
          "size": 2048,
          "type": "21686148-6449-6E6F-744E-656564454649",
          "bootable": true,
          "uuid": "FAC7F1FB-3E8D-4137-A512-961DE09A5549"
        },
        {
          "id": "efi",
          "size": 204800,
          "type": "C12A7328-F81F-11D2-BA4B-00A0C93EC93B",
          "uuid": "68B2905B-DF3E-4FB3-80FA-49D1E773AA33"
        },
        {
          "id": "boot",
          "size": 204800,
          "type": "0FC63DAF-8483-4772-8E79-3D69D8477DE4",
          "uuid": "61B2905B-DF3E-4FB3-80FA-49D1E773AA32"
        },
        {
          "id": "root",
          "type": "0FC63DAF-8483-4772-8E79-3D69D8477DE4",
          "uuid": "6264D520-3FB9-423F-8AB8-7A0A8E3D3562"
        }
      ]

How is this ordered vs variable expansion though?

Maybe it should still go after the variable definitions though, because there is no reason that it has to be early and if it is after one could use variables for the size and override those at the command line.


React native first

The type of this PR is: Enhancement
This PR resolves MX-491
Description
This PR is moving things around so that when the app launches the first thing it does is show a react-native view.
This involved:

Turning the emission configuration class into dynamic state (so we can update userID and authenticationToken after logging in) and removing NativeModules.Emission which is now all in AppStore.
Presenting the onboarding view when there are no auth details, or onboarding was not completed in a previous session.
Removing the unused demo mode
Removing the unused error modal in VIR
Changing VIR presentation from stack-based to modal-based (I left extra comments explaining this)
Replacing our custom ARDynamicScreenDimensions class with react-native-safe-area-context early because I noticed a minor UI bug which I won't bother detailing here. This lib is very obviously the right one to use (de facto standard, maintained by a RN core maintainer, used in expo, have read the source, etc etc..) so I think we can skip the RFC.
Adding a hook for more easily using the now-stateful lab options in functional components useEmissionOption (I'm not crazy about that name, but it's consistent with what was there before. Let's think about it again when we're cleaning up our lab/echo infra)
Checking the current user's session is valid whenever a metaphysics request fails for whatever reason. Before, this was only done on startup, so if your token expired during a session the app would just be broken until the user manually reboots.
Refactoring __appStoreTestUtils__ to be more friendly to tests that do use the app store but don't render react components (e.g. NativeModel-tests)
Migrating consignments to AppStore. This was required since the consignments screens previously used a global easy peasy store, and we can't use more than one of those in any given react tree. Now that lab options are in AppStore the consignments screens were throwing when trying to access lab options. cc @damassi
Simplified how we mock NativeModules in setupJest.ts
Patching react-native to allow nested RCTRootView instances. This was needed because each root view has its own touch handler, which caused duplicate touch event dispatches over the bridge, so we just needed to make sure that any nested RCTRootView instances don't create a new touch handler).

Follow-up

I need someone with a physical iPhone 10 + to check the back button position on VIR.
Very very thorough QA-ing before next release!

PR Checklist (tick all before merging)

[x] I have included screenshots or videos to illustrate my changes, or I have not changed anything that impacts the UI.

The only real UI change is that VIR is now presented with a fade transition rather than a slide transition.

[x] I have added tests for my changes, or my changes don't require testing, or I have included a link to a separate Jira ticket covering the tests.
[x] I have documented any follow-up work that this PR will require, or it does not require any.
[x] I have added an app state migration, or my changes do not require one. (What are migrations?)

Amazing 💯


Investigate high level query language

Spark like collection opearations. map, flatmap....

Paper that give overview of different mapreduce and similar systems and what is involved in scheduling jobs that would need to be paired with different high level language primitives like flatMap, reduce, foldLeft, etc http://www.doc.ic.ac.uk/teaching/distinguished-projects/2012/i.gog.pdf

Requirements:

Support Monoid (algeribird) CMS
Support join with JDBC table
Support in-store aggregation. (state store is updated when new message received)
Support window computation
Support DAG with multiple source and multiple sink, and run the whole DAG in same app

Basic transformation

Merge, merge two or more streams.
example: stream1.merge(stream2, stream3), stream2 and stream3 will repartition its stream data based on partitioner on stream1
map, stream1[IN].map[OUT](IN =>OUT)
flatmap stream1[IN].map[OUT](IN => Iterator[OUT])
flter, stream1.filter(=> Boolean)
groupby, stream1.groupby(_.field).setParallism(number)
repartition, change the partition number.  stream1.repartition(3), will change partition number to 3
reduce((_ + _), reduce the state
processor(Processor), which allow user to define a powerful dynamic Processor.

Advanced

stream1.windowJoin(stream2, window)
two stream join on same time window
leftJoin(JDBC Table), join with an external data base.
sumByKey(store), do in store aggregation.

 A hello world app?
Is "sink" different from "transform" like what Spark did? Personally, I guess Gearpump don't need to triger action as it is streaming.
we lacks "join" transformation.
Does each transformation generate a new stream?

How about this one?
case class InputMsg(name: String, day: Int)

StreamApp sampleApp = new StreamApp();
Source input = new KafkaSource(clientContext, topic).setSchema(inputMsg);
sampleApp.newStream(input).filter(!_.day>0).groupBy(_.day).writeToFile("file1")

Article on Flink's join http://flink.apache.org/news/2015/03/13/peeking-into-Apache-Flinks-Engine-Room.html

another sample for stream join.
case class Msg1(name: String, val1: Int)
case class Msg2(name: String, val2: Int, val3: Int)

StreamApp sampleApp = new StreamApp();
Stream[Msg1] stream1 = new KafkaStream[Msg1](clientContext, topic1)
Stream[Msg2] stream2 = new KafkaStream[Msg2](clientContext, topic2)
stream1.window(10 min).join(stream1.window(10 min)).groupBy(_.val1).writeToFile("file1")
clientContext.submit()

The toughest thing I found in writing this sample is the relationship between

stream
application
operation
So, you can see that I removed the application context. Instead, I use clientContext to refer to application. The remaining problem is how to allow dynamic DAG modification from client side?

maybe processor(processor) could be part of foreach that allow user to perform any action on the stream

word count example:
  val data =
      """
        |   Licensed to the Apache Software Foundation (ASF) under one
        |   or more contributor license agreements.  See the NOTICE file
        |   distributed with this work for additional information
        |   regarding copyright ownership.  The ASF licenses this file
        |   to you under the Apache License, Version 2.0 (the
        |   "License"); you may not use this file except in compliance
        |   with the License.  You may obtain a copy of the License at
        |
        |       http://www.apache.org/licenses/LICENSE-2.0
        |
        |   Unless required by applicable law or agreed to in writing, software
        |   distributed under the License is distributed on an "AS IS" BASIS,
        |   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
        |   See the License for the specific language governing permissions and
        |   limitations under the License.
      """.stripMargin

    app.fromCollection(data.lines.toList, parallism = split).flatMap(line => line.split("[\\s]+")).filter(_.nonEmpty).map((_, 1))
      .groupBy(_._1, parallism = sum).reduce((left, right) => (left._1, left._2 + right._2)).log()

    val context = ClientContext(config.getString("master"))
    implicit val system = context.system

    val appId = context.submit(app.plan)
    context.close()

Can you give a whole example? A hello world app?
check https://github.com/intel-hadoop/gearpump/pull/632/files#diff-b36f1234cc1e7246e1fa35c741608db8
Does each transformation generate a new stream?
Yes.
Is "sink" different from "transform" like what Spark did? Personally, I guess Gearpump don't need to triger action as it is streaming.
The output of Sink is no longer a Stream, while the output of Transform is still a Stream.
we lacks "join" transformation.
It is covered by windowJoin if we want to do join on two stream.

maybe processor(processor) could be part of foreach that allow user to perform any action on the stream
forech is different from Processor, each task of a processor will be hosted in a actor.

fixed.


Support for Cloud Foundry

@ericsturman Raised the following issue via comment in #72

I have noticed that a project that pushes to cloud foundry just fine as of build e366cc37c8625196fbf349f6f6eaac227981db04 now fails immediately during the buildpack compile phase.  Issues seem to start at build 1f9a8730a9922a9a363e71e3640f74a27d766c2f
logs:
2016-07-18T13:10:43.16-0500 [STG/22]     OUT -----> Downloaded app package (8.7M)
2016-07-18T13:10:48.25-0500 [STG/22]     OUT -----> Downloaded app buildpack cache (133M)
2016-07-18T13:10:48.43-0500 [STG/0]      OUT Staging failed: Buildpack compilation step failed
2016-07-18T13:10:48.43-0500 [STG/0]      ERR
2016-07-18T13:10:48.57-0500 [API/0]      ERR encountered error: App staging failed in the buildpack compile phase

Possibly the same issue as #78

Closing, will reopen a newer issue


The OAuth Token does not contain the scope to perform this operation.

Hey guys when I'm runing this command to get the department id php artisan zoho-desk:list-departments
this error is happening

do you have any idea why this is happeing?
inside my db the refresh token and the acceses tokens are stored so how i can pass the scrope to get the id of the department

@Mood-al sorry for the late reply. We don't experience this issue. Are you still having this problem?


Fix Issue 18755 - std.typecons.Rebindable breaks @safe-ty

@n8sh anything to add from your side? I think this PR is good to go.

@ZombineDev seems fine to me.


Hyperparameters to reproduce paper results

Excellent work and great documentation in this repo, very much appreciated. My question relates to what set of hyperparameters should I use to reproduce your results in the paper.
I notice there are two different training scripts:

Script in the usage section of the README https://github.com/ipolharvard/ethos-paper?tab=readme-ov-file#usage

uses n_layers=6 and dropout=0.3, but does not provide a LR or MIN_LR

https://github.com/ipolharvard/ethos-paper/blob/master/scripts/run_training.sh

uses n_layers=10, dropout=0.1, LR=0.0006, and MIN_LR=0.00001

After downloading the pre-trained model from google drive I see it is named mimic_layer_6_batch_32_do_0.3 which implies this one uses n_layer=6 and dropout=0.3 which is great. If this is the right config, what was the LR/MIN_LR used for this model training?

Hi @jeffra,
Thank you for your kind words.
I am sorry for the confusion; the script for running training has not been properly updated, but be careful when using it, as it might not match your environment.
I double-checked, and the model that was used in the paper has the following parameters:
BATCH_SIZE=32
BLOCK_SIZE=2048
N_LAYER=6
N_HEAD=12
N_EMBD=768
DROPOUT=0.3
LR=0.0006
MIN_LR=0.00001

Also, if you want to train the model yourself, I suggest using the code from the dev branch with better token names and fixing some minor bugs.

Excellent, thank you @prenc! I am currently training with this config on 8 x H100-80GB GPUs but on the main branch which should finish soon from the looks of it. After that completes I'll give the dev branch a try, but I guess I'd need to re-process the data from the looks of it?

That's correct, @jeffra. Unfortunately, the data has to be tokenized again to make sure the vocabulary is correct and compatible.
(Nice compute power!)

Just pushed a PR to update the run script on the landing page to align with the specs you listed above
https://github.com/ipolharvard/ethos-paper/pull/11.


fix(*): new serialization mechanism

Using class-transformer to serialize objects does not allow us to use async methods, thus rendering us incapable of resolving sub-documents properly. This PR attemps to approach object serialization another way, using proper services, some meta-types and injector.

This is kinda why I hate JS. I can't really just automatically assume serialization fields with async or can I just "return and forget"
While this approach looks nice, you're basically just using classes. Why not just use classes instead of creating an entirely abstract interface + paying for the injection costs?

It's not a limitation of JS, it's class-transformer's one. The issue is reported, but it seems any kind of development is on hold for now, sadly.
When it comes to your second question: yes, we could go for a full object-oriented approach, but it seems like pissing into the wind with NestJS' architecture.

That's a strong statement if I've ever seen one...

On the other hand, app.get() is a dependency injection as well, so I guess there's nothing wrong with the second approach...

@c43721 take a look now, does it look better to you?

I actually like this newer approach. That's quite smart.

Technically we can use intercepters and return instance of like some class (Serializable in our case) and do the .serialize() in an intercepter if we don't want to call it ourselves.

That would require traversing deep through object to find instances of Serializable... Efficiency where?

js

efficiency

lol


Refactor menu filters, improve mobile and tablet views

Please note that I was not able to use server data, so tried to not touch the menu card - still as i did not see those, I might break something. Additionally layout of filters is not exactly the same, so before approving please compare.
This refactoring simplifies HTML structure of menu component before cutting it into smaller components. it also brings styling closer to scss.

Sorry for not updating fork, will be more cautious next time ; ) Glad you like it! :D


 If I try to render text with line breaks, it show's this:

Is there any way to fix that?

v1.4.0 now released with line break handling support, let me know if this works for you.

Yes, thanks, this perfectly works!


[k3s-upgrade] MODIFIED_VERSION is undefined

I cannot create an issue in https://github.com/k3s-io/k3s-upgrade, so I try it here :wink:

The commit https://github.com/k3s-io/k3s-upgrade/commit/243b18c3c0f6f36668d989790a59e5d5e388621f (~4 years old) has introduced a variable called MODIFIED_VERSION which is undefined, so the script only outputs
[INFO] Waiting for all master nodes to be upgraded to version

instead of e.g.
[INFO] Waiting for all master nodes to be upgraded to version v1.29.8+k3s1

This variable is still used in the latest version: scripts/upgrade.sh @ k3s-upgrade, but it is still undefined :wink:

Yeah, that var was mostly nixed in code review on that PR, but it appears that one use of it was left in.

thanks for the report! Should be fixed for next month's releases.

Validated on master with 452dbbc / v1.31
Environment Details

Infrastructure

[X] Cloud
[ ] Hosted

Node(s) CPU architecture, OS, and Version:

Linux ip-172-31-0-190 6.8.0-1012-aws #13-Ubuntu SMP Mon Jul 15 15:42:27 UTC 2024 aarch64 aarch64 aarch64 GNU/Linux
PRETTY_NAME="Ubuntu 24.04 LTS"
NAME="Ubuntu"
VERSION_ID="24.04"
VERSION="24.04 LTS (Noble Numbat)"
VERSION_CODENAME=noble
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=noble
LOGO=ubuntu-logo

Cluster Configuration:

HA

Config.yaml:

N/A

Additional files

N/A

Testing Steps

Copy config.yaml

$ sudo mkdir -p /etc/rancher/k3s && sudo cp config.yaml /etc/rancher/k3s

Install K3s
Run SUC
Pull pod logs of agent-apply

Validation Results:

k3s version used for validation:

k3s -v
k3s version v1.31.1-rc2+k3s1 (452dbbc1)
go version go1.22.6

[INFO]  Waiting for all control-plane nodes to be upgraded to version v1.31.1-rc2-k3s1

Additional context / logs:
N/A


"For sizing details, see American Apparel's" is not grammatically correct

Just see.

There is no way you can create a Spanish translation (nor in any other language besides German, maybe) that makes sense.

In the future, please try to file with a more descriptive title.
I don't think this string makes a whole ton of sense in English either.

@danrabbit: Yeah, I should try, because you miss the point. The string is broken into two in the Transifex UI.

This string is "broken" (I would have said fragmented) because the second part is a link. Since Transifex has no way of remembering what parts are links it much by taken as two or more separate strings. One for the first part of the sentence, the second for the link, and a third for the end. Assuming Transifex is working properly, you should be able to carry on reading down the set of strings naturally.
As such, I think this is the intended behaviour.

@lewisgoddard If it was "intended behavior" I wouldn't have bothered to file a bug report. It is A MISTAKE to break (or "fragment", if you want to be picky) strings in multiple parts. Period.

According to the Transifex documentation, the a element should be part of the segment. As a workaround we could also add tx-content="block" to the h4 element, this should force everything in that element to be a single segment, we would just have to work around the html a element in the segment.

So we should be submitting the full HTML to Transifex, so that translators can decide where to position the link?
Instead of:
All apparel is in US sizes. Tees run a bit snug; for sizing details, see American Apparel’s

&
sizing chart.

It would be:
All apparel is in US sizes. Tees run a bit snug; for sizing details, see American Apparel’s sizing chart.

Ah sorry, I misunderstood the nature of the issue. Indeed it's important to be as explicit as possible when filing a report. Sometimes a screenshot is not as clear as it may seem to be.
I agree that showing translators HTML is not ideal, but I think the only way to get around that would be to structure it so the link is not part of the sentence. We could do something like:
"See American Apparel for sizing details:" "sizing chart"

One important point to make:
If HTML code is a part of the translation, is there anything stopping someone random from redirecting inner links to some third-party site of his choice? If that ever happens, I'm not sure how will Transifex handle it. If it fails to stop something like this, it would take quite a while before somebody spots this abuse, reports it, it gets fixed and finally the code is pulled from Transifex one more time. It could literally take months to fix something as simple as changing the URL while translating a string with HTML code attached.

Yeah, we can't be submitting URLs in with translations, because that would invalidate the entire string, plus translators could redirect stuff they shouldn't be. Just dropping a > or a " would totally ruin the site from there down.

@lewisgoddard But wait, isn't this already happening in a lot of places? Here's just one example that proves this:

I'm pretty sure I saw dozens of these strings that contain HTML code in them.

I wasn't aware of any of the translations containing HTML. I suppose we ultimately need to either separate links out into individual buttons (a pain, and not the best design), or trust translators not to meddle with links, which we are apparently unwittingly doing already.

or trust translators not to meddle with links
@lewisgoddard Transifex contains checks to ensure links are identical, each project needs to enable those. Besides, why wouldn't you trust your translators? That seems insulting.

@fitojb I'm a translator myself, so I kind of understand why you're saying that this could be considered to be insulting, but think of it this way:
I'm translating to Bosnian, you're translating to Spanish. If there's a third person interested in translating the website to Dutch (I'm just using Dutch as an example), we have no understanding of what's happening in the Dutch translation team. A person of interest might join that third team and change the HTML code without me, you, Lewis nor Daniel knowing it. As I stated in my previous comment, it could possibly take months before that error gets noticed and fixed and the person of interest could benefit from that error by redirecting link to his own possibly malicious website.
If, like you said, there's a Transifex option that could make sure that this isn't going to happen, I'm all for turning it on and making sure that HTML code stays as it is supposed to be.

@fitojb Exactly as @aleksandar-todorovic said, changing this HTML code could potentially create security flaws on pages where people are entering their payment details. Blindly allowing people who often have little to no review to modify that is not acceptable.
To be clear, very few people can push to this repository themselves, and even those that can (like me and @danrabbit) do so via pull requests that are reviewed by at least 1 other individual.
It isn't that we don't trust translators, it's that we don't trust anyone, not any lone individual anyway.

Transifex contains checks to ensure links are identical, each project needs to enable those.

I have only recently been given access to the administration side of Transifex, and have little experience with it. Where would I find such settings?

Is this fixed now? I think I changed something in a merge and forgot to mention this bug.
https://github.com/elementary/mvp/blob/master/lang/en/store.json
It sure looks fixed.


Implement HSET command

resolves #255
This PR will add support to the HSET command and will perform a similar functionality to HSET available in redis.

HI @kolharsam Thanks for the changes. Please look at the linter warnings and remove the commented-out code.

Update the PR @lucifercr07 @JyotinderSingh
Thank you for your insights! 🙇

Thanks for addressing the reviews so far @kolharsam. I've left a few comments.

@JyotinderSingh addressed the requested changes


strtime.py: Add second handling

Seconds are not handled properly. Traceback:
Traceback (most recent call last):
  File "/home/jkazimierczak/wicamp/main.py", line 49, in <module>
    main()
  File "/home/jkazimierczak/wicamp/main.py", line 44, in main
    app.wander(item, datetime.timedelta(minutes=minutes))
  File "/home/jkazimierczak/wicamp/wicamp/app.py", line 129, in wander
    print(f"diff={strtime_diff(initial_reported_time, reported_time)}min (start: {initial_reported_time} | now: {reported_time})")
  File "/home/jkazimierczak/wicamp/wicamp/strtime.py", line 13, in strtime_diff
    return abs(to_minutes(time1) - to_minutes(time2))
  File "/home/jkazimierczak/wicamp/wicamp/strtime.py", line 4, in to_minutes
    return int(parts[0].strip("min"))
ValueError: invalid literal for int() with base 10: '10s'

Time is displayed in either seconds, minutes or hours+minutes.


Yatin: Blacklist madarchod

Yatin requests the blacklist of the keyword madarchod. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

madarchod has been seen in 13 true positives, 0 false positives, and 0 NAAs.

Approved by Spevacus in Charcoal HQ


Allow searching for string matches only from the start of elements

I'm implementing a username search, and I'd like awesomplete to only suggest matches based on the start of candidates. Eg searching for 'al' should show 'alexjurkiewicz' but not 'mallory'.
Is this possible?

Yes, check out filter property docs here http://leaverou.github.io/awesomplete/#extensibility
By default filter is set to Awesomplete.FILTER_CONTAINS but you can use Awesomplete.FILTER_STARTSWITH or provide your custom function depending on your requirements.

Thanks @vlazar, closing this now. :)

Thanks both! :)


[WIP] Use TypeScript (follows #242)

Closing as too much changes are incoming. Will reopen it once next version is released.


SAK-43275 Group Manager: Text prompt is difficult to read: Suggest font styling changes

https://jira.sakaiproject.org/browse/SAK-43275

We discussed this on today's Core team call and decided that adding the .lead and the .small classes would be inconsistent with other tools. We preferred just a normal paragraph tag () instead to satisfy the comments on the Jira issue.

@fostersdesign changes implemented, good to go.


Set-DnsServerResourceRecord: incorrect and error-prone example

In Example 1, $NewObj = $OldObj assignment DOES NOT create a new instance of an object; it should be replaced with $OldObj.Clone() method call.

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

ID: 2335a3db-5fe1-404b-aa3d-a3b4f10086fa
Version Independent ID: 3dfd55d0-2210-626c-b9a6-f584316ec374
Content: Set-DnsServerResourceRecord (dnsserver)
Content Source: docset/windows/dnsserver/set-dnsserverresourcerecord.md
Service: unspecified
GitHub Login: @brianlic-msft
Microsoft Alias: brianlic

... or Get-DnsServerResourceRecord must be called twice; like so:
$OldObj = Get-DnsServerResourceRecord -Name "Host01" -ZoneName "contoso.com" -RRType "A"
$NewObj = Get-DnsServerResourceRecord -Name "Host01" -ZoneName "contoso.com" -RRType "A"
...

or
$OldObj = Get-DnsServerResourceRecord -Name "Host01" -ZoneName "contoso.com" -RRType "A"
$NewObj = $OldObj.Clone()

@officedocsbot assign @yogkumgit

@kenwith please merge this PR, if you find it suitable.

@VLG17  Thank you very much for the contribution and updating the documentation with PR. @george-chakhidze Hope this update is helpful for you. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.

@officedocsbot close


epoch: Fix stacked borrows violations

Fixes #545
See https://github.com/crossbeam-rs/crossbeam/issues/545#issuecomment-1192785003 for the reported stacked borrows violations.
Note: this is a breaking change because changes API of Pointable trait

(Given that Miri appears to be trying to move to TB in the long term, I don't see the need to rush to merge this.)


Features/random story and fix feedback slider

randomSlider story and fix feedback slider

Okay, I got, will change it


Avro table provider

In a platform I work on, I decided to write avro log files so I could easily close and append binary files to s3. Since I didn't want to bother transforming it to another format using Spark, which is the thing I wanted to drop in the first place, I started writing what's required to read avro as a datasource in datafusion.
Here is the branch on my fork (I merged the nested field PR in it but it can be removed) :
https://github.com/Igosuki/arrow-datafusion/tree/avro2_m
I transformed all parquet test files to avro and plan to add a test case for each of these.
My question would be is Avro support desirable for datafusion or should I just make a sidecar crate on my own ?
Describe alternatives you've considered
Transforming data in json or parquet to reuse the existing code.
Additional context
I'm new to the new arrow data types, and it's been a challenge to find out what I should do with avro union types that are just a nullable field. Ultimately I decided to make them nullable fields and drop the union, but I had to add special cases here and there because of that.

Just tested my code on real avro files I own and got 200Mb processed in 0.3s (over a window function, Datafusion is the real deal !

I think avro files as source would be great to have in DataFusion 👍

:+1: from me as long as you can commit to keep maintaining the code :)

https://github.com/apache/arrow-datafusion/pull/910


[WIP] repo: Use python toolchains

Signed-off-by: Ryan Northey<EMAIL_ADDRESS>Commit Message:
Also bumps rules_python -> 0.8.0 (Fix #20431 )
In order to get this to work and to accommodate the 3 stages of loading required (register toolchains, register pipsets, install pipsets) i have had to move things around a little and add a python_dependencies.bzl file
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

reWIPped this while i figure out how to resolve issues with python2 <> thrift libs
i have raised a ticket upstream here https://github.com/bazelbuild/rules_python/issues/668
i have tried just separating the thrift pipset and not specifying an interpreter - but that doesnt seem to work
im going to try forking rules_python and adding a py2 toolchain - not sure if that will work or how easy, but worth a try
another possible approach is to patch the thrift libs to work on python3 as @zuercher has attempted previously

arrgghh - checking the upstream python "standalone" repo - there is no py2 support there - so forking rules_python wont work without building a separate standalone py2

also fails for arm - altho a PR has just been raised to address this here https://github.com/bazelbuild/rules_python/pull/669

Regarding Thrift, it's a long running problem that that entire library set if unmaintained. I would really hate to hold up further progress given that. Should we just remove the tests that require PY2? cc @rgs1 @zuercher @envoyproxy/dependency-shepherds

Regarding Thrift, it's a long running problem that that entire library set if unmaintained. I would really hate to hold up further progress given that. Should we just remove the tests that require PY2? cc @rgs1 @zuercher @envoyproxy/dependency-shepherds

I thought we had a soft agreement that it was probably fine in some other issue. cc: @fishcakez

What was probably fine? Removing the tests that require PY2? If so, please do a PR. :)

Yes, removing those tests :-)
I’ll clear it with Stephan and James and follow up with a PR.
On Mon, Mar 21, 2022 at 1:04 PM Matt Klein @.***> wrote:

What was probably fine? Removing the tests that require PY2? If so, please
do a PR. :)
—
Reply to this email directly, view it on GitHub
https://github.com/envoyproxy/envoy/pull/20432#issuecomment-1074083908,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAKJSA35E472RLVXUGIMXPTVBCM2VANCNFSM5RG73A6Q
.
You are receiving this because you were mentioned.Message ID:
@.***>

this seems to be reliably failing due to disk space issues, which i think implies we are close to the space limit for this job
im going to add the disk cleanup for the x64 release job - if that works, ill raise a PR separately to add
cc @mattklein123

i think the only remaining blocker for this is arm support landing in rules_python
~relatedly, we probably want to update the DEPENDENCY_POLICY doc wrt to python deps (and perhaps with some info about dependency issues)

cc @wrowe i have managed to get this further by increasing the shards for the thrift test - it now seems to complete successfully
unfortunately its hitting another issue:

   check.warn(importable)
  copying multidict\__init__.pyi -> build\lib.win-amd64-cpython-310\multidict
  copying multidict\_multidict.c -> build\lib.win-amd64-cpython-310\multidict
  copying multidict\py.typed -> build\lib.win-amd64-cpython-310\multidict
  creating build\lib.win-amd64-cpython-310\multidict\_multilib
  copying multidict\_multilib\defs.h -> build\lib.win-amd64-cpython-310\multidict\_multilib
  copying multidict\_multilib\dict.h -> build\lib.win-amd64-cpython-310\multidict\_multilib
  copying multidict\_multilib\istr.h -> build\lib.win-amd64-cpython-310\multidict\_multilib
  copying multidict\_multilib\iter.h -> build\lib.win-amd64-cpython-310\multidict\_multilib
  copying multidict\_multilib\pair_list.h -> build\lib.win-amd64-cpython-310\multidict\_multilib
  copying multidict\_multilib\views.h -> build\lib.win-amd64-cpython-310\multidict\_multilib
  running build_ext
  building 'multidict._multidict' extension
  error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
  [end of output]

by my reading of the code here https://github.com/envoyproxy/envoy-build-tools/blob/08c1f7edd91d5c891e8b94e87f0eafa6b4224fad/build_container/build_container_windows.ps1#L82-L98
# VS 2019 Build Tools
# Pinned to version 16.9.4 downloaded on 1/31/2022 via https://aka.ms/vs/16/release/vs_BuildTools.exe
DownloadAndCheck $env:TEMP\vs_BuildTools.exe `
                 https://download.visualstudio.microsoft.com/download/pr/9a26f37e-6001-429b-a5db-c5455b93953c/460d80ab276046de2455a4115cc4e2f1e6529c9e6cb99501844ecafd16c619c4/vs_BuildTools.exe `
                 460d80ab276046de2455a4115cc4e2f1e6529c9e6cb99501844ecafd16c619c4
# See: https://docs.microsoft.com/en-us/visualstudio/install/workload-component-id-vs-build-tools?view=vs-2019#c-build-tools
# Other dependent/required components including the "Microsoft.VisualStudio.Workload.MSBuildTools"
# are added by the installer, do not need to be listed below, and cannot be supressed.
echo @"
{
  "version": "1.0",
  "components": [
    "Microsoft.VisualStudio.Workload.VCTools",
    "Microsoft.VisualStudio.Component.Windows11SDK.22000",
    "Microsoft.VisualStudio.Component.VC.Tools.x86.x64",
  ]
}

we already have "Microsoft Visual C++ 14.0 or greater"
im guessing this is related to issues with the standalone windows python binary - ref:

https://github.com/indygreg/python-build-standalone/issues/124
https://github.com/bazelbuild/rules_python/pull/694

@wrowe ive cleaned up the PR (apologies for squash/force push) and it should be ready for review (at last!)

cc @ggreenway it would be good to do at least a ./docs/build.sh on mac with this PR to confirm nothing is broken there

cc @ggreenway it would be good to do at least a ./docs/build.sh on mac with this PR to confirm nothing is broken there

Build completed successfully on my mac. For reference, x86 running MacOS 12.4 (latest release).

Looks like a fix format patch to apply and this should be gtg

/retest


installmod update

Hey guys,
this morning i've intalled a new mod on a server but when i've installed it, it trigger an update to my other server that have the same mod
is it normal ?
thanks

https://github.com/FezVrasta/ark-server-tools/blob/master/tools/arkmanager#L2122
installmod currently forces SteamCMD to re-validate the mod files, which causes SteamCMD to change the modification time on those mod files, resulting in any successive update runs to detect that the mod has been updated.
We can add e.g. a --validate option to installmod / installmods to turn this on or off.

the problem is that i use a cron to check up mod update every 15 min, i don't know if (after adding this command to my cron) the cron will be able to make difference with the installmod and the --update-mods
*/15 * * * * /usr/local/bin/arkmanager useconfig pve update --update-mods --warn

7cc3249 should fix this.

so is there going to be a command ? or the installmod does't do it anymore ?

installmod will now only forcibly re-download the mod if the --validate option is specified.


fix: remove a simp lemma that matches any term

This lemma https://github.com/leanprover/lean4/blob/162062b3dedecdfcd796cc3da9ffba26e74b7ddd/src/Init/Core.lean#L609 has a metavariable LHS and it is tried many times in a simp execution.
Probably it is not intended.
For example,
set_option trace.Meta.Tactic.simp true in
example : 1 + 1 = 2 := by simp

PUnit.eq_punit appears 12 times in the log.

@pcpthm The "tsunami" of trace messages is gone. We will keep the lemma for now since it doesn't seem to be a performance bottleneck at this point.


Merge 12-11 updates to live

OPS Build status updates of commit 9007e1d:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

.openpublishing.redirection.json
:white_check_mark:Succeeded

Language/Reference/User-Interface-Help/abs-function.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/activate-deactivate-events.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/array-function.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/asc-function.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/atn-function.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/calendar-constants.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/callbyname-function.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/calltype-constants.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/choose-function.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/chr-function.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/color-constants.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/command-function.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/comparison-constants.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/conversion-functions.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/cos-function.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/createobject-function.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/curdir-function.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/cverr-function.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/date-constants.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/date-format-constants.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/dir-getattr-and-setattr-constants.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/drivetype-constants.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/file-attribute-constants.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/file-input-output-constants.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/form-constants.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/imestatus-constants.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/initialize-event.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/keycode-constants.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/miscellaneous-constants.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/msgbox-constants.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/queryclose-constants.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/queryclose-event.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/resize-event.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/shell-constants.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/specialfolder-constants.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/strconv-constants.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/system-color-constants.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/terminate-event-visual-basic-for-applications.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/tristate-constants.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/visual-basic-constants.md
:white_check_mark:Succeeded
View

Language/Reference/constants-visual-basic-for-applications.md
:white_check_mark:Succeeded
View

Language/Reference/events-visual-basic-for-applications.md
:white_check_mark:Succeeded
View

Language/Reference/functions-visual-basic-for-applications.md
:white_check_mark:Succeeded
View

Language/Reference/object-browser-visual-basic-for-applications.md
:white_check_mark:Succeeded
View

api/Access.Chart.md
:white_check_mark:Succeeded
View

api/TOC.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Ported "build-release" to a bash script.

Thanks a lot for your contribution to the FACT-Finder PHP library. In order to take over these changes into the repository, the target branch of your pull request has to be "development".
And it should only include the updated bash script but no further changes.
Could you please create a new pull request for the dev branch?
Thank you in advance.


npm shrinkwrap

My welcome page stays empty after logging in. I don't know if it is related, but locking down the npm dependencies with shrinkwrap would ensure I have the same working environment than you.

Didn't know about shrinkwrap.. What do you think about using Yarn?


python311Packages.app-model: 0.1.4 -> 0.2.0

Diff: https://github.com/pyapp-kit/app-model/compare/refs/tags/v0.1.4...v0.2.0
Changelog: https://github.com/pyapp-kit/app-model/blob/v0.2.0/CHANGELOG.md
Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 243399 run on x86_64-linux 1

6 packages built:

napari (python310Packages.napari)
napari.dist (python310Packages.napari.dist)
python310Packages.app-model
python310Packages.app-model.dist
python311Packages.app-model
python311Packages.app-model.dist


In graph，when the node link to it self ，the line is invisible almost

Version
4.9.0
Steps to reproduce
option = {
    title: {
        text: 'Graph 简单示例'
    },
    tooltip: {},
    animationDurationUpdate: 1500,
    animationEasingUpdate: 'quinticInOut',
    series: [
        {
            type: 'graph',
            layout: 'none',
            symbolSize: 10,
            roam: true,
            label: {
                show: true
            },
            edgeSymbol: ['circle', 'arrow'],
            edgeSymbolSize: [4, 10],
            edgeLabel: {
                fontSize: 20
            },
            data: [{
                name: '节点1',
                x: 300,
                y: 300
            }, {
                name: '节点2',
                x: 800,
                y: 300
            }],
            // links: [],
            links: [{
                source: 0,
                target: 1,
                symbolSize: [5, 20],
                label: {
                    show: true
                },
                lineStyle: {
                    curveness: 0.2
                }
            }, {
                source: '节点2',
                target: '节点1',
                label: {
                    show: true
                },
                lineStyle: {
                    curveness: 0.2
                }
            }, {
                source: '节点1',
                target: '节点1',
                // label: {
                //     show: true
                // },
                lineStyle: {
                    curveness: 0.2
                }
            }, ],
            lineStyle: {
                opacity: 0.9,
                width: 2,
                curveness: 0
            }
        }
    ]
};

What is expected?
the link  invisible almost
What is actually happening?
the link obvious

it same #10813 but not #11260

This is not supported yet. Mark as a new feature.

Duplicate with #12951 ?

This is not supported yet.

This is not supported yet. Mark as a new feature.

SOLVED？

Solved? Is their some way how to support on this?

Solved? Is their some way how to support on this?

Still an open issue. See also the duplicate #12951.

This is not supported yet. Mark as a new feature.

Has this feature been implemented?


not able to build image locally

Hi Sir,
I've tried to build image locally with the instruction in the README.md, there are many of error messages.
I am not sure if something was going wrong with it.

Hi,
There was missing the correct file to be used to build locally. In the mean time, I have already pushed it to the repository so check the new changes. You should be able to run it without problems.

Thanks, I will try it and give the feedback for you.


add cerebras

Hey, just wondering why was this PR closed? I think it would help the users, as it is not working for all or difficult to get it working (as I could see in discord) if using 'OpenAI Compatible' option. One of them is me!
I'm hoping you will create another PR for this.


Idea: Add helpers to intersect a query on the server to get relevant data

type CommentCreateSubscriptionInput {
  clientMutationId: ID!
  storyId: ID!
}

subscription A($input_1: CommentCreateSubscriptionInput) {
  123Comment: commentCreateSubscription(input: $input_1) {
    commentEdge {
      cursor
      node
    }
  }
}
// When relay prints the query they rename the variables to input_1 input_2 etc. So we can't know for sure what pairs if we don't parse the query.
send(query, variables = { input_1: { clientMutationId: '1', storyId: '123' }});

// server
getVariablesForQuery(query, schema, {
  commentCreateSubscription: (arguments) => { // this will be called for the 123Comment field
    pubsub.subscribe(`comment_create_${arguments.input.storyId}`, sendPayloadToClient);
  }
});

What if we can intersect this query without executing it and get all variables paired with a subscription.
Then we can move the subscription creation from the resolve handlers on the server and still get rid of the separate topic that I send along the query in the todo app (create the topic server side instead of letting the client decide).
Does this make sense? I don't know..

One way of doing this might be to create a helper like mutationWithClientMutationId that splits creation and resolving of subscriptions. Have a createSubscription() {} and resolveSubsription() {} method.

I think that it should be solved via network layer. It has method supports. And may be (need search by relay sources), they check support network layer subscriptions or not. If not, throw warning if somebody try to create subscription.

I think that it should be solved via network layer. It has method supports. And may be (need search by relay sources), they check support network layer subscriptions or not. If not, throw warning if somebody try to create subscription.

I don't think we are talking about the same thing here, what I try to do here is to make it possible to use the subscription query itself to create a subscription on the server.
Right now the todo app works like this: I send a subscriptionId, topic, query and variables to the server, I would like it work like this: I send a query and variables to the server and execute it to create a subscription on the server. This is possible right now but it requires you to have all the creation logic in the resolve handlers and that can be a bit tedious if we want to get feedback from the graphql execution, e.g did the creation succeed? (possible but requires you to know the shape of the query).
It would have been easy if we could just use the variables sent by the client as is but since we don't know the shape of them until we parse and pair them with a query, we can't.
However I'm not sure that the broader community will benefit from this, might be better to implement in the example app.

Yep, I missed.
Anyway may be you didn't see talks about subscriptions, and can catch some good ideas:
Standalone talk of Laney Kuenzel about subcriptions https://www.youtube.com/watch?v=mmke4w4gc6c
Talk with Lee on React Europe https://www.youtube.com/watch?v=ViXL0YQnioU
And of course, let ask @leebyron and @laneyk give some advice how to implement creation of subscriptions.

I think https://github.com/edvinerikson/relay-subscriptions/pull/11 demonstrates this pattern with graphql-relay-subscription.

:+1:


can not run on desktop

Hey
after build and run the command to start the app.
It pops below error at the end.
Any idea?
Thanks
David

2020-02-16 11:20:36.925 ERROR 10544 --- [           main] liquibase.changelog.ChangeSet            : Change Set META-INF/jpa-changelog-8.0.0.xml::8.0.0-credential-clean
up::keycloak failed.  Error: Table "FED_CREDENTIAL_ATTRIBUTE " not found; SQL statement:
DROP TABLE PUBLIC."FED_CREDENTIAL_ATTRIBUTE " [42102-200] [Failed SQL: (42102) DROP TABLE PUBLIC."FED_CREDENTIAL_ATTRIBUTE "]

Hi， I found this is a bug for 8.0.2 tagged version for the jpa changelog file as below.
the value for the tableName contains space.
That is it.
Thanks, just for information.
David

    <dropTable tableName="FED_CREDENTIAL_ATTRIBUTE "/>

This project moved over to a new place: https://github.com/thomasdarimont/embedded-spring-boot-keycloak-server


Clicking top-bar during game also clicks cell underneath

you can Russian roulette by clicking top-bar.
Probably we should let users play safely :D

The table is technically on top of the top bar :D

okay so what this involves is switching z-index.
OR, put top-bar after Game but CSS it to be top (in that case, make sure that screen reader's read order is right.)


UI-7672 - fix broken tests

Some things have changed in activeui-sdk that broke some tests in activeui-migration:

readers of some top-level content server folders have been adjusted
deriveMappingFromMdx does not map an ALL_MEASURES field for kpi widgets anymore
parsing some queries can yield slicerAxis: undefined which is not invalid.

It would be best to enable the circleci project of this repo so that tests are run when commit are pushed on branches.


[Docs] Add service mesh components' schema to docs

Current State
The JSON Schema for each service mesh for each version are located inside templates/oam/workloads/<version>. These are automatically generated by a github action and meshery uses these to validate patterns.
Desired State
Implement docs specifying the components and their properties for each version of each service mesh supported by meshery.
Implement a github action that updates these docs everytime a new schema is generated.

Contributor Guides and Resources

📚 Instructions for contributing to documentation

Meshery documentation site and source

🛠 Meshery Build & Release Strategy
🎨 Wireframes and designs for Meshery UI in Figma
🙋🏾🙋🏼 Questions: Layer5 Discussion Forum and Layer5 Community Slack

// @Revolyssup

@gr455  can I work on this?

@gr455 can I work on this?

Sure. Have a look at the Build and Release recording from today we discussed this a little bit (It will show up here:https://www.youtube.com/c/Layer5io/videos)

Hello @KrishAryan, Are you working on this?


Provide the means to customize when the DefaultDgsQueryExecutor reloads the schema.

This commit provides the means to customize when the DefaultDgsQueryExecutor will reload its schema.
This is done via the DefaultDgsQueryExecutor.ReloadSchemaIndicator functional interface.
We are also providing an implementation of such interface that respects the current reload behavior.

Some additional observations... I think that moving the "initial schema"  to the DgsSchemaProvider in combination with the logic of when it should reload/cached would be cleaner. Shied away from a larger change but I think we should discuss it before we open a new interface, talking about DefaultDgsQueryExecutor.ReloadSchemaIndicator.


Advanced parameter groups

User Stories

As a connector author I want to be able to designate certain parameter groups as advanced so that I can increase the simplicity of basic channel creation.
As a connector author I want to be able to set intelligent defaults on parameter groups and parameters so that the complexity of channel creation is decreased.

This should show up as a toggle at the top of the Create screen where the user can toggle between basic and advanced. When on basic all of the groups labeled as advanced are hidden, but still active in that there values will still be used to create the flow. Toggling from advanced to basic should reset the advanced options.

Replacing with #138


update base docker image

Signed-off-by: Leena Jawale<EMAIL_ADDRESS>issue: https://github.com/open-cluster-management/backlog/issues/11338

/assign @hanqiuzh

/lgtm


Editor ruler is offset by 1 column

VSCode Version: Code 1.16.1 (27492b6bf3acb0775d82d2f87b25a93490673c6d, 2017-09-14T16:38:23.027Z)
OS Version: Windows_NT x64 10.0.15063
Extensions:

Extension
Author (truncated)
Version

markdown-preview-github-styles
bie
0.0.3

python
don
0.7.0

php-debug
fel
1.11.1

php-intellisense
fel
1.5.1

php-pack
fel
1.0.1

beautify
Hoo
1.1.1

vscode-scss
mrm
0.6.2

vscode-icons
rob
7.12.0

(2 theme extensions excluded)

Steps to Reproduce:

Enable editor.ruler in the setting.
Place your cursor at the ruler.
Check the line/column information in the bottom right corner.

Example: When setting editor.ruler to 80 the information displays col: 81 after placing your cursor at the ruler in the editor. It is basically offset by 1.
I have the feeling that the ruler should be at line 80 and not line 81, since the description of the setting also says:  "Columns at which to show vertical rulers".
Reproduces without extensions: Yes

@christoph-fricke
The rulers are painted after the nth character. Typically, when folks want to use rulers to try to stick to a style guide, the style guide would say something like: "there should be at most 80 chars in a line". That's why configuring the rulers with 80 means that the ruler is painted at the location where 80 monospace characters would fit:
e.g.:
"editor.rulers": [1, 10, 20, 40, 80]:

We can change the description for the ruler setting. But it is tricky to use "characters", as a tab character can take the size of N chars. The description uses column as that is the closest notion to what it tries to do.
I am open if you have suggestions for a better description that would reduce confusion.

@alexandrudima

The rulers are painted after the "nth character" (with the exception of tabs). Typically, when folks want to use rulers to try to stick to a style guide, the style guide would say something like: "there should be at most 80 chars in a line".

I have to admit that I want to use the ruler for exactly this but did not thought about it in this way. However it makes more sense and I agree with you that we should not change it.
Example for a description:
"Numbers of monospace character to fit between each vertical rulers and left border (tabs are counted as the set tab size). No rulers are drawn if array is empty."
A description like this might be less confusing and describes better how the rulers are drawn. It is a first craft and I am open to improvements.


Add license

Hi @cashew-olddew ,
could you please add a license so we would be able to use code from your tutorials in our projects? E.g. CC-BY or Apache license would be great of course.

Thank you for pointing this out!
Actually, you do not have to credit me at all! While it is highly appreciated, it's not mandatory. Thus, the licensing of this would fall under CC0.
Additionally, the README on the project main page has been updated to also hold some information regarding the licensing. You can see the changes in this commit.


why do you use envoy

Hi, i am reading your project and i love it, can i ask u a question, why do you use Envoy in your project. Can you tell me the purpose, the pros and cons of this. thank u so much

Its a modern api gateway that open source, free , and high performant. Its modern in that its a cloud connector. This project is much more than what its called. At some point , we'll rename it and add docs for it.


Background Color Alpha not persisting after several renders

I have an issue with a custom background I've applied not persisting after multiple renders.
This is how I want it to look

This what happens
Notice after the first couple of renders it adheres it the style and then it loses opacity.

The code
Tooltip
import ReactTooltip from 'react-tooltip';
import styled from 'styled-components';

export default styled(ReactTooltip).attrs({
  effect: ({ effect }) => effect || 'solid',
  delayShow: ({ delayShow }) => delayShow || 1500,
  place: ({ place }) => place || 'top',
  offset: ({ offset }) => offset || { top: 2 },
  className: 'custom-class',
})`
  &.custom-class.type-dark.__react_component_tooltip {
    color: white;
    background-color: hsla(0, 0%, 0%, 0.2) !important;
    &:after {
      border-top-color: hsla(0, 0%, 0%, 0.2) !important;
    }
`;

ImageMenu (per image, they are in separate parent components which are in an array, so are isolated and not connected to each other)
<Tooltip id="image" />
<ImageMenu>
  <ImageMenuItem
    onClick={props.handleDownload}
    disabled={props.isDownloading}
    data-tip="Save to My Images"
    data-for="image"
    src={downloadIcon}
  />
  <ImageMenuItem
    data-tip="Add to canvas"
    data-for="image"
    src={addIcon}
  />
  <ImageMenuItem
    onClick={() => props.switchOnLightbox(props.image)}
    data-tip="Enlarge"
    data-for="image"
    src={maximizeIcon}
  />
</ImageMenu>

What I've tried and noticed

Increase the specificity of the class name name targeting i.e. &.selector.selector...etc
Change rgba to hsla
The alpha channel doesn't seem to be entirely respected even when present. for 0.2 alpha it looks a lot darker.

Any help appreciated!
Thanks.

I figured out what the issue was. It was to do with the use of multiple id's. In the example above I use id="image" in every<ImageMenu />. This did not seem problematic to me as I assumed it would've been scoped to the component, but an array of many <ImageMenu />s containing the same tool tip id give rise to the unwanted side effects mentioned in my original post.
Below is my small change. I've simply changed the id value to a unique id that was already present in my <ImageMenu /> object.
<Tooltip id={this.props.image.item_id} />
<ImageMenu>
  <ImageMenuItem
    onClick={() => this.handleDownload()}
    disabled={this.state.isDownloading}
    data-tip="Save to My Images"
    data-for={this.props.image.item_id}
    src={downloadIcon}
  />
  <ImageMenuItem
    data-tip="Add to canvas"
    data-for={this.props.image.item_id}
    disabled={this.state.isDownloading}
    src={addIcon}
  />
  <ImageMenuItem
    onClick={() => this.props.switchOnLightbox(this.props.image)}
    data-tip="Enlarge"
    data-for={this.props.image.item_id}
    src={maximizeIcon}
  />
</ImageMenu>

Hope this helps for anyone having the same issue.


Create debug version with all the prints insinde macros working

Describe the issue
CoreNEURON has in a lot of places macros which enabled debug prints in multiple places. Due to the fact that those printfs are not compiled and tested currently a lot of them are not usable now and generate compilation errors.
It would be useful to fix these issues and find a better way to enable them using a CMake option (e.g. -DCORENRN_ENABLE_DEBUG_LOG=ON.

I am afraid that enabling all the prints under macros is going to generate a very verbose output, which might be something we don't want to have with a Debug build type that we normally do to disable vectorization and compare binary results in the CI or during debugging. While conceptually it makes sense, I think that in practice it won't be convenient and might be better to add a new CMake option just for enabling the extra logs.

what about CHKPNTDEBUG, CORENRN_DEBUG_QUEUE, INTERLEAVE_DEBUG


Migrate intro to MVC

http://www.asp.net/mvc/overview/getting-started/introduction/getting-started

Dup of #40


nqTagsInput: Empty dropdown list  when inserting a tag that was previously removed

If I input a value into a nqTagsInput and then I removed it, I can't select it from the dropdown list.
Tested with this code:
  </head>

  <body ng-cloak ng-controller="SimpleController">

      <label></label>
      <input type="text" id="highlightFriends" ng-model="friends" data-nq-tags-input="friendlist" data-qo-placeholder="insert friends..."   data-qo-multiple="true" >

  </body>

  <script>
  var app = angular.module('vtrack', [
    'ngSanitize',
    'ngAnimate',
    'ngQuantum'
  ])
  .controller('SimpleController', ['$rootScope','$scope', function ($scope) {

    $scope.log=function(){
      console.log.apply(console,arguments)
    }

    $scope.friendlist=['marco','ciccio','cristina']

  }])
  </script>
</html>

Sorry @pibi , I didn't understand your case clearly.
What is your complate scenario.

select marco form dropdown
remove marco
can't select marco again...

is it true?

quite right:

input ma
select marco form dropdown
remove marco
input ma again
marco is not showed, so I can't select it again

Yes thank you for your notice.
It occurs just for item removed first time. I will analyze for reason.
Namely,

input ci
select ciccio
remove ciccio
input ci again
ciccio is shown
...

solved

confirmed, thanks!


Deploy v2.0.3 of the application in notprod

Update application version deployed to notprod namespace to 2.0.3

Sorry @jeff-horton-ho-sas , I should have included these changes in PR30, need them to update the version deployed to the notprod namespace.


Fix typos

@practicalswift LGTM otherwise.

@gribozavr Thanks fo reviewing! Fixed, squashed and pushed.

@gribozavr I'll remove the "a" you noticed in your comment ("I don't think we need 'a' here at all.") too. One second :-)

@gribozavr
/// a vector out parameter).```

Could that be the correct placement of the "a"? :-)

@practicalswift I think that's correct :)


[BUG] bug of _search_split

in dataset_factory.py
_TRAIN_SYNONYM = {'train', 'training'}
_EVAL_SYNONYM = {'val', 'valid', 'validation', 'eval', 'evaluation'}
Type of _EVAL_SYNONYM is a dict, iterating a dict is not always in same order, when used in distributed system, _search_split will return different roots.

@lippman1125 you mean sets, dicts are ordered in any python version that we'd care about now, but sets like this are not. However, I really don't see the problem here, it's a convenience alias to find a suitable subdir to avoid extra typing or multiple args, the assumption is only one of those names would be used, if you have a dataset with say both 'val' and 'eval' in it that's a problem regardless of which order it searches...

@lippman1125 you mean sets, dicts are ordered in any python version that we'd care about now, but sets like this are not. However, I really don't see the problem here, it's a convenience alias to find a suitable subdir to avoid extra typing or multiple args, the assumption is only one of those names would be used, if you have a dataset with say both 'val' and 'eval' in it that's a problem regardless of which order it searches...

Its a corner case in my environment, details as follow:
My imagenet directory contains val and valid. val is for imagent evaluation, valid is not.  When I launch a distributed training, some processes get val, others get valid, it will cause incorrect evaluation results. But I think it's a bug, because evalution is not always incorrect, if all processes concidently get val.(repeated launch)  This phenomenon confused me a lot.  If using lists instead of sets, the program will behaves consistently.


Don't use hidden config files.

CI is failing due to unrelated linter errors that are fixed in https://github.com/degica/kaiser/pull/67
The way to usually store config files on *nix systems is to have either a single hidden file in the home directory or a hidden directory with non-hidden files inside.
Kaiser used a hidden directory with hidden files inside which was confusing. I updated it to use the more common hidden directory with non-hidden files pattern.
I've set it up so that kaiser will checked for the hidden files on boot and un-hide them if they exist.

@davidsiaw please review this

@davidsiaw It got it in https://github.com/degica/kaiser/pull/67 as mentioned on the top of the PR description. ^_^

@davidsiaw Rubocop has been loved. ^_^


feature: 快捷提单支持

Codecov Report

Merging #614 (37c6dee) into v2.6.x_develop (ac18227) will decrease coverage by 0.01%.
The diff coverage is 43.24%.

:exclamation: Current head 37c6dee differs from pull request most recent head 150008f. Consider uploading reports for the commit 150008f to get more accurate results

@@                Coverage Diff                 @@
##           v2.6.x_develop     #614      +/-   ##
==================================================
- Coverage           62.28%   62.26%   -0.02%
==================================================
  Files                 442      442
  Lines               27447    27489      +42
==================================================
+ Hits                17095    17117      +22
- Misses              10352    10372      +20

Impacted Files
Coverage Δ

itsm/ticket/models/ticket.py
55.52% <30.00%> (-0.20%)
:arrow_down:

itsm/openapi/ticket/views.py
45.75% <37.50%> (-0.38%)
:arrow_down:

itsm/openapi/ticket/serializers.py
79.78% <77.77%> (-0.11%)
:arrow_down:

config/default.py
85.16% <0.00%> (ø)

itsm/component/misc_middlewares.py
42.03% <0.00%> (+1.03%)
:arrow_up:

itsm/sites/views.py
51.72% <0.00%> (+7.82%)
:arrow_up:

Continue to review full report at Codecov.

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


Migrate to Gulp?

At the moment we have some scripts in bash, node, in package.json (scripts field). Quite possible we need to make them all in one Gulp config.

Related to #98 - I would prefer to use programmatic way to set custom transformers instead of using ttypescript.

It seems that now it works not bad so I'm going to close this issue.


[AutoPR machinelearning/resource-manager] Fix RM machinelearning TypeScript readme

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/4427

(message created by the CI based on PR content)

TS PR


FAQ.md needs better explanation

I had a chance to look at the FAQ file and in the section
How can I mount a host directory as a data volume?
I donot see any relevance for this step
copy the solr directory from a temporary container to the volume
$ docker run -it --rm -v /home/docker-volumes/mysolr1:/target makuk66/docker-solr cp -r server/solr /target/
Could you please add the reason for doing this?
If this is  not needed, please delete it to avoid confusion.

That step is required. The preceding paragraph explains why. I've modified it slightly in case that helps.
If you are still not sure, can tell me what specifically is unclear?