Be more specific in buffers creation

I feel that the dynamic() method creating persistent mapped buffers is too high-level/confusing.
Instead we should add persistent_if_supported, persistent, and persistent_or_dynamic.

So thing thing needs a decision.

A regular old-fashioned buffer with glBufferData(..., GL_DYNAMIC_DRAW), slightly more optimized for frequent updates.
With glBufferStorage(..., GL_DYNAMIC_STORAGE_BIT) with or without GL_CLIENT_STORAGE_BIT.
The new way, with glBufferStorage() without any flag.
The new way, with glBufferStorage(..., GL_MAP_PERSISTENT).

In the first three situations, the buffer can be freely reallocated by the driver. This means that there's absolutely no problem if the user writes repeaditely to the same part of the buffer. Each write can in reality allocate a new buffer. I call this the "old-fashioned way" because the OpenGL driver does a lot of magic.
The fourth way (glBufferStorage without flags) creates a buffer that won't be reallocated. Calling any function except glCopyBufferSubData and glClearBufferSubData is forbidden. Glium allows one to bypass these restrictions by creating temporary buffers and copying them with glCopyBufferSubData. This solution is faster than the first three if the buffer doesn't change its content, and slower if you change it.
The last way creates a buffer that won't be reallocated and that can be manually written and synchronized. This is by far the fastest way if you just upload data once per frame. However it has the problem that you can't write to a part of the buffer that is still in use by the GPU. Writing repeatedly to the same buffer will be very slow. It also handles fences manually, so you must try to write big chunks at once instead of writing individual elements.
To sum things up:

If you never touch the content of your buffer again, the fastest ways are 4 then 1 and 3 without client_storage (1 and 3 should be equal).
If you change the content of your buffer once per frame, or if you use the triple buffering technique, the fastest way is 5.
If you change the content of your buffer repeatedly (upload, draw, upload, draw, etc.) then 2 and 3 are the fastest way.

For moment, calling Buffer::new() uses 4 and falls back to 1 if it's not available. Calling Buffer::dynamic() uses 5 and falls back to 2 if it's not available.
Therefore the situation where you change the content of your buffer repeatedly you have no appropriate way.

In addition to this, there are also options for the buffer's mapping. One can choose to have a buffer that can only be mapped for reading or writing, for better performances.
I suggest the following:

Calling Buffer::dynamic() uses 3 (with client_storage) and falls back to 2.
Calling Buffer::new() uses 3 (without client_storage) and falls back to 1.
Add Buffer::persistent() that uses 5 and falls back to 2, with an enum that lets you choose between ReadOnly, WriteOnly, and ReadWrite. Optimized for writing once per frame or for manually using triple buffering.
Add Buffer::immutable() that uses 4 and falls back to 1. Optimized for when you never change the content of your buffer.

I suggest the following:

Calling Buffer::new() uses 3 (without client_storage) and falls back to 1. Always allow read + write. This is the dummy way for people who are lazy.
Calling Buffer::dynamic() uses 3 (with client_storage) and falls back to 2, with an enum that lets you choose between ReadOnly, WriteOnly, and ReadWrite.
Add Buffer::persistent() that uses 5 and falls back to 2, with the same enum as dynamic().
Add Buffer::immutable() that uses 4 and falls back to 1. Optimized for when you never change the content of your buffer.


Distinguish error codes in storage failure metrics

Motivation: Why do you think this is important?
Storage package publishes Head, Read and Write failures but the metric doesn't distinguish between errors when the file isn't found or when there is a more systemic error (e.g. credentials not found) so they are hard to use to debug/diagnose issues.
Goal: What should the final outcome look like, ideally?
The 3 metrics emitted by the storage package should be tagged with the error code.
Describe alternatives you've considered
N/A
Flyte component

[ ] Overall
[ ] Flyte Setup and Installation scripts
[ ] Flyte Documentation
[ ] Flyte communication (slack/email etc)
[ ] FlytePropeller
[ ] FlyteIDL (Flyte specification language)
[ ] Flytekit (Python SDK)
[ ] FlyteAdmin (Control Plane service)
[ ] FlytePlugins
[ ] DataCatalog
[X] FlyteStdlib (common libraries)
[ ] FlyteConsole (UI)
[ ] Other

[Optional] Propose: Link/Inline
N/A
Additional context
N/A
Is this a blocker for you to adopt Flyte
N/A

v0.3.3


QRcode component

Description
The QR displayed on the screen.
I used qrcode.react package.
www.npmjs.com/package/qrcode.react
Fixes #94
How to test?
npm run storybook
Checklist

[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[ ] I have merged the latest version of the source branch (typically develop) into this branch before pushing my changes
[ ] This PR is ready to be merged and not breaking any other functionality

Hi. Can you add the missing prop types

I made a changes, added them, committed then attempted to do a git push. The response tells me that everything is up to date, but clearly it's not.

No. It can't find qrcode.react. Is it working locally? Is it a case issue?

Ahh. It's just because the package is not installed yet

ready to be merged 👍


_hive_table_name fix

Coverage remained the same at 96.679% when pulling 46739ad11150fb0c124bb1c9d6517865063372f7 on tz/_hive_table_name_fix into 89aacb97371f85bb844f887dc49aae08f7448032 on main.


altivec fixes

include altivec.h
fix typecasting
fix initialization

Passes test suite on Fedora ppc64 and ppc64le.

Any reason this can't be merged?


Namespace Standard Events not firing

According to the documentation it would seem that the following
class Namespace(BaseNamespace):
    def on_connect(self):
        print('[Connected]')
    ...

socketIO = SocketIO('localhost', 8000, Namespace)
socketIO.wait(seconds=1)

ought to fire the on_connect callback for the root namespace, however I'm not seeing this behavior.  I see the following outputted:
dwalker@host:/src › python client.py
DEBUG:socketIO-client:<IP_ADDRESS>:8000/socket.io [engine.io transport selected] websocket
DEBUG:socketIO-client:<IP_ADDRESS>:8000/socket.io [engine.io heartbeat reset]

However, if I change the code to use the .define() we do see the on_connect called for a given new namespace
socketIO = SocketIO('http://<IP_ADDRESS>', 8000)
socketIO.define(Namespace, '/ns')

we get the following
dwalker@host:/src › python client.py
DEBUG:socketIO-client:<IP_ADDRESS>:5000/socket.io [engine.io transport selected] websocket
DEBUG:socketIO-client:<IP_ADDRESS>:5000/socket.io [engine.io heartbeat reset]
DEBUG:socketIO-client:<IP_ADDRESS>:5000/socket.io [socket.io packet sent] 0/ns,
DEBUG:socketIO-client:<IP_ADDRESS>:5000/socket.io /ns [socket.io waiting for connection]
DEBUG:socketIO-client:<IP_ADDRESS>:5000/socket.io /ns [socket.io waiting for connection]
DEBUG:socketIO-client:<IP_ADDRESS>:5000/socket.io [socket.io packet received] b'0/ns'
[Connected]

Am I missing something with the documentation, or should the root Namesapce also be getting to the on_connect callback?

Same problem here. Events doesn't fire and if the computer goes out of internet it stucks in the emit. I'm trying to find a workaround for this :/

There is a solution for this problem:
socketIO = SocketIO( _SERVER_ADRESS, _SERVER_PORT, BaseNamespace, wait_for_connection=False)
At least here, It's working normally now.

I have the same problem, whenever I emit from my server, the client's event doesn't catch the message.
@PY1CX thanks for a solution , however it doesn't work in my case :|

Same problem here. The client can emit but never get message from other clients.

Same here.

Having the same issue. No matter what implementation I try it doesn't trigger. It does connect and can send messages though.

I have the same problem


from future import print_function

Expected Behavior
Actual Behavior
SyntaxError: from future imports must occur at the beginning of the file
Steps to Reproduce the Problem

Specifications

Python version (python --version)
OS (Mac/Linux/Windows)

Which sample in this repo is this bug referring to?

Closing due to inactivity.


Expand v2 Glossary

Browserify, Live reload, Karma, Protractor, Unit Tests, module...

shim, polyfill

Added via https://github.com/driftyco/ionic-site/commit/dfb34fdc54f3572ef08e39fc8aefa1d6c43c60bb


docs:  Added links to API and Examples in doc sidebar

Description

Based on a brief discussion with Spydon, this adds two links in the docs sidebar to API docs on pub.dev as well as a link to the flame examples.

Checklist

[x] The title of my PR starts with a Conventional Commit prefix (fix:, feat:, docs: etc).
[ ] I have followed the Contributor Guide when preparing my PR.
[ ] I have updated/added tests for ALL new/updated/fixed functionality.
[ ] I have updated/added relevant documentation in docs and added dartdoc comments with ///.
[ ] I have updated/added relevant examples in examples or docs.

Breaking Change?

[ ] Yes, this PR is a breaking change.
[x] No, this PR is not a breaking change.

Related Issues

Hmm, I don't think these icons are clear enough, it will mostly just add clutter to the top without much value if it can't be clear directly when looking at the icons what they are for (we have this problem on the examples page too). Possibly we could have links to the examples and api docs directly in the left menu with text instead.

I originally added labels by the buttons and it looks fine, but I felt it clashed with the existing style. I can add links anywhere

Apologies for all the crazy commit action.  I have my repo fixed now.  Next PR's will be clean.

The other places that are using <VERSION> also needs to be changed to the new placeholder

I don't think you should. These are in different areas of markup. Toctree doesn't allow markup so that's why it wouldn't replace where as the other sections are in valid markup. If you want one universal one, I will need to go back through the markdown and figure out a combo that won't class between the two sections.

The other places that are using <VERSION> also needs to be changed to the new placeholder

I don't think you should. These are in different areas of markup. Toctree doesn't allow markup so that's why it wouldn't replace where as the other sections are in valid markup. If you want one universal one, I will need to go back through the markdown and figure out a combo that won't clash between the two sections.

The publish script does the replacement before it is parsed as markdown, so --VERSION-- should work fine I think.


Add support for multi-part form data

Added method WriteMultipartFormData() to Request.

[ ] The purpose of this PR is explained in this or a referenced issue.
[ ] The PR does not update generated files.

These files are managed by the codegen framework at Azure/autorest.go.

[ ] Tests are included and/or updated for code changes.
[ ] Updates to CHANGELOG.md are included.
[ ] Apache v2 license headers are included in each file.

This was adapted from track 1 and has been tested against the local test server.


Add sources graphql api

Add sources query api returns source names.

query sources {
  sources
}

Issue: #294

Codecov Report
Patch coverage: 63.03% and project coverage change: -0.08 :warning:

Comparison is base (61af794) 77.50% compared to head (ebda7aa) 77.42%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #336      +/-   ##
==========================================
- Coverage   77.50%   77.42%   -0.08%
==========================================
  Files          28       19       -9
  Lines        4072     3845     -227
==========================================
- Hits         3156     2977     -179
+ Misses        916      868      -48

Impacted Files
Coverage Δ

src/graphql/export.rs
16.72% <0.00%> (-0.91%)
:arrow_down:

src/graphql/source.rs
0.00% <0.00%> (ø)

src/graphql/status.rs
0.00% <0.00%> (ø)

src/main.rs
7.54% <0.00%> (-2.10%)
:arrow_down:

src/server.rs
85.71% <ø> (ø)

src/storage.rs
62.14% <0.00%> (-0.89%)
:arrow_down:

src/web.rs
0.00% <0.00%> (ø)

src/publish.rs
71.82% <69.38%> (+0.65%)
:arrow_up:

src/ingest.rs
83.33% <75.36%> (-1.87%)
:arrow_down:

src/publish/implement.rs
77.02% <94.11%> (-0.19%)
:arrow_down:

... and 5 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


chore: backfill e2e tests for auth bindings, add auth mock utils

Issue #, if available:
N/A
Description of changes:

Create auth utils to allow injection of authenticated user data into local storage (mock what the real Authentication category does).
Add e2e tests for auth behavior.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Codecov Report

Merging #415 (f0932ea) into tagged-release/q1-release (32e2c74) will not change coverage.
The diff coverage is n/a.

@@                    Coverage Diff                     @@
##           tagged-release/q1-release     #415   +/-   ##
==========================================================
  Coverage                      93.07%   93.07%
==========================================================
  Files                             45       45
  Lines                           1734     1734
  Branches                         386      386
==========================================================
  Hits                            1614     1614
  Misses                           116      116
  Partials                           4        4

Continue to review full report at Codecov.

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


Webapp Generator Component 2: Add the generator backend

[x] get this file into src/generator
[x] make arguments/parameters for endpoint, color, event name in generator.js
[x] create a simple express app with a single endpoint to call generator.js
[x] fix the lint errors (as per hound/codacy) on the generator script

Done point 1 and 3 already here https://github.com/fossasia/open-event-webapp/pull/233
Working on 2

Closing this. This is done now.


cryptage password backend admin

Context
the password will be encrypted. (Same that back end mobile)
SHA256
Expected Behavior
The password is encrypted
Acceptance Criteria
The password is encrypted

Done


Add some standard icons

Different icons for different database shells.
I am using PostgreSQL and MySQL at the same time. Sometimes mongo too, it would be great to have icons for some popular databases like MySQL, PostgreSQL, MongoDB, etc.
If icons packages go as per tech stacks, it would be best. For example, I am using Django so,
icons: Django, celery worker, Kafka, celery flower, Redis, RabbitMQ, MySQL, PostgreSQL, Oracle, etc.
The same goes for other tech stacks.

Are you referring to file icons? What is the use case for these icons?


Lightbox.image is not supported.

always shows an error as Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined.
Check the render method of 'LightboxView'.

@susylPearl you have to use Image from ReactNative not from LightBox.


make fail under debian OS(5.4.210.bsk.business.3-amd64)

make  all-am
make[2]: Entering directory '/root/stressapptest/src'
g++ -DHAVE_CONFIG_H -I.     -DCHECKOPTS -Wreturn-type -Wunused -Wuninitialized -Wall -O3 -funroll-all-loops  -funroll-loops -DNDEBUG -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.cc
In file included from finelock_queue.h:29,
from sat.h:28,
from main.cc:18:
os.h: In static member function ‘static uint64 OsLayer::GetTimestamp()’:
os.h:282:11: error: ‘__rdtsc’ was not declared in this scope
tsc = __rdtsc();
^~~~~~~
os.h:282:11: note: suggested alternative: ‘__dt ’
tsc = __rdtsc();
^~~~~~~
__dt
make[2]: *** [Makefile:326: main.o] Error 1
make[2]: Leaving directory '/root/stressapptest/src'
make[1]: *** [Makefile:192: all] Error 2
make[1]: Leaving directory '/root/stressapptest/src'
make: *** [Makefile:312: all-recursive] Error 1

Hi !
Please check the workaround mentioned in https://github.com/stressapptest/stressapptest/issues/98. It will probably fix your issue. I'll make a PR to have it merged in the main branch if Nick would agree.
Seb


Update cobra generator link

The link mentions the cobra generator project structure but the link points to cobra repository

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


Does this package need to exist, with pytorch-lightning package already in conda-forge?

Solution to issue cannot be found in the documentation.

[X] I checked the documentation.

Issue
Both this feedstock and the one for pytorch-lightning track the same project.  It is concerning that there are 2 packages in conda-forge currently tracking the same project.  Is this package necessary given the other one?  If so, then at least the dependencies should be kept consistent, as they are not currently.
Installed packages
N/A

Environment info
N/A

See https://github.com/conda-forge/staged-recipes/pull/22249#issuecomment-1468884067. The repo at https://github.com/Lightning-AI/lightning is a monorepo that produces the lightning and pytorch-lightning packages. Yes they have the same version and appear similar, but lightning is pytorch-lightning + more stuff, see the recipe/meta.yaml file:
https://github.com/conda-forge/lightning-feedstock/blob/1f60964042f689bae78efbeeed2fd1469f9a71e9/recipe/meta.yaml#L26-L58
Hopefully that answers your issue, I'll close this issue now.

How do these two packages interact with each other? Shouldn't there be some kind of version-constraint on the pytorch-lightning dependency used by lightning?
(I understand that this question should probably go to the actual lightning repo since the pip package also does not specify any constraints)

Shouldn't there be some kind of version-constraint on the pytorch-lightning dependency used by lightning?

Best to raise it upstream in the lightning repo, the conda-forge recipe here is really just following the version pinnings from the PyPI package. I actually have no clue about how forward or backward compatible lightning is with pytorch-lightning, though I'd assume that lightning 2.0.x should work with pytorch-lightning 2.0.x.

Thanks for the quick reply. If anyone stumbles across this here: https://github.com/Lightning-AI/lightning/discussions/17095#discussioncomment-6277660


Language Request - Burmese (Myanmar)

Hello!
I'd like to contribute to the L10n. I have translated to Burmese and covered 97% of the locale. Could you please add my language to the project so that I can submit my translation?
Best Regards,
Naing

Here you are https://crowdin.com/translate/excalidraw/10/en-my
How should write Burmese for the language selector?

There are two words for Burmese, "ဗမာ" and "မြန်မာ". Although we are still using both interchangeably, I would go for "မြန်မာ" as it is an official word now.
Burmese = မြန်မာ

Am I the only whose system renders the characters as such? :)

Maybe the fonts in your system don't have Burmese characters. Could you please try to copy and paste my previous comment into the Unicode textbox of the following link?
http://www.rabbit-converter.org/Rabbit/

Works fine on macOS

Let's ignore then... except maybe we should use ASCII for the language picker just in case.

For those who want that language it will appear correctly :)

Sure, but I think having squares in language picker wouldn't be nice either way.

So what do we do?

I agree. ASCII is better for now. "Burmese" is fine for us.

Cool, I changed the label and we'll merge soon.

@naingyeminn We are live!


Can't clone on airflow box. Can clone locally.

Repo: https://www.dolthub.com/repositories/Liquidata/code-search-net
When I try and clone this locally it succeeds. When I try to clone it on an airflow worker I get the following error:
[2019-10-24 16:00:42,887] {{bash_operator.py:128}} INFO - error: clone failed
[2019-10-24 16:00:42,887] {{bash_operator.py:128}} INFO - cause: open .dolt/noms/nbs_manifest_656126001: no such file or directory

Full log here: https://airflow.awsdev.ld-corp.com/admin/airflow/log?dag_id=code_search_net&task_id=import-data&execution_date=2019-10-24T15%3A59%3A36.648515%2B00%3A00

This passed this time:
https://airflow.awsdev.ld-corp.com/admin/airflow/log?dag_id=code_search_net&task_id=import-data&execution_date=2019-10-25T20%3A27%3A11.921130%2B00%3A00
It's some sort of transient issue.

Had a push error with permission denied on Airflow:
https://airflow.awsdev.ld-corp.com/admin/airflow/log?dag_id=tatoeba_sentence_translations&task_id=import-data&execution_date=2019-10-28T19%3A48%3A32.002456%2B00%3A00
The LiquidataSystemAccount has permissions and has pushed before. I think this is a transient error as well. Trying again.

Was able to complete the above upload as<EMAIL_ADDRESS>locally.

I'm giving up on this for now.


Is it possible to use javax.tools.ToolProvider.getSystemJavaCompiler(): javax.tools.JavaCompiler function in oder to retreive the compiler?

Description
I came across a component that seams to provide a java compiler. Is it possible and reasonable to integrate it instead of manual search of the the compiler that its execute as a child process?
Note: I did not google it and did not check its use. The issue is created merely not to forget to have a look at this in the future.

Hey, if I am not mistaken, This API provides the Java version used for the plugin. However, the Java version for compiling generated tests will be different for each project. This is why we get the Java SDK set on the user's project and use that to make sure that the generated tests will also be compilable when integrated into the user's codebase.


ASEAN's 1.20.4 implementation

:warning: please ignore this for now
:warning: Do not merge this. it will break everything. i just want to see the diff of what files i have edited

TLDR: this is 1.20.4 ASEAN BTE Implementations of plot system
including:

plot positioning to be force to paste in center (0, 0) (this fixes bedrock user to be able to play without coordinate problem)
rebase and rename all HolographicDisplay plugin to DecentHologram which has better support for modern minecraft version
fixes world height problem where plot is unable to be create out of the limited 0 - 256 blocks range
some new hologram leaderboard that fits more with the new plugin
all changes by tin @tintinkung (@dirtytin on discord)

all additional fixes is hosted at com.aseanbte.aseanlib so the packages naming is changed in this PR

:lock:  go to #136


Filter scenes by createdAt to prevent inconsistent paging results

When a list is initially loaded, it should take note of the time and use it for future requests that are paged. Otherwise, the total # of scenes will change and possibly cause duplicates in the list / other state issues.
Basically - freeze the set of scenes that the list will show when paginating.
This will become more obvious as we add more scene sources

This is the cause of the duplicate ID errors identified in #722 ; here is a more detailed description of the problem:
The default sort criteria on the Scene Browser page is 'createdAt,desc`. This means that the most recently created scenes are returned first, but this can cause problems if scenes are being inserted as users browse scenes. For example:

User browses to /browse and the first page of scenes (page 0) successfully loads.
Background process imports a new scene that is visible to the user.
User scrolls down the scene list, causing the front-end to query for the next page, i.e. page=1. However, because page 0 (from the database's perspective) now includes a newly inserted Scene, all subsequent Scenes will have been pushed "down" one "slot". This will cause the last Scene in the old page 0 to be pushed down onto page 1, and therefore returned a second time by the API. Angular doesn't like having multiple items in a collection with the same ID, so it will explode with a stack trace.

Resolved by #752


winget list does not work

winget list does not work. It only shows rotating progress and exits silently. Somehow, the terminal becomes blue after this.
The winget version was v1.2.10691 when I installed Windows 11 Home.
The script needs to update winget first.
ref: https://github.com/microsoft/winget-cli/discussions/1903

#19 should resolve this since Windows update also updates winget.


3.1-Error code is managed with constants (#10771)

Error code is managed with constants (#10771)

Codecov Report

Merging #10869 (6959e35) into 3.1 (1aa1aea) will decrease coverage by 4.78%.
The diff coverage is 29.48%.

@@             Coverage Diff              @@
##                3.1   #10869      +/-   ##
============================================
- Coverage     69.30%   64.51%   -4.79%
+ Complexity      578      467     -111
============================================
  Files          1358     1336      -22
  Lines         72845    56976   -15869
  Branches      13068     8400    -4668
============================================
- Hits          50486    36759   -13727
+ Misses        17930    16260    -1670
+ Partials       4429     3957     -472

Impacted Files
Coverage Δ

...apache/dubbo/registry/ListenerRegistryWrapper.java
76.19% <0.00%> (+8.77%)
:arrow_up:

...va/org/apache/dubbo/registry/RegistryNotifier.java
76.92% <0.00%> (-2.57%)
:arrow_down:

...ubbo/registry/client/ServiceDiscoveryRegistry.java
75.40% <0.00%> (-0.55%)
:arrow_down:

...try/client/metadata/MetadataServiceDelegation.java
38.04% <0.00%> (-3.27%)
:arrow_down:

...t/migration/DefaultMigrationAddressComparator.java
79.54% <0.00%> (ø)

...apache/dubbo/registry/support/RegistryManager.java
63.63% <0.00%> (-11.65%)
:arrow_down:

...org/apache/dubbo/registry/nacos/NacosRegistry.java
50.00% <0.00%> (-5.05%)
:arrow_down:

...stry/client/ServiceDiscoveryRegistryDirectory.java
42.40% <10.00%> (-8.50%)
:arrow_down:

.../dubbo/registry/integration/RegistryDirectory.java
46.80% <14.28%> (-13.10%)
:arrow_down:

...e/dubbo/registry/integration/RegistryProtocol.java
59.12% <16.66%> (-9.74%)
:arrow_down:

... and 385 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


JBPM-4779 - Can't set command service class using the RuntimeEngine API

allow user to override default implementation for KieStoreServices to further fine tune configuration such as CommandService class

does anyone have any objections or shall I merge this (master only)?

thanks @psiroky, points you made are not added to PR

No real objections, +1 for merging.
-0 on documentation.
-0 on tests.
(-0 as in "Well, I don't want it to hold back the PR, but there should be.." )

and here comes docs section about this system property https://github.com/droolsjbpm/kie-docs/pull/14


Requested extrinsics are not available! - D415

|---------------------------------|------------------------------------------- |
| Camera Model                       | D415 |
| Firmware Version                   | <IP_ADDRESS> |
| Operating System & Version |   Win10 |
| Kernel Version (Linux Only)    |  N/A                                      |
| Platform                                 | PC (Lenovo Legion 5i  |
| SDK Version                            |  2.50.0  |
| Language                            |  Python  |
| Segment			|  not sure what it means |
Issue Description
I want to find out extrinsic parameters between two different views. However, I only have a single camera. I recorded videos of a certain static scene from two different viewpoints. And tried to find out extrinsic params, but it says "Requested extrinsics are not available!". I thought maybe it couldn't find any matching points between two different angles, so I now I am trying to compare the same example with itself to make sure this error isn't related to matching points. But it still gives me the same error.
import pyrealsense2 as rs
import numpy as np
import cv2

pipeline_1 = rs.pipeline()
config_1 = rs.config()
anchor_example = r"D:\librealsense2\data\anchor.bag"
config_1.enable_device_from_file(anchor_example, False)
config_1.enable_stream(rs.stream.depth, rs.format.z16, 30)

pipeline_2 = rs.pipeline()
config_2 = rs.config()
second_view_example = r"D:\librealsense2\data\anchor.bag"
config_2.enable_device_from_file(second_view_example, False)
config_2.enable_stream(rs.stream.depth, rs.format.z16, 30)

# Start streaming from both cameras
profile1 = pipeline_1.start(config_1)
profile2 = pipeline_2.start(config_2)
profile_1 = profile1.get_stream(rs.stream.depth)
profile_2 = profile2.get_stream(rs.stream.depth)

def get_extrinsics(src, dst):
    extrinsics = src.get_extrinsics_to(dst)
    R = np.reshape(extrinsics.rotation, [3,3]).T
    T = np.array(extrinsics.translation)
    return (R, T)

counter = 0
try:
    while True:
        counter += 1
        aligned_frames_1 = pipeline_1.wait_for_frames()
        aligned_frames_2 = pipeline_2.wait_for_frames()

        aligned_depth_frame_1 = aligned_frames_1.get_depth_frame() # aligned_depth_frame is a 640x480 depth image
        aligned_depth_frame_2 = aligned_frames_2.get_depth_frame()

        if not aligned_depth_frame_1 or not aligned_depth_frame_2:
            print(":(")
            continue

        depth_image_1 = np.asanyarray(aligned_depth_frame_1.get_data())
        depth_image_2 = np.asanyarray(aligned_depth_frame_2.get_data())

        images = np.hstack((depth_image_1, depth_image_2))

        cv2.namedWindow('RealSense', cv2.WINDOW_NORMAL)
        cv2.imshow('RealSense', images)
        cv2.waitKey(1)

        stream_left = profile_1.as_video_stream_profile()
        stream_right = profile_2.as_video_stream_profile()
        streams = {"left": stream_left,
                   "right": stream_right}
        (R, T) = get_extrinsics(streams["left"], streams["right"])
        print("R: ", R)
        print("T: ", T)
        break
finally:
    pipeline_1.stop()
    pipeline_2.stop()

The strange thing is, if I change (R, T) = get_extrinsics(streams["left"], streams["right"]) to (R, T) = get_extrinsics(streams["left"], streams["left"])(Note that I am comparing the same stream with itself), it works fine and returns me the T = [0,0,0] and R =
[[1,0,0],
[0,1,0],
[0,0,1]].
Long story short, when the same stream from different config objects(rs.config()) are compared, it doesn't show me extrinsics, however, If I compare the same stream with itself(get_extrinsics(streams["left"], streams["left"])) using a single config object, it gives me the answer but of course isn't useful to me since I can't have two different streams with a single config object.

Hi @mnauf  In your script, you define profile1 and profile2 as being pipe start instructions, and then in the following two lines change what the profile1 and profile2 variables are storing.

Does the program perform better if you change the second set to 'depth_profile_1' and 'depth_profile_2'
depth_profile_1 = profile1.get_stream(rs.stream.depth)
depth_profile_2 = profile2.get_stream(rs.stream.depth)

Hello @MartyG-RealSense . I haven't overwritten profile1 and profile2 in the two lines you have highlighted. Because those variables are profile_1 and profile_2 and not profile1 and profile2. Please note the _

Thanks for the clarification.
As you noted, the problem seems to be occurring with the line (R, T) = get_extrinsics(streams["left"], streams["right"])
This line and other in the script are used in the T265 Tracking Camera's t265_stereo.py example for simulating depth on the T265 (as T265 does not have depth sensing built in).
https://github.com/IntelRealSense/librealsense/blob/master/wrappers/python/examples/t265_stereo.py#L157
This suggests that the lines are structurally correct, though in the case of the T265 script it is analyzing the extrinsics between left and right fisheye sensors in the same camera instead of depth sensors.
Extrinsics transforms like the ones in the code are typically used to describe the position and rotation transform between two different sensor types that are mounted in different physical positions in the camera (depth and color, infrared and depth, gyro and depth, etc).  The RealSense SDK does not generate extrinsics for comparing depth and depth, because that would not make sense in terms of extrinsics - it would be like checking the positions of two sensors that are in the same place within the camera.
Because the extrinsics compare the transform of two different sensors inside the same camera, the extrinsics are not going to change if the entire camera is moved to a different position in the scene because the camera is moving but the sensors inside it are fixed in the same position relative to each other.

It sounds like what you are doing is trying to align data recorded into two different files at two different perspectives.  If this is your aim then the SDK's rs2_transform_point_to_point instruction may be more suitable, as it performs an affine transform to align two different sets of data in the same 3D coordinates.  An example of this would be capturing two point clouds from different angles and then performing an affine transform to set them to the same position and rotation in 3D space to form a single combined ('stiched') view.

Hi @mnauf  Do you require further assistance with this case, please?  Thanks!

Hi @mnauf  Do you require further assistance with this case, please?  Thanks!

Let me try rs2_transform_point_to_point in a few hours. Meanwhile please keep this issue opened.

Ok, no problem at all, @mnauf - it s fine to keep this case open for a further time period.  Thanks for the update!

Hi @mnauf  Do you require further assistance with this case, please?  Thanks!

@MartyG-RealSense thanks. You may close this issue now :D

Thanks very much @mnauf for the update!  As you suggested, I will close the case.   Thanks again!


Why don't newer versions show up in mvnrepository.com?

the newest there is 1.0.1.  What do I need to do to get this to update to newest version?

https://mvnrepository.com/artifact/com.greenfiling.smclient/servemanager-client
Same in maven central: https://search.maven.org/artifact/com.greenfiling.smclient/servemanager-client

This was a mistake in my release process.  Shown fixed as 1.0.3 is showing up now. I've updated my release process notes


Dataexport to postgres (SQL) in addition to InfluxDB

Is your feature request related to a problem? Please describe.
I gave up on InfluxDB due to its and my limitiaions with it. SQL is better known in general and more easy to get into. Postgres is also really powerful and really a really great datasource for Grafana.
Describe the solution you'd like
I would like to have the option to define postgres as a target for data export like loadpoint info and power info.
Describe alternatives you've considered
I am right now doing this via the API by scraping it and then inserting into postgres. This is an alternative but it would be easier to have the schema build in so queries/Granfa dashboards could be shared.
I would also like to contribute to this feature with the experiences I have gathered from using postgres for this task.

Duplikat zu https://github.com/evcc-io/evcc/issues/6644, siehe Diskussion dort. Wenn Du eine gute gute Idee hast wie lass uns da weiter machen.


Shortcut for BASE64 encoded screenshot

The problem
Selenide can be used to conduct screenshot based testing to check layout. But many tools that we have to integrate with requires Base64 encoded screenshots. Now we can do it as:
((TakesScreenshot) WebDriverRunner.getWebDriver()).getScreenshotAs(OutputType.BASE64)

It would be better to have
Selenide.screenshot(OutputType.BASE64)

implemented in https://github.com/selenide/selenide/pull/1231

Implemented in https://github.com/selenide/selenide/pull/1231


refactor snapshots to use structs instead of tuples

To have extensibility going forward and to be able to add metadata to the metric snapshots, this change refactors the snapshots to use structs for counters, gauges, and histograms instead of using name-value tuples.
This is a breaking change, but should reduce the need for breaking changes going forward.

Cc @mihirn this will likely require a coordinated update in systemslab

Cc @mihirn this will likely require a coordinated update in systemslab

Yeah, and it will make sense to use this as the mocked format for the binary endpoint as well for any unit tests.


add support for boolean

I know this isn't exactly covered by the official specs, but considering the formality of the specs, I thought it was okay to interpret integer values as bool with all values except 0 being true. true values are encoded as i1e.
I was actually just annoyed that encoding boolean values isn't possible.

would you also mind adding yourself to the AUTHORS file? also do you agree to license your changes under the LICENSE file provided in the root of the repo? assuming all that's done i'll merge it. :)

I already am in the AUTHORS file, the last two PR were done by me. I agree to publish my work under the license provided in the LICENSE file. I hope that's lawyer-proof :)

I added the docstring. I hope everything is in order now.

haha sorry i didn't notice. thanks :)
and yeah who knows about lawyers. BEST EFFOR LOL!
also, sorry, i just looked closely at EncodeBool and it's literally the same thing as EncodeBytes. What's it's purpose?

None. I must have copied it because I thought this is the place I have to add the bool encoding logic, realized I was wrong and forgot to remove it. When adding the docstring I was in bot-mode. Sorry, this is embarrassing. Deleted the function.

Haha it's fine. I was in bot mode when I asked for the doc string :)
Thanks.


Verification method configurator fails when only one option

Based on this post, the verification method should not hard code "email/sms" options as some users will not have both verification options.

<form name="claimspicker" method="post" action="verify" class="cvf-widget-form cvf-widget-form-claimspicker a-spacing-none">

Verification needed

We will send you a code to ensure the security of your account.

<input type="hidden" name="option" value="sms">

<input id="continue" tabindex="3" class="a-button-input" type="submit">Send code

</form>

This is a different screen then the verification options that we properly handle:

<form name="claimspicker" method="post" action="verify" class="cvf-widget-form cvf-widget-form-claimspicker a-spacing-none">

Verification needed

We will send you a code to verify your identity. This is required when something about your sign-in activity changes, like signing in from a new device or location.

Send verification code:

<input type="radio" name="option" value="sms" checked>As a text message - +***********

<input type="radio" name="option" value="email">In an email -<EMAIL_ADDRESS>

<input id="continue" tabindex="3" class="a-button-input" type="submit">Send code

</form>

The primary difference appears to be the option variable set either by use <input type="radio"> vs <input type="hidden">

Potential untested fix here.

User reports the fix worked. Will stage for deployment.


Postgres database not visible

System information:

Windows 11
DBeaver version <IP_ADDRESS>204021640

Connection specification:

Postgresql 14
Do you use tunnels or proxies (SSH, SOCKS, etc)? No

Describe the problem you're observing:
Not possible to see the following database: Test.Api.Local
When I create a new database with this name, it is visible. If I Refresh databases, it disappears.
Steps to reproduce, if exist:
1 - Create database with name: Test.Api.Local
2 - Refresh databases

Hello @brunoalreis
By default, DBeaver shows only one database.
So maybe enabling the "Show all databases" in Connection Settings can help you?

Thanks for the answer @brunoalreis


Increase standard rate for Finland starting September '24

As announced previously, but without definitive timeline, the standard VAT rate for Finland will increase from 24 to 25.5%. It looks like this timeline is now definitive according to many news sources:

https://yle.fi/a/74-20091421
https://www.roschier.com/newsroom/finnish-vat-rate-to-increase-to-25-5-starting-september-2024
https://www.vatcalc.com/finland/finland-increases-vat-to-24-january-2013/ (ignore this slug 🤣)
And many others

I'm not a Finnish resident and have some troubles to find a 100% definitive source confirming this, but the draft budget from the ministry of finance does mention it:

The standard value-added tax rate and the rate of tax on certain insurance premiums will be raised from the current 24 per cent to 25.5 per cent. The increase will come into effect on 1 September 2024. The value-added tax rate for sweets will be raised from 14 per cent to the new standard value-added tax rate of 25.5 per cent as of 1 June 2025.

So I think it's safe to assume this can be implemented.
Resolves https://github.com/ibericode/vat-rates/issues/17

Hello @SanderVanLeeuwen,
Thank you! Can you fix the sorting issue (see CI job) so that the new period comes first? Some cliënt implementations depend on this.

Ah, missed that. Fixed.

Great stuff, thanks for noticing this rate change and providing the patch!


Specifying ".IsUnique(false);" is still adding "unique: true" in migrations on EFCore 7 on Linux with MySql

Specifying .IsUnique(false); in fluent API to avoid unique index and just to have a normal BTREE index, but still, it's adding unique: true in migrations on EFCore 7 on Linux with MySql.
EF Core version: 1.1.1
Database Provider: Pomelo.EntityFrameworkCore.MySql/1.1.1
Operating system: Ubuntu 16.04
IDE: JetBrains Rider and VS CODE

This looks like a Pomelo mysql bug, you should report at the Pomelo issue tracker

Filed as https://github.com/PomeloFoundation/Pomelo.EntityFrameworkCore.MySql/issues/275


Clicking the URL of latest 100 LPs in PancakeSwap dashboard cannot work

e.g.:  the navigation cannot work.


Add drivers to Windows PATH

Add a command how to add the drivers folder to Windows PATH.

Is adding it to the PATH really necessary? I have tried without and it seems to work the same.


Realm deadlock issue arises by using realm from notification service extension and main app.

!!! MANDATORY TO FILL OUT !!!

Goals
Want write on Realm db which is in shared group folder from notification service extension and main app both.
Expected Results
Deadlock should not be arises.
Actual Results
Exception Type:  EXC_CRASH (SIGKILL)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note:  EXC_CORPSE_NOTIFY
Termination Reason: Namespace SPRINGBOARD, Code 0x8badf00d
Termination Description: SPRINGBOARD, scene-create watchdog transgression: application<com.myApp.ios>:9023 exhausted real (wall clock) time allowance of 29.25 seconds | ProcessVisibility: Background | ProcessState: Running | WatchdogEvent: scene-create | WatchdogVisibility: Background | WatchdogCPUStatistics: ( | "Elapsed total CPU time (seconds): 52.630 (user 52.630, system 0.000), 29% CPU", | "Elapsed application CPU time (seconds): 0.725, 0% CPU" | )
Triggered by Thread:  0
Thread 0 name:  Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0   libsystem_kernel.dylib        	0x00000001b7eae27c 0x1b7e87000 + 160380
1   Realm                         	0x00000001084644e4 realm::util::File::lock+ 2802916 (bool, bool) + 64
2   Realm                         	0x0000000108396800 realm::SharedGroup::do_begin_write+ 1959936 () + 88
3   Realm                         	0x00000001082e5c68 realm::impl::transaction::begin(std::__1::unique_ptr<realm::SharedGroup, std::__1::default_deleterealm::SharedGroup > const&, realm::BindingContext*, realm::impl::NotifierPackage&) + 1236072 (group_shared.hpp:986)
4   Realm                         	0x00000001081fc568 realm::impl::RealmCoordinator::promote_to_write(realm::Realm&) + 279912 (realm_coordinator.cpp:856)
5   Realm                         	0x00000001082c04f4 realm::Realm::begin_transaction() + 1082612 (shared_realm.cpp:667)
6   Realm                         	0x000000010828f43c -[RLMRealm beginWriteTransaction] + 881724 (RLMRealm.mm:577)
7   myApp-ios                   	0x00000001050d0630 specialized static UserSettings.update+ 1082928 (:) + 460
8   myApp-ios                   	0x0000000105109244 specialized AppDelegate.messaging(:didReceiveRegistrationToken:) + 1315396 (:0)
9   myApp-ios                   	0x00000001050ff080 @objc AppDelegate.messaging(:didReceiveRegistrationToken:) + 1273984 (:0)
10  myApp-ios                   	0x0000000105491eb0 -[FIRMessaging notifyDelegateOfFCMTokenAvailability] + 208
11  myApp-ios                   	0x000000010549334c -[FIRMessaging didReceiveDefaultInstanceIDToken:] + 384
12  Foundation                    	0x00000001b848c288 0x1b8374000 + 1147528
13  CoreFoundation                	0x00000001b8019b30 0x1b7f8f000 + 568112
14  CoreFoundation                	0x00000001b8019b80 0x1b7f8f000 + 568192
15  CoreFoundation                	0x00000001b8018e78 0x1b7f8f000 + 564856
16  CoreFoundation                	0x00000001b8018b10 0x1b7f8f000 + 563984
17  CoreFoundation                	0x00000001b7f91b08 0x1b7f8f000 + 11016
18  CoreFoundation                	0x00000001b8018440 0x1b7f8f000 + 562240
19  Foundation                    	0x00000001b848cdac 0x1b8374000 + 1150380
20  CoreFoundation                	0x00000001b803c67c 0x1b7f8f000 + 710268
21  CoreFoundation                	0x00000001b803731c 0x1b7f8f000 + 688924
22  CoreFoundation                	0x00000001b80377b4 0x1b7f8f000 + 690100
23  CoreFoundation                	0x00000001b8037098 0x1b7f8f000 + 688280
24  GraphicsServices              	0x00000001c21a1534 0x1c219e000 + 13620
25  UIKitCore                     	0x00000001bc1577ac 0x1bb727000 + 10684332
26  myApp-ios                  	0x0000000104fee6a8 main + 157352 (AppDelegate.swift:29)
27  libdyld.dylib                 	0x00000001b7eb6f30 0x1b7eb6000 + 3888
Steps to Reproduce
This is an intermittent issue so unable to replicate consistently. But has been reproduced in multiple times on multiple devices.
Code Sample
func updateInTime(userId: Int) {
    let container = FileManager.default.containerURL(forSecurityApplicationGroupIdentifier: "group.****")
    let realmURL = container!.appendingPathComponent("default.realm")
    do {
        let config = Realm.Configuration(
            fileURL: realmURL,
            schemaVersion: schemaVersion)
        Realm.Configuration.defaultConfiguration = config
        updateUserTime(userId: userId)
    }
}

func updateUserTime(userId: Int) {
   do {
        let realm = try Realm()
        let predicate = NSPredicate(format: "userID == %d", userId)
        let inTimes = realm.objects(UserInTime.self).filter(predicate)
        if let inTime = inTimes.first {
            try realm.write {
                inTime.inRadiusTime = Date()
            }

        }
    } catch {
        //Logger.KWLogDebug("Failed to access the Realm database")
    }
    do {
        let realm = try Realm()
        let inTime = UserInTime()
        inTime.userID = userId
        inTime.inRadiusTime = Date()

        try realm.write {
            realm.addOrUpdate(inTime)
        }
    } catch {
        print(error)
    }

}

Version of Realm and Tooling

Realm framework version: 3.10
Realm Object Server version:
Xcode version: 10.1
iOS/OSX version:  iOS 12.4+
Dependency manager + version:  Carthage  + 0.31.2

You need to wrap write transactions in UIApplication().shared.beginBackgroundTask(...)/UIApplication().shared.endBackgroundTask() to ensure that the OS does not suspend your application while it's holding the write lock. This unfortunately is an incomplete solution as that API isn't available in extensions, but there doesn't seem to be anything we can do about that short of adopting a completely different write API that is compatible with NSFileCoordinator.
https://github.com/realm/realm-cocoa/pull/4827/files is a PR that attempted to do this automatically that may be useful as an example.

Closing due to inactivity. If you have any other questions please open a new issue. Thanks.


Using a "/" in a field causes an error when running the generated interview

I think it was probably in a label, but it might have been in a title or question or some such. Don't have the ability to reproduce at the moment. This was from a while ago, so maybe it's been solved. Wanted to make sure I searched the issues for this problem before posting and couldn't find one that matched.

Do you have any more information or a confirmation the bug still exists to go with this?

It's definitely been solved, I just ran this through with slashes in the field labels and titles, nothing wrong with it from what I can tell.
I think it was probably fixed by https://github.com/SuffolkLITLab/docassemble-ALWeaver/issues/560.
docassemble-FeewaiverCivilApplicationOld.zip


Update get_message doc to avoid confusion

As reported in https://github.com/valkey-io/valkey-py/pull/150 the current get_message behavior is confusing.
Some people would reasonably expect it to default to being blocking.
We should state this more explicitly in the documentation.
We should also take a look at the rest of the code to see if there are other places with similar issues.

We should also consider adding a run time warning as suggested in https://github.com/valkey-io/valkey-py/pull/150#issuecomment-2541421193


Nested PanelGroup flickering when resizing

I've noticed this border flickering issue when resizing the nested Panel as seen in the below video.
It may be more noticeable on slow machines
https://user-images.githubusercontent.com/26746668/209574615-bb9d989f-be6c-4771-b829-d925281fda2a.mp4

Fixed via #33
See this comment for an explanation of why https://github.com/bvaughn/react-resizable-panels/issues/32#issuecomment-1365495136


Added Region setting for AWS STS

Standard endpoint for STS doesn't work with ap-east-1 and me-south-1 regions. To successfully get a working token for those regions, the user must also call the region specified STS endpoint.

This is also (apparently) needed for GovCloud as well.


huawei & MI app console remove my app

We found that it does not display correctly when selecting country after entry of [(CN)+86] function in your app (for example, some of the regions should not be shown as countries), [Suggestion]: Please change [Select Country] to [Select Country / region]
when selecting code of country up side it's showing "Select Country" we have to Change it to "Select Country / region"
Pls tell me how can i fix this or you'll fix?

I'm very sorry, for now I can't give times to fix this issue because I've so many task at hand at my current works. Can you lend me a hand on this issue?

When will you fix this issue any time? i'll wait till that time

I'm very sorry, for now I can't give times to fix this issue because I've so many task at hand at my current works. Can you lend me a hand on this issue?

is there any update for this issue as huawei is rejecting my app as well


can't not visit https://rigel-a.primas.network

Is the endpoint OK?

It is not OK yet. The main net endpoints will be ready after the release of the document.


Using BatchNorm on Fullyconnected layers do not reproduce results.

After each time restarting R I run my codes with same seed and saw the results are not reproducible. Any suggestion?
This is my network
        hidden=c(256,256,128,64)

        data <- mx.symbol.Variable("data")
        fc1 <- mx.symbol.FullyConnected(data, name="fc1", num_hidden=hidden[1])
        bn1 <- mx.symbol.BatchNorm(fc1,eps=0.001,momentum=0.9,fix.gamma=T,name="bn1")
        act1 <- mx.symbol.Activation(bn1, name="relu1", act_type="relu")

        fc2 <- mx.symbol.FullyConnected(act1, name = "fc2", num_hidden = hidden[2])
        bn2 <- mx.symbol.BatchNorm(fc2,eps=0.001,momentum=0.9,fix.gamma=T,name="bn2")
        act2 <- mx.symbol.Activation(bn2, name="relu2", act_type="relu")

        fc3 <- mx.symbol.FullyConnected(act2, name="fc3", num_hidden=hidden[3])
        bn3 <- mx.symbol.BatchNorm(fc3,eps=0.001,momentum=0.9,fix.gamma=T,name="bn3")
        act3 <- mx.symbol.Activation(bn3, name="relu3", act_type="relu")

        fc4 <- mx.symbol.FullyConnected(act3, name="fc4", num_hidden=hidden[4])
        bn4 <- mx.symbol.BatchNorm(fc4,eps=0.001,momentum=0.9,fix.gamma=T,name="bn4")
        act4 <- mx.symbol.Activation(bn4, name="relu4", act_type="relu")

        fc5 <- mx.symbol.FullyConnected(act4, name="fc5", num_hidden=2)
        softmax <- mx.symbol.SoftmaxOutput(fc5, name = "sm")

Did you initialize the input?

How can I initialize the input? Sorry, this is the first time I hear about it.
Would you please give me some example R codes ? Thank you very much!

Did you initialize the input?

May be I initialized the input by this calling: initializer=mx.init.uniform(0.07). I still can not catch what you mean, Mr @piiswrong.
Would somebody help me?

If you initialized the input to random numbers, the output will also be random

Great! I understand what you mean.
So, how could I initialize the input to fix numbers?
Thank you very much!

Mr @piiswrong , can you help me making the output not so random?
Thank you very much.


incorrect information on page

Work order status in the table on 3rd line, second collumn should be changed from Open - unscheduled to Open - scheduled

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

ID: 62309785-dfe7-d092-ec7e-38a717bc4a9e
Version Independent ID: 7df8ace9-5d25-d197-52b6-67b74bd0911c
Content: Create a work order (Dynamics 365 for Field Service)
Content Source: ce/field-service/create-work-order.md
Service: dynamics-365-customerservice
GitHub Login: @krbjoran
Microsoft Alias: krbjoran

Hi @timothybohte - thanks so much for pointing out this correction. I've just updated the content, and it should be live shortly!


event-4625 without ip and port

WinServer 2012 and below, NTLM login does not have IP and Port records. This issue has been fixed in 2016. May I know if there are any related patch packs for 2012 and below.

Thanks @ThouSandThorChang for taking the time to share this with the Windows documentation team. I’m sorry that you’re having problems, and I want to make sure it gets to the right people that can help. There are a couple of options available to provide the best level of support for this issue:

Post to Windows on Q&A. These are moderated by community members who are very experienced, knowledgeable, and helpful.
Use Microsoft Support to search for the issue, or open a case with professional support.
Contact your Microsoft Unified Support team, such as a Customer Engineer or Customer Success Account Manager.

I'm closing this issue as there's nothing actionable for docs at this time.
We have an article on Event 4625 but I don't see anything in it pertaining directly to your questions. And we're in the process to retire this article to the Windows previous versions site.

thanks


Extension templates not getting applied after WDT upgrade

Definition extension templates are no longer applied after upgrading from WDT 0.20 to 0.21. I am testing using WLS10.3.6 with the following typesdef file:
{
    "copyright": "Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved.",
    "license": "The Universal Permissive License (UPL), Version 1.0",
    "name": "WLS",
    "description": "WLS type domain definitions",
    "versions": {
        "10.3.6": "WLS_11G",
        "12.1.1": "WLS_11G",
        "12.1.2": "WLS_12CR1",
        "12.1.3": "WLS_12CR1",
        "12.2.1": "WLS_12CR2",
        "19.1":   "WLS_19CR1"
    },
    "definitions": {
        "WLS_11G": {
            "baseTemplate": "@@WL_HOME@@/common/templates/domains/wls.jar",
            "extensionTemplates": ["@@ORACLE_HOME@@/Oracle_BI1/common/templates/applications/oracle.bipublisher_template_11.1.1.jar" ],
            "serverGroupsToTarget": [ ],
            "rcuSchemas": [ ]
        },
        "WLS_12CR1": {
            "baseTemplate": "@@WL_HOME@@/common/templates/wls/wls.jar",
            "extensionTemplates": [ ],
            "serverGroupsToTarget": [ ],
            "rcuSchemas": [ ]
        },
        "WLS_12CR2": {
            "baseTemplate": "Basic WebLogic Server Domain",
            "extensionTemplates": [ ],
            "serverGroupsToTarget": [ ],
            "rcuSchemas": [ ]
        },
        "WLS_19CR1": {
            "baseTemplate": "Basic WebLogic Server Domain",
            "extensionTemplates": [ ],
            "serverGroupsToTarget": [ ],
            "rcuSchemas": [ ]
        }
    }
}

EDIT: I see the same issue on WDT 0.22 and 0.24.

When you say no longer applied, do you not see the resources from your extension template in the config.xml, or are the resources in the config.xml but not targeted to the managed servers?

With WDT versions >0.20 I don't see the resources in config.xml nor do I get the additional files added to the domain by the extension template.

A fix for this problem will be available in the next release. This couuld require a change to your typedef file. Any change will be documented.
FYI, the current release has cleaned up WDT bin scripts. You can create your own typedef file, instead of updating the WLS.json, and use this name as the domain type on the command line.  Also, if you are running the WLST script out of oracle_common, and not Oracle_BI1, then you no longer need to set the WLST_PATH_DIR environment variable.

Thanks! Regarding the typedef files, is there any way to reference these outside of the WDT installation, eg an environment variable?

You are talking about -domain_type  correct  (Not location of the file)? That's a good idea. Would you please open a separate issue for this idea.

Oh, I was actually talking about the location of the file! WDT only looks in weblogic-deploy/lib/typedefs for the typedef files so if I want to use a custom typedef I have to add it to that directory. It seems cleaner to have my custom files separate from the WDT installation? That's why I was thinking of an environment variable that could override the default location.

Also a good suggestion. Please open issue.

Great, done: https://github.com/oracle/weblogic-deploy-tooling/issues/371#issue-439691017

Changes to fix the template problems (not including file location) have all been merged to master now. They will be part of the next release, 0.25 .
There is one change you will need for your typedef file. Include the attribute "targeting": "APPLY_JRF" in your 11g definition.
Details in Domain Type Definitions.


Build fail when installing

Hi,
Just trying to add this package to my app. gradle fails with the following:
Project with path ':react-native-dialogs' could not be found in project ':app'.

build.gradle
repositories {
    maven { url "https://jitpack.io" }
}

dependencies {
    compile project(':react-native-dialogs')
    compile project(':ReactNativeBarcodescanner')
    compile fileTree(dir: "libs", include: ["*.jar"])
    compile "com.android.support:appcompat-v7:23.0.1"
    compile "com.facebook.react:react-native:+"  // From node_modules
    compile(project(":react-native-google-signin")) {
        exclude group: "com.google.android.gms"
    }
    compile 'com.google.android.gms:play-services-auth:9.2.1'
}

Any idea what I am doing wrong? I remove my gradle caches, restarted the packager.
Thanks

Hi @jrm2k6,
Did you add it to settings.gradle as mentioned in the README?

It is actually not mentioned in a readme. I should have noticed that though. Sorry for that.
It seems to be building now.

In settings.gradle
include ':react-native-dialogs'
project(':react-native-dialogs').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-dialogs/android')

in build.gradle
dependencies {
    compile project(':react-native-dialogs')
    compile fileTree(dir: "libs", include: ["*.jar"])
    compile "com.android.support:appcompat-v7:23.0.1"
    compile "com.facebook.react:react-native:+"  // From node_modules
    compile project(':react-native-vector-icons')
}

// Run this once to be able to run the application with BUCK
// puts all compile dependencies into folder libs for BUCK to use
task copyDownloadableDepsToLibs(type: Copy) {
    from configurations.compile
    into 'libs'
}

repositories {
    maven { url "https://jitpack.io" }
}

Error:
* What went wrong:
A problem occurred configuring project ':app'.
> Cannot evaluate module react-native-dialogs : Configuration with name 'default' not found.


[$injector:modulerr] Failed to instantiate module oc.lazyLoad due to: [$injector:nomod] Module   ‘undefined’ is not availablele

When I open browser Internet Explorer 7 (7.0.5730)
Status tools appear error:
[$injector:modulerr] Failed to instantiate module oc.lazyLoad due to:
[$injector:nomod] Module   ‘undefined’ is not available!
But chrome (43.0.2357) is great.Console not appear error.

Not enough details to work with here... Closing. I'll reopen if you have more details to provide but I'm not a magician, I cannot debug by sheer will...


Banner text responsiveness

Is your feature request related to a problem? Please describe.
Banner text is not completely visible in mobile view
Describe the solution you'd like
To make banner text responsive
Additional context
Add any other context or screenshots about the feature request here.

Okay, @sreetu assigning this issue to you.


fix: clean up improper ratelimits on a handful of scripts

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#578
#577  👈
#576
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @ABCxFF and the rest of your teammates on  Graphite


what are the benefits on using azure/CLI action over standard run command

Hello,
Except for azcliversion in azure/CLI that I can specify the version to use, what are the other benefits of cli over - run: step, as I find that I can also run az command inside - run: step, and I write less code than azure/cli action.

Hi @xiang-zhu-pr,
The primary benefit of using the Azure/CLI action over the standard '- run' step with 'az' commands lies in its containerized environment. When you use the Azure/CLI action, it runs 'az' commands within a Docker container. This provides several advantages:

It offers a separated operating environment, ensuring that your workflow runs consistently and independently of the runner's configuration. This isolation minimizes the risk of conflicts with different versions of 'az cli' that you may need to use within the same runner, as well as potential clashes with installed tools and dependencies.
As you mentioned, it allows you to easily manage and switch between different versions of 'az cli.' This flexibility ensures that your scripts remain compatible with your desired 'az cli' version, providing adaptability to changing project requirements.
Besides, some self-hosted runners may not have 'az cli' pre-installed, the Azure/CLI action eliminates the need for complex installation steps. You can conveniently execute 'az' commands within the Azure/CLI action without the hassle of manual setup.

thx a lot


bounce out any external links in app

Update markdown render to open external links in new tabs

Fix for https://github.com/microsoft/pxt-microbit/issues/2717


CORS error on loading a song from url.

I was trying to load a song from a url but gives me the CORS error -

Code -
let url = "https://malpha.123tokyo.xyz/get.php/f/98/CtgD91Ev4NU.mp3?cid=MTczLjI0OS4xMC4yMjIsMTczLjI0OS4xMC4yMjJ8R28taHR0cC1jbGllbnQvMS4xfERF&h=bpV5rGEBlKfcLqfpaO_U2Q&s=1641466012&n=Rozana-Full-Video-Song-Naam-Shabana-Akshay-Kumar-Taapsee-Pannu-Taher-Shabbir-I-Shreya-Rochak"
song = loadSound(url)

In which url is the link for the song .mp3
For now i got to know this error is caused due to something missing in headers in request.
Please tell me a way out of it!
Thanks in advance!!

It appears that the file is no longer available on the host URL, as it displays a 410 Gone Error, and if you are having problems with the header, this might help you.
CORS header 'Access-Control-Allow-Origin' missing on MDN Docs

because of the last issue, my guess is that issue has to do with the .mp3 file, not the library,
so i am closing it for now ~


Transfer open issues

Description
We have moved the openverse-frontend and openverse-api code into this repository. We now need to move the open issues from those repositories into this Openverse mono repository (https://github.com/WordPress/openverse/).
Additional notes
The details about how to transfer issues are in the RFC: https://github.com/WordPress/openverse/blob/main/rfcs/20221124-monorepo.md#housekeeping

I've added the stack: frontend label to all frontend repository issues, and stack:backend issues to the api repository issues.
Then, from the respective repositories, I ran the following to migrate issues, 25 at a time:
gh issue list -s open -L 25 --json number | jq -r '.[] | .number' | xargs -I% gh issue transfer % https://github.com/WordPress/openverse

Now that we have almost 400 issues in a single repository, I would really love us to migrate the Openverse project to the new GitHub project so that we can have different views of the backlog issues, including filtered by stack.


AC_male not equal to number of hemizygous in chromosome X or chromosome Y

Hi， there are some variants ,which AC_male not equal to number of hemizygous in chromosome X or chromosome Y.
In variants vcf files ,there is only nhomalt but no hemizygous num,so I try to replace the hemizygous num with AC_male,but AC_male not equal to hemizygous num for asome variants.
eg:
hg19:X-200860-T-C,AC_male=97061,nhomalt_male=35265,but Number of hemizygotes=0
hg38:X-284195-G-C,AC_male=4,nhomalt_male=0,Number of hemizygotes=0
-------------- 👆 Click "Preview"!
Instead of filing an issue on GitHub, please email questions about the
gnomAD or ExAC datasets to<EMAIL_ADDRESS>Answers to frequently asked questions may be found at https://gnomad.broadinstitute.org/faq.

Hi @amieeyun,
These variants show 0 hemizygotes because they are in pseudoautosomal regions.


Vinardo Scoring Function

Hi,
I am getting this error:
ERROR: Cannot do the global search. Affinity maps were not initialized.
I am trying to run a batch job with the command
vina --receptor rigid.pdbqt  --flex flex.pdbqt --scoring vinardo --batch ligands/*.pdbqt --config config.txt --exhaustiveness 64 --dir results
The same error occurs when I change "--receptor rigid.pdbqt" to "--maps rigid"
The first command works perfectly fine without the "--scoring vinardo".
Thank you in advance for the help

Thank you for reporting! Will post back when fixed :-)

Fixed in 773f0fe01cb51db310ddc3d1754593ff9564039b

Hi,
I am getting this error:
ERROR: Cannot do the global search. Affinity maps were not initialized.
I am trying to run a batch job with the command vina --receptor rigid.pdbqt --flex flex.pdbqt --scoring vinardo --batch ligands/*.pdbqt --config config.txt --exhaustiveness 64 --dir results
The same error occurs when I change "--receptor rigid.pdbqt" to "--maps rigid"
The first command works perfectly fine without the "--scoring vinardo".
Thank you in advance for the help

Sorry to interrupt you, but I wonder why you use vinardo to do flexible docking jobs rather than vina socring funtion, is there any rule or experiences of this?

I was

Hi,
I am getting this error:
ERROR: Cannot do the global search. Affinity maps were not initialized.
I am trying to run a batch job with the command vina --receptor rigid.pdbqt --flex flex.pdbqt --scoring vinardo --batch ligands/*.pdbqt --config config.txt --exhaustiveness 64 --dir results
The same error occurs when I change "--receptor rigid.pdbqt" to "--maps rigid"
The first command works perfectly fine without the "--scoring vinardo".
Thank you in advance for the help

Sorry to interrupt you, but I wonder why you use vinardo to do flexible docking jobs rather than vina socring funtion, is there any rule or experiences of this?

Not really, I was just playing around to get acquainted with Vina and its offspring tools. No reason other than that...


kedro-datasets 1.5.2 breaks pip install kedro-datasets[all]

Description
Short description of the problem here.
doing pip install kedro-dataset[all]==1.5.2 will get these warnings.

WARNING: kedro-datasets 1.5.2 does not provide the extra ‘api-apidataset’
WARNING: kedro-datasets 1.5.2 does not provide the extra ‘biosequence-biosequencedataset’
WARNING: kedro-datasets 1.5.2 does not provide the extra ‘dask-parquetdataset’
WARNING: kedro-datasets 1.5.2 does not provide the extra ‘databricks-managedtabledataset’
WARNING: kedro-datasets 1.5.2 does not provide the extra ‘geopandas-geojsondataset’
WARNING: kedro-datasets 1.5.2 does not provide the extra ‘holoviews-holoviewswriter’
WARNING: kedro-datasets 1.5.2 does not provide the extra ‘matplotlib-matplotlibwriter’
WARNING: kedro-datasets 1.5.2 does not provide the extra ‘networkx-networkxdataset’
WARNING: kedro-datasets 1.5.2 does not provide the extra ‘pickle-pickledataset’
WARNING: kedro-datasets 1.5.2 does not provide the extra ‘pillow-imagedataset’
WARNING: kedro-datasets 1.5.2 does not provide the extra ‘plotly-jsondataset’
WARNING: kedro-datasets 1.5.2 does not provide the extra ‘plotly-plotlydataset’
WARNING: kedro-datasets 1.5.2 does not provide the extra ‘polars-csvdataset’
WARNING: kedro-datasets 1.5.2 does not provide the extra ‘redis-pickledataset’
WARNING: kedro-datasets 1.5.2 does not provide the extra ‘snowflake-snowparktabledataset’
WARNING: kedro-datasets 1.5.2 does not provide the extra ‘spark-deltatabledataset’
WARNING: kedro-datasets 1.5.2 does not provide the extra ‘spark-sparkdataset’
WARNING: kedro-datasets 1.5.2 does not provide the extra ‘spark-sparkhivedataset’
WARNING: kedro-datasets 1.5.2 does not provide the extra ‘spark-sparkjdbcdataset’
WARNING: kedro-datasets 1.5.2 does not provide the extra ‘svmlight-svmlightdataset’
WARNING: kedro-datasets 1.5.2 does not provide the extra ‘tensorflow-tensorflowmodeldataset’
WARNING: kedro-datasets 1.5.2 does not provide the extra ‘video-videodataset’
WARNING: kedro-datasets 1.5.2 does not provide the extra ‘yaml-yamldataset’

Context
How has this bug affected you? What were you trying to accomplish?
Steps to Reproduce

[First Step]
[Second Step]
[And so on...]

Expected Result
Tell us what should happen.
Actual Result
Tell us what happens instead.
-- If you received an error, place it here.

-- Separate them if you have more than one.

Your Environment
Include as many relevant details about the environment in which you experienced the bug:

Kedro version used (pip show kedro or kedro -V):
Kedro plugin and kedro plugin version used (pip show kedro-airflow):
Python version used (python -V):
Operating system and version:

The root cause of these problems is that kedro-datasets extras names just doesn't align with Python packaging standards: https://packaging.python.org/en/latest/specifications/core-metadata/#provides-extra-multiple-use

Provides-Extra (multiple use)
Changed in version 2.3: PEP 685 restricted valid values to be unambiguous (i.e. no normalization required).
...
A string containing the name of an optional feature. A valid name consists only of lowercase ASCII letters, ASCII numbers, and hyphen.

Therefore, pip install kedro-datasets[pandas.CSVDataSet] is out of line with current packaging standards.
From https://peps.python.org/pep-0685/:

When comparing extra names, tools MUST normalize the names being compared using the semantics outlined in PEP 503 for names:
re.sub(r"[-_.]+", "-", name).lower()
The core metadata specification will be updated such that the allowed names for Provides-Extra matches what PEP 508 specifies for names.

So, why was this working before? See also in the PEP:

Tools generating metadata MUST raise an error if a user specified two or more extra names which would normalize to the same name.

The reason is: setuptools hasn't fully implemented PEP 685 yet: pypa/setuptools#3586
So, our mangling of extras in setup.py before #263 worked, but after transitioning to self-referential extras, we fell victims of name normalization.
I'm voting against switching to Poetry, Hatch, PDM, or any other system that allows this behavior, because it's going to bite us in the future. We need a short-term solution (either revert #263 or go for @DimedS #307) and a long term solution (possibly deprecating extras names with dots and offer an alternative syntax for our users).

Good points. I completely agree that the central issue is naming, and we need to maintain consistency with the standards going forward. Changing names would be a breaking release. Should we include this in the 0.19 scope? Additionally, I concur that transitioning to Poetry or other alternatives should be a long-term strategic decision, with a thorough analysis of its pros and cons.

The naming change would just be for kedro-datasets right? We could just release 2.0.0 for datasets with that breaking change.

The naming change would just be for kedro-datasets right? We could just release 2.0.0 for datasets with that breaking change.

In any case, we need a new release. Should we aim for 2.0.0 soon? Alternatively, would a temporary solution with version 1.5.3 be better?

I am in favor of reverting to setup.py now. I think a short term solution is enough. This isn't a functional change. i.e. It does not add new function but merely refactoring.
I feel too rush to release a breaking change now, as we are adding Python 3.11 support.
If we end up decide rolling with the naming standard, I think we should do it with 0.19 or wait for some bigger changes. Honestly I think the largest user of module level alias is ourselves, most of the starters and our user go with specific dataset.


How do you request statistics data of an ACL rule?

When you use the API to request a statistics output, you do a GET on an e/ingressaclentrytemplate:
Remote Address:<IP_ADDRESS>:443
Request URL:https://<IP_ADDRESS>/nuage/api/v3_2/ingressaclentrytemplates/0252a4ab-e47b-4ce0-b2e0-62d200fa1254/statistics?numberOfDataPoints=120&startTime=1444050000&endTime=1444057200&metricTypes=INGRESS_BYTE_COUNT
Request Method:GET

This allows for the selection of the granularity and the time and type of metric.
In a normal situation, a GET API call is matched with a list command in the CLI. But there is no way to allow for any extra parameters in the CLI to specify these fields. As such, it seems we can not request statistics with specific parameters.
Am i missing something?

I think you can't but it should be fairly easy to add.
When doing a fetch() or a get() etc, we'll add a query_param in which you will be able to pass a dict containing the params/value you need to pass

fixed in an upcoming release of something. will be announced later today


How to set custom error messages ?

How can i set custom error messages?
i'm useing nuxt-i18n and obviuslly nuxt-validate, anyone can bring me an example please?

Also looking for an example. I have tried this plugin and an example from VeeValidate but neither did use the validation file that nuxt-i18n uses


Give preference to terminal width

I may be having a similar bug as a previously closed issue (#10), except with Checkboxes. I apologize if this is not a dialoguer issue. I am not sure if this is a Windows or dialoguer issue, or if this is how the terminal behaves naturally.
Actual Behavior
If an item from the selector is longer than the width of the terminal and/or you resize the terminal's width to make it smaller than an item in the selector, and you move up or down with the arrow keys, the menu becomes malformed. In my example below, cycling through the items appears to clear the previous lines, and I can no longer scroll up.
I have tried to enable/disable line wrapping on cmd, but get the same results.
I was able to reproduce this behavior with cmd and cmder (version 1.3.11)  on Windows 10 (version 1903).

Expected Behavior
I would expect to be able to cycle through an item of various lengths and/or resize the terminal, and the menu be intact. If I was to start the terminal in full screen (for the example in the .gif) and/or have items that are shorter than the size of the terminal then this is not an issue.
Steps to Reproduce the Problem

Use Windows 10 (version 1903)
Create a Checkbox menu using dialoguer 0.4.0
Insert an item that is longer than the terminal or resize the terminal to be smaller than an item
Use the arrow keys to cycle between the items

Specifications

Platform: Windows 10 (version 1903)
Language: Rust 1.35.0
Library: dialoguer 0.4.0

Upon further investigation, I can also reproduce this behavior with the Select example. I just added two additional items to the selector. You can also do it without the additional items, but would have to resize the terminal smaller.

Here is the code in the example above:
extern crate dialoguer;

use dialoguer::{theme::ColorfulTheme, Select};

fn main() {
    let selections = &[
        "Ice Cream",
        "Vanilla Cupcake",
        "Chocolate Muffin",
        "A Pile of sweet, sweet mustard",
        "C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/Common7/IDE/Extensions/Microsoft/Windows Azure Tools/Common/Microsoft.VisualStudio.EtwListener.exe",
        "C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/Common7/IDE/Microsoft.VisualStudio.Web.Host.exe",
    ];

    let selection = Select::with_theme(&ColorfulTheme::default())
        .with_prompt("Pick your flavor")
        .default(0)
        .items(&selections[..])
        .interact_opt()
        .unwrap();
    if let Some(selection) = selection {
        println!("Enjoy your {}!", selections[selection]);
    } else {
        println!("You didn't select anything!");
    }
}

This bug can be triggered with the included select example by making the terminal smaller than the sample text.

I can also reproduce this behavior with the Select example

The bug that happens when you make the terminal wider (without then pressing any keys) I believe is just a bug with Windows Terminal. I've run into it before and worked around it by just treating the terminal as if it's 1 character more narrow than it actually is. Then Terminal doesn't try to rewrap everything.
See: https://github.com/microsoft/terminal/issues/3088

I'm unable to reproduce this in Windows 11.  I was able to git bisect back to a time when this was broken, but it seems to have been fixed (for my current environment) by: 89e622fdc589942c817cf860fea8fd5c770cc250.
But I see @braycarlson reported this issue with v0.4.0, which includes that commit. So maybe some change in Windows 11 or Windows Terminal has fixed the issue? 🤷
@braycarlson It might be worth testing this again to see if you can still reproduce it.

The original issue seems to be resolved, however, I am still seeing strange behaviour in the command prompt. I assume it is still in relation to the selection length vs. terminal width and/or just a Windows issue. I have yet to try @NfNitLoop's suggestion (as I no longer need dialoguer) of "treating the terminal as if it's 1 character more narrow than it actually is."
but I will provide an update using the following environment:

Platform: Windows 11
Language: Rust 1.59.0
Library: dialoguer 0.10.0

I am experiencing an issue in regards to the paging system, if I change the Select  example to use my original issues' selections. For example:
use dialoguer::{theme::ColorfulTheme, Select};

fn main() {
    let selections = &[
        "Ice Cream",
        "Vanilla Cupcake",
        "Chocolate Muffin",
        "A Pile of sweet, sweet mustard",
        "C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/Common7/IDE/Extensions/Microsoft/Windows Azure Tools/Common/Microsoft.VisualStudio.EtwListener.exe",
        "C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/Common7/IDE/Microsoft.VisualStudio.Web.Host.exe",
    ];

    let selection = Select::with_theme(&ColorfulTheme::default())
        .with_prompt("Pick your flavor")
        .default(0)
        .items(&selections[..])
        .interact()
        .unwrap();

    println!("Enjoy your {}!", selections[selection]);

    let selection = Select::with_theme(&ColorfulTheme::default())
        .with_prompt("Optionally pick your flavor")
        .default(0)
        .items(&selections[..])
        .interact_opt()
        .unwrap();

    if let Some(selection) = selection {
        println!("Enjoy your {}!", selections[selection]);
    } else {
        println!("You didn't select anything!");
    }

    let selection = Select::with_theme(&ColorfulTheme::default())
        .with_prompt("Optionally pick your flavor, hint it might be on the second page")
        .default(0)
        .max_length(2)
        .items(&selections[..])
        .interact()
        .unwrap();

    println!("Enjoy your {}!", selections[selection]);
}

The menu begins repeating if I cycle between the pages when using a selection item that is longer than the terminal width.. However, if the command prompt is maximized, it does not seem to do this. I am unsure if this is the intended behaviour. Here is a screenshot:


ipcache/kvstore: fix panic when processing ip= entries

This problem was introduced in 6cbf5daf46d, which results in
a "nil pointer dereference" panic.
Signed-off-by: ArthurChiao<EMAIL_ADDRESS>

/test


Add custom error for email column missing in csv import

We want to add a custom error that gets raised in the import service to alert the user that they need the "email" column in their csv.

Ill take this one!


Add ability to reboot the server

And to confirm that the endpoint does exist: https://forge.laravel.com/api-documentation#reboot-server


Add .eleventyignore to Ignore List category

Description

Adds .eleventyignore to the Ignore List category. Eleventy is a static site generator that uses this file to exclude certain pages from the site build process. Official documentation.
Checklist

[x] I am associating a language with a new file extension.

[x] The new extension is used in hundreds of repositories on GitHub.com

Search results – 2K+ instances of this file, which is only used once per repo.

[x] I have included a usage sample:

Sample
Sample license: CC0

[ ] I have included a change to the heuristics to distinguish my language from others using the same extension. (N/A)

Thanks for the PR. Usage checks out, but one request:

I have included a usage sample:

Sample

This link needs to be to the original source of the file, not a fork of the Linguist repo. Please update the OP with the link and license of the original file.

Thanks for the PR. Usage checks out, but one request:

I have included a usage sample:

Sample

This link needs to be to the original source of the file, not a fork of the Linguist repo. Please update the OP with the link and license of the original file.

There is no source because I just made up that example.

There is no source because I just made up that example.


feat: add install in CMakeLists

This branch can compiled with ros2 humble.
colcon build --packages-select  cobridge
Starting >>> cobridge
[Processing: cobridge]
Finished <<< cobridge [31.2s]

Summary: 1 package finished [31.5s]


[feat] add a header，indicates which plugin terminated the request

The client needs to know whether the request has reached the backend service, this can be useful for performance analysis, error checking, and troubleshooting.
For example:
X-Terminated-By: Rate Limiting

or
X-Reached-Backend : False

Related #2767

Would it not make more sense to have each plugin be responsible for this? It's possible different plugins could have different responses, and so this behavior could vary from environment to environment.
I suspect a new development API might facilitate this behavior?

Related #2767

Note this how these issues are related?

Would it not make more sense to have each plugin be responsible for this? It's possible different plugins could have different responses, and so this behavior could vary from environment to environment.

I'll think about it.

I suspect a new development API might facilitate this behavior?

It is useful for advanced developers.

Related #2767

If a request is terminated by a plugin,  the plugin may need to set HEADERS.PROXY_LATENCY

Rename header X-Reached-Backend to X-Kong-Proxy

Most of the time, we actually hear the contrary from our users and customers: that Kong should be fully transparent to the client and not leak any information that would make the client able to identify that Kong was used as a proxy between them and the upstream service. In fact, we even have customers with existing patches to hide existing X-Kong response headers, and several requests for a configurable flag to disable this behavior.
I do see the value in such a header as you described though. I propose the following: I will add tracking for this feature request in our internal backlog, and close this issue after adding the feature request label to it. Everybody is free to browse such labelled issues whether closed or not, but closing it allows us to keep track of the currently active conversations.
Thank you for the suggestion!


ci: bring gh-pages CI up-to-date with other cutter

In essence: Closes #100 + Closes #101 + implements https://github.com/JonasPammer/cookiecutter-pypackage/issues/109
https://github.com/JonasPammer/cookiecutter-pypackage/blob/262462f3ab6ea0f425580a3c02e36cfe3af7d3f8/{{ cookiecutter.project_slug }}/.github/workflows/gh-pages.yml

the tox CI error is not fault of this PR (which only changes an unrelated yml file), so lgtm i'd say

the tox CI error is not fault of this PR (which only changes an unrelated yml file), so lgtm i'd say

proven by havin rerun the commit before this PR and suddenly now fails: https://github.com/JonasPammer/cookiecutter-ansible-role/actions/runs/4831011859


Is this library maintained any longer?

@neokree I would like to know if this library is actively maintained any longer. There are many unanswered issues.
Thanks for your effort.

I would like to know this as well.  It seems to be a nice little library, and I have some questions I'd like to ask and feature updates to suggest, but if it's not being maintained, I'll move on to another library.

I would like to know this as well.
I would like to have a statement from @neokree because I have to decide if I use this any longer.

I recommend to you guys to switch to another maintained library as https://github.com/mikepenz/MaterialDrawer

Thanks for the hint, looks good!

Thanks for the link, @antde.  I've been tinkering with MaterialDrawer for about 30 minutes now and I think I'll be switching over to it.  With something that's as integral to an app as its menu, I need something that does what I need it do, and is maintained.

Thanks @antde  for the tip. And @TheIcemanCometh : Any opinion on the MaterialDrawer library?
Thanks

@pranaysharma So far, MaterialDrawer is doing what I need it to do.  I have a header image in my menu that I need to figure out how to lay text over, but I haven't figured out how to do that yet.  But again, so far so good overall.

Thanks for your reply


make the selfie emoji aligned to the left

make the selfie emoji aligned to the left so you can put it together with other emojis

782691583690145894

Arguably, several emojis should come in mirrored variants so they would either better work together with neighboring emojis or with the spec bubble direction in common chat messaging user interfaces.
🤳💪🦾👍👎🤙🤌🦵🦿🗣😗😙😚😘😏😒🤔👀
Perhaps also moving people, vehicles and animals facing a certain direction.

[ ] __****************@********


[SPARK-35785][SS][3.2] Cleanup support for RocksDB instance

What changes were proposed in this pull request?
Add the functionality of cleaning up files of old versions for the RocksDB instance and RocksDBFileManager.
Why are the changes needed?
Part of the implementation of RocksDB state store.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
New UT added.

cc @HeartSaVioR and @viirya

Merged to branch-3.2.

forgot my +1 . this is just a cherry-pick of #32933.

Thanks @HeartSaVioR!

Thanks @xuanyuanking and @HeartSaVioR!


GitHub Pages Down

Not sure if a migration is currently being performed since the site can also be found at http://<IP_ADDRESS>/ra/, but I figured if this was unintentional, it'd be worth pointing out that this link now results in a 404.

Thank you for your attention!
We are currently migrating our deployment, please stay patient


Allow configuring what directories to share

I can mount volumes from root, etc but if my mount is /Volumes/foo/bar:/foo/bar it turns up blank inside the container. I tried symlinking the /Volume/foo/bar partition folder to the current partition but that didn't work either.
Is there some other way?

what version of dlite is this with?

It's version 1.1.5. However, at the time I filed this I recall reading that mounting files outside of the home directory was problematic or something, maybe this https://github.com/nlf/dlite/issues/36#issuecomment-175893333

It's version 1.1.5. However, at the time I filed this I recall reading that mounting files outside of the home directory was problematic or something, maybe this https://github.com/nlf/dlite/issues/36#issuecomment-175893333
So it's not just /Volumes but anything outside of home directory.

re-titled this to reflect the action i'll be taking.
i'll be blacklisting several system related directories (i.e. /etc, /usr, /bin, /var, anything that would collide with the virtual machine's own filesystem)

In dlite v1.5 I was specifying shared directory for mounts.
dlite 1.5 stopped working (docker ps just wasn't responding), so I decided to upgrade to v2 beta 8.
Now running docker works, but I can't mount my volume which is on external hdd under:/Volumes/...
Is it possible to specify shared directory like it was in v1.5 or it is still in development?
Any workarounds to get shared volumes from /Volumes/... to get working?
Thank you.

I haven't added this to 2 yet. I do plan to though


Add pages for privacy-policy and cookies

Add pages for privacy-policy and cookies to override
inherited cooies resource and amend links in the footer.
footer links include /cookies and /privacy-policy,
and not /terms-and-conditions
Swtich off cookies and terms hof middleware

I'm not sure the new markdown is working aka showdown, I tested it with removing my package-lock and running npm i again

hof is still set to use<EMAIL_ADDRESS>You'll need to update that.

@sulthan-ahmed and @lennym updated PR with latest patch version of HOF, which includes latest markdown middleware


disallowMultipleVarDecl: add test for var inside switch clause

Since we will refactor code I think this test would be useful.
Ref #1271
Ref #916

Coverage remained the same at 99.12% when pulling 1474fff79f418bcaf095fb5545a8d667dddf2d41 on issues/1271-related into d651a78819680c6e9adc1c1330da09fe14d0be3d on master.


Find case for __prod2_2level_upper_bound<prod_policy>(in_0, in_1, op) is the best approximation

The function __prod2_2level_upper_bound<prod_policy>(in_0, in_1, op) in prod2 used to derive an upper bound by combining both 1-level and 2-level cuts information does not beat the purely 2-level cut version. We should derive some unit test, where it actually is better or remove it.

The N-Queens problem shows this function indeed can be the best. So, only thing is left to figure out a minimal example to show it (and add it as a unit test).


feat: Added Integrity Verification Through HMAC

This PR Resolves the Issue#6

We incorporate HMAC Function from cryptography.hazmat.primitives to compute and verify the HMAC.
After encrypting the file, we will compute the HMAC of the encrypted content using the same key, and append it to the output file.
Before decrypting, we will extract the HMAC from the encrypted file and verify it against the encrypted content to ensure data integrity.
For Debugging Purposes the HMAC keys are getting printed on the terminal.

Major Changes :

HMAC Generation (generate_hmac): An HMAC is created for the encrypted data using the encryption key.
HMAC Verification (verify_hmac): During decryption, the HMAC of the encrypted content is compared with the stored HMAC to verify the file's integrity.
File Structure:

When using password-based encryption, the salt is stored at the beginning of the file.
The encrypted content is followed by the HMAC, ensuring integrity.

With this feature, the script not only encrypts and decrypts files but also ensures that the data hasn’t been modified or tampered with during transmission or storage.

Hey @ARYPROGRAMMER,
Thanks for the PR for #6.
I have reviewed the PR and requested changes, please do the needful and revert back.


Unique ids are not unique at all.. they are all the same

d41d8cd98f00b204e9800998ecf8427e no matter what you are

Loopback has no mac address, will always be md5-ing an empty


Add FFmpegHlsOutputBuilder for HLS user

Hi, @bramp
I've been using the HLS format of ffmpeg with .addExtraArgs() . But I think it's too uncomfortable
So, I made an FFmpegHlsOutputBuilder for HLS user, what do you think?
Thank You.
Before

After

I just noticed and haven't looked at the implementation yet, but I love the idea.
@van1164 Is there a difference between using the HLS-specific flags and generic alternatives like -segment_list_size, -segment_start_number, and -segment_format in combination with -segment_list_type m3u8?

I just noticed and haven't looked at the implementation yet, but I love the idea. @van1164 Is there a difference between using the HLS-specific flags and generic alternatives like -segment_list_size, -segment_start_number, and -segment_format in combination with -segment_list_type m3u8?

Thank you for your response. @Euklios 😁
I don't think there's any difference in the outcome in the simple case.
But I think HLS users can handle things less complicatedly.

Hi, @bramp @Euklios
I've thought of several ways, and I think it's better to make AbstractOutputBuilder() between multiple OutputBuilder() (including default OutputBuilder) and AbstractFFmpegStreamBuilder.
I have committed to completing the development, and if you have any better opinions, I am always welcome.
Please check it. Thank you. 😁

HI, @bramp
Could I inquire about the progress?

@van1164 Sorry for the wait, I just merged your PR.
Note: I created #337 to fix a small error that I only caught when doing some local testing.
Essentially, the format you were setting in addHlsOutput was setting the input format.

Thank reply @Euklios
And can I know about the future update plan?
I would like to continue to contribute to this repo update in the future.😊


New package: Microsoft.DSC.Preview version 3.0.0-preview.12

Checklist for Pull Requests

[x] Have you signed the Contributor License Agreement?
[x] Resolve #199292

Related #199293

That pull request seems unable to resolve https://github.com/microsoft/winget-pkgs/labels/Manifest-Validation-Error

Manifests

[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?

[x] Does your manifest conform to the 1.9 schema?

Note: <path> is the directory's name containing the manifest you're submitting.
Manual validation

[!NOTE]
All tests are done in Windows Sandbox.

Installation
--> Installing WinGet
--> Disabling safety warning when running installers
Tip: you can type 'Update-EnvironmentVariables' to update your environment variables, such as after installing a new software.

--> Configuring Winget
Enabled admin setting 'LocalManifestFiles'.
Enabled admin setting 'LocalArchiveMalwareScanOverride'.

--> Installing the Manifest 3.0.0-preview.12

Found Desired State Configuration Platform [Microsoft.DSC.Preview] Version 3.0.0-preview.12
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://github.com/PowerShell/DSC/releases/download/v3.0.0-preview.12/DSC-3.0.0-preview.12-x86_64-pc-windows-msvc.zip
  ██████████████████████████████  6.94 MB / 6.94 MB
Successfully verified installer hash
Extracting archive...
Successfully extracted archive
Starting package install...
Command line alias added: "dsc"
Path environment variable modified; restart your shell to use the new value.
Successfully installed

--> Refreshing environment variables

--> Comparing ARP Entries

DisplayName                          DisplayVersion   Publisher             ProductCode                          Scope
-----------                          --------------   ---------             -----------                          -----
Desired State Configuration Platform 3.0.0-preview.12 Microsoft Corporation Microsoft.DSC.Preview__DefaultSource User

Further tests
PS C:\Users\WDAGUtilityAccount\Desktop\winget-pkgs> dsc.exe
Apply configuration or invoke specific DSC resources

Usage: dsc.exe [OPTIONS] <COMMAND>

Commands:
  completer  Generate a shell completion script
  config     Apply a configuration document
  resource   Invoke a specific DSC resource
  schema     Get the JSON schema for a DSC type
  help       Print this message or the help of the given subcommand(s)

Options:
  -l, --trace-level <TRACE_LEVEL>    Trace level to use [possible values: error, warn, info, debug, trace]
  -t, --trace-format <TRACE_FORMAT>  Trace format to use [possible values: default, plaintext, json]
  -h, --help                         Print help
  -V, --version                      Print version

PS C:\Users\WDAGUtilityAccount\Desktop\winget-pkgs> dsc.exe schema
error: the following required arguments were not provided:
  --type <type>

Usage: dsc.exe schema --type <type>

For more information, try '--help'.

PS C:\Users\WDAGUtilityAccount\Desktop\winget-pkgs> dsc.exe schema --help
Get the JSON schema for a DSC type

Usage: dsc.exe schema [OPTIONS] --type <type>

Options:
  -t, --type <type>                    The type of DSC schema to get [possible values: get-result, set-result, test-result, resolve-result, dsc-resource, resource-manifest, include, configuration, configuration-get-result, configuration-set-result, configuration-test-result]
  -o, --output-format <OUTPUT_FORMAT>  The output format to use [possible values: json, pretty-json, yaml]
  -h, --help                           Print help

Microsoft Reviewers: Open in CodeFlow

Verify: