mkdocs_puml makes search unavailable

mkdocs_puml works but makes search unavailable
Steps to reproduce the behavior:

Create my-mkdocs-material docker image from squidfunk/mkdocs-material:latest with mkdocs_puml plugin
Add to mkdocs.yml:

plugins:
  - plantuml:
      puml_url: https://www.plantuml.com/plantuml/
      num_workers: 8
  - search:
      lang:
        - en

Build site docker run --rm -it -p 8000:8000 -v "%cd%":/docs my-mkdocs-material build --verbose --strict --site-dir public
Search unavailable:

Without installed mkdocs_puml plugin:

Hi @astrizhachuk! Thank you for reporting the issue 🤝. I'll take a look at it asap

@astrizhachuk, could you please share full mkdocs,.yml file?

@MikhailKravets python:3.11.0
mkdocs.yml:
site_name: ut_10_3

site_url: 'http://site/ut_10_3'
repo_name: 'dev1c/ut_10_3'
repo_url: 'https://site/dev1c/ut_10_3'
edit_uri: 'edit/master/-/docs'

theme:
  name: material
  language: ru
  palette:
    # Dark mode
    - media: "(prefers-color-scheme: dark)"
      scheme: slate
      primary: black
      accent: light blue
      toggle:
        icon: material/lightbulb
        name: Switch to light mode
    # Light mode
    - teal: "(prefers-color-scheme: light)"
      scheme: default
      primary: white
      accent: indigo
      toggle:
        icon: material/lightbulb-outline
        name: Switch to dark mode
  features:
    - content.code.annotate
    - navigation.tabs
    - search.highlight
    - toc.integrate
    - header.autohide
extra:
  social:
    - icon: fontawesome/brands/gitlab
      link: 'https://site/dev1c/ut_10_3'
extra_css:
  - 'assets/stylesheets/extra.css'
extra_javascript:
  - https://cdnjs.cloudflare.com/ajax/libs/tablesort/5.2.1/tablesort.min.js
  - assets/javascripts/tables.js
markdown_extensions:
  - admonition
  - abbr
  - attr_list
  - def_list
  - footnotes
  - meta
  - md_in_html
  - toc:
      permalink: true
  - pymdownx.arithmatex:
      generic: true
  - pymdownx.betterem:
      smart_enable: all
  - pymdownx.caret
  - pymdownx.details
  - pymdownx.emoji:
      emoji_index: !!python/name:materialx.emoji.twemoji
      emoji_generator: !!python/name:materialx.emoji.to_svg
  - pymdownx.highlight
  - pymdownx.inlinehilite
  - pymdownx.keys
  - pymdownx.magiclink:
      repo_url_shorthand: true
      user: squidfunk
      repo: mkdocs-material
  - pymdownx.mark
  - pymdownx.smartsymbols
  - pymdownx.superfences:
      custom_fences:
        - name: mermaid
          class: mermaid-experimental
          format: !!python/name:pymdownx.superfences.fence_code_format
  - pymdownx.tabbed:
      alternate_style: true
  - pymdownx.tasklist:
      custom_checkbox: true
  - pymdownx.tilde
  - pymdownx.snippets

plugins:
  - plantuml:
      puml_url: https://www.plantuml.com/plantuml/
      num_workers: 8
  - search:
      lang:
        - ru

@MikhailKravets Dockerfile with plugin:
FROM python:3.11.0-alpine3.17

# Build-time flags
ARG WITH_PLUGINS=true

# Environment variables
ENV PACKAGES=/usr/local/lib/python3.11/site-packages
ENV PYTHONDONTWRITEBYTECODE=1

# Set build directory
WORKDIR /tmp

# Copy files necessary for build
COPY material material
COPY package.json package.json
COPY README.md README.md
COPY requirements.txt requirements.txt
COPY pyproject.toml pyproject.toml

# Perform build and cleanup artifacts and caches
RUN \
  apk upgrade --update-cache -a \
&& \
  apk add --no-cache \
    cairo \
    freetype-dev \
    git \
    git-fast-import \
    jpeg-dev \
    openssh \
    zlib-dev \
&& \
  apk add --no-cache --virtual .build \
    gcc \
    libffi-dev \
    musl-dev \
&& \
  pip install --no-cache-dir . \
&& \
  if [ "${WITH_PLUGINS}" = "true" ]; then \
    pip install --no-cache-dir \
      "mkdocs-minify-plugin>=0.3" \
      "mkdocs-redirects>=1.0" \
      "pillow>=9.0" \
      "cairosvg>=2.5" \
      "mkdocs_puml"; \
  fi \
&& \
  apk del .build \
&& \
  for theme in mkdocs readthedocs; do \
    rm -rf ${PACKAGES}/mkdocs/themes/$theme; \
    ln -s \
      ${PACKAGES}/material \
      ${PACKAGES}/mkdocs/themes/$theme; \
  done \
&& \
  rm -rf /tmp/* /root/.cache \
&& \
  find ${PACKAGES} \
    -type f \
    -path "*/__pycache__/*" \
    -exec rm -f {} \;

# Trust directory, required for git >= 2.35.2
RUN git config --global --add safe.directory /docs &&\
    git config --global --add safe.directory /site

# Set working directory
WORKDIR /docs

# Expose MkDocs development server port
EXPOSE 8000

# Start development server by default
ENTRYPOINT ["mkdocs"]
CMD ["serve", "--dev-addr=<IP_ADDRESS>:8000"]

```

If you add a plugin, then even without adding it to the plugins: section, the search does not work.

For example, I created docker-image w/plugin and a simple repository. Dockerfile and mkdocs.yml from my comments.
git clone git@github.com:astrizhachuk/example-puml.git
cd example-puml
docker run --rm -it -p 8000:8000 -v "%cd%":/docs astrizhachuk/mkdocs-material-puml:latest build --verbose --strict --site-dir public

Diff for index.html (w/without plugin). <div class="md-search" is gone:

Do the problem persist if you build or serve mkdocs outside the docker?
Just inside virtual env running the command
mkdocs serve

Yep, problem persist outside the docker (ubuntu-20.04). When the plugin was installed in linux outside the docker:
> pip3 install mkdocs_puml
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
mkdocs-material 9.0.6 requires mkdocs>=1.4.2, but you have mkdocs 1.3.0 which is incompatible.
Successfully installed markdown-3.4.1 mkdocs-1.3.0

mkdocs only used in Gitlab Pages (ci/cd pipline, docker. linux):
pages:
  image: python:3.8-buster
  before_script:
    - pip install mkdocs
    - pip install mkdocs-material
    - pip install mkdocs_puml
  script:
    - mkdocs build --verbose --strict --site-dir public

Full pipline log: https://gist.github.com/astrizhachuk/5ccc80d5737167760e49dc77d2df4428
Dependency problem?

Yes! I've figured out the problem. Now I can recreate the bug. I'm already uploading the fix.
For now, as a quick workaround, you can use mkdocs-material ~= 8 and mkdocs ~= 1.3.
Thanks for the support @astrizhachuk! Much appreciated 🚀

@astrizhachuk, please update mkdocs-puml package to the latest 1.1.0 version. Let me know if there is any other issue!


Why keeps the centroids with same mean after compressed?

        TDigest tDigest = new MergingDigest(10L);
        for (int i = 0; i < 50; i++) {
            tDigest.add(1, 1);
        }
        System.out.println(tDigest.centroids().size());
        tDigest.centroids().forEach(c -> {
            System.out.printf("%f %d\n", c.mean(), c.count());
        });

will prints
14
1.000000 1
1.000000 1
1.000000 2
1.000000 3
1.000000 5
1.000000 6
1.000000 7
1.000000 7
1.000000 6
1.000000 5
1.000000 3
1.000000 2
1.000000 1
1.000000 1

Why centroids with same mean are not compacted into one centroid? What's the reason to keep these centroid?

That's a great question.
The reason for doing this is to preserve the invariant on cluster size. If a sample is added afterwards and happens to land right next to this collection of centroids, one of them can be peeled off to include this new point (and get a new mean).
Of course, this effect could also be handled by allowing centroids that were formed from just a single value to be split as later, but there currently isn't any mechanism to remember which centroids had a single value and which had different values. Unless we remember that, we can't know if we can split and remembering that requires an extra flag per centroid and extra logic to check and update that flag.
On the other hand, the code as it is works well in this case and others. Moreover, the cost in time is zero and the space required always conforms with the guarantees of the t-digest and thus could be considered nil. If other data points are added, these single value centroids will be merged or be shaved off into adjacent clusters to preserve the invariant.
Does that make sense?

Closing due to lack of response.

Closing due to lack of response.


Release Google.Cloud.AIPlatform.V1 version 2.17.0

Changes in this release:
New features

Add PredictionService.ServerStreamingPredict method (commit 48c78fe)
Add StreamingPredictRequest type (commit 48c78fe)
Add StreamingPredictResponse type (commit 48c78fe)
Add Tensor type (commit 48c78fe)
ScheduleService (schedule_service.proto) creates and manages Schedule resources to launch scheduled pipelines runs (commit dc5bfd6)
Schedule (schedule.proto) periodically schedules runs to make API calls (commit dc5bfd6)
Add data_item_count to Dataset (commit 445fa0e)
Add DeleteSavedQuery to DatasetService (commit 445fa0e)
Add JOB_STATE_PARTIALLY_SUCCEEDED to JobState (commit 445fa0e)
Add pipeline_job to Model (commit 445fa0e)
Add reserved_ip_ranges to PipelineJob (commit 445fa0e)

Created release for Google.Cloud.AIPlatform.V1-2.17.0


Not working with crystal 0.30

The error is:
Error: abstract `def Enumerable(T)#each(&block)` must be implemented by Callback::ResultSet(T)

The code is one of your samples:
require "cli"

class Hello < Cli::Command
  class Options
    bool "--bye"
    arg "to"
  end

  def run
    if args.bye?
      print "Goodbye"
    else
      print "Hello"
    end
    puts " #{args.to}!"
  end
end

Hello.run %w(world) # prints "Hello, world!"
Hello.run %w(--bye world) # prints "Goodbye, world!"

@renich, use bcardiff's fork until his pull request gets merged.
Add this to your shard.yml:
dependencies:
  cli:
    # github: mosop/cli
    github: bcardiff/cli
    branch: bcardiff/use-fork

@mosop
Any chance to merge bcardiff's branch? :)

I'm using
dependencies:
  cli:
    github: bcardiff/cli
    branch: crystal/0.35.1


Unable to install with 8.x

I am using PHP 8.0.7 (cli) (built: Jun  4 2021 03:56:55) ( NTS ). And laravel V8.x
I use this library before with laravel 5.7. truly speaking it is a really great library and I love to use it in my current project.
Please add support for the latest laravel version. Or give me an idea of how may I use it in my project or change my development environment for this. I am using mac big sur 11.2.3.
Thanks in advance.

Hi, as the author has stated this project may not work on new versions of Laravel. You can try this: https://github.com/Muhammadinaam/speed-admin. It supports Laravel 8+.

Hi, this was a nice package but the author has stated that he has stopped working on it. Maybe you can try this package: https://github.com/Muhammadinaam/speed-admin. It supports Laravel 8.


CI: use golang-1.20 image from openshift release to build crc binary

Our CI runs on GCP which have RHEL9.2 and go-1.19 so our jobs are failing, This PR use registry.ci.openshift.org/openshift/release:rhel-8-release-golang-1.20-openshift-4.15 to build the crc binary and we will revert this once RHEL-9.3 released which have gotool-1.20.x

/cherry-pick release-4.15


Frontend must not  be able do specify project details such as timeout

Project details, such as the execution time out, must be determined in the backend instead of the frontend. There is a risk of someone directly accessing the backend with an infinite time process, for example.

The problem is larger than this. Currently, Codelab is using and exposing more fields than necessary. For example, Codelab only uses one source file and one command. There is no sense in using the Codebox interface that allows different sources and commands since only a part of it is used.


Serializer test fix

The cell outputs marshaling test checks an item.data.type property which is not valid per the proto.  This test works because the Notebook.clone() method in serializer.ts/marshalNotebook() stores this data which is later accessed in the test. During normal operation the NotebookData that marshalNotebook receives has a Buffer object for item.data not a {'type':'Buffer','data':[1,2,3,...]} type.  A fix is provided here to make the fixture more representative of what would be encountered in normal operation of the extension.
Side note:  work I am doing to convert from timostamm-ts to protobuf_es creates a Notebook differently, which strips out this invalid structure/data, which is how this bug was caught. I believe this fix will allow the two to coexist. The other PR for the conversion is almost ready...

Ran the tests out-of-band and they all passed. The e2e tests suite requires stateful org secrets which is why didn't pass for this PR.


clean workloads on failure

App chatflows don't cancel the deployed workloads when it fails

I have created in the /sals/chatflows/chatflow.py a class to handle an exception and clean the workerload_is
I have refactored the cryptopad to use the new exception handler

commit
125dd37554f3cc249e2f00f8da776bae943781d5

I have checked other solutions but I can see that they don't have workerload_ids list to be used.
The solutions in the admin solution and market place must be revisited to see if it need to be refactored to have workerload_ids list or not, and if so it must use our new exception handler to clean
raise StopChatFlowCleanWorkloads(
                f"Failed to create container on node {self.selected_node.node_id} {self.workload_ids[1]}",
                getattr(self, "workload_ids", None),
            )

it is much simpler than that. current chatflows add a solution uuid into metadata of all workloads of the solution. canceling one workload using
j.sals.marketplace.solution.cancel_solution(username, [workload_id])

or
j.sals.reservation_chatflow.solutions.cancel_solution([workload_id])

will cancel all workloads with the same uuid (all workloads deployed during the chatflow)

draft PR:
https://github.com/threefoldtech/js-sdk/pull/641

cancel_solution_uuid method to cancel the work load using UUID
Change the raise of exception with StopChatFlowCleanWorkloads exception
Clean workloads for admin solutions using the new exception handler

done with deployment context


By default the debug mode is on and shown in the 404 page

When I enter a location which does not exist a 404 page is shown to me. This is normal functionality, but in this version a debug mode is shown on screen.
This happens to the version which is directly used after deploying with the docker instructions.
See screenshot for details.

Hi @mvdvaart thank you for bring this to me, yes you are right Debug mode was enables (I think the application is in early stages so I use to debug errors), if you need to change this take a look into app/config/petereport_config.py and change debug to False:
DJANGO_CONFIG = {
	'secret_key': 'django-insecure-key-CHANGEMEPLEASE-pKj9bd9h7*RMCuU',
	'debug': False,
	'admin_module': False,
	'allowed_hosts': '[\'*\']',
	'server_host': 'http://<IP_ADDRESS>:8000'
}

I will add a note to put this into the documentation and to add 400 and 500 pages

#19


⚠ Bofrost.be has degraded performance

In 5a98000, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1354 ms

Resolved: Bofrost.be performance has improved in f8cb319 after 6 minutes.


Sometimes it says Gradle exited abnormally sometimes says apply plugin in app/gradle

Please help me...(<_>)

What command did you run?
Try to execute it with -v

flutter doctor -v
then i run with this command
flutter run

Duplicate of #38163.
If you disagree, please comment and I will re-open it right away.


Skip email verification when creating a superuser

closes #134

No longer needed. New version already does this


Disabling drag when mouse is over a div that sits above the zoompan element

Hi Timmy (duplicate with example)
i see you have moved the popup out of the panzoom element as a fix
Unfortunately i need the the popup div to be part of the panzoom element so it pans and zooms with the rest of the image.
i just dont want it to pan when the mouse drag is on the popup scroll bar.
https://jsfiddle.net/wxgvqkan/6/
on the example i cant scroll the popup window using the scroll bars (i can with the mouse wheel)
you recently described how to disable zoom with mouse when the pointer is over a different window that sits in front of the panzoom element. I used this and it works when i am wanting to scroll the target window and not the panzoom element.
i am having an issue when dragging the scroll bar of the target window, it does scroll the window but it also pans the map behind it. Can you help?
many thanks.

Ok, I'm not seeing anything move when dragging the scroll bar. Perhaps the behavior is browser-specific? I'm using Chrome. However, you should be able to disable panning on the scroll event. If it's okay that the popup doesn't initiate panning (but still pans with the panzoom element), you can add it to excluded elements.

Ok, I'm not seeing anything move when dragging the scroll bar. Perhaps the behavior is browser-specific? I'm using Chrome. However, you should be able to disable panning on the scroll event. If it's okay that the popup doesn't initiate panning (but still pans with the panzoom element), you can add it to excluded elements.


Fix typo (form -> from)

in content/en/docs/setup/production-environment/container-runtimes.md

Before: (Optional - but highly recommended) Exclude containerd form Windows Defender Scans
After: (Optional - but highly recommended) Exclude containerd from Windows Defender Scans

Thanks.
/lgtm
/approve


Signal handling default

This creates a global default for disabling the default signal handling in run_command.  Fixes #31

Coverage increased (+0.02%) to 64.232% when pulling 4a2f2018d6b960e83bf5bea91da84eef8d77be86 on signal-handling-default into 27a8751235483cabf63eea9b62fbced9765bf496 on master.


Need multiple view of product currently only one photos shows for the product

What I'm trying to achieve
…
Multiple display for product like front and back
Describe a proposed solution
...
Not currently in mind
Other solutions I've tried and won't work
…
Screenshots or mockups

Closing this since it's not related to Saleor core, it's more about saleor-storefront. We're working on a redesign of the product page where there will be multiple thumbnails of a product showed next the main image (https://github.com/mirumee/saleor-storefront/pull/592)


Feature/aliyun ecs discovery

Pressure test: this implement support pressure test with about 1K ECS instances, and every ECS have multi tags, support frequency and alternating ECS scaling scenario. PRESSURE_TEST.md
Support filter with ECS tags.
Use scrolling API to discovery ecs to support frequency ECS scale change scenario.
UT and README and so on.

fixes #11931

@roidelapluie hi, PTAL.

Does this pressure test report need to be placed in the code repository? PRESSURE_TEST.md
@roidelapluie

@KeyOfSpectator please can you say something about how this code will be maintained for years into the future.

@KeyOfSpectator please can you say something about how this code will be maintained for years into the future.

Hi, @bboreham @beorn7
I am from the Alibaba Cloud team, and I am responsible for AlibabaCloud's Cloud Native Observability and Kubernetes. My team is in charge of Alibaba Cloud's Prometheus service and related products. Our product development has always followed the compatibility standards set by the Prometheus community and ecosystem.
Many of our customers are also users of the native Prometheus community and have very strong requirements.
We are very willing to continue contributing to the Prometheus community and to be responsible for the ongoing evolution and iteration of relevant parts within the Prometheus community.
If there are working groups or other collaborative mechanisms in the community, please include me, and I will coordinate with my team members to follow up continuously.

Hi, @bboreham @beorn7
Could you please let me know if there has been any progress?

Hopefully we will discuss the more general SD topic and this issue in particular at tomorrow's dev summit.
It would also be good to hear @roidelapluie's opinion about this.


[BUG] Volume does not attach to pod "rpc error: code = Internal desc = format of disk"

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Create a volume
Create a PVC
Create a pod with the volume

Expected behavior
Successfully attaching the volume and running the pod
Log
Log of the pod that has the volume attached

Environment:

Longhorn version: 1.20
Installation method (e.g. Rancher Catalog App/Helm/Kubectl): helm
Kubernetes distro (e.g. RKE/K3s/EKS/OpenShift) and version: RKE 21.04

Number of management node in the cluster: 2
Number of worker node in the cluster: 4

Node config

OS type and version: Ubuntu 20.04
CPU per node: 4 - 10
Memory per node: 8GB - 64GB
Disk type(e.g. SSD/NVMe): SSD
Network bandwidth between the nodes: 2,5 Gbit

Underlying Infrastructure (e.g. on AWS/GCE, EKS/GKE, VMWare/KVM, Baremetal): Baremetal
Number of Longhorn volumes in the cluster: 1 test volume, fresh installation

Additional context
I have been using longhorn since a few months now and never had any issues but after I was doing some node maintenance including completely wiping longhorn and then reinstalling it I've been having issues that once I want to use a pod with a volume attached to it it never binds the volume.

I think I've got the same pb  after update to 1.2.0
I update longhorn from 1.1.0 to 1.2.0 everything seems good but
when I try to delete openldap  ns who contained a PVC a recreate it
The PVC is well created, the PV seems ok too but when the pod try to use it :
MountVolume.MountDevice failed for volume "pvc-13e03f5a-7e85-4247-934a-e49448a1f0c7" : rpc error: code = Internal desc = format of disk "/dev/longhorn/pvc-13e03f5a-7e85-4247-934a-e49448a1f0c7" failed: type:("ext4") target:("/var/lib/kubelet/plugins/kubernetes.io/csi/pv/pvc-13e03f5a-7e85-4247-934a-e49448a1f0c7/globalmount") options:("defaults") errcode:(exit status 1) output:(mke2fs 1.45.5 (07-Jan-2020) /dev/longhorn/pvc-13e03f5a-7e85-4247-934a-e49448a1f0c7 is apparently in use by the system; will not make a filesystem here! )

Strange haven't encountered that error before, might also be the target service as mentioned here: https://serverfault.com/a/934774

Related slack discussion https://cloud-native.slack.com/archives/CNVPEL9U3/p1631104997044800

/dev/longhorn/pvc-13e03f5a-7e85-4247-934a-e49448a1f0c7 is apparently in use by the system;

Looks like something is hijacking the Longhorn block device. Can you try these steps to find out who is using the block device? https://github.com/longhorn/longhorn/issues/1210#issuecomment-671591451
Also, have you recently upgrade the OS on nodes?

/dev/longhorn/pvc-13e03f5a-7e85-4247-934a-e49448a1f0c7 is apparently in use by the system;

@obeyler @Timeraa Looks like something is hijacking the Longhorn block device. Can you try these steps to find out who is using the block device? #1210 (comment)
Also, have you recently upgrade the OS on nodes?

I followed the most liked comment on the issue you mentioned, that seemed to help and yes it seems like it was hijacked because it was still being used.
And no I haven't upgraded the OS on any node, only security updates at most.

Do you mean this comment https://github.com/longhorn/longhorn/issues/1210#issuecomment-671689746?
If so, This is the multipath problem

I first tried the comment above which didn't work but the the one you commented worked out in the end. I suppose this issue can be closed now?

Sure. We have identified the root cause. So it is good to close

Yep. Thanks for the help! 🍻🎉


how use this code for CPU-Only?

Hi, I wanna use this code to inference with cpu-only, without cuda support?

@Yasin40 The answer is Yes, you can take a look at the README

@Yasin40 The answer is Yes, you can take a look at the README

I got error when make it without cuda (on system without cuda installed)

i think  remove  "#include <c10/cuda/CUDAStream.h> and include <ATen/cuda/CUDAEvent.h>" in detector.h would work

@Wangbenzhi  thanks for pointing it out, agreed

Kind of curious about the first two frame interpret time issue ON GPU. The first frame which is an empty image will take 200-300 ms and the second one which is my incoming image will take  more than 1 s(forget the exact number but much slower than the first frame). And the following image will just consume 10 ms per frame. Wonder what reason for the time issue of the second image which consume much more time than the rest of frame? Thanks for you help!

Kind of curious about the first two frame interpret time issue ON GPU. The first frame which is an empty image will take 200-300 ms and the second one which is my incoming image will take  more than 1 s(forget the exact number but much slower than the first frame). And the following image will just consume 10 ms per frame. Wonder what reason for the time issue of the second image which consume much more time than the rest of frame? Thanks for you help!


Async vs. Sync event handling

Noticed interesting behavior that I can't understand.
PowerShell supports two types of event handlers: sync event handlers and async event handlers.
First one is a plain-vanilla .NET event handling and second is PowerShell-based full-featured-generic event handling.
Here small example:
Add-Type @"
public class Foo
{
  public event System.EventHandler CustomEvent;

  public void RaiseCustomEvent()
  {
      System.Console.WriteLine("Before raising CustomEvent");
      if (CustomEvent != null) {CustomEvent(this, System.EventArgs.Empty);}
      System.Console.WriteLine("After raising CustomEvent");
  }
}
"@

$foo = New-Object -TypeName Foo

# Register sync event
$foo.add_CustomEvent({
    Write-Host "Another Custom Handler"
})

# Register for async event
Register-ObjectEvent $foo -EventName CustomEvent -Action {
    Write-Host "Async CustomEventHandler"
}

# Raising the event
$foo.RaiseCustomEvent()

Running this code lead to the following output:
Before raising CustomEvent
Another Custom Handler
After raising CustomEvent
Async CustomEventHandler

So far, so good. But if to change order of subscriptions: async first and sync latter, then the output would be different:
# Register for async event
Register-ObjectEvent $foo -EventName CustomEvent -Action {
    Write-Host "Async CustomEventHandler"
}

# Register sync event
$foo.add_CustomEvent({
    Write-Host "Another Custom Handler"
})

# Raising the event
$foo.RaiseCustomEvent()

The output in this case would be:
Before raising CustomEvent
Async CustomEventHandler
Another Custom Handler
After raising CustomEvent

Basically, async event is not async any more! "Async" event handler was ran synchronously as well.
Am I missing something?

I can reproduce this and I also find this strange. I do not have any explanation. Perhaps it's worth to ask at Stack Overflow as well. I will continue to investigate and then will add this to the traps. This fact is useful to know, whatever the explanation is.
Note that, unlike a PS sync handler, a C# sync handler added after the async event works as expected: sync works as sync, async as async.

It is not that simple. It may have something to do with logging (Write-Host and Console.WriteLine). If I change the logging then I see different results (some expected and some new strange). To be continued.

On other machines the issue is not stable. So it is either the race condition or
some wrong assumptions on how Write-Host and Console work in this async
scenario.
Here is a more carefully designed test. It does not show the problem, it works
as expected. If it works for you fine as well then the issue can be closed, no
action is needed. It was a useful exercise anyway.
    Add-Type @'
    using System;
    using System.Collections;
    public class TestEvent
    {
        public bool Done;
        public event EventHandler CustomEvent;
        public void RaiseCustomEvent()
        {
            Log("Before raising CustomEvent");
            if (CustomEvent != null) {CustomEvent(this, EventArgs.Empty);}
            Log("After raising CustomEvent");
        }
        public void Log(string text)
        {
            lock(_lock)
            {
                _log.Add(text);
            }
        }
        public object[] Log()
        {
            return _log.ToArray();
        }
        object _lock = new object();
        ArrayList _log = new ArrayList();
    }
    '@

    $object = New-Object -TypeName TestEvent

    # Register for async event
    $null = Register-ObjectEvent $object -EventName CustomEvent -Action {
        Start-Sleep 2 # ensure it does not work before sync
        $Sender.Log('Async handler')
        $Sender.Done = $true
    }

    # Register sync event
    $object.add_CustomEvent({
        $this.Log('Sync handler')
    })

    # Raising the event
    $object.RaiseCustomEvent()

    while(!$object.Done) {}
    $object.Log()

P.S. Even the above more careful test may show "unexpected" order of log records. It happened when I tested it the first time in PS v2. Perhaps due to the cold start of it 2 seconds in Start-Sleep 2 was not enough to ensure the expected order. Next runs in v2 show the expected" order. But technically this is not guaranteed.

Sorry, didn't close this issue myself. Thanks a lot for explanation! now it makes more sense!


Allows arbitrary raw data that get passed to underlying gl call

It is useful for gl-headless and also some experimental WebGL implementation in React Native i'm using.
anyway, basically allows to use the library in non DOM context and not only via ndarray.
as soon as the implementation support it.

This makes sense.


Error message shown out of place in VBA flow

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Related slack thread - https://expensify.slack.com/archives/C020EPP9B9A/p1630345426146800
Action Performed:

Created workspace on freePlan beta
Selected Get Started in the Expensify Card tab of the Workspace
Entered test bank account credentials in 3 of this SO
Arrived at Validate Step to enter validation amounts, and see an irrelevant error message

Expected Result:
I should not see the error message

Please verify your name and date of birth. If the information is correct, click "Save & Continue"

Actual Result:
I was shown the following error message, which is not relevant to the step I am on:

Please verify your name and date of birth. If the information is correct, click "Save & Continue"

This error message would only apply to a previous step I had already completed successfully.
@marcaaron provided some additional context here:

yes, I agree it should be internal. I think the error is also thrown in the BE here -> https://github.com/Expensify/Web-Secure/blob/9dafee3cb63e9c35666bfd4609751aa3c139a5ca/lib/Error/BankAccount/AutoVerifyFailure.php#L285-L289

Platform:

Web
iOS
Android
Desktop App
Mobile Web

Version Number: v1.0.88-3
Notes/Photos/Videos: Any additional supporting documentation

View all open jobs on GitHub

Triggered auto assignment to @michaelhaxhiu (AutoAssignerTriage), see https://stackoverflow.com/c/expensify/questions/4749 for more details.

Triggered auto assignment to @tylerkaraszewski (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

This is probably pretty straightforward for someone who's worked on this. I'm going to unassign myself from triage and let someone with more direct experience pick it up.

Took a look, it seems like this is because we aren't clearing the error message out of the reimbursement account onyxkey when transitioning to another step.  I have a PR up but haven't been able to test since I get stuck on the Validate step in this https://github.com/Expensify/Expensify/issues/175776#

popped a suggestion in slack.

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging by @aldo-expensify in version: 1.0.90-3 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by @roryabraham in version: 1.0.91-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
failure ❌

🕸 web 🕸
success ✅


[safesnap] Value field as wei in batch json transactions

Fixes https://github.com/snapshot-labs/snapshot-plugins/issues/71
Summary
In the Batch JSON transactions section, the transactions within a batch are listed as JSON.
The value field unit was ETH, this is now changed to WEI.
Screenshots

Before
After

@auryn-macmillan while building the Batch transaction JSON section, I thought we wanted to list the transactions in the same structure as safe tasks. That's why the value field unit was eth instead of wei.
Contract interactions have the method and params fields which are for Safe Tasks and don't have the data field. Do we want to display the transactions as raw transactions (to, value, data, nonce, and operation) or this is fine now with the value field as wei?

Ah yes, you are correct. Please ignore this issue :sweat_smile: .


METADATA and KEEPALIVE

The KEEPALIVE frame doesn't support metadata, but LEASE, ERROR, and CANCEL do.
Received feedback that it's either odd that KEEPALIVE is the only exception, or that LEASE, ERROR, and CANCEL do.
REQUEST_N also does not have metadata.
So, why is KEEPALIVE different?

CANCEL supports it so that there can be metadata about the cancellation. ERROR supports it for a similar reason. LEASE theoretically could use it, though I could see deciding to not have metadata for it.

KEEPALIVE is a purely internal frame for protocol operation and doesn't need to support metadata (an application specific frame). Also, with METADATA_PUSH, the use of metadata in KEEPALIVE would be redundant.

I wonder what a RQ or RS would do with the metadata of an ERROR or CANCEL frame, given that often times (always?) this is handled by the connection instead of an application.

@fiorix Yes, most impls will not expose the frames, so I agree its usefulness is weak.

Anyone think we should eliminate the METADATA from these various frames? Or just leave it?
Leaving it does open up ambiguity for implementations.

Proposing deletion from ERROR, CANCEL, and LEASE here: https://github.com/ReactiveSocket/reactivesocket/pull/215

@stevegury Please weigh in on this since you have the most involvement with LEASE semantics. Should the LEASE frame have metadata or not?

The METADATA section in the LEASE frame is actually useful, it allows negotiating an improved flow control without upgrading the protocol.
In practice, we've used it to add more optional fields (e.g. max rps) that the client is respecting if it supports it.

Thanks for the input @stevegury. I've updated the PR to restore metadata on the LEASE frame.
Do you have any reasons to keep metadata on ERROR and CANCEL?
I can't ever see how metadata on CANCEL would get delivered to the application. And ERROR already has the 'error data' section, and again, I can't see how to deliver it to the application gracefully when we optimize that to be UTF-8 text intended for the message in an Exception.

I agree. METADATA on CANCEL may eventually be useful for debugging, but as it is very difficult to deliver the information to the application, I don't have any objections against removing it.

Changes merged.


AddOutputFilterByType MOD_PAGESPEED_OUTPUT_FILTER affects downloaded files

If this configuration is active inside pagespeed.conf then all html files are affected. This is not desirable for downloaded files(when the user tries to download a html file from the website). Is this is a bug or a known issue, and is there a workaround?
The file contains scripts like: pagespeed_no_defer="" type="text/javascript"

You need to tell PageSpeed what these files are so it knows not to mess with them.  We don't generally have a way to tell which html files are intended to be examples to be downloaded and saved vs which ones we're supposed to optimize.
The easiest way to tell PageSpeed to skip these is with a Location block:
<Location /html-that-people-download/>
ModPagespeed off
</Location>

See [Apache's `<Location>` docs](https://httpd.apache.org/docs/2.2/mod/core.html#location) for more on how to set these up, including `<LocationMatch>` to use a regex.


JBPM-5231: refactored adding errors in RuleFlowProcessValidator

cherry-pick of #522

+1 to merge


cedille: remove

Description of changes

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] 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/)
24.11 Release Notes (or backporting 23.11 and 24.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.

Add a :+1: reaction to pull requests you find important.

I see keyword cedille has a mention at:
https://github.com/NixOS/nixpkgs/blob/master/pkgs/top-level/release-haskell.nix#L279

Maybe another day.


NoSuchMethodError (NoSuchMethodError: The method '[]' was called on null.

how to fix that ? help me please
i dont know why but chat is not working on me
help please
or contact me on email<EMAIL_ADDRESS>i'll give u donation if u help me
thanks

why data is null ? how to fix this ? i try to fix by myself but always error

why data is null ? how to fix this ? i try to fix by myself but always error

can you send a screenshot and other details.

im so sorry, please check this link for screenshot
https://ibb.co/VSktDLf

Please help

Help please

help


[error]Website error,Dopamine's website jumps to other

Is your feature request related to a problem? Please describe.
Describe the solution you'd like
The Dopamine webpage below Audio jumps to https://softwarestudies.com/software/dopamine/
Describe alternatives you've considered
The website should be this https://github.com/digimezzo/dopamine-windows
Additional context

I found a website that cannot be opened, Ontrach EasyRecovery under Data Recovery.
The website should be changed to this https://www.ontrack.com/en-us/data-recovery/software

There is also the f.lux project in Productivity, which should be replaced by https://justgetflux.com/


Net::HTTPBadResponse: wrong status line: "220 email-smtp.amazonaws.com ESMTP SimpleEmailService-909942753 aSK3of4ybdKqba6CpB7f"

Hi,
I got this error while executing below command. I tried a lot but can't figure it out.
ses = AWS::SES::Base.new(:access_key_id =>'MY20DIGITACCESSKEY',:secret_access_key =>'MYSECRETACCESSKEY',:server => 'email-smtp.eu-west-1.amazonaws.com')
ses.quota
Error is:

Net::HTTPBadResponse: wrong status line: "220 email-smtp.amazonaws.com ESMTP SimpleEmailService-909942753 Wfwzt4Zk5WWKpNsmFazj"
from /home/shreehari/.rbenv/versions/2.1.2/lib/ruby/2.1.0/net/http/response.rb:41:in `read_status_line'

+1. Anybody know what's going on here?

First you need to create IAM  User on amazon.
http://docs.aws.amazon.com/general/latest/gr/getting-aws-sec-creds.html
then you can try
ses = AWS::SES::Base.new(:access_key_id =>'MY20DIGITACCESSKEY',:secret_access_key =>'MYSECRETACCESSKEY')

ses.quota

Let me know if this helped.

Happens to me the same, my credentials are right, I configured a postfix server with the same credentials, any other suggestions?
thanks
Sorry for my English

@pratikkalathiya @danishleo @cristiancvanega Could you try with API endpoint instead of SMTP endpoint? I had the same error with the SMTP endpoint.
See https://docs.aws.amazon.com/ses/latest/DeveloperGuide/regions.html for the endpoint in your region.

+1 for this issue. Anyone else got this working ?

+1 ses.quota give me 220 error also

@Ehekatl thanks, you saved a lot of time for me

Hi @Ehekatl ,
I am facing something similar, I tried your suggestion . I am testing it with simple command line openssl command. Any thoughts?
https://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-email-smtp-client-command-line.html


Use timestamps to crawl more intelligent

One nice property of file systems is the timestamp on files, it helps to decide which sites are more important to recrawl. The crawler return additional metadata such as the date of the newest file(s) to be reused in subsequent recrawls.
It can then reuse the data if a recrawl is in consideration, to decide if it's really worth recrawling the site. Other sites could be more important after all.
Here are some examples of rules that I made up:
Newest file date rule

The site was last crawled 2016-3-20.
The latest file modification was 2005-3-20.
It's highly unlikely that anything changed, next recrawl is 2026-3-20 (+XX years).
It's 2019-2-13, don't recrawl yet.

Hot paths rule: Directory contents near the newest files

The site was last crawled 2018-1-9
50 hot paths found, request their directory content
The hashes all haven't changed, next recrawl is 2018-2-9 (+30 days).
It's 2019-2-13, recrawl anyways.

Modification count scoring: How often does a site get changed

The site was last crawled 2016-3-20.
Last 50 crawls (starting from year 2014) site wasn't changed (same root Merkle hash)
It's highly unlikely that anything changed, next recrawl is 2026-3-20.
It's 2019-2-13, don't recrawl yet.

Here are some nice links on the topic. Bing occasionally blogs about their research.

https://searchengineland.com/bing-crawling-indexing-and-rendering-a-step-by-step-on-how-it-works-307592
Bing blog about search engine optimization

A priority number (bigger = will be crawled sooner) is already in place for task handling.
If you have time to figure out an algorithm for generating that number based on the data that we currently have you can post it in pseudocode below.
What I'd like to avoid:

storing any historical metadata
relying on the crawler to generate that number

What I'll probably end up doing is a periodical query of a subset of websites on ES that would look something like this:
SELECT {Max date? or average data? or some other kind of aggregation based on timestamps?}
FROM Website WHERE id BETWEEN [0,200]

And then generate a priority number for each website for that batch of 200 websites, then start again
Another factor is that files get removed very often and websites with old files are just as likely to close as new ones, so it is important to cleanup the database regularly (although that might be a separate issue)


outlineWidth not work when add a polygon

viewer.entities.add({
name: 'Wyoming',
polygon: {
hierarchy: Cesium.Cartesian3.fromDegreesArray([
-95.0, 33.0,
-89.0, 33.0,
-89.0, 37.0,
-95.0, 37.0
]),
height: 0,
material: Cesium.Color.LIGHTSKYBLUE .withAlpha(0.2),
outline: true,
outlineColor: Cesium.Color.LIGHTSKYBLUE,
outlineWidth:20,
width: 10,
}
}
The outline width cant't change by outlineWidth or width。how to change?
use 1.46

If you are on windows, It could be related to the WebGL implementation and not CesiumJS.
Take a look at this answer from stackoverflow
https://stackoverflow.com/questions/25394677/how-do-you-change-the-width-on-an-ellipseoutlinegeometry-in-cesium-map/25405483#25405483

Thanks for linking to that answer @maxdow!  Yes @whlysu, unfortunately this is something that is limited based on the device you are using.  Windows currently only supports an outlineWidth of 1.

@whlysu Since you're outlining a polygon, you can use a Cesium Polyline to trace around the edge.  Polylines are things that look like lines but are drawn with polygons, supporting any width.

Thank you all @maxdow @hpinkos  @emackey ,I used the @emackey  proposal to solve the problem


is this working with glfw (opengl) window?

i tried getting it to work, but the function "PeekMessage" is getting HWnd which is not GLFW window
is it possible combine two libraries together?

I think you have to get the native window handle with glfwGetWin32Window. You must include glfw3native.h

yeah thanks it worked!
great

you are welcome. you can close this ticket i guess.

inline void * getNativeDisplayType() {
# if BX_PLATFORM_LINUX || BX_PLATFORM_BSD
    return glfwGetX11Display();
# elif BX_PLATFORM_OSX
    return nullptr;
# elif BX_PLATFORM_WINDOWS
    return nullptr;
# elif BX_PLATFORM_EMSCRIPTEN
    return nullptr;
# else
#   error "implement me"
# endif
}

inline void * getNativeWindowHandle(GLFWwindow* window) {
# if BX_PLATFORM_LINUX || BX_PLATFORM_BSD
    return (void*)(uintptr_t)glfwGetX11Window(window);
# elif BX_PLATFORM_OSX
    return glfwGetCocoaWindow(window);
# elif BX_PLATFORM_WINDOWS
  return glfwGetWin32Window(window);
# elif BX_PLATFORM_EMSCRIPTEN
  return nullptr;
# else
#   error "implement me"
# endif
}

  s_handle.native = getNativeDisplayType();
  s_handle.display = getNativeWindowHandle(window);

I use the following approach:
``XEvent event;
while (XPending(static_cast<Display *>(glfwGetX11Display()))) {
XNextEvent(static_cast<Display *>(glfwGetX11Display()), &event);
if (event.type<5&&event.type>1)
manager.HandleEvent(event);
}
manager.Update();
glfwPollEvents();
But now my program is hanging and "Not responding". I think HandleEvent is consuming my Events. I tried also to filter the events but thats not enough. Maybe some advise from the creator himself?


Fix "Startup logging refactoring #2660"

Resolves  #2660
"Startup logging refactoring"
All logging methods moved to corresponding CDI Extension methods.

You can also compare this with the 1.x branch, where you can see what was happening between the log statements.


Add the LSP capability for save notifications

Currently, auto-exporting the PDF on save doesn't work with the Helix editor. This is because in the text_document_sync server capability, typst-lsp doesn't include the capability for save notifications. As far as I understand, the client shouldn't send save notifications in this case(see the documentation of TextDocumentSyncOptions in the LSP specification). Adding the capability fixes the issue for me. I'm guessing that this isn't an issue VSCode because VSCode isn't fully spec compliant and just sends the notification anyway.
The LSP specification isn't super clear on this so if I misunderstood it, please let me know. In that case, I'll open a PR to fix this in Helix. Either way, it shouldn't hurt to explicitly set the capability though.

Your changes look good. I'm going to guess you're right about VS Code, since that's what I've been testing in, and it's been working as expected. Thank you!


Add web5_proc_macros with git_sha proc macro

I think we should actually push this further and move the entirety of log_dbg inside of web5_proc_macros https://github.com/TBD54566975/web5-rs/pull/285#discussion_r1721935107
I'm throwing it back over to @diehuxx for this though


Troubles with device_test

It seems that device_test has a few undesirable side effects.
Now when a system test fails the output isn't very useful.
To demonstrate, I changed this line:
https://github.com/bullet-train-co/bullet_train/blob/398489ec0e2bddca2a875c11f6639f58121cf61e/test/system/webhooks_system_test.rb#L36
To say:
click_on "A Button That Doesn't Exist"

And then when I run that test this is the output:
Error:
WebhooksSystemTest#test_team_member_registers_for_webhooks_and_then_receives_them_on_a_macbook_pro_15_inch:
Capybara::ElementNotFound: Unable to find link or button "A Button That Doesn't Exist"
    test/system/webhooks_system_test.rb:36:in `block in <class:WebhooksSystemTest>'
    test/application_system_test_case.rb:118:in `instance_eval'
    test/application_system_test_case.rb:118:in `block (2 levels) in device_test'

rails test test/application_system_test_case.rb:116

The error message itself is accurate and points to the right place. Unable to find link or button "A Button That Doesn't Exist" is the message we'd expect to see, and the first line in the stack trace points directly to test/system/webhooks_system_test.rb:36 which is good.
But the command that it suggests to re-run the test is incorrect. When I run that, it doesn't run a single test.
$ rails test test/application_system_test_case.rb:116
🌱 Generating global seeds.
🌱 Generating test environment seeds.
Run options: --seed 58265

# Running:

Finished in 0.000885s, 0.0000 runs/s, 0.0000 assertions/s.
0 runs, 0 assertions, 0 failures, 0 errors, 0 skips
Coverage report generated for Unit Tests to /Users/jgreen/projects/bullet-train-co/bullet_train/coverage. 13 / 234 LOC (5.56%) covered.

The line that it's pointing to is inside the device_test helper method itself.
https://github.com/bullet-train-co/bullet_train/blob/398489ec0e2bddca2a875c11f6639f58121cf61e/test/application_system_test_case.rb#L114-L121
So then I tried to run just that one single test by using the file and line number reported in the stack trace, but that also doesn't run a test.
$ rails test test/system/webhooks_system_test.rb:36
🌱 Generating global seeds.
🌱 Generating test environment seeds.
Run options: --seed 64382

# Running:

Finished in 0.001553s, 0.0000 runs/s, 0.0000 assertions/s.
0 runs, 0 assertions, 0 failures, 0 errors, 0 skips
Coverage report generated for Unit Tests to /Users/jgreen/projects/bullet-train-co/bullet_train/coverage. 13 / 234 LOC (5.56%) covered.

It seems like the device_test meta programming is confusing the framework about what counts as a test. Or... something like that.
@kaspth, pinging you just fyi.

Ah! We probably need to ignore those lines in the backtrace cleaner. I'll see if I can come up with something.

@jagthedrummer I'm trying to look into this, but it looks like with the new SpecReporter we've lost the rerun snippet that Rails would otherwise generate:
3.2.2 ~/code/bullet-train-co/bullet_train-core/tmp/starter main *= r t test/system/account_test.rb -n /user_can_edit_their_account/
🌱 Generating global seeds.
🌱 Generating test environment seeds.
Started with run options -n /user_can_edit_their_account/ --seed 56795

AccountTest
Puma starting in single mode...
* Puma version: 6.4.0 (ruby 3.2.2-p53) ("The Eagle of Durango")
*  Min threads: 5
*  Max threads: 5
*  Environment: test
*          PID: 15927
* Listening on http://<IP_ADDRESS>:3001
Use Ctrl-C to stop
[Screenshot Image]: /Users/kasperhansen/code/bullet-train-co/bullet_train-core/tmp/starter/tmp/screenshots/failures_test_user_can_edit_their_account_on_a_macbook_pro_15_inch.png
  test_user_can_edit_their_account_on_a_macbook_pro_15_inch       FAIL (7.66s)

Failures and errors:
AccountTest
  test_user_can_edit_their_account_on_a_macbook_pro_15_inch       FAIL (7.66s)
        Epic Fail!
        test/system/account_test.rb:18:in `block in <class:AccountTest>'
        test/application_system_test_case.rb:118:in `instance_eval'
        test/application_system_test_case.rb:118:in `block (2 levels) in device_test'

Finished in 7.65971s
1 tests, 1 assertions, 1 failures, 0 errors, 0 skips
Coverage report generated for Unit Tests to /Users/kasperhansen/code/bullet-train-co/bullet_train-core/tmp/starter/coverage. 76 / 199 LOC (38.19%) covered.

I'll still try to remove the erroneous test/application_system_test_case.rb in the stacktraces.

@kaspth you can still test by choosing a line number within any system test and trying to run just that test.
For instance:
rails test test/system/webhooks_system_test.rb:36


Add additional info for OIDC endpoints

The URIs for using OIDC are missing from the documentation, adding them in will enable folks to adopt OIDC more easily. The kid should also be present in the JWK payload.

@mbelton-buildkite agree with your suggestions. Committed them in.


Refresh the codebase a little

A mix of match of small upgrade

Mostly adding IsZero to limit the number of allocation


add-source

When i add-source things manually before running tinc, tinc ignores the setup (obviously, as it move existing sandboxes out of the say).  Is there another way to add sources?
(This is really great otherwise.  Feels quite stable and mature, too.)

Yes, we want this too.
Right now you can add a lidt of additional dependencies to tincy.yaml.  In addition you can override existing dependencies with a specific Git revision e.g.:
#tincy.yaml
dependencies:
 - name: some-sep
 - github: sol/some-dep
 - ref: some-commit-hash

(Note that this feature currently only works properly if you use Tinc in combination with a hpack package.yaml)
I'm inclined to extend this to allow local dependencies too.

That's helpful, thanks!  (-:
Could it be that #33 is closing this?  I don't see how it does, but I might be missing something..

@fisx With the latest master you don't need a package.yaml anymore.
And yes, #33 addresses this, closing.

Example usage:
#tincy.yaml
dependencies:
 - name: some-dep
   path: ../some-dep


iOS Critical Alert

Is it possible to send critical Alerts to the user (https://developer.apple.com/documentation/usernotifications/unnotificationsettings/2963116-criticalalertsetting)?
If it isn't possible now, will it be supported in the future?
Is there some "hack" to activate cricital Alerts with phonegap build now?
Thanks in advance!

@CodingAnonymous Any updates? Did you found any solution for this?


Add feature: Start-Call

During the pandemic my team moved from the office to working at home. The discussions therefore moved to Slack. Informal spontaneous meet-ups however doe not happen as likely. Therefore we would like to write a script that lets Slack start calls at random times with one of my teammates.
To do this we would like to have a Start-Call feature in this module. The syntax would be something like Start-Call X with X the name of the teammate that is also used in @-mentions. Support for Start-Call X Y where X and Y are different team members would also be great, such that a spontaneous group call is initiated.

TIL (ctrl+f call)!
If someone wants to take a stab at:

Get-SlackCall
Start-SlackCall
Stop-SlackCall
less clear on name... but something to add/remove user from slack call, maybe just Set-SlackCall?  or Add-SlackCallUser/Remove-SlackCallUser

I could see it being pretty handy

Ahh so disappointing.  If I'm reading the method details correctly, this is more about telling Slack about a call that is external to Slack.  Slack simply displays a way for folks to connect.  AFAICT it's not actually starting a slack call (i.e. /call or clicking a user then call).  Could be wrong though, if anyone wants to poke around.
Cheers!


Display hex codes in

https://github.com/manolingam/background_generator/issues/1

Just updated the code to display hex codes on page load


[Proposal] Pretty print json output

Continuing the discussion ticket #3648. I don't think the opt-in option was clearly understood before that ticket was closed.
If the feature defaults to not pretty printing, then there are no concerns for those who want to keep the payload small. If we add an optional feature, we save many developers from having to write a custom Response macro every time they want to implement this.
Sounds like a win-win to me.
For debugging purposes, having the option to read JSON in a pretty-print format is indispensable.
May we please revive this issue?

In Controller
return response()->json($data,200,[],JSON_PRETTY_PRINT);

Remains undocumented

i still cannot find a way in Laravel to add multiple options to the json return like JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES, best would be (to me now) :

$response = json_encode(
            $this->response,
            JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES
        );

return response($response)->header('Content-Type', 'application/json');

@emadha, it's as simple as passing JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES as the fourth argument to the json() call.

@GrahamCampbell I'm interested in understanding why your view is that people should read the source.  Laravel is a framework with reasonable detailed documentation, which takes pride in being efficient and easy to use. Why is "please just read the source" an okay response to this?
From the Laravel Front Page:

Expressive, beautiful syntax.
Value elegance, simplicity, and readability?  If you need help getting started, check out Laracasts and our great documentation.

Being condescending to 'noobs' plays well on COD, but not so much on github.  I'm confused. I mean if I'm wrong tell me, but it just seems a bit off-the-mark for laravel.

Any web developer that wants to go the extra step and incorporate features into a site that go beyond what is explained via the basic documentation, should FIRST look to the source itself. There you'll find all answers. As devs, we should be well read in the source of the library or framework that we reach for most often.

I vote the philosophical aspect of this debate be moved to another channel. :)

Any web developer that wants to go the extra step and incorporate features into a site that go beyond what is explained via the basic documentation, should FIRST look to the source itself. There you'll find all answers. As devs, we should be well read in the source of the library or framework that we reach for most often.

Why I don't disagree that reading the source is valuable, using and relying on undocumented features you find in the source code is a terrible idea! You have no guarantee that the feature won't just disappear in the next version, with no deprecation warning or other notification.

All true as well. Keep in mind that though the majority of the docs were written by Taylor, and practically everything a newcomer needs to get started are there, the docs are open source and maintained by the community. If there are vital missing pieces, please submit a pr. It's on us to make sure the documentation stays up-to-date.

^ These are the insights I was looking for.  Laravel is saving my bacon right now, really appreciate it, and would be keen to contribute useful things, but don't want to be a jerk creating PR's for trivial junk that will annoy people.  I'm going to see if I can find an appropriate place to add this to the docs. Gracias.

Probably not the place for this, but thought it may be helpful......For anyone needing information on how to start submitting pull requests, see this post by Matt Stauffer or this series at Laracasts, if you have an account. This post has good info as well, written by Rob Allen of Zend and Slim fame.

In Controller
return response()->json($data,200,[],JSON_PRETTY_PRINT);

or in a eloquent collection.
$items = Model::all();
dd($items->toJson(JSON_PRETTY_PRINT));

In Controller
return response()->json($data,200,[],JSON_PRETTY_PRINT);

or in a eloquent collection.
$items = Model::all();
dd($items->toJson(JSON_PRETTY_PRINT));

it still wont remove backslashes in json
$items = Model::all();
dd($items->toJson(200,[],JSON_PRETTY_PRINT`);

Use a macro
Response::macro('prettyJson', function ($data = [], $status = 200, array $headers = [], $options = JSON_PRETTY_PRINT) {
    return $this->json($data, $status, $headers, $options);
});

response()->prettyJson(['why_you_even_need_it_pretty' => '??']);

$models = Model::get()->toJson(JSON_PRETTY_PRINT);
return response($models, 200);

Case:

Pretty response for browser
Minified response for json requests.

Solution:
return Response::json($data, 200, [], Request::wantsJson() ? 0 : JSON_PRETTY_PRINT);

Json result:
$ curl -H "Accept: application/json"  https://api.saldo.com.ar/json/rates/banco
{"bitcoin":{"bid":5927354.569830435,"ask":4876449.273568469,"currency":"ARS","bid_url":"https:\/\/saldo.com.ar\/a\/banco\/bitcoin","ask_url":"https:\/\/saldo.com.ar\/a\/bitcoin\/banco"},"usdt":{"bid":167.35938588161167,"ask":145.90532150255447,"currency":"ARS","bid_url":"https:\/\/saldo.com.ar\/a\/banco\/usdt","ask_url":"https:\/\/saldo.com.ar\/a\/usdt\/banco"},"dai":{"bid":181.89461443495162,"ask":138.507516916841,"currency":"ARS","bid_url":"https:\/\/saldo.com.ar\/a\/banco\/dai","ask_url":"https:\/\/saldo.com.ar\/a\/dai\/banco"}}

Browser result:


ENH: update package version

Hi! This is the friendly automated conda-forge-webservice.
I've started a version update as instructed in #12.
I'm currently searching for new versions and will update this PR shortly if I find one! Thank you for waiting!
Fixes #12

@conda-forge-admin, please add bot automerge


TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.
If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.
If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/111359

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/111763

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/111970

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/115234


How to adapt this code to a new environment?

Hi,
This looks great. How would you go about and adapt this to Open AI Gym for example?
Can you please provide a set of places where changes have to be made?
How Generic is the code to adapt to any environment?

Adding examples of applying A3C for OpenAI Gym's continuous tasks is on my To-Do list.
Since DoomEnv used by train_a3c_doom.py has a similar interface with gym.Env, modifying train_a3c_doom.py so that it can handle gym.Env-like environments is straightforward. You may need to define your model that inherits a3c.A3CModel and appropriate phi function.

Thanks!
I will try and see how it goes.

Is it only for gym? What about other problems?

You only need to define an original environment class that has reset and step methods. Please check doom_env.py for example.

Thanks. I will rewrite those methods. Mine problem is not even a game.


Can we show multiple items in one slide?

Suppose i want to show 3 slides at one go and then when the user clicks on the arrows, he sees another 3 slides and so on.

This works but it doesn't work for a responsive layouts where you'd want to have multiple items on a desktop display and one item on a mobile.

Unfortunately, version 2.* do not have that functionality. It will be introduced with 3.* on which I currently working on.

+1 Would like to be able to show say 3 slides on desktop and drop down to one on mobile.

@jedrzejchalubek is this option available yet?

Yes, v3.0 has been released and have a multi-slides per view functionality.

@jedrzejchalubek great! Can you tell me what the option is called? I'm using "perView" but it still only slides one at a time.


Adding ftm_msgs to documentation index for distro

I would like to be indexed and documented on ros.org

@guykhazma not that if you want API documentation to be generated automatically you will need to add a doc entry as well

@mikaelarguedas I have updated the entry and added a doc entry.
Thanks!

Yes you should create a new pull request for the addition of the doc section.
Thanks!


Disable default docker config provider

TODO:

[ ] Add a bunch of comments and documentation around this hack-around
[ ] Submit a PR upstream to allow disabling the default docker provider. Extend this change: https://github.com/kubernetes/kubernetes/commit/a947c32783e9027922762d6f76f5c27926f9bc0a#diff-0ebbc5bb19e182a89f5992c919d5fe2254af767f4611835010367b324b271df9R51-R53

@cppforlife
FYI: There appears to be some incompatible changes made upstream (kubernetes) to auth providers. Not sure when / if those changes will eventually land on the fork we are using...
Specifically...
amazon-ecr is always enabled: https://github.com/kubernetes/kubernetes/blob/master/pkg/credentialprovider/aws/aws_credentials.go#L77-L80
And will return an empty dockerconfig if it is 'disabled': https://github.com/kubernetes/kubernetes/blob/master/pkg/credentialprovider/aws/aws_credentials.go#L173
This change will require changes, since we will treat that case as 'we found a cred for your image... try using an empty username / password'


Update Nice-DCV to 2023.1-16388

https://docs.aws.amazon.com/dcv/latest/adminguide/doc-history-release-notes.html#dcv-2023-1-16388mar
The most recent version to include updates for the Linux client is DCV 2023.1-16388 from December 19, 2023, but there is no reason not to move to latest that I can identify.

We're still in a situation where Wayland is not supported, it seems... Since F40 we're Wayland-only, this is no bueno. 😞

So we've started down the path for nesting in Weston for now, so I'm closing this.


First proposal of improvements on C++ generator

Reduce number of copies
CodePrinter::add_text:

now supports multiple arguments
use it instead of trivial but expensive calls to fmt::format.

CodePrinter::add_multi_line:

Rework the implementation to support C++ raw string literals
Use it instead of 3 or more consecutive calls to add_line

CodePrinter::start_block: rename to push_block
CodePrinter::end_block: rename to pop_block
CodePrinter::chain_block: rename to chain_block

Initial discussion : @pramodk @ohm314
Stack approach to manipulate code blocks

CodePrinter::start_block: rename to push_block
CodePrinter::end_block: rename to pop_block

Rework CodePrinter::add_line
The change allows the method to essentially work like the Python standard library function textwrap.dedent

Remove trivial fmt::format
It costs ~8x more to do CodePrinter::fmt_line("{} bar", var_name) than CodePrinter::add_line(var_name, " bar") (I did a micro-benchmark). I would like to replace these calls and emphase in the documentation that fmt should be used only when the formatting is complex or add_line(...) would make the code hard to read.

@tristan0x: suggestions look fine to me! (as mentioned elsewhere, we would like to make it easy to understand/develop/contribute by external users/devs)

(Bear with me until I look in detail at the changes but) overall I agree with the suggestions.

The CI has failed since yesterday with a weird setuptools_scm issue. Any idea where I can loop @pramodk @ohm314 @heerener ?

Sorry, I was too late to notice comment. But I guess this has resolved somehow 👍


Error: While importing 'wsgi', an ImportError was raised:

`PS F:\ao\llama\Bottybot> .\bottybot.bat
Usage: flask run [OPTIONS]
Try 'flask run --help' for help.
Error: While importing 'wsgi', an ImportError was raised:
Traceback (most recent call last):
File "C:\Users\luoqi\AppData\Local\Programs\Python\Python311\Lib\site-packages\flask\cli.py", line 247, in locate_app
import(module_name)
File "F:\ao\llama\Bottybot\wsgi.py", line 4, in
from app import app
File "F:\ao\llama\Bottybot\app.py", line 25, in
from openai import OpenAI
ImportError: cannot import name 'OpenAI' from 'openai' (C:\Users\luoqi\AppData\Local\Programs\Python\Python311\Lib\site-packages\openai_init_.py)`

Try running "pip install -r requirements.txt" again.  The code was updated on Friday to allow it to run against OpenAI and Mistral.ai.  If you have API keys for either of these services, check out the env.sample file to see how to configure them.

I just added some code to allow one or both of the keys to be missing from the .env file, so you should be able to run without having an OpenAI or Mistral.ai account.  Maybe later I'll hide the drop down entirely if it's not running in multi model mode or maybe allow multiple configured llama.cpp server mode models.  I run about 5 different ones here, that would actually be useful.


Update React to v16

I tried to update to React to v16, but react-portal had some  breaking changes which requires little bit more coding. That's why I skipped this update in #351
There's also an additional warning about a <button> in a <button>.

I just found out that we will probably also get better error reports in Sentry with React v16 if we use error boundaries:

https://reactjs.org/blog/2017/07/26/error-handling-in-react-16.html
https://docs.sentry.io/clients/javascript/integrations/react/

@jhnns is this ticket still relevant or already fixed by #587 ?

Solved by #899


Resizable sidebar

It would be awesome to have the sidebar be resizable.

We're working on a major UI revamp, which includes a resizable sidebar.

That sounds awesome :+1:
med vänliga hälsningar,
Anton Niklasson
www.antonniklasson.se
070 - 499 88 15
2015-03-12 12:03 GMT+01:00 Abhijit Kane<EMAIL_ADDRESS>
We're working on a major UI revamp, which includes a resizable sidebar.
—
Reply to this email directly or view it on GitHub
https://github.com/a85/POSTMan-Chrome-Extension/issues/965#issuecomment-78460192
.

Available in the latest version of Postman!


Add CycloneDX SBOM to ortelius-ms-textfile-crud

We need to update the cloudbuild.yaml to run https://github.com/anchore/syft after the docker build has been completed. Syft should scan the docker image and produce a cyclone-dx json file.  The cyclone-dx json file should be uploaded using the existing dh updatecomp command line call. This upload is done by adding the --deppkg<EMAIL_ADDRESS>to the dh updatecomp parameters.
Update need for microservice  - ortelius-ms-textfile-crud

Hi @sbtaylor15,
I have committed the changes in deploy branch.
https://github.com/ortelius/ortelius-ms-textfile-crud/commit/adc234e6286cddca00e073b829cf8ffc27f7f202


Unable to redirect to '/' with replace in onEnter hook

I have these two methods:
  toLogin: function (nextState, replace) {
    if (!localStorage.get("token")) {
      return replace('/signin');
    }
  },
  toHome: function (nextState, replace) {
    if (localStorage.get("token")) {
      return replace('/');
    }
  }

return replace('/signin') is working like charm but return replace('/') gives me that error:
Uncaught SecurityError: Failed to execute 'replaceState' on 'History': A history state object with URL 'http:' cannot be created in a document with origin 'http://localhost:3000'.
Do I need to set up some base URL thing that I missed in the documentation or this is a bug?

Thanks for your question!
We want to make sure that the GitHub issue tracker remains the best place to track bug reports and feature requests that affect the development of React Router.
Questions like yours deserve a purpose-built Q&A forum. Could you post this question to Stack Overflow with the tag #react-router? https://stackoverflow.com/questions/ask?tags=react-router
We also have an active and helpful React Router community on Reactiflux, which is a great place to get fast help with React Router and with the rest of the React ecosystem. You can join at https://discord.gg/0ZcbPKXt5bYaNQ46.

I had a similar problem, and since I couldn't find an answer on StackOverflow, I'm going to post it here since this issue shows up when you search for this error.
Using relative URLs fixed this issue for me. Change replace('/') to replace('./').

@thinklinux i am getting same problem with you.
Did you find solution in somewhere by any chance?

I solved it by removing  from my html file.
It depends on history npm module, and the error is from  node_modules/history/lib/createBrowserHistory.js line 120.
window.history.replaceState(historyState, null, path);
As long as i have <base href='/' /> in index.html, the 3rd parameter would be // which occurs error message above. (Uncaught SecurityError: Failed to execute 'replaceState' on 'History':)
Once I remove <base href='/' /> from my index.html, i don't see this error.


Versionfix for alpa and beta strings

Hi,
since a while i'm using your addon version and for using before your public release via repo i build my own zip with beta version string like in kodi addon doc is defined:
https://kodi.wiki/view/Addon.xml
`<IP_ADDRESS> How versioning works
2.2.9 is newer than 2.2.1
2.2.10 is newer than 2.2.1
2.3.0 is newer than 2.2.9
2.2.1 is newer than 2.2.1~alpha
2.2.1 is newer than 2.2.1~beta
2.2.1~beta is newer than 2.2.1~alpha
2.2.1~beta3 is newer than 2.2.1~beta2
2.2.1~beta10 is newer than 2.2.1~beta1`

Based on this syntax i change my addons version string - for example:
Your last publiched version:
1.16.0
My version string based on your 1.16.0 with latest commits:
1.16.1~beta12062149 (date and time coded)
This version string will break your check - to solve i included a simple string split based on '~' as delimator and only using first array which will fix the python fail by non int values.
Would be nice if you can merge it to solve issues with addon version strings based on official syntax.

I know how the versioning works, but i have not found it necessary to make this spec, the addon will never be in alpha or beta again, i don't know why you add these words..

1.16.1~beta12062149 (date and time coded)
this example is wrong, the timestamp is a metadata is not part of the versioning, should not be directly linked to the versioning part, but separated by a space or symbol like:
1.16.1~beta+12062149

If you want to add the management of pre-release versions, the approach you used is wrong
(and it has also basic pep8 errors) no information should be cut off from the original variable
you have to modify the version comparators with an external function used specifically in case of the tilde delimitator exists in the version string,
so you can build a separated compare method to be linked in the existing version comparators

Hi, the syntax of the string is fine. I used it this way to make it possible to push my pre-releases from my own repo before your public release is available. The public release is identified as newer and will be installed if available. The only wrong implementation is on addon-side cause it it is only working with int for compares and alphanum strings will break the compare. It is a quick and dirty way to ignore the part behind the ~ to fix this fail.

this is not developing correctly is just laziness,
i do not implement things done incorrectly


Hide legend button Option 2

This version I added a button to the viewport controls to show hide the legend

Option 1
https://github.com/invoke-ai/InvokeAI/pull/3790

@mickr777 - Great addition, thanks for this!


DNM: toolchain testing

Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.

Resolves #NNNNN, fix apple/llvm-project#MMMMM.

Please test with following PRs:
https://github.com/apple/swift-installer-scripts/pull/286
@swift-ci please build toolchain Windows platform

Please test with following PRs:
https://github.com/apple/swift-installer-scripts/pull/287
@swift-ci please build toolchain Windows platform

Please test with following PRs:
https://github.com/swiftlang/swift-installer-scripts/pull/307
@swift-ci please build toolchain Windows platform

Please test with following PRs:
https://github.com/swiftlang/swift-installer-scripts/pull/307
@swift-ci please build toolchain Windows platform

Please test with following PRs:
https://github.com/swiftlang/swift-installer-scripts/pull/308
@swift-ci please test Windows platform

Please test with following PRs:
https://github.com/swiftlang/swift-installer-scripts/pull/311
@swift-ci please build toolchain Windows platform

Please test with following PRs:
https://github.com/swiftlang/swift-installer-scripts/pull/322
@swift-ci please build toolchain windows platform


Idol of the Crying Wind is not affecting sim damage

Describe the bug
Idol of the Crying Wind (ICW) increases IS spell power by 374. In the sim damage from IS is unchanged when using ICW compared to Shooting Star
To Reproduce
Steps to reproduce the behavior:

Go to balance druid sim
choose a preset
run sim and inspect insect swarm damage
apply ICW and rerun sim compare IS damage

Expected behavior
It is expected that IS damage would increase when using ICW
Sim Links and Screenshots
If applicable, add links to your sim settings or screenshots to help explain your problem.
Desktop (please complete the following information):

OS: MacOS
Browser Chrome

Looks like this issue should be resolved by #1885


T34363 final hook

https://phabricator.endlessm.com/T34363

Note that this is on top of https://github.com/endlessm/kolibri-explore-plugin/pull/496 which at the same time is on top of https://github.com/endlessm/kolibri-explore-plugin/pull/495


The Skyra protocol is a Prisma-fit protocol

The protocol for Skyra is in fact for Prisma-fit.
oopsi! 😬

This is supposed to be the correct protocol:
2019-03-25_skyra-poly.zip
Waiting for validation from other sites.

This is supposed to be the correct protocol:
2019-03-25_skyra-poly.zip
Waiting for validation from other sites.


Enhance theme customization: refactor constants and optimize social images

This pull request implements several enhancements to improve theme customization:

Refactored the Meta component to externalize constants for easier management and updates.
Relocated the social image assets to /src/images to leverage Astro's automatic optimization features, ensuring better performance.
Substituted hardcoded values with variables sourced from the newly created constants file.

In summary, these changes will significantly facilitate faster and more efficient customization for theme users.

@tribal2 Thank you so very much for this PR, it really improves theme customization!


Issues with system data/time and wifi connection

Everything else runs fine, but I have to reset the system date and time each time on boot to match real time. otherwise it defaults to may 28th.
I am unsure how to change the wifi network from the astroarch hotspot to my home internet connection, as the last attemps of just selecting a different wifi network required me to have to reflash the os as it would no longer host on the astroarch server.

Fixed it, no more issues.


Better error messages on duplicate args?

If you specify an argument twice, then it just prints the usage, which is super not helpful for knowing why it didn't work.
Seems to me, either print an error message that indicates "duplicate option foo detected", or let the second instance override the first.  I prefer the first behavior, or the second if it was opt-in, not default...
Thoughts?

Lack of useful error reporting in most cases is a serious problem.  It's the only thing keeping me from using docopt for everything I do.


rowGeometry<- has never worked

I don't know why. When I ran line by line in debug mode, everything worked just fine until the SFE object is returned, when the new rowGeometry gets mysteriously dropped. At least in R 4.3.1. Happens to main branch and devel branch.

Solved in https://github.com/pachterlab/SpatialFeatureExperiment/pull/12/commits/01ce96c29b01e5d6b2f3dc383bdcd6fdb8a97a88 This issue is here for those using older versions of SFE. The fix should come in the Bioc 3.18 release.


Added job worker client & server

Fixed migrations and bugs with server

Added Leanplum API services

Some Clean-Up

Please feel free to improve the code in this PR, a lot of room to improve with my skills in golang.  Looking for better solutions around go routines and not blocking the main server listen on SIGINT


Fix all broken or uncheckable external links across all docs.

This PR fixes broken or unresolvable external links. Many domains were added to the htmltest ignore list as they were incorrectly returning errors for valid links, including a massive number of links to support.cockroachlabs.com. Other broken links were fixed as their target location changed.
When this PR is merged, there should be no broken links and the nightly Netlify builds should pass.
Related to DOC-2120.

This change is


Set up accounts for web services (@hannafriedel)

[x] Github
[x] Slack
[x] Google Docs
[x] Zotero

@hannafriedel Welcome to Github! You can close this issue when you're finished with these :-) I sent you a Zotero invitation

@hannafriedel Welcome to Github! You can close this issue when you're finished with these :-) I sent you a Zotero invitation

Thanks :) Zotero is new for me, but not completely, I've used EndNote before.

Thanks :) Zotero is new for me, but not completely, I've used EndNote before.


list_blobs_segmented is not returning directories hierarchically

We are calling list_blobs_segmented from blob_client, we get en-GUIB, en_HI and then en. Shouldn't directory en be returned first?
See below, we get the following error if we ask for only 2 results (en is the third)
drwxrwxrwx 2 azureuser azureuser 4096 Jan  1  1970 ca
drwxrwxrwx 2 azureuser azureuser 4096 Jan  1  1970 ch
d????????? ? ?         ?            ?            ? codeswitch
drwxrwxrwx 2 azureuser azureuser 4096 Jan  1  1970 cs
drwxrwxrwx 2 azureuser azureuser 4096 Jan  1  1970 da
drwxrwxrwx 2 azureuser azureuser 4096 Jan  1  1970 de
drwxrwxrwx 2 azureuser azureuser 4096 Jan  1  1970 el
d????????? ? ?         ?            ?            ? en
drwxrwxrwx 2 azureuser azureuser 4096 Jan  1  1970 en-GBAU
drwxrwxrwx 2 azureuser azureuser 4096 Jan  1  1970 en-IN

Hi @NaraVen , can you give us a code snippet to reproduce this issue?
Here's a program I used to test
std::string continuation_token;
do
{
  auto list_result = client.list_blobs_segmented(container_name, std::string(), continuation_token, std::string(), 2).get();
  if (!list_result.success())
  {
    std::cout << "error" << std::endl;
    break;
  }
  continuation_token = list_result.response().next_marker;
  for (auto b : list_result.response().blobs)
  {
    std::cout << b.name << std::endl;
  }
} while (!continuation_token.empty());

The result is
en
en-GBAU
en-IN

in this API reference, it says Blobs are listed in alphabetical order in the response body, with upper-case letters listed first.. it works exactly as expected.

Hi Jinming,
I see the opposite order. The storage container I am testing it is in Central US and has 500 petabytes of data. Could that be the reason?
list_segmented_item do loop blob prefix: am_data/en continuation: 2!76!MDAwMDExIWFtX2RhdGEvZW4wITAwMDAyOCE5OTk5LTEyLTMxVDIzOjU5OjU5Ljk5OTk5OTlaIQ--
Sep 26 22:02:20 naraPhilygpu blobfuse[53016]: Function azs_getattr, in file /home/azureuser/azure-storage-fuse/blobfuse/utilities.cpp, line 254: In azs_getattr list_segmented_item 0 file am_data/en-GBAU/
Sep 26 22:02:20 naraPhilygpu blobfuse[53016]: Function azs_getattr, in file /home/azureuser/azure-storage-fuse/blobfuse/utilities.cpp, line 254: In azs_getattr list_segmented_item 1 file am_data/en-IN/
Sep 26 22:02:20 naraPhilygpu blobfuse[53016]: Function azs_getattr, in file /home/azureuser/azure-storage-fuse/blobfuse/utilities.cpp, line 254: In azs_getattr list_segmented_item 2 file am_data/en/
You can ping me at narven<EMAIL_ADDRESS>if you want to see this test.
Nara
From: JinmingHu<EMAIL_ADDRESS>Sent: Saturday, September 26, 2020 7:07 PM
To: Azure/azure-storage-cpplite<EMAIL_ADDRESS>Cc: Nara V<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [Azure/azure-storage-cpplite] list_blobs_segmented is not returning directories hierarchically (#105)
Hi @NaraVenhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FNaraVen&data=02|01|narven%40microsoft.com|24a87e6d15cf49af442008d8628a11b9|72f988bf86f141af91ab2d7cd011db47|1|0|637367692427629641&sdata=qycB5OyqGi6w64wN%2BG9rHs9cjwKJmR9Gv%2BbqRuCQb%2Fg%3D&reserved=0 , can you give us a code snippet to reproduce this issue?
Here's a program I used to test
std::string continuation_token;
do
{
auto list_result = client.list_blobs_segmented(container_name, std::string(), continuation_token, std::string(), 2).get();
if (!list_result.success())
{
std::cout << "error" << std::endl;

break;

}
continuation_token = list_result.response().next_marker;
for (auto b : list_result.response().blobs)
{
std::cout << b.name << std::endl;

}
} while (!continuation_token.empty());
The result is
en
en-GBAU
en-IN
in thishttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Frest%2Fapi%2Fstorageservices%2Flist-blobs&data=02|01|narven%40microsoft.com|24a87e6d15cf49af442008d8628a11b9|72f988bf86f141af91ab2d7cd011db47|1|0|637367692427639636&sdata=ObdRb1BtFlaalmCRkhZIOpkIVfejnUqKhoVqiPJEnwc%3D&reserved=0 API reference, it says Blobs are listed in alphabetical order in the response body, with upper-case letters listed first.. it works exactly as expected.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure%2Fazure-storage-cpplite%2Fissues%2F105%23issuecomment-699573186&data=02|01|narven%40microsoft.com|24a87e6d15cf49af442008d8628a11b9|72f988bf86f141af91ab2d7cd011db47|1|0|637367692427639636&sdata=bUywrboKPH3dwFhYsd3s%2BB2H5jWlf6c7YUHfHBho77o%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAD5FI4CPEXEGPNO2DEFCE5LSH2M5RANCNFSM4R2UKDTQ&data=02|01|narven%40microsoft.com|24a87e6d15cf49af442008d8628a11b9|72f988bf86f141af91ab2d7cd011db47|1|0|637367692427649629&sdata=gl5sdGZibe5UjGXNCFdwcmgvcbFm%2BeT5AQRA9EIe%2Bn4%3D&reserved=0.

Hi @NaraVen , cpplite sdk doesn't sort the result at all, it simply returns what storage server returns.
I just talked with some guy who's familiar with server side implementation. Since Blob service doesn't have real directory, it only has virtual directory. Storage server stores every blobs under the directory except the directory itself. For example, in your case you have directory en-IN and blob en-IN/a and directory en and blob en/b. Storage server only stores
en-IN/a
en/b

So when you list directories, the / also counts and en/ comes after en-IN/. This is by design.

Nice and detailed explanation, Thanks, closing the issue.


This worked - at first...

So I installed this and added it to a model.
All the initial tests worked GREAT.
Then I set up an UpdateView on the same model (the view requires login).
Now I can change model records over and over and over again...
... NO logging.
So, does this ONLY work if you make changes FROM the admin but NOT if you make changes OUTSIDE of the Admin?
That would be far less useful.

can you post your code, environment, python version, and django version

I think I understand better now.


Same state with different params passed to vue-router causes navigation/refresh

Is this so by design or it's me that expects too much from the module?
For example I have a route that has an :id param(like /users/1) and when I navigate from one to another(/users/2) a request to server with this id should be sent and an object should be retrieved. What happens now in vue-navigation is that it checks that the state name is the same(users), ignores the params and sends a refresh signal while the state should actually change.

It follows the design of vue-router, see this, the same component instance will be reused.
Because the router component not change, so it is refresh signal.
Tip: the refresh event parameter [to|from] also contains information, so you can know the page refresh /users/1 to /users/2.

Thanks for the quick response. I will connect to the proper event and fix my code.


Insert next to change is not working as expected.

Expected Behavior
Old : [position: 0, size: 1, lines: [Hello]]
New : [position: 0, size: 1, lines: [Hello World]]
Diff Type : CHANGE
Old : [position: 0, size: 0, lines: []]
New : [position: 1, size: 1, lines: [new]]
Diff Type : INSERT
Old : [position: 2, size: 1, lines: [Last]]
New : [position: 3, size: 0, lines: []]
Diff Type : DELETE
Actual Behavior
Old : [position: 0, size: 1, lines: [Hello]]
New : [position: 0, size: 2, lines: [Hello World, new]]
Diff Type : CHANGE
Old : [position: 2, size: 1, lines: [Last]]
New : [position: 3, size: 0, lines: []]
Diff Type : DELETE
Steps to Reproduce the Problem
1.Use original.txt and revised.txt as the input and compute difference using the code given below.
Original.txt
Hello
Hi
Last
Revised.txt
Hello World
new
Hi
Java code
List first = Files.readAllLines(Paths.get("src/main/resources/original.txt"));
List second = Files.readAllLines(Paths.get("src/main/resources/revised.txt"));
Patch diff = DiffUtils.diff(first, second);
for(Delta s : diff.getDeltas())    {
System.out.println("Old : " + s.getOriginal());
System.out.println("New : " + s.getRevised());
System.out.println("Diff Type : " + s.getType());
System.out.println();
}
Specifications

Version: 2.2
Platform: Windows
Subsystem: Windows 7, JDK 1.8_141 (x64)

The actual behaviour is the expected one. DiffUtils.diff does not work row by row.  You should switch to DiffRowGenerator to get better results.

Got it. Thanks..


PCAM Magnet  uses Interpolate instead of Sample function

Describe the bug
The PCAM Magnet Node still uses the "interpolate" function, which has been replaced in Godot 4 with "sample"
To Reproduce
Steps to reproduce the behavior:

Setup a PCAM Magnet.
Untick Full Force, so it samples a Curve Object. (Any Curve will produce the error.

Expected behavior
To Fix this, simply change this line: (Line 105 in m.gd) "var force_magnitude = force * falloff_curve.interpolate(distance / radius)"
to: "var force_magnitude = force * falloff_curve.sample(distance / radius)".
At least that did it for me.

Thanks. I must have missed that when porting the plugin from Godot 3 to 4.


why does it play with no audio ?

it just has video.

This is wrong

That is not true.

The case is when playing on mac os ,not IOS .

I can hear audio very well both on iOS and on OS X. Also, please have a look at the contributing guidelines to learn how to file a good bug report.


Utilize #930 in Weaver & RPCs/Commands

Merge #930 first

@MichalPetryka please rebase on master so the other networkwriterpool isn't in here


Reduce hashmap one expansion

0.75 is the default load factor,if the maps size equals length need divided by 0.75.
Ⅰ. Describe what this PR did
Ⅱ. Does this pull request fix one issue?
Ⅲ. Why don't you add test cases (unit test/integration test)?
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

trigger a new build

trigger a new build

check here:
https://travis-ci.com/github/seata/seata/jobs/346914071

trigger a new build

check here:
https://travis-ci.com/github/seata/seata/jobs/346914071

seata-serializer-seata 1.3.0-SNAPSHOT .............. FAILURE
Strangely, I didn't change the code for this module

trigger a new build

check here:
https://travis-ci.com/github/seata/seata/jobs/346914071

seata-serializer-seata 1.3.0-SNAPSHOT .............. FAILURE
Strangely, I didn't change the code for this module

maybe you can check the dependency of guava in core/pom.xml

Codecov Report

Merging #2782 into develop will decrease coverage by 0.12%.
The diff coverage is 100.00%.

@@              Coverage Diff              @@
##             develop    #2782      +/-   ##
=============================================
- Coverage      50.47%   50.34%   -0.13%
  Complexity      2919     2919
=============================================
  Files            572      572
  Lines          18616    18592      -24
  Branches        2245     2201      -44
=============================================
- Hits            9396     9361      -35
+ Misses          8288     8277      -11
- Partials         932      954      +22

Impacted Files
Coverage Δ
Complexity Δ

...rc/main/java/io/seata/core/model/BranchStatus.java
100.00% <100.00%> (ø)
7.00 <0.00> (ø)

...obuf/convertor/BranchRegisterRequestConvertor.java
90.47% <0.00%> (-9.53%)
3.00% <0.00%> (ø%)

...otobuf/convertor/BranchReportRequestConvertor.java
90.90% <0.00%> (-9.10%)
3.00% <0.00%> (ø%)

...obuf/convertor/BranchRollbackRequestConvertor.java
92.00% <0.00%> (-8.00%)
3.00% <0.00%> (ø%)

...otobuf/convertor/GlobalBeginResponseConvertor.java
92.59% <0.00%> (-7.41%)
3.00% <0.00%> (ø%)

...otobuf/convertor/GlobalCommitRequestConvertor.java
93.75% <0.00%> (-6.25%)
3.00% <0.00%> (ø%)

...otobuf/convertor/GlobalStatusRequestConvertor.java
93.75% <0.00%> (-6.25%)
3.00% <0.00%> (ø%)

...obuf/convertor/GlobalRollbackRequestConvertor.java
93.75% <0.00%> (-6.25%)
3.00% <0.00%> (ø%)

...protobuf/convertor/RegisterTMRequestConvertor.java
94.73% <0.00%> (-5.27%)
3.00% <0.00%> (ø%)

...protobuf/convertor/RegisterRMRequestConvertor.java
90.47% <0.00%> (-4.77%)
3.00% <0.00%> (ø%)

... and 22 more

trigger a new build

check here:
https://travis-ci.com/github/seata/seata/jobs/346914071

seata-serializer-seata 1.3.0-SNAPSHOT .............. FAILURE
Strangely, I didn't change the code for this module

maybe you can check the dependency of guava in core/pom.xml

tks,


Normalize allowed List names

Make sure you can use proper list names where needed.
Maybe require [ ] when it contains spaces? That's a good plan!
Let's not allow spaces in a joined list alias..
SELECT * FROM ListName -> "ListName"
SELECT * FROM [List Name] -> "List Name"
SELECT * FROM List Name -> Not ok

SELECT * FROM [List Name]
JOIN FavoriteBook ON [List Name].Favourite_book
 -> ok

SELECT * FROM [List Name]
JOIN FavoriteBook ON List Name.Favourite_book
 -> error

SELECT * FROM [List Name]
JOIN FavoriteBook ON [List Name].Favourite_book
 -> ok

This has been fixed. However, when having special characters in the names they will be encoded using the camlsql.encode function.


Update 1-microsoft-copilot-web.md

Updated "Back to Index" link
Module: 00
Lab/Demo: 00
Fixes # .
Changes proposed in this pull request:

Updated "Back to Index" link, change looks good.


MF-513: Patient banner UI enhancements

Ticket
Replaces PNG version of the patient avatar placeholder with an SVG and applies explicit sizing so it matches the designs.
Relates to: https://github.com/openmrs/openmrs-esm-patient-chart-widgets/pull/229

cc @FlorianRappl


Mongodb flag

PR is based off of logging commits. So wait until that's merged.

looks like a rebase went wrong somewhere. I usually use git cherry-pick in a new branch when this happens.

Fixed it.


Electron-phonon coupling and electron heat capacity of metals under conditions of strong electron-phonon nonequilibrium

Hi,
I would like to notice that in addition to the dependence of electron thermal conductivity on the temperatures of electrons and lattice, there also dependences of electron-phonon coupling (g) and electron heat capacity (C) on the temperatures of electrons and lattice. And the electron heat capacity does not always depends linearly as it assumed at relatively low temperatures.
As I understand, the most part of the demonstrated dependences are predicted using various theoretical methods and just small amount of values are validated experimentally and only at low temperatures below 1000K (you can see on the graphs in the attached papers).
Therefore, the possibility to model in your code the dependences of electron thermal conductivity, electron-phonon coupling and electron heat capacity (whicj is not always linear) would be very useful.
2008 - E-p coupling and electron heat capacity (Zhigilei).pdf
2020 - Medvedev -  Electron-phonon coupling in metals at high electronic temperatures.pdf

Ciao Serj
I am gratefull for the information and the references, the code is undergoing a drastic change and there is room for all these useful features.
Right now, multiple dependence of conductivity and capacity is implemented, but not tested. Coupling multiple dependence is the next change. However, these feature are not tested, but hopefully these reference can be helpful for that.
I am still confident that the update can be completed by late June, but the user interface might be slightly different. If this is the case, I will upload the code as soon as possible with a temporary documentation.

Ciao Valentino!
This is great, I'm looking forward for the release of the updated code!

I think the code is ready, I still have to do the validation and documentation.
If you want, you can send me the script you prepared that did not work on the current version.
If you prefer to keep your file reserved, you can do the test yourself (the code is in the this repository ).
Note that the user interface is slightly different, but I can tell you exactly how to use it. Otherwise, there are a couple of examples in the same repository.
I thank you in advance for your your help.

Ciao, Valentino, I could read your message only now.
I've looked through the files from the respository, yeah, it certainly will take sometime to become familiar with a new interface.
My test file is not unique at all, I just took one of your examples and modified the input data - so as I'm interested in modelling the evolution of Te and Ti of a simple bulk Au target exposed to single pulse irradiation at several high fluences where the dependences of thermal conductivity, electron capacity and electron-phonon coupling on the Te and Ti must have been considered. Then we should retrieve using Te and Ti the optical properties of heat Au and compare with the experimental data. I think we could colloborate on this subject if your are interested in, of course.

Ciao Serj, i am very interested in a collaboration with you and I would like to further discuss this opportunity via email (valentino.scalera@uniparthenope.it).
If you have any paper on this activity, I would really like to read it (also preprints are good).
I am quite experienced with simulations and numerical methods, I hope this can give some contribution to your work (beside improving my package).
On the other hand, I am not an experimentalist myself (I worked at the UDCM group as theoretican), but I am in contact with them in case it may help.


chore: Upgrade arti_client to 0.24

Closes https://github.com/umgefahren/libp2p-tor/issues/17

Thanks for your effort. However it looks like it no longer compiles with the version update. This likely to updates or movements. Could you resolve these problems?

Thanks for your effort. However it looks like it no longer compiles with the version update. This likely to updates or movements. Could you resolve these problems?

We are using this for our implementation of Monero <> Bitcoin atomic swaps.
I'm super hyped to use this crate, both for privacy and to allow users to listen on an onion address without having to expose any ports. Previously, we bundled a pre-compiled tor binary and routed libp2p over the socks5 proxy (and connected to the control port to manually create a hidden service) but using this'd be so much simpler! I only recently discovered arti and I love it!
I'm still trying to adapt the code to use the new arti_client API. Feel free to jump in and push to this branch if you want to. I haven't worked a lot with runtime agnostic before.

I don't know your use case that well but I want to note, that the security could be easily compromised by an incorrect use of identify, so bear that in mind.

Thank you for your work! May I ask why you didn't update to libp2p to 0.54.1?

Thank you for your work! May I ask why you didn't update to libp2p to 0.54.1?

We are still on 0.53. Once we upgrade, I'll open a PR to upgrade this crate too.