Couldn't find libc's posix_memalign to allocate memory in MacOS Big Sur

In MacOS Big Sur dylibs are removed from the disk when they are added to the shared dyld cache. Thus, ctypes.utils.find_libary cannot find the libraries, as we were used to.
Seems that this issue was solved here for cpython 3.9.1 and any patch is necessary.  However it is only available in the release candidate of the Apple Universal Binary version.
Applications that must be compatible with older python versions are writing patches, like this:
elif os.name == "posix" and sys.platform == "darwin":
    from ctypes.macholib.dyld import dyld_find as _dyld_find
    def find_library(name):
        possible =<EMAIL_ADDRESS>% name,
                    'lib%s.dylib' % name,
                    '%s.dylib' % name,
                    '%s.framework/%s' % (name, name)]
        for name in possible:
            try:
                return _dyld_find(name)
            except ValueError:
                continue
        return None

Following the @FabioLuporini suggestion we could implement the same patch like this:
try:
    ... = find_library(...)
except ...:
    # Special cases
    if os.name == "posix" and sys.platform == "darwin":
         ...
    else:
         <suitable error message>

Catalina was messed up and BigSur was expected to be worse. It's also just released and half of it is obviously buggy.  I agree with Mathias it's a PITA, but as long as it's a small non-invasive patch, I'm happy to bring it in

I'm working on this patch right now, which so far seemed to be a simple thing. From what I read in the developer documentation:
Code that attempts to check for dynamic library presence by looking for a file at a path or enumerating a directory will fail. Instead, check for library presence by attempting to dlopen() the path, which will correctly check for the library in the cache. (62986286)

If we use static paths on ctypes.CDLL(<static_path>), when os.name == "posix" and sys.platform == "darwin" and OS > 10.16 is a bad idea?

This patch solved the problem:
    @classmethod
    def initialize(cls):

        handle = find_library('c')

        if handle == None and os.name == "posix" and sys.platform == "darwin":
            handle = '/usr/lib/libc.dylib'

        if handle is not None:
            cls.lib = ctypes.CDLL(handle)

if handle is None and ... (not ==)
probably you wanna us os.exists(...) to make sure libc.dylib actually exists? or is it unnecessary?

anyway, looking good

If I understand well, any code that attempts to check for dynamic library presence by looking for a file at a path or enumerating a directory will fail, so so.path.exists will fail (I tried and failed hehe).

and how will ctypes.CDLL(handle) behave if '/usr/lib/libc.dylib' doesn't exist?

Nice,  ctypes.CDLL(handle) will fail trowing an message:
 File "/opt/miniconda3/envs/devito/lib/python3.9/ctypes/__init__.py", line 382, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: dlopen(<path>): image not found

I could treat this exception (with a better explanation) after ctypes.CDLL(handle), like this:

    def initialize(cls):
        handle = find_library('c')

        if handle is None and os.name == "posix" and sys.platform == "darwin":
            handle = '/usr/lib/libc.dylib'

        if handle is not None:
            try:
                cls.lib = ctypes.CDLL(handle)
            except:
                raise RuntimeError("Couldn't find `libc`'s `posix_memalign` to "
                                "allocate memory")

When handle is None CDLL returns  None to cls.lib, maybe set cls.lib as None could be a option too (I don't know if this is  good practice), once this initialize method is treat with the same RuntimeError.


[BUG] Need to make account injection json rpc APIs always available

Without this, deployment --keystore or --mnemonic option fails with ENABLE_JSON_RPC_API=false configuration.

Fixed.


Getting an error on new install of keybase on old 10.10.5 mac

I have just downloaded keybase on a new device (an old mac that cannot be upgraded)
when I try keybase login  I get:
ERROR Secret store not functional: error while retrieving secret: Secret store error: No secret found for test_ss_ejowem7k
my log id: bfa39fc458348455156bd81c
nickmorter

Resolved by following the instructions in: https://github.com/keybase/client/issues/17203
Set KEYBASE_SECRET_STORE_FILE=1 before you run keybase service (e.g. by adding export KEYBASE_SECRET_STORE_FILE=1 to your .bashrc and opening a new session or sourcing it)
Run keybase service in one session
Run keybase login in a parallel sessions
Then I could enter the paper key

Neat! What OSX version was this?
Also, if this looks similar, would you mind closing this issue and +1 that (just to express that you were hitting it). Thanks a billion @Nock-zz!
https://github.com/keybase/client/issues/18257#issuecomment-533370589


Istio route using OpenTracing baggage

Signed-off-by: Pavol Loffay<EMAIL_ADDRESS>

Merge should wait for https://github.com/jaegertracing/jaeger-client-java/pull/442

@pavolloffay Can you check https://github.com/openshift-labs/learn-katacoda/blob/master/servicemesh/5-advanced-routerules/1useragent-routing.md and see if it needs to be updated also? Thank you

The guide should work, however the explanation is not correct and it should mention that user-agent is added to baggage and the route uses baggage.

@rafabene, as there are code changes the images needs to be rebuilt.


travis: add nightly Stackage, reorder resolvers

Builds against nightly do not trigger build failure though.

Thanks!


BLOCKED VM scaleset : support generic extension and enable auto-scale

3 things:

Generic extension is asked by VS diagnostic team, so users at least have a way (might not convenient) to install extensions on VM instances, including the diagnostics
Enable AutoScale. Recommended by VMSS team
Investigate to have VMSS custom commands to share same implementation with VM's. This is mainly for code maintenance -- the interfaces are too different unfortunately, so the code will simply mirror each other

[x] enable diagnostics on vm profile
[x] install extension on vm profile
[ ] enable autoscale in separate command (not in create)
[ ] show available autoscale metrics

Blocked because there is no SDK support for autoscale.  Confirming with the SDK team.

Confirmed there is no SDK support for autoscale, so that has been split out into issue #815 and this work is complete


Iox #1347 implement spinator

Pre-Review Checklist for the PR Author

[x] Code follows the coding style of CONTRIBUTING.md
[x] Tests follow the best practice for testing
[x] Changelog updated in the unreleased section including API breaking changes
[x] Branch follows the naming format (iox-#123-this-is-a-branch)
[x] Commits messages are according to this guideline

[x] Commit messages have the issue ID (iox-#123 commit text)
[x] Commit messages are signed (git commit -s)
[x] Commit author matches Eclipse Contributor Agreement (and ECA is signed)

[x] Update the PR title

Follow the same conventions as for commit messages
Link to the relevant issue

[x] Relevant issues are linked
[x] Add sensible notes for the reviewer
[x] All checks have passed (except task-list-completed)
[x] Assign PR to reviewer

Notes for Reviewer
The publisher causes 100% CPU load when the option is set to blocking. The spinator solves this issue by waiting in a smarter way with exponentially increasing timeouts.
Checklist for the PR Reviewer

[ ] Commits are properly organized and messages are according to the guideline
[ ] Code according to our coding style and naming conventions
[ ] Unit tests have been written for new behavior

[ ] Each unit test case has a unique UUID

[ ] Public API changes are documented via doxygen
[ ] Copyright owner are updated in the changed files
[ ] PR title describes the changes

Post-review Checklist for the PR Author

[ ] All open points are addressed and tracked via issues

References

Closes TBD

@MatthiasKillat

Alright for what we want to accomplish, but will progressively worsen latency if we ever have to yield (the sleep time will never go down again, unless I missed something).
This will also negatively affect the throughput tests if they use this blocking mechanism. If this is understood and agreed we can merge it (still the name of the structure is not sufficiently reflecting its purpose).

The idea is to never have the spinator (name will be changed) as a member or global variable. Whenever you entered your function with the busy loop you instantiate a fresh new spinator and start again. The throughput tests would instantiating the spinator with every new send again so in theory it should have no negative effect at all.

@elfenpiff

The idea is to never have the spinator (name will be changed) as a member or global variable. Whenever you entered your function with the busy loop you instantiate a fresh new spinator and start again. The throughput tests would instantiating the spinator with every new send again so in theory it should have no negative effect at all.

Then it is fine and constructing it anew is basically the reset. It is a lightweight throw-away object. Maybe state this intention in the @brief description of the class (if not already done).

@elfenpiff Please update the PR title and add the test ids.


Support an -r shortcut for --release in ./x.rs

It's a lot of work to type ./x.rs server --client-proxy --release in one window and ./x.rs client-proxy --release in another!
-r would allow this to shorten to ./x.rs server -cr and ./x.rs client-proxy -r.
Because this has to be handled at the x.rs (not the shelled out binary) level, this needs special logic to detect the short argument.

./x.rs needs to stop passing arguments to subcommands and instead have knowledge of all of them itself. It's a script runner, not a glorified way to invoke binaries.

Depends on #60.


Handle onZoom event to load better quality image

Hi, thanks for the library!
Is there any way I can handle the zoom even, so I can load a better quality image?

did you find solution?

no, not really


Question about micro-services Authentication

Hi !  @dusterio 👋
First thanks for all !
I created this issue about micro-services authentication questions i have.
Why not pass JWT to micro-services and every micro-service check JWT token validity with Public KEY ?
And i would like to know what is the best practice for you, i the gateway send JWT token to micro-services, it's better to send in X-Access-Token header or directly in Authorization ?
This question is not clearly defined in other forums.
Thanks,
Léo

Hi,
The true question is why do you want doing authentication in every micro services instead of doing in one place ?
In my opinion, doing authentication in one place is more efficient than in every micro services. Less code to write and repeat on every microservices. Also easier to update your authentication policy. Less error prone.
Nevertheless my answer is true only in one condition : bypassing api gateway to consume your microservices must be impossible.
Regards


Encoded urls support

added support for encoded urls to hyde server. Now it can handle urls encoded like this: "some%20url" or "%D0%9F%D1%80%D0%BE%D0%B3%D1%80%D0%B0%D0%BC%D0%BC%D0%B8%D1%80%D0%BE%D0%B2%D0%B0%D0%BD%D0%B8%D0%B5"

Well, functions from #102 would be useful, however in my opinion media_url and content_url functions should quote their return values anyway.
Consider that user developed his site, and then after some time he decides to add a resource with non-ascii name. This resource will become available under non-ascii path under deploy dir, and therefore all references to it from templates like {{some_resource.full_url}} will become invalid(missunderstood by browsers). Futhermore, hyde will silently accept that. So user will end up with site that contains some inaccessible links.

Wouldn't that be resolved by leaving the encode('utf8') bit in - but remove the quote? I mean:
def content_url(self, path):
        """
        Returns the content url by appending the base url from the config
        with the given path.
        """
        return Folder(self.config.base_url).child(path).replace(os.sep, '/').encode("utf-8")

No, I'll try to give some details:
Consider you have some resource with name 'фотография.jpg'. full_url for this resource will give u'фотография.jpg', which will render to something like this:

which would not be interpretted well by all browsers.
Or if you have resource with name '".jpg' hyde will generate something like this:
<img src="".jpg"> which is not even correct html.
Encoding media_url and content_url solves all this problems transparently for template designer.

I see, makes sense. The only issue I see with this approach is that the urls become un-displayable. Perhaps we also need an urldecode filter as well. Thanks for taking the time to explain.

This patch also encodes hash tags. I don't think this is something that we want to do. I suggest to add '/#' as second parameter of quote().

@vincentbernat
Are there characters you can think of other than hash tags - query strings?
Also:
Should we split the path and other path components and only quote the path as part of content_url / media_url functions?

You are right  about query strings but things  will get complicated. For example, in a  query string, "+" is  space and I think it  should not be escaped. I suppose  there is the same problem for "?"  and "&". The last one should be turned  into "&" BTW, I did not check  if this was the case.

In fact, for content_url() and media_url(), I suppose they are only used to refer files. So, yes, it should be easy to split the URL and do appropriate encoding on each part. A query string is an odd case for such things but it could be used to handle caching correctly (for example ?version=4541).

For now how about:

We leave it as is, accepting that those functions are for actual paths
For people that need to use hash tag, they can create a macro hash(path, hash) or just simply concatenate the parts

We can create another issue to track this and see if we can come up with a better solution.

Keeping those functions for path is fine for me. I have just modified my use of [[ ]] to  put hashtags outside of them:  vincentbernat/www.luffy.cx@4049da77efbff0df7063fd711b4e91d4abe6ebe7


Make maximum delay of prober in its backoff configurable

Changes
We are running a larger installation with Knative Serving + Istio + NetIstio. What we observe is that the more services there are, the longer it takes to provision a new KService. This is fine, but at some point, we observe that times increase a lot and containing jumps. E. g. we measure many values around 21 seconds and around 35 seconds but rarely in between. The image is always available so the time it takes to get the Configuration ready is quite stable. The differences we see in the Route.
We think that this has to do with the prober which is containing an exponential back-off with a maximum delay of 30 seconds.
The following table shows how long the prober takes depending on how many tries it needs ignoring the time it actually needs to perform the probe itself = just summing up the delays:

Try
BackOff
Sum

0
0
0

1
0.05
0.05

2
0.1
0.15

3
0.2
0.35

4
0.4
0.75

5
0.8
1.55

6
1.6
3.15

7
3.2
6.35

8
6.4
12.75

9
12.8
25.55

10
25.6
51.15

11
30
81.15

12
30
111.15

Those numbers very well match what we observe.  For example for those provisions that took roughly 21 seconds, it needed eight probes (12.75 s) and when it needed nine probes (25.55 s) the overall provisioning took around 35 seconds. And yes, we also see provisions that need a little over a minute where it probably needed ten tries to probe successfully.
--
While we obviously spend time in improving this with Istio tuning, we would also like to play with lower values for the maximum delay as we think that higher delays (5 seconds and more) are reached too early = already after 6.35 seconds, and compared to the overall load in our system, the number of probes is so minimal that we think that more failed probes would not cause any harm.
This PR therefore introduces a PROBE_MAX_RETRY_DELAY_SECONDS environment variable that - if set - will be used as maximum delay.
If you think that makes no sense as a general change, then just close it. If you think it should be exposed in another way, let me know.
/kind enhancement
Release Note
You can now set a PROBE_MAX_RETRY_DELAY_SECONDS environment variable on your networking component to define a custom maximum retry delay of the prober that will be used instead of the default of 30 seconds.

/ok-to-test

@SaschaSchwarze0  hi, thank you for the PR.

If you think that makes no sense as a general change, then just close it. If you think it should be exposed in another way, let me know.

@dprotaso any objections on this one? From a tech pov if it solves a problem I am fine, at the end of the day the default remains the same.

We think that this has to do with the prober which is containing an exponential back-off with a maximum delay of 30 seconds.

It would be nice to know how different values affect the large deployment to have at least some evidence.

@dprotaso @skonto just noticed this did not move forward. Anything else you need from me?

/lgtm
/approve
/hold for @ReToCode

/unhold

@SaschaSchwarze0 hi could you do the follow up PR at the net-istio side?


pull request for e2e test at 01/05/2017 00:45:08

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


Run tests in a separate container.

Fixes #1204

@dpw do you mind reviewing?

Looks generally fine, see the comment.


depth indicator in radargram viewer panel

Like we talked about in our meeting today with TJ when I am viewing a radargram it would nice if the depth is already displayed for me directly in the radargram viewer panel (lower left end) instead of always having to subtract from the surface depth

Calculating depth would require knowing where the surface is, which is not included in every provider's radargram data format.
However, one thing that might make your task easier is if I displayed the values for along-track distance and relative depth corresponding to the mouse pointer's current location.


Can't launch Windows Terminal in the Safe Mode of Windows 11

Windows Terminal version (or Windows build number)
Windows 11 (10.0.22000.176) with Windows Terminal 1.10.2383.0
Other Software
N/A
Steps to reproduce
The tutorial of Safe Mode: https://support.microsoft.com/en-us/windows/start-your-pc-in-safe-mode-in-windows-10-92c27cff-db89-8644-1ce4-b3e5e56fe234
When you launch your Windows 11 instance to the Safe Mode, you can try to launch Windows Terminal by Win+X menu, Start menu, "wt" in the Command Prompt or "wt" in the Run Dialog and found the issue.
Expected Behavior
I hope I can use Windows Terminal properly in the Safe Mode like the normal mode.

Actual Behavior
No response when I try to launch Windows Terminal via Win+X menu or Start menu in the Safe Mode.
When I try to launch Windows Terminal via "wt" in the Command Prompt, you will notice "The System cannot execute the specified program." (I have use "chcp 437 before for getting the English translation of the error message in the Command Prompt")

When I try to launch Windows Terminal via "wt" in the Run Dialog,  it will pop up a window with the content "The media is write protected.".  (I know the error message in the screenshot is Chinese, so I lookup it via the winerror.h in Windows SDK, so I know the error code is ERROR_WRITE_PROTECT and the error message is The media is write protected..)

Kenji Mouri

Huh. This is a good observation, one I don't think we thought of. I'm gonna bring this up with the rest of the team. Thanks!

This happens on Windows 10 also:

When trying to launch WT form a PS prompt it show:
PS C:\Users\tux> wt.exe
Program 'wt.exe' failed to run: The media is write protectedAt line:1 char:1
+ wt.exe
+ ~~~~~~.
At line:1 char:1
+ wt.exe
+ ~~~~~~
    + CategoryInfo          : ResourceUnavailable: (:) [], ApplicationFailedException
    + FullyQualifiedErrorId : NativeCommandFailed

(I've begun the discussion with the MSIX folks!)

Sorry for the radio silence here. After some research and discussion, packaged applications (that includes Windows Terminal) cannot be launched in Safe Mode.


Arm actions running runs as root and not the runner user

github actions runs with passwordless sudo as a non-root user.
arm-runner-action runs as root (uid=0(root) gid=0(root) groups=0(root) root) and makes performing commands not the same as if it were run within the standard ubuntu actions (uid=1001(runner) gid=121(docker) groups=121(docker),4(adm),101(systemd-journal) runner).
this should be corrected so that arm-runner-action runs as the runner user with passwordless sudo enabled.

I'm ok with it, however this is a breaking change and probably should be an option.

any update on this? I would like if this could be a feature

runner user usually wouldn't exist on the target image, in your case raspios_lite:2021-05-07.
I am adding a new option to specify the user but you will have to make sure it exists on the image. And if you are using passwordless sudo that it has this capability.

This supposes the target image has sudo installed and therefore should definitely be an option.
Do you mean to create a PR with an option so this can be integrated in this repository? Or should I merge #66 instead?

I don't intend on creating a PR based on what I have done.
its up to you if you want to add the additional functionality from my changes in a toggleable/configurable way

OK. I'm merging #66 for now as it is creating value and closing this issue.


Add type annotations for Circuit.iter and Moment.iter

Also had to fix up a few type errors in other places resulting from this change. I find dealing with cirq.Operation versus cirq.GateOperation to be a persistent source of annoyance; is there some way we can make this simpler? For example have a gate field on all operations but type it as Optional[cirq.Gate]?

Automerge cancelled: A status check is failing.


i tried installing a vs code extension like a browser i'd be using within visual code and i dont seem to get it right. And this has made running and debugging a bit difficult for me. Please help me out

Environment (please complete the following information):

OS (e.g., Windows 10):
Extension version (e.g., 1.2.3):

Describe the bug:

Repro steps:

Expected behavior:

Additional context:

Windows 10
Edge  browser
Ought to be running and debugging but isn't doing that

Hi @oseyemi, thanks for your feedback. However, in order to investigate the problem, we will need a bit more information from you.
You said the extension makes it hard to run and debug, what do you mean exactly? Would you be able to describe in more detail the steps that you are taking in VS Code, and the result you are seeing?


docs: typo Byzantine Consensus Algorithm in specs

Bug Report

In the Byzantine Consensus Algorithm in specs Proposals section, I think the word iff supposed to be if.

A proposal at (H,R) is composed of a block and an optional latest PoLC-Round < R which is included "iff" (here) the proposer knows of one. This hints the network to allow nodes to unlock (when safe) to ensure the liveness property.

Setup
CometBFT version (use cometbft version or git rev-parse --verify HEAD if installed from source):
Have you tried the latest version: yes/no
ABCI app (name for built-in, URL for self-written if it's publicly available):
Environment:

OS (e.g. from /etc/os-release):
Install tools:
Others:

node command runtime flags:
Config

What happened?
What did you expect to happen?
How to reproduce it

Logs

dump_consensus_state output

Anything else we need to know

iff == if and only if


[Network] Updating swagger and examples for Vnet after adding migration flag + state

Generated from RestAPI PR: https://github.com/Azure/azure-rest-api-specs/pull/1492

Replaced by https://github.com/Azure/azure-sdk-for-python/pull/1373


Add manifest.json and Service Worker files

Add Preliminary PWA Functionality
Overview
This PR introduces basic PWA functionality to the App by adding Service Worker and Web App manifest.
Changes

Added basic Service Worker for caching resources
Added Web App manifest for PWA installation and setup

Note
This is an initial, rough implementation of PWA functionality. While the basic setup for the PWA has been added, several assets are still needed to fully realize this feature:

Icons: The manifest includes placeholders for icons, but actual icon assets still need to be designed and generated.
Screenshots: Screenshots for the PWA store listing are still needed.
Shortcut Icons: Icons for the defined shortcuts in the manifest are also still needed.

Next Steps

Design and generate icons for various sizes and use-cases (PWA icon, shortcut icons, etc.)
Capture or create screenshots representing the app's functionality
Further testing and refinement of the service worker caching strategy

Feedback on the current implementation is welcome and appreciated!
Resolves #1584

I appreciate the contribution, but the team needs to wrap its head around the nuances of PWAs before we merge it. In particular, we need to fully understand the caching and software update behaviors, which makes this a slightly larger ask than simple PR review. (Put another way, the code isnt the work on this one.)

To start with, there are simply service workers without any cache function. The most important thing about the PWA is its integration into the OS, with a corresponding installation. All you need is a very simple service worker and a GOOD manifest (I hate these quickly created 3-liners). But I linked 2 very good examples in the original request.
PWAs with cache functionality (seen in our Service Worker) update themselves when the serial number in the Service Worker Javascript file changes. See our service worker at the end.
https://desktop.peerem.com/service-worker.js
I'd be happy to help with that.


Remove logic in the evaluate expression example is problematic (minor)

http://docs-next.angularjs.org/guide/dev_guide.expressions
if you click the evaluate button multiple times for the same expression and then click on [X] to remove one of those rows, it removes more than one row, which is OK since they are identical expressions, however, it doesn't remove all the rows that are identical. I tried it a couple of times.

I thinks it's b/c removal is done from first to last item, so array length changes in an array enumerating loop. A classical issue. The most simple way to fix it is enumerate the array from last to first item:
      for ( var i = this.exprs.length; i >= 0; i--) {
        if (contact === this.exprs[i]) {
          this.exprs.splice(i, 1);
        }
      }

right the removal logic is broken, there is actually no need for a loop since we know the index of the item. I send out a fix.

cool thanks


Adjust parent recipe for Slack.intune

The recipes in killahquam-recipes have been deprecated and will be removed soon. (See https://github.com/autopkg/killahquam-recipes/issues/28 for details.)
This pull request adjusts the pull requests for one recipes that references parent recipes in killahquam-recipes. The parent recipes have been changed to point to actively maintained recipes in other repos.

Thanks @homebysix, looks good to me!


mailing list link broken

In the More help section, clicking on the<EMAIL_ADDRESS>results in a 404.
If you need more help than this tutorial gives you, you can always write to the developer's mailing list<EMAIL_ADDRESS>or open an issue.
...

Thank you. This has been fixed.


Precise tracking of sparseness information

What should restic do differently? Which functionality do you think we should add?
#3854 will add basic support for sparse files by letting the restorer skip file regions containing large amounts of zero bytes. However, this will likely result in somewhat different file regions getting marked as sparse, than before.
To exactly preserve the sparseness information, restic has to query the filesystem for it and should ideally use it to skip sparse regions during backup. Preserving the exact file regions will at least require additional information in the repository format. To avoid generating large lists of zero chunks we'd have to change the tree format accordingly.
Explicitly storing sparseness information could also allow the restorer to automatically restore the files as sparse, without having to pass the restore --sparse option.
What are you trying to do? What problem would this solve?
Preserve the exact location of spare sections in a file.

Do you have a concrete format in your mind to save this information in the Tree objects?
I also thought about implementing this in rustic and I think we can profit from using the same names and algorithms.
My proposal would be to chunk each non-sparse block and save this information into the new content-sparse field which is an array of the starting position of the block and the chunked block.
{
"name":"filename",
...
"content":[...]},
"content-sparse":[
{"start": 0,"content": ["d6eb79ce6dc1dd707aa226ba644d52eaf6bf1a65dba889792a4a78b3f7f2cbf0", ...]},
{"start": 12345678,"content": [..., ...]},
]
},

To compute the "old" content information, we could reuse the contents computed for content-sparse and add chunked zero-block of the gaps in between, i.e. for sparse files the chunking is not only done by the CDC but also enforced at boundaries between holes and non-holes.


Node 12 (JITless) support

V8 now supports running in JITless mode and there is a PR to bring it into node.
With this feature, we can run Exokit on more platforms, including iOS, which disallow the executable writable memory policy that V8 uses by default.
The main task for us in exoland is to make sure we are compatible with Node 12. The V8 API changed a bit re: v8::Handle here, and some deprecated methods were removed. This PR makes the necessary changes to exokit and collects the needed external module updates.
Notably we would need to do this work anyway when Node 12 comes around in April.
Continuation of https://github.com/webmixedreality/exokit/pull/871; thanks to @shawwn for the research and bootstrapping that work.

This should be building on node 12 now.

Note that to use this feature, you probably want the Node 12 --jitless flag:
  --jitless (Disable runtime allocation of executable memory.)
        type: bool  default: false


Doorway Dev Site for Infra Changes

We need to set up a dev site for Glenn to do his iterative testing in, to avoid having so many issues in environments that are currently being used.
Our current dev site is not usable. Can we very high level outline the steps that we'd need to take to stand this up to avoid staging issues?
https://dev.housingbayarea.mtc.ca.gov/

Blocked:

No access to Docker (can't test if the images are being built properly)
Public doesn't build on dev now

Don't know exactly what the problem is, should timebox this
Depends on what happens when Glenn figures out the ECR instance - maybe it fixed it? Maybe not?

done!


Cloud9 not avaliable

The hyperlink behind Cloud9 'http://cloud9.epfl.ch/' is no longer available, anyone know what's new?

Thanks for calling that out. I'll update the link to https://dslab.epfl.ch/research/cloud9/ which still works


chore(master): release 2.1.2

:robot: I have created a release beep boop
2.1.2 (2023-03-06)
Bug Fixes

new project path (b821a89)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/dworac/cli/releases/tag/v2.1.2 :sunflower:


[FEATURE] - Custom color schema

Is your feature request related to a problem? Please describe.
I'd like to set a custom color for the debug level.
Describe the solution you'd like
Ideally, I want to be able to pass an option to the handler which allows me to define a color for each log level.

Good idea, I'll add it soon.

I added this feature in PR #14.
Also, I have released a new version, v0.0.6, which includes this feature.


Personalization

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

archive/ui-user-personalization.md
:white_check_mark:Succeeded

dynamics-nav-app/admin-configure-user-interface.md
:white_check_mark:Succeeded

dynamics-nav-app/finance-manage-payables.md
:white_check_mark:Succeeded

dynamics-nav-app/includes/nav_web_server_instance_md.md
:white_check_mark:Succeeded

dynamics-nav-app/marketing-campaigns.md
:white_check_mark:Succeeded

dynamics-nav-app/media/personalization-lock-icon.png
:white_check_mark:Succeeded

dynamics-nav-app/media/ui_personalization_blocked.png
:white_check_mark:Succeeded

dynamics-nav-app/projects-how-manage-project-supplies.md
:white_check_mark:Succeeded

dynamics-nav-app/sales-how-drop-shipment.md
:white_check_mark:Succeeded

dynamics-nav-app/ui-personalization-manage.md
:white_check_mark:Succeeded

dynamics-nav-app/ui-personalization-overview.md
:white_check_mark:Succeeded

dynamics-nav-app/ui-personalization-user.md
:white_check_mark:Succeeded

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


Lookup contact details in escrow payment reclaim components

Expected Behavior
EscrowedPaymentListItem and ReclaimPaymentConfirmationScreen should look up the recipient number in the recipientCache and show a name instead of a number if possible.
Current Behavior
No lookup, we just show the phone number

Duplicate of #4957


React native compatibility ?

Can this component use in react naitve?

This component, like most standard React components, cannot be used with React Native at the moment as it relies quite heavily on the DOM. I am investigating the possibility of either somehow making the existing code base React Native-compatible or creating a fork for React Native.

Libraries and components for React.js, that are intended to be used in the browser, are completely different in their setup to React Native components. Any HERE maps component for React Native would have to be a completely separate project. I've spotted this in my travels, it might be of interest but I haven't used it personally so I can't vouch for it.
https://www.npmjs.com/package/react-native-heremaps
Closing as not solvable.


Usage

Hello thank you for this awesome script, i hear a lot about autopilot on Facebook pages and websites, i'm already using the method random images on my website but i don't know how to use your script and where. can you please provide more details if it is possible ?
Thanks in advance

Me thooo


[WIP] Split monolithic command responder

Split monolithic command responder onto many specialized modules and
two command responder applications: one implementing fully-fledged
SNMPv3 architecture (supporting all SNMP versions) and the other
implementing just v1 and v2c. The second one is lighter on resources.

Note #105


Include sysvinit-tools as an rpm dependency

👍  LGTM

Why is this needed? Now the rpm package won't install on systemd-based distros such as Fedora and RHEL7.

Also, AWS already provides a package sysvinit that makes this dependency obsolete:
Examining sysvinit-tools-2.88-14.dsf.el7.x86_64.rpm: sysvinit-tools-2.88-14.dsf.el7.x86_64
Cannot install package sysvinit-tools-2.88-14.dsf.el7.x86_64. It is obsoleted by installed package sysvinit-2.87-6.dsf.15.amzn1.x86_64

@eduardchernomaz Thank you for letting us know. We have opted to remove the RPM dependency altogether, so this issue will no longer occur with the latest packages.


ULID should be able to be stored as UUID

Laravel Version: 9.31 (tentative)
PHP Version: 8.1.x
Database Driver & Version: MySQL (all), PostgreSQL (all), MariaDB (all), SQL Server (all).

Description:
This recent #44074 forces the model to store ULIDs a 26-character strings in the database, which compared to standard UUIDv7, are 63% bigger. [There is an interesting article that talks about both]https://blog.daveallie.com/ulid-primary-keys().
Since ULID and UUID are inter-operable, a developer may mistake the binary/uuid column for the model and get errors because the ULID is created as string.
Laravel should by now offer first-class compatibility for both, and allow ULID to be stored as UUID in databases, since the latter have no OotB ULID compatibility yet. It's 2022, btw.
Steps To Reproduce:
Schema::create('example', function (Blueprint $table) {
    $table->uuid('id');
});

class Example extends Model
{
    use HasUlidPrimaryKey;
}

Storing a model with ULID in a UUID column will lead to SQL errors.
Possible solution
These are my candidates

Offer 'ulid' and 'uuid' cast types for columns, and add ulid and uuid primary keys types, and apply them into the primary key.
Have the Model/Builder change the ULID to UUID as opt-in when storing the values in the database.
Let the developer deal with it by overriding newUniqueId(), and use a Cast to retrieve it as Ulid instance, through the documentation.

I'm not sure what you mean. We don't force anything. You have complete control over the database scheme.

You can already override newUniqueId to whatever you want.


zoom following cursor across ALL screens, not just the screen i'm trying to capture

I have four monitors on my setup and i run OBs in Display 2 and want to zoom and Capture in Screen 1 ONLY. it it seem to scale the cursor movements across ALL screens instead of tracking in just the boundaries of the screen I'm trying to capture...

how do i restrict the tacking to screen 1 only?

Win 10
OBS 29
python 310

Also having this issue, also on Windows 10.
Love the script! Great work.

Same here, also having this issue with multiple displays:
Windows 11, OBS 29, Python 310

Multimonitor support was recently refactored as of 2023-09-11. Could you please try to reproduce the issue with the most recent version of the script?

Hello! Having the same issue here. Spent a day trying to figureout what it was that I was doing wrong. (Downloaded on the 22/09/23)
My settings:
Python 3.10.10
Obs 29.1.3
I did:
pip install PyWinCtl==0.0.38
pip install pymonctl
pip install pynput
pip install screeninfo
With all of this it runs (finally. Now, the settings in OBS:
The best settings seems to be "Enable Monitor Override" ON. Put the zoom follows the mouse through all screens (not the only one that has been selected)
If I try without the Override option, it seems to zoom alot to the top-left part of the screen.
Thanks for this awesome plugin! I really wish I could enjoy it. Such a pitty for now... :(
I really look forward to hearing from you! Hope the comment helps to pin point the bug.

i found possible problem in my case
pymonctl not return all my monitors (one of them connected to nvidia card, other to motherboard integrated gpu in cpu)
import pymonctl as pmc
from screeninfo import get_monitors

for m in pmc.getAllMonitorsDict():
    print(str(m))
print("--------------")
for m in get_monitors():
    print(str(m))

return:
\\.\DISPLAY5
--------------
Monitor(x=0, y=0, width=1920, height=1080, width_mm=527, height_mm=296, name='\\\\.\\DISPLAY1', is_primary=True)
Monitor(x=1920, y=0, width=1920, height=1080, width_mm=527, height_mm=296, name='\\\\.\\DISPLAY5', is_primary=False)


Kernelctl

This is a utility to manage aftermarket kernels.

Does it make sense to force bz2 compression as the only option? It might make more sense to allow multiple compression algorithms to be used, like xz, gz, zstd.

Fair enough. The next question is why bz2 instead of one of the other formats?

I am not sure compression rate is such a concern: the backup of the vendor kernel is currently around 5.6M.
Compression time is indeed quite slow with bz2.
zstd is not currently available in the official firmware but we could depend on the toltec version.

Here is a testing kernel you can use to check that kernelctl works. It is for RM2. It is basically the same as the current upstream kernel with uinput enabled and TRIM_UNUSED_KSYMS=n.
vendor_patched-20220315.tar.bz2.gz
GH is just dumb: I can attach a .gz but not a .bz2 so please just rename it to vendor_patched-20220315.tar.bz2 before using it.

@Etn40ff I'm on a rM1 so I can't test, but it looks like the automated checks are complaining about the script not following the style guide. You'll need to resolve that before it can be merged.

It should be fixed now.
As for the file format, should I switch to zstd or xz?
Kernelctl should in theory work as well on a rm1. Actually it need testing there but I do not own a rm1. Could you do it? Do you need me to provide a testing kernel for you? Should I make a toltec package with the modifications I use on my rm2 (uevent, tun/tap, and TRIM_UNUSED_KSYMS=n)?

Automated checks should be fine now

I am unhappy of the current status:
Currently this script passes the list produced by tar tjf current_kernel_backup.tar.bz2  to rm -rf to clear up before installing the new kernel. The flags -rf are needed because a directory might be passed to rm before it has been emptied and it would give an error.
Obviously this is an easy recipe for disaster: if the kernel backup is not properly formatted one could delete something that should not be deleted. (I just erased the whole /lib this way and I was not a happy camper.) Any suggestion on a better way to delete all files and directories (if empty) from a list?

I might have answered my own question but better solutions are welcome

Here is a better kernel for testing on RM2: I messed up the previous one.
This is vanilla + uinput + tun - TRIM_UNUSED_KSYMS
vendor_patched-20220329.tar.bz2.zip

Any update on this? I'd love to get https://github.com/toltec-dev/toltec/pull/488 merged

Any update on this? I'd love to get #488 merged

I pinged toltec's team over Discord few days ago, they said that they wanted to focus on getting a stable release out first. That happened already so, hopefully, they will have some spare time soon.

Any updates?

Tested on RM1 with linux-stracciatella. kernelctl works as advertised. Thank you!


refator server runner

What is the purpose of the change
(For example: This pull request makes user can stop workflow externally.)
Brief change log
(for example:)

Send StopDagEvent to Airflow scheduler via notification service
Once received StopDagEvent, Airflow scheduler kills all running dag runs

Verifying this change
(Please pick either of the following options)
This change is a trivial rework / code cleanup without any test coverage.
(or)
This change is already covered by existing tests, such as (please describe tests).
(or)
This change added tests.

Codecov Report

:exclamation: No coverage uploaded for pull request base (dev@fbffee6). Click here to learn what that means.
The diff coverage is n/a.

@@          Coverage Diff           @@
##             dev     #347   +/-   ##
======================================
  Coverage       ?   62.16%
======================================
  Files          ?      159
  Lines          ?     9946
  Branches       ?     1366
======================================
  Hits           ?     6183
  Misses         ?     3484
  Partials       ?      279

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 fbffee6...5858c02. Read the comment docs.


Database connection crashes

Describe the bug
The database connection crashes without predictable behavior.
Screenshots

Caused by: java.sql.SQLTransientConnectionException: HikariPool-1 - Connection is not available, request timed out after 30001ms.
Maybe helpful:
https://stackoverflow.com/questions/51665095/hikari-unable-to-acquire-jdbc-connection

In what context did you produce this error? When testing locally or has it something to do with one of the remote IMIS servers (Staging)?

Just to exclude the obvious, is/was the database running when the error happened?

I think the problem could be in the SeachService we create new  EntityManagers but never close them


Write a man-page

One can interrogate sevctl and its subcommands with increasingly long sevctl blah --help lines, but it'd be cool if all of this was documented in a man page.

The --help output is pretty terse for the commands, so not really sufficient unless the users are already very familiar with SEV concepts. A man page is definitely required here to get better overall usage guidance, and especially outline expected workflow for utilizing the various commands.


ASM-7793 Storage Center SCOS 7 Support

Pointing to symlink instead of jar file.
CompCU.jar is a symlink that get created in the
build process. It always points to latest jar file
in the files foler.
For every new release, copy jar file into the files
folder, symlink points to new jar in the build process

@hribab is this good to merge, or do we need to wait for any build changes to be done before merging this ?

👍


What about docs?

Hey there, I wonder what we should do for documentation on this projects. Any ideas @bawantha06

So what you saying that we should

[ ] Create a docs folder
[ ] Create a new index.md document
[ ] Turn on Github Pages

Thanks @bawantha06


Godot doesn't close when using Run from launcher.

OS: Ubuntu Linux 17.10
Godot version: Godot_v3.0.1-stable_x11.64
When I use the Run option to launch my game without the editor, and then proceed to close the game, Godot doesn't exit properly.
More importantly it seems to use 100% of one of my cores.
The way I close my game is by pressing escape and using 	get_tree().quit()
recording.zip

Can you please run your game from a console and see if there's any output after you call get_tree().quit()? It could point us in the right direction.

ERROR: _area_inout: Condition ' !area_in && !E ' is true.
   At: scene/3d/area.cpp:357.
ERROR: _area_inout: Condition ' !area_in && !E ' is true.
   At: scene/3d/area.cpp:357.
ERROR: _area_inout: Condition ' !area_in && !E ' is true.
   At: scene/3d/area.cpp:357.
ERROR: _area_inout: Condition ' !area_in && !E ' is true.
   At: scene/3d/area.cpp:357.
ERROR: ~List: Condition ' _first != __null ' is true.
   At: core/self_list.h:100.
ERROR: ~List: Condition ' _first != __null ' is true.
   At: core/self_list.h:100.
WARNING: cleanup: ObjectDB Instances still exist!
   At: core/object.cpp:1989.
ERROR: clear: Resources Still in use at Exit!
   At: core/resource.cpp:418.
ERROR: cleanup: There are still MemoryPool allocs in use at exit!
   At: core/dvector.cpp:70.

This still seems to be an issue in 3.0.2. I left it running for a couple of minutes, thinking it might just close after a while. But it seems permanently stuck.

I found out this actually happens when I just open the editor, and then close it again without running the game. I have to kill the process each time or else it will continue using 100% of one core. :frowning:
Here is the full output.
OpenGL ES 3.0 Renderer: GeForce GTX 1060 6GB/PCIe/SSE2
OPENING: /home/gyrth/Documents/blacktrace-game (::home::gyrth::Documents::blacktrace-game)
OpenGL ES 3.0 Renderer: GeForce GTX 1060 6GB/PCIe/SSE2
Boot splash path: res://Textures/logo.png
gyrth@Gyrth-Desktop:~/Documents$ ERROR: add_node: Condition ' node_map.has(p_node) ' is true.
   At: scene/animation/animation_tree_player.cpp:920.
ERROR: add_node: Condition ' node_map.has(p_node) ' is true.
   At: scene/animation/animation_tree_player.cpp:920.
ERROR: add_node: Condition ' node_map.has(p_node) ' is true.
   At: scene/animation/animation_tree_player.cpp:920.
ERROR: add_node: Condition ' node_map.has(p_node) ' is true.
   At: scene/animation/animation_tree_player.cpp:920.
ERROR: add_node: Condition ' node_map.has(p_node) ' is true.
   At: scene/animation/animation_tree_player.cpp:920.
ERROR: add_node: Condition ' node_map.has(p_node) ' is true.
   At: scene/animation/animation_tree_player.cpp:920.
ERROR: add_node: Condition ' node_map.has(p_node) ' is true.
   At: scene/animation/animation_tree_player.cpp:920.
ERROR: add_node: Condition ' node_map.has(p_node) ' is true.
   At: scene/animation/animation_tree_player.cpp:920.
ERROR: add_node: Condition ' node_map.has(p_node) ' is true.
   At: scene/animation/animation_tree_player.cpp:920.
ERROR: add_node: Condition ' node_map.has(p_node) ' is true.
   At: scene/animation/animation_tree_player.cpp:920.
ERROR: ~List: Condition ' _first != __null ' is true.
   At: core/self_list.h:100.
ERROR: ~List: Condition ' _first != __null ' is true.
   At: core/self_list.h:100.
WARNING: cleanup: ObjectDB Instances still exist!
   At: core/object.cpp:1989.
ERROR: clear: Resources Still in use at Exit!
   At: core/resource.cpp:418.
ERROR: cleanup: There are still MemoryPool allocs in use at exit!
   At: core/dvector.cpp:70.```

OS: Archlinux
Godot Version: v3.1.dev.custom_build.3ad9e47
The same thing happens to me
Output on close:
ERROR: ~List: Condition ' _first != __null ' is true.
At: core/self_list.h:100.
ERROR: ~List: Condition ' _first != __null ' is true.
At: core/self_list.h:100.
WARNING: cleanup: ObjectDB Instances still exist!
At: core/object.cpp:1989.
ERROR: clear: Resources Still in use at Exit!
At: core/resource.cpp:418.

Apparently the application enter in loop on function:
void OS::print_error(const char *p_function, const char *p_file, int p_line, const char *p_code, const char *p_rationale, Logger::ErrorType p_type) {

	_logger->log_error(p_function, p_file, p_line, p_code, p_rationale, p_type);
}

Closing as duplicate of #18429.


Code Request for paper.

Hello, I am very interested in your paper. May I ask when you plan to publish the source code? I can't wait to reproduce it, thank you.

Our code now available with our m-LoRA framework.

Hi, where is the launch.py in readme? Thanks.

Hi, where is the launch.py in readme? Thanks.

Please refer to m-LoRA framework


Web Experience Toolkit Custom Modules List

List of all  Web Experience Toolkit custom modules with descriptions and links to their respective Drupal project pages.

I am now calling the module list through the GitHub api with just a rest call so much less work ^_^


fix(nix): missing dependency

Describe your PR, what does it fix/add?
fixes sh: lspci: command not found while launching hyprland od NixOS
Is there anything you want to mention? (unchecked code, possible bugs, found problems, breaking compatibility, etc.)
not really
Is it ready for merging, or does it need work?
its a fairly easy fix, tested via nix build and it now works, so yeah its ready to be merged.

@fufexan


added "Sender Authentication"

to troubleshooting link at the end :)
Description of the change:
Reason for the change:
Link to original source:

Closes #

Hello @lweinig,Thanks again for the PR! It's HACKTOBERFEST! We want to show our appreciation by sending                                              you some special Hacktoberfest swag. If you have not already, could you please fill out                                              this form so we can send it to you? Thanks!                                             Team SendGrid DX

Hello @lweinig,Thanks again for the PR!                                         We noticed that you have earned 2 out of the 5 points needed to receive glorious SendGrid Hacktoberfest swag.                                         Please take a moment to checkout this link to find more issues to get you past the required threshold.                                         Also, please be sure that you have officially registered here.                                         Thank you and Happy Hacktobering!                                         Team SendGrid DX

Hello @lweinig,Thanks again for the PR!                                         You have earned 2 out of the 5 points needed to receive glorious SendGrid Hacktoberfest swag.                                         Please take a moment to checkout this link to find more issues to get you past the required threshold or to simply continue the celebration.                                         Also, please be sure you have officially registered with us here by November 1, 2018 to qualify.                                         If you have any questions you can email us at<EMAIL_ADDRESS>                                        Thank you and Happy Hacktobering!                                         Team SendGrid


Fixed post pasteHandler not saving drafts

Summary
This ticket fixes a bug in which drafts are not saved after a paste that goes through the pasteHandler in the post textbox is processed (tables and hyperlinks, currently).
Ticket Link
https://mattermost.atlassian.net/browse/MM-47681
Release Note
NONE

Thanks @EricssonLiu!

Successfully triggered e2e testing!
https://git.internal.mattermost.com/qa/cypress-ui-automation/-/pipelines/261030

Thanks @EricssonLiu
Tested, looks good to merge.
Verified drafts are saved when pasting tables or hyperlinks.
E2E report - no PR related failures.


[rcore] Inconsistency in the API between GetGamepadButtonPressed() and GetKeyPressed()

Please, before submitting a new issue verify and check:

[x] I tested it on latest raylib version from master branch
[x] I checked there is no similar issue already reported
[x] I checked the documentation on the wiki
[x] My code has no errors or misuse of raylib

Issue description
Hello, I have been trying to use the gamepad input support in Raylib and have noticed that GetGamepadButtonPressed doesn't seem to work as expected. It always returns the previously pressed button instead of maintaining a key queue like GetKeyPressed, where each call retrieves one key from the queue. However, I have found that this behavior is consistent across all backends, not just GLFW. Is this behavior by design? If it is, it might be worth considering the consistency between APIs. For example, making some distinctions in the naming could be beneficial for clarity and consistency.

@bohonghuang Actually that's the original implementation for Gamepad and it also was for Keys, some years after that the keys queue was added for convenience. Simply, noone had that requirement before for gamepad. Do you need it for some specific use-case or is it only for library consistency reasons?

@bohonghuang As per my understanding, supporting gamepad button queue shouldn't break any existing code base, just add some extra internal functionality, feel free to send a PR, but it is a core functional cange and it should be tested on all supported platforms

@bohonghuang Did you review this issue? Are you sending a PR?

@bohonghuang Did you review this issue? Are you sending a PR?

I'm afraid I may not be able to work on this issue right now because I'm on a work trip and lack both a gamepad and multiple platforms for testing. If you find this issue bothersome, feel free to close it. I might submit a PR later.

Closing the issue because it's more a feature request than a issue. If a PR is send, it will be reviewed.

Sorry to comment on this closed issue, but I'm running into an « issue » while using GetGamepadButtonPressed.
At the moment, if I press the right arrow and then press right facet down, GetGamepadButtonPressed will always give me the right arrow as the last pressed button, which is not correct.
Is it intentional, related to the queue behavior requested in this issue, or even an issue?
Many thanks for the help!


Port Staging Script

The Staging script of the MATLAB pipeline is a study-specific script where line noise filtering is done and where time during experiment breaks are flagged to be ignored during the pipeline.
the code to find task breaks is the important part that needs to be converted to python - maybe a function like find_breaks. The line noise filtering can just be done in the filtering step of S01.

Well - we still need to build/document functionality to use a staging script - but this issue specifically asks for a feature to find breaks - which we have. Shall I close? I can open another issue for a staging script feature (probably not for 0.01 though).

Yes. The functionalities have been ported, albeit not using a staging script. Using a staging script might not be a very good idea anyway (due to code vulnerability to hacking). Let's consider this questions further if and when a use case present itself. For now, I agree with closing.

). Let's consider this questions further if and when a use case present itself.

+1


Question: what about CORS ?

How to enable Cross Origin Resource Sharing on snap version ?
I get this error message when I try to add a card via the API:
Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Thanks ;-)

Thank you for this feature. Unfortunately, this still doesn't work for me with 1.80 version, after a sudo snap set wekan cors='*'...
Access to XMLHttpRequest at **** from origin **** has been blocked by CORS policy: Request header field Authorization is not allowed by Access **** Control-Allow-Headers in preflight response.

snap config has extra commas , so I will remove them, maybe cors will work after that in next Wekan release.

@loic74
Please test Wekan v1.81 is this now fixed ?

@loic74
Please test Wekan v1.82 , is this now fixed ?

Same error.
Request header field Authorization is not allowed by Access-Control-Allow-Headers in preflight response.
Here is my code:
var params = {
 "title": "test",
 "description": "add a card",
"authorId": "HBzQr4mCvpgjMYbzv",
 "swimlaneId": "FyRMVhQ4YnntiPxXP"
};
var xhr = new XMLHttpRequest();
xhr.open("POST", url);
xhr.setRequestHeader('Authorization', 'Bearer ' + 'xxx...');
xhr.setRequestHeader("Content-Type", "application/json;charset=UTF-8");
xhr.send(JSON.stringify(params));

With curl I see that * header is in wekan. Did you login to API first first to get valid bearer key, before doing API request?

Not in the same script, but I use a valid token (generated via Postman) for testing. Moreover, by using the same token via Postman, card creation works fine.

Login needs to be made with username and password of admin that has access to Admin Panel.

Yes, I use admin credentials.

Please give more descriptive details what is the problem.

Thank you for your help. Finally, I changed my method. Instead of executing the code client-side , I use a php page that executes the code server-side. It works fine.

Is there any fix for this? I am using the latest version and still setting cors='*' not working, which makes the API useless if not using from the same host.
Access to XMLHttpRequest at 'http://****:3001/users/login' from origin 'http://localhost:4200' has been blocked by CORS policy: Request header field content-type is not allowed by Access-Control-Allow-Headers in preflight response.

@erezsdev
Yes, see https://github.com/wekan/wekan/pull/2429 that is already in Wekan


add on_highlight function to config

This is for a more fine-grained control over the highlighting, with minimal changes to the code-base, and does not break any existing configuration. It is used when the user wants to create/modify some highlight groups, but want to access the colors of the gruvbox palette (created in groups.lua line 25).
An example configuration will be
require("gruvbox").setup {
  overrides = {
    String = { link = "GruvboxGreen" },
    Operator = { link = "GruvboxOrange" },
<EMAIL_ADDRESS>= { link = "GruvboxYellowBold" },
  },
  palette_overrides = {
    bright_green = "#b0b846",
  },
  on_highlight = function(groups, colors)
<EMAIL_ADDRESS>= { fg = colors.light0_hard, bold = true }
  end,
}

hey @moreka why not use the gruvbox.pallete module instead? You can grab the colors using the get_base_colors func and then use it for your overrides. Is there something I am missing?

Surely that is also possible. But in that case, one has to specify the contrast (and maybe bg twice):
local contrast = "hard"
local colors = require("gruvbox.palette").get_base_colors(vim.o.background, contrast)

require("gruvbox").setup {
  contrast = contrast,
  overrides = {
    String = { link = "GruvboxGreen" },
    Operator = { link = "GruvboxOrange" },
<EMAIL_ADDRESS>= { link = "GruvboxYellowBold" },
<EMAIL_ADDRESS>= { fg = colors.light0_hard }
  },
  palette_overrides = {
    bright_green = "#b0b846",
  },
}

I know it is not a big deal, but also the on_highlight is very convenient to use: one does not have to require the module, run the get_base_colors twice, and so on.

I understand the point but I also feel like on_highlight is another step on overriding the colorscheme, which IMO brings more complexity than easiness of use.  I don't really think we need this for a simple colorscheme project

I fully understand and respect your decision.


Negative values are not correctly handled

Seems like the formatter doesn't handle negative values, below example prints out "$-10.00".
var currencyFormatter = require('currency-formatter');
console.log(currencyFormatter.format(-10.0, { code: 'USD' })); // prints $-10.00

Is there an option that I will need to set or negative values are not supported?

Interesting... I'll look into it.
Just to make sure, we should show it like ($10.00) instead of $-10.00 right?

@smirzaei I think this should be "-$10.00".
https://answers.yahoo.com/question/index?qid=20080220214302AA2N8kn
For sure, in Euro you would write "-10,00 €"

Yeah I looked around and looks like both ($10) and -$10 are common.
http://ux.stackexchange.com/questions/1869/preferred-format-to-display-negative-currency-us-english
I'm going to add an option to allow the user to pick which format they want to use, but the question is which one should be the default?

The best case scenario would be to pick the right format based on the user's locale. I checked how Java's NumberFormat acts in this situation and this is the result:
scala> println(NumberFormat.getCurrencyInstance(new Locale("en", "US")).format(-123))
($123.00)

scala> println(NumberFormat.getCurrencyInstance(new Locale("en", "GB")).format(-123))
-£123.00

scala> println(NumberFormat.getCurrencyInstance(new Locale("en", "CA")).format(-123))
-$123.00

But unfortunately we don't have this kind of data.

And the accounting library which we use to do the formatting. That's why the current version is displaying something like $-10 right now.
https://github.com/openexchangerates/accounting.js/blob/15e38ac6d61460958c389cc319a837e7a0d6cfa7/tests/jasmine/core/formatMoneySpec.js#L11-L17

PR: #25
I published a new version to NPM. Let me know if you're having any issues. :)


Wrong Caffe version parsed for OS-X

See title. I bet there's a reason for this line that hardcodes the caffe version for mac to 0.11.0
https://github.com/NVIDIA/DIGITS/blob/master/digits/config/caffe_option.py#L158 .
I just removed L157-L159 and everything seems fine:

@TimZaman , thanks for pointing that out.  I might forget to remove that, or maybe I keep it for other reason.  Let me find out.

@TimZaman , can you help check what happens if your Caffe in Darwin does not have version info?  We would like DIGITS to tell users to upgrade their Caffe when no version info is available.  Thanks.

Yes give me an hour
On Monday, 18 July 2016, Isaac Yang<EMAIL_ADDRESS>wrote:

@TimZaman https://github.com/TimZaman , can you help check what happens
if your Caffe in Darwin does not have version info? We would like DIGITS to
tell users to upgrade their Caffe when no version info is available. Thanks.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/NVIDIA/DIGITS/issues/914#issuecomment-233381021, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AHXSRG8QnL-BebsRnScdfTGLnZOPnZ84ks5qW6kmgaJpZM4JN8xX
.

@IsaacYangSLA I made a mini PR for this Mac issue, since you said you're a BSD man.

@TimZaman , thanks.  I will comment on the PR.


Buton is not available anymore

Describe the bug
Buton is not available in the user page.
i dont see any error and the extension seems updated. Other persons that also use it have the same behavior
To Reproduce
Steps to reproduce the behavior:

Go to any user
the button is not available

Screenshots

Desktop (please complete the following information):

Chrome Version 130.0.6723.59 (Official Build) (64-bit)
Extension version 1.2.4

extra information, this should be related to the lastes update from salesforce, the button is working in production but on sandboxes is missing

I believe this is due to Salesforce using a new domain for the Setup pages. Will update

@Rick45 fixed in 1.2.5


Fulldeploy insane clientfixes

This update makes it so that all of the fulldeploy-insane clients are prepared to be manually bootstrapped (assuming the reposync has completed, and bootstrap repos are prepared).
In the future I'm planning on automating that as well.

This also addresses the #37


Add parameters for supported devices

Allows users to specify which devices they want and don't want to be used for drag and resize events. This prevents a scenario where a trackpad scroll moves the box when it isn't intended to.

Thanks @Gold872 for the PR! 🎉


Support Nomad canary deployment

What does this PR do?
This PR adds support for Nomad canary deployment.

Motivation
When Nomad orchestrator is a provider (of service registration) for Traefik,
one might have the need to distinguish within Traefik between a Canary instance of a service, or a production one.
For example if one does not want them to be part of the same load-balancer.
Therefore, this option, which is meant to be provided as one of the values of the canary_tags field in the Nomad service stanza, allows Traefik to identify that the associated instance is a canary one.

Fixes #8987
Supersedes #9012
More

[x] Added/updated tests
[x] Added/updated documentation

Additional Notes

Co-authored-by: Kevin Pollet<EMAIL_ADDRESS>Co-authored-by: Mathieu Lonjaret<EMAIL_ADDRESS>

I have tested it and it works great :+1:

Hi @rtribotte
Could you help with ideas how to use it with Nomad provider, without Consul?

      service {
        name = "backend-api"
        port = "back"

        provider = "nomad"
        tags = [
          "traefik.enable=true",
          "traefik.http.routers.backend-app.rule=Host(`backend.internal`)",
        ]

        canary_tags = [
          "traefik.enable=true",
          "traefik.http.routers.backend-canary.rule=Host(`backend-canary.internal`)",
          // "traefik.http.routers.backend-canary.service=backend-canary",
          "trafik.nomad.canary=true"
        ]

backend.internal and  backend-canary.internal actually use the same Nomad service. If I uncomment different service name, it will throw use not existing service.
Can you explain how to use "trafik.nomad.canary=true"?

@AmirL You have a typo, should be traefik not trafik.
But I agree that more complete documentation (including a full Nomad job example + Traefik configuration) would be very helpful, as it stands the documentation for this option is quite minimal.


[New Model]: support for BartForSequenceClassification

The model to consider.
Hi!
Is there any plan on supporting https://huggingface.co/facebook/bart-large-mnli on vllm? When I try to run it it says "BartForSequenceClassification" is not supported now, do you know any alternatives or if I'm doing something wrong?
Thank you
The closest model vllm already supports.
No response
What's your difficulty of supporting the model you want?
No response

Would be great if support could be added for BartForSequenceClassification.


Can you add feauture get url, path, juice data form URL?

Hey @com0t! This feature was just added when I merged PR #2; thanks to @SecGus for implementing it!


Ingress support

Hello,
We would like to use your library for a bespoke ruby-based ingress controller for our staging kubernetes cluster... Do you know when this library might gain support for ingress resources... and or, could you comment on how one might go about adding this resource to the library... as we may have time ourself to add the implementation.
Thank You for your time

Hi @diclophis ingress requires the new group API #144. So it's tricky.
I think @moolitayer did some analysis on how to add the group API.
If you have time, I'd say that you can start proposing a design for #144, after that the ingress support will be trivial.

@simon3z there's an additional user who's interested in the group api

Ok, thanks for the quick reply, we will investigate the mentioned discussions and hopefully get a fork going with some patches

@simon3z @diclophis this should be closed through #185

@diclophis was this resolved by #185 ? If that's the case we could close this right?

Closing for now, feel free to reopen in case this is not covered properly by #185

ok great


Update Win32 metadata (10.2.163-preview)

Release notes https://github.com/microsoft/win32metadata/releases/tag/v10.2.163-preview

Don't forget to update the readme:
https://github.com/microsoft/windows-rs/blob/master/crates/reader/default/readme.md


add ms_graph_api environment properties

https://kanselarij.atlassian.net/browse/KAS-3714

Bumped version to v0.3.1
added environment properties client id, tenant id and placeholder for secret
added protocol to enable using MS Graph
added override to protocol for development

Will need to bump the service (to v0.3.2 when delivery-email-service PR is merged) to fix error with sending attachments.


Allow setting of a specific solc binary

Via the use of the SOLC_BINARY environment variable the user can now
set a specific path to his solc executable if for example said user is
compiling solidity from source.

this should be documented. maybe in https://github.com/ethereum/pyethereum/wiki ?


Pyodide intermittently not loading, causing Run button to not load

The pyodide package intermittently doesn't loading, causing Run Code button to not load.

We can either change the logic of the Run Code button to load separately from the language dependencies-- probably not advisable since it's useless without it, or have some guarantee/retry for the language package.

This might be a good clue for someone looking into fixing this:
When running locally, getting this issue on first load

That's weird, those are the changes I made when I updated the example to Pyodide 0.18.1 and they seemed stable!

I'm seeing this as well.
Screenshot

Stack Trace
Uncaught (in promise) TypeError: window.loadPyodide is not a function
    at index-a5183b743b6e8e8b6343.js:1
    at l (main-c4f2541b93e4ae8b71f8.js:1)
    at Generator._invoke (main-c4f2541b93e4ae8b71f8.js:1)
    at Generator.next (main-c4f2541b93e4ae8b71f8.js:1)
    at r (index-a5183b743b6e8e8b6343.js:1)
    at u (index-a5183b743b6e8e8b6343.js:1)
    at index-a5183b743b6e8e8b6343.js:1
    at new Promise (<anonymous>)
    at HTMLScriptElement.<anonymous> (index-a5183b743b6e8e8b6343.js:1)
    at HTMLScriptElement.<anonymous> (main-c4f2541b93e4ae8b71f8.js:1)

I don't know if it has to do with AdBlockers or what but when I turn off the shield with Brave, the button appears 🤷🏼♂

I can confirm that, but it's not about the browser.
Yesterday I had a lot of issues with the script loading, about 10% of requests failed, today I tried to sort it out and never had any issue with loading. So my guess is that CDN does not work well.
I also tried to download Brave, but didn't have any issues as well.
@jsjoeio  what do you see in network requests regaring pyodide when it fails?

I took a stab at this, not sure what it is but a few findings:

The indexURL appears to be intermittently down:

It seems we may want beforeInteractive -- "For critical scripts that need to be fetched and executed before the page is interactive" -- seems like we theoretically want the language dependenciess loaded first, but I couldn't get this to work nicely with the onLoad callback.

@nikolaystrikhar

The most interesting moment for now is that I don't see any issues with CDN for now, even when window.loadPyodide is undefined, requests have 200 OK.

That's a big clue! If you're seeing a successful request to the CDN and then that error, then it must be something to do with that code loading that's causing an issue and not the CDN itself.
@jacobjzhang

The indexURL appears to be intermittently down:

I think this is probably a red herring, CDNs tend to serve 403 forbidden to any request that isn't a file to prevent attacks. The indexUrl is a directory but I suspect that the loadPyodide function is actually loading known files from that directory - rather than trying to load the directory itself and hitting the 403.

It seems we may want beforeInteractive -- "For critical scripts that need to be fetched and executed before the page is interactive" -- seems like we theoretically want the language dependencies loaded first, but I couldn't get this to work nicely with the onLoad callback.

I think this is worth exploring. Assuming the CDN is stable (and AFAIK we have no network errors suggesting it's not) it should be ok to fetch https://cdn.jsdelivr.net/pyodide/v0.18.1/full/pyodide.js before interactive, it's very small and just puts some global state. We could then use useEffect instead of onLoad to call loadPyodide after rendering. My hypothesis is that there's some race condition in the combination of Script + onLoad, maybe the fact it's async? That might explain why it's happening on a first load too, if on subsequent ones browser cache is fast enough to paper over it.
FWIW testing NextJS Script + onLoad with a URL that doesn't work, the onLoad never gets called. So I'm pretty sure we can rule out CDN issues here!

I've opened a PR with the beforeInteractive + useEffect approach, the preview is here: https://run-wasm-git-fork-mcintyre94-fix-pyodide-load-sliphq.vercel.app
It'd be great to get as many 👀  as possible on it to make sure nobody's seeing any similar issues with it and that it's still fast.

I tested with Brave on my phone just now and it worked!


[WIP] Add pop-ups to all sliders in our control widget

Description

This PR will bring pop-ups to all sliders in our control widget. Just a placeholder PR for now.
Type of change

[X] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[X] This change requires a documentation update

References

How has this been tested?

[X] example: all tests pass with my change

Final checklist:

[ ] My PR is the minimum possible work for the desired functionality
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works

hi @AhmetCanSolak its been a while since this was opened. i think we're probably going to take a new approach to this with some of the slider work @ppwadhwa and @tlambert03 have been doing recently, is it alright if we close? Thanks for kicking this off though


Added C/copysign under CP_USE_DOUBLES switch.

copysign isn't supported by older versions of MS Visual C. Since it's not used in chipmunk we're going close this.


After use the colorpicker,my windows cursor changed permanently

just as the pic shows,how can I return back to windows default cursor?

Hi, unfortunately switching of cursor does not seems to be stable as reported by others as well, I suggest you to turn this option off in the settings of color picker, to fix it, please follow instructions in - #1

The same issie.

Can you please share logs from - go to this location - %appdata%\ColorPicker - clean all logs that you have there, try to replicate that issue afterwards and please share create log file here. Thanks!

@T1m3ch0 @nixprosoft @arnofly  I have made fixes in 1.1.2 release, please check it out


Migration from React Context to React Redux

Is your feature request related to a problem? Please describe.
Currently the project uses the create context and use Context i.e. context Api.  Yes context Api is great but it's good for small projects, React redux comes to play for large projects. The project is a open source. Using redux will be a great benefit. The one who want to work on this have complete the migration from context to redux. Before creating pr check the code once and pull the code. make sure you pr doesn't contain any conflicts.
Note
This not a beginner issue. It is not easy issue. anyone interested they can ask the here by mentioning admin to assign. After assigning start your work.
Priority
High

@Hemu21 I am already working on it

@Sid-80 i am assigning this to you , but you have to do it within , In a  single PR . level 3

Sure!


Add support for identifying authentication messages

The pgprotocol overloads 'p' messages with PasswordMessage,
SASLInitialResponse, SASLResponse, and GSSResponse. This patch allows
contextual identification of the message by setting the authType in the
frontend and then setting this value in the backend when a
AuthenticationResponseMessage is received. An example of usage is
provided in example/authident/authident.go.

There's a problem when running the tests.
jack@glados ~/dev/pgproto3 ±yulicrunchy-fix-scram » go test ./...
example/authident/authident.go:3:1: expected 'package', found 'func'

There's a problem when running the tests.
jack@glados ~/dev/pgproto3 ±yulicrunchy-fix-scram » go test ./...
example/authident/authident.go:3:1: expected 'package', found 'func'

Ah, this was just an example of usage. Is there a better place I can put this? I could make a section in the top level README and put this code snippet there if that works.

Is that example change all that is necessary to update pgmockproxy? Maybe we don't need the separate example if we update that project.

Is that example change all that is necessary to update pgmockproxy? Maybe we don't need the separate example if we update that project.

Yes, that's the only change to allow pgmockproxy to handle SCRAM auth. I'll drop the example from this repo and do a follow up PR after a pgproto3 tag.

@jackc just checking in. Is there anything I need to fix here? thanks!

Sorry for the delay. LGTM. Merged and v2.1.0 tagged.


Infix operators still not displaying correctly

Follow up on #6374. It appears that while backend support was added to and we send method pointer info for infix operators, they are still not being displayed correctly in GUI. Needs further investigation.

I think this needs some (probably simple) frontend work now that the frontend has the data. There's a bug for it: https://github.com/enso-org/enso/issues/7107

So, it's not engine's issue, and GUI already has a task for it, so this one I will close.


Feat: Request Hedging Tool

Most of our customers that want to reduce the tail latency are exposed to request hedging (add link) and we want to have a sample code that will help them to bootstrap their development.

Hi, I already have built an proof of concept code for this and happy to contribute to the community.


Add new appointment data model

Note: There are no advanced appointment reservations. The appointment is added only when the contact enters the clinic for their appointment.
Tentative fields

id: uuid

Automatically filled in on backend

ContactId: uuid

Foreign key link back to Contact ID

startDateTime: LocalDateTime

Added immediately (automatically) when the user keys the appointment in

endDateTime: LocalDateTime

Added manually (through an update to the appointment object)

Would be good to have a human-readable ID as well, if I am a counter clerk I don't think I would want to be searching for my 32 character UUIDs every time.

Would be good to have a human-readable ID as well, if I am a counter clerk I don't think I would want to be searching for my 32 character UUIDs every time.

Is there a use case where a counter clerk would search by id instead of name, number, address, other attributes of a person?


[dv-processing] 1.7.8 update

Update the dv-processing package to its latest 1.7.8 release.

[x] Changes comply with the maintainer guide
[x] SHA512s are updated for each updated download
[x] The "supports" clause reflects platforms that may be fixed by this new version
[x] Any fixed CI baseline entries are removed from that file.
[x] Any patches that are no longer applied are deleted from the port's directory.
[x] The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
[x] Only one version is added to each modified port's versions file.

@microsoft-github-policy-service agree company="iniVation AG"


4.14 URL query strings

Background
See pages 41-42 of report.
User Story
As user, I would like functionality so that benefit.
Users are: Candidate, Admin, Assessor, QT participant, Panellist, Digital team.
Benefit(s) to user (if not already clear from User story)
Feature(s) Description
Clearly describe the new functionality/change(s) to existing functionality.
Include a link to a Miro board/image if appropriate.

[ ] Feature

Acceptance Criteria
Specify the requirements of the primary user(s) for the change, update, or new feature - use the format:
It's done when...
Definition of Done

[ ] User stories/acceptance criteria met
[ ] Internal reviews passed (feedback actioned)
[ ] User testing passed
[ ] Relevant technical documentation updated
[ ] User guidance updated
[ ] Deployed and merged without errors

User Testing Steps
Specify for users what is being tested (but not how to test it.)
Feature Champion

We should consider design/ux implications of the necessary changes to address this issue.
Discussion with @nickaddy and @warrensearle TBC

@warrensearle @tomlovesgithub I have drafted a basic ticket based on our discussion earlier - pls feel free to add to it.


Add package source names for jsf

This commit adds names for the package sources registered for jsf.
The motivation for this is that currently the when policies are loaded it looks like jfs is loaded twice:
[INFO seedwing_policy_engine::lang::hir] loading jsf
[INFO seedwing_policy_engine::lang::hir] loading jsf

With the changes in the commit this will instead become:
[INFO seedwing_policy_engine::lang::hir] loading jsf::algorithm
[INFO seedwing_policy_engine::lang::hir] loading jsf::public-key

Signed-off-by: Daniel Bevenius<EMAIL_ADDRESS>

Out of date, this is no longer an issue.


tests and adding keywords for alter too

This PR add support for parsing the keyword TABLE_CHECKSUM as an alias for CHECKSUM as a valid table option.
Additionally, CHECKSUM and TABLE_CHECKSUM are added as valid keywords in alter statements as well.
Fix for: https://github.com/dolthub/dolt/issues/6645

fyi https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword


Fix links in CONTRIBUTING.md

Those links were broken

Current coverage is 96.12%

Merging #1237 into master will increase coverage by +0.02% as of 3ecc238

@@            master   #1237   diff @@
======================================
  Files           78      78
  Stmts         9170    9170
  Branches      1717    1717
  Methods          0       0
======================================
+ Hit           8813    8815     +2
+ Partial         92      91     -1
+ Missed         265     264     -1

Review entire Coverage Diff as of 3ecc238

Powered by Codecov. Updated on successful CI builds.

Arrgh. Note to myself: never ever copy-paste asciidoc to markdown
Thanks!

You are welcome :)


Create an autocompleting artist suggest interface

Get the data from echonest: https://musicmachinery.com/2011/03/17/create-an-autocompleting-artist-suggest-interface/
Perhaps use an already existing react component for the interface like this one: https://github.com/moroshko/react-autosuggest

http://blog.teamtreehouse.com/creating-autocomplete-dropdowns-datalist-element

Closing the issue for now.


Add full cpu implementation.

Hi Ziying.
Thanks for source code. Any chance add only full CPU implementation?

Yes, a 2D CPU implementation has been uploaded. Please take a look!

Thank you!!
вс, 7 июл. 2019 г. в 18:40, Ziyin Qu<EMAIL_ADDRESS>
Yes, a 2D CPU implementation has been uploaded. Please take a look!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ziyinq/Bimocq/issues/1?email_source=notifications&email_token=AABOIWLEBEYRXVQZWLFXTKDP6IL7HA5CNFSM4H4KA5G2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZLO7KQ#issuecomment-509013930,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AABOIWKST3O33F7SI7EE6H3P6IL7HANCNFSM4H4KA5GQ
.


Exception in analysis

I am running UVP 2.6.0 on a batch of MTB MiSeq data.
One of the results was assigned to the QC directory and the log file showed "Exception in analysis" for this data.
What does "Exception in analysis"  mean?

Check the log file in the output directory, it will give you the specific
reason for the exception.
On Wed, Dec 9, 2020 at 3:39 AM alantsangmb<EMAIL_ADDRESS>wrote:

I am running UVP 2.6.0 on a batch of MTB MiSeq data.
One of the results was assigned to the QC directory and the log file
showed "Exception in analysis" for this data.
What does "Exception in analysis" mean?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/CPTR-ReSeqTB/UVP/issues/34, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABJNQ332SZOMILBGCLILH23ST4ZT7ANCNFSM4UTEVX3Q
.


Feature request: Reduce need for Custom Code through additional Data Elements

Expected Behaviour
Launch should provide a way to build web properties in a sustainable manner and give easy access to basic functionality that almost every website needs through a friendly user interface. Those operations should be supported out-of-the-box without the need for error prone customization.
Actual Behaviour
When using Launch, we need to heavily rely on Custom Code Data Elements for a lot of simple things. Those include:

Gathering information about the Visitor, like their Operating System, Device Type, Browser- and Window Size, which are already available as conditions in rules but not as Data Elements.
Conditional values like simple "If... Then... Else..." rules, which return one or the other value based on a comparison. Currently comparisons are only possible in conditions for rules, but not for Data Elements.
Routine JavaScript operations like getting a substring from a string, replacing strings, matching regex, handling arrays, getting the current time, etc.

That brings all the potential issues of Custom Code (like additional files loading, errors, maintenance) and forces us to work in an unsustainable fashion. For example, I recently inherited a Launch property where >75% of the ~300 rules contained some form of custom code, which is basically unmaintainable in the long run.
The only way around this is for customers to create the above functionality in custom extensions, which puts the pressure of development and maintenance on the client and leads to a lot of basically identical private extensions without the potential for synergies.
I would be happy to help in creating those new Data Elements and have created https://github.com/frederikwerner/reactor-extension-core/tree/New-Data-Elements as a proposal of how things could look like.
Reproduce Scenario (including but not limited to)
N/A
Steps to Reproduce
N/A
Platform and Version
All
Sample Code that illustrates the problem
N/A
Logs taken while reproducing problem
N/A

@adobe export issue to Jira project PDCL as Story

We released the new data elements on v3.1.0.


chore(main): release 2.119.0

:robot: I have created a release beep boop
2.119.0 (2024-06-06)
Features

Improve API key UX (#4102) (1600ed7)

Bug Fixes

Add autocomplete for login (#4103) (5ffdd51)
announcement width (#4122) (f6ac4e5)
delete environment refreshing list (#4107) (902b3cd)
environment click sizes (#4104) (9d1622f)
Environment creating state (#4060) (652af8f)
Flag update scheduling (#4115) (e90d248)
Limit feature paging to 50 (#4120) (c14c3a8)
Protect inputs from autofill (#3980) (dad3041)
Reload integrations on create (#4106) (5155018)
save empty segment overrides request (#4112) (6dbcb4a)
show audit logs url (#4123) (bc256ee)
versioning: scheduled changes incorrectly considered live (#4119) (6856e64)
versioning: send live from when creating versions for change requests (#4116) (765b12a)
versioning: use version live from (#4118) (0345aff)

Infrastructure (Flagsmith SaaS Only)

reduce Sentry sampling rate (#4098) (da3f186)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/Flagsmith/flagsmith/releases/tag/v2.119.0 :sunflower:


[.NET Migration Guide Revamp] [Phase 1] Move page 'Port Windows Forms projects'

For details on revamp see: https://github.com/dotnet/docs/issues/23561
New TOC: https://github.com/dotnet/docs/issues/23215

[x] Port Windows Forms projects (MOVE) Move this page and its content to the new TOC location...

name: Migration guide
items:

name: Overview
href: ../core/porting/index.md
name: General Information
items:
name: Pre-Migration
items:
name: Migration
items:

name: Application Porting Guides
items:

name: Windows Forms
href: /dotnet/desktop/winforms/migration/?view=netdesktop-5.0

Completed with #24630


Uninstall pkg on Mac

Looking for an uninstallation script or a method to completely remove kong and its dependencies from Mac if not installed through Brew.
Having lot of installation issues with Kong on Mac using pkg and brew. Brew has an additional issue that I am encountering. A ticket on Mashape/homebrew-kong already exists https://github.com/Mashape/homebrew-kong/issues/39

Have you found a clean method to uninstall the package? I have just installed it and Kong doesn't start because of the following :
Error: error loading module 'crypto' from file '/usr/local/lib/lua/5.1/crypto.so':
dlopen(/usr/local/lib/lua/5.1/crypto.so, 6): Library not loaded: /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib
Referenced from: /usr/local/lib/lua/5.1/crypto.so
Reason: image not found
Run with --v (verbose) or --vv (debug) for more details

I also faced issue of removing Kong completely on Mac OS. I used following command:
sudo rm -rf /etc/kong /usr/local/Cellar/luarocks/2.4.0/share/lua/5.1/kong /usr/local/kong /usr/local/lib/luarocks/rocks/kong

Considering this answered as per @vaibhavatul47's comment.


chore: refactor the process of annotations

Please answer these questions before submitting a pull request
This Pull Request refactored the process about annotations, it abstracts two interfaces:
// Extractor encapsulates some auxiliary methods to extract annotations.
type Extractor interface {
	// GetStringAnnotation returns the string value of the target annotation.
	// When the target annoatation is missing, empty string will be given.
	GetStringAnnotation(string) string
	// GetStringsAnnotation returns a string slice which splits the value of target
	// annotation by the comma symbol. When the target annotation is missing, an empty
	// slice (not a nil slice) will be given.
	GetStringsAnnotation(string) []string
	// GetBoolAnnotation returns a boolean value from the given annotation.
	// When value is "true", true will be given, other values will be treated as
	// false.
	GetBoolAnnotation(string) bool
}

// Handler abstracts the behavior so that the apisix-ingress-controller knows
// how to parse some annotations and convert them to APISIX plugins.
type Handler interface {
	// Handle parses the target annotation and converts it to the type-agnostic structure.
	// The return value might be nil since some features have an explicit switch, users should
	// judge whether Handle is failed by the second error value.
	Handle(Extractor) (interface{}, error)
	// PluginName returns a string which indicates the target plugin name in APISIX.
	PluginName() string
}

With the help of these two interfaces, each annotation handler can be implemented independently and hide its details. Also, now annotations process is also integrated into Ingress.

Why submit this pull request?

[ ] Bugfix

[ ] New feature provided

[x] Improve performance

[ ] Backport patches

Related issues
https://github.com/apache/apisix-ingress-controller/issues/442

Codecov Report

Merging #443 (5ad1e4c) into master (b0a6f3e) will decrease coverage by 0.00%.
The diff coverage is 71.42%.

@@            Coverage Diff             @@
##           master     #443      +/-   ##
==========================================
- Coverage   37.02%   37.01%   -0.01%
==========================================
  Files          44       46       +2
  Lines        3800     3836      +36
==========================================
+ Hits         1407     1420      +13
- Misses       2216     2232      +16
- Partials      177      184       +7

Impacted Files
Coverage Δ

pkg/kube/translation/apisix_route.go
42.71% <0.00%> (ø)

pkg/kube/translation/annotations.go
36.36% <30.00%> (+36.36%)
:arrow_up:

pkg/kube/translation/ingress.go
87.33% <53.84%> (-3.58%)
:arrow_down:

pkg/kube/translation/annotations/cors.go
100.00% <100.00%> (ø)

pkg/kube/translation/annotations/iprestriction.go
100.00% <100.00%> (ø)

pkg/kube/translation/annotations/types.go
100.00% <100.00%> (ø)

pkg/apisix/cluster.go
27.27% <0.00%> (-5.63%)
:arrow_down:

pkg/apisix/route.go
33.08% <0.00%> (-2.21%)
:arrow_down:

... and 1 more

Continue to review full report at Codecov.

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

@tao12345666333 @gxthrj