Better test package example

It would be great if your test package executables do real stuff with the library.
This is an example.

Obviously I don't want to disagree on small stuff and cause any unneeded debate :)  However, we've talked a lot about supporting these packages at scale.  We've already discovered several challenges, and have come to think better of doing this kind of thing.  We've written all our tests using this strategy, so it's a big and important topic for future.  Here's a quick summary, let me know your thoughts.
Experience thus far:
As we've porting old recipes from conan transit and other places, we've found that library API's get breaking changes a lot. Many of the test_packages were no longer valid, and extensive samples like this are prone to break.  They're also harder to make work and debug when they do.
Limitation of scope:
Both from a best-practice, maintainability, and scalability perspective, testing the bare minimum in a test is an important priority.  IMO, the purpose of the test_package is "To prove that linking and including works".  Unfortunately, libraries are just way too complex for test_package to prove that linking of ALL .lib files work, so no matter what, it will always be limited in depth.  However, this should be the focus.
Demonstrating Use
I think expanding the scope to "Providing an example of how to use a library" is unadvisable.  I think it's much the same as running unit tests during packaging, which the Conan team has stated several times is not recommended.  The library maintainers have the challenging job of maintaining current and working examples in their documentation to demonstrate use to their users.  When we copy/paste their examples into our recipe, we take on the responsibility of demonstrating use unnecessarily, and ineffectively at that.  Showing a user one or two API's from a library is not enough to use it.  They'll have to go to the documentation anyway almost 100% of the time.
Summary
We're looking on the horizon at the maintenance of large volumes of packages, and there is a sobering reality that as these libs change, it's going to be hard to keep up with updates. For a library author who also maintains their own Conan package,  spending time trying to make really nice instructive test_packages, sounds nice and might be maintainable.  It doesn't hurt in that case.  For us, I feel we need to focus on the bare minimum for a unit test of the package.

Ok! Good and valid reasons given that you are supporting many many packages.
Probably for single contributor I would recommend again to introduce a real example of usage.


WIP: Migrate storage to jetstream.KeyValue

Compilation passes, but tests are failing. Need more time to debug
@ripienaar what do you think about this update? :thinking:

@ripienaar :roll_eyes:


enhancement : allow config file path as an URL

Description:
It would be nice to be able to provide a config file as an url !
If the config API can use a url path to the file it would be easy to use the Spring cloud config server combined with ballerina and it would rock. Or any url based config system.
Suggested Labels (optional):
config integration usability
Thanks
Cyril

@crognon Thanks for the suggestion and we will consider this for one of our future release. In case you are interested, you can consider contributing for this feature.
[1] https://ballerina.io/open-source/
[2] https://github.com/ballerina-platform/ballerina-lang/blob/master/CONTRIBUTING.md


Clarify supported domain

Currently Azure Percept supports "General (Compact)" domain only and other domains including "General (Compact) [S1]" are not supported. This fact needs to be mentioned in the public documentation.

@nkgami : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#label:"aq-pr-triaged"

#sign-off


Alice/448

I/O power button on initialization cell. Please, check

:+1:
i will merge this as it is.  but please make another PR with these improvements:

if the code is hidden, then show this indicator in the summary of the code, to the right of the number of lines.
if you click on the indicator, bring up a menu with one item that says "disable initialization"


Importing LXML fails (Python 3.6)

Hi everyone,
I'm working on a lambda that will makes use of LXML. When running the lambda in AWS I noticed the following error message: Unable to import module 'service': cannot import name 'etree'. It seems this is because "LXML must be built with C extensions for libxml2 and libxslt in a way that plays well with the Amazon Lambda execution environment."
Has anyone else run into this issue?
source: https://www.azavea.com/blog/2016/06/27/using-python-lxml-amazon-lambda/

Yes, I've run into this type of issue before. You have 2 issues.

Your c extension must be compiled for Amazon linux. There are 2 ways to solve this.
a. spin up an ec2 instance and deploy from there.
b. create a docker container and develop and deploy from the container.(this is how I do it) Here's a quick and dirty Dockerfile: https://gist.github.com/jmeekhof/f226a8e148f345c71e8c0f87123ee8bf

Your second issue is you need to be able to deploy your compiled object with your lambda function. Right now, this project doesn't have a way to automate the additional objects.  Your best workaround is to lambda build and then using a zip utility add the necessary shared libraries, and manually deploy. Here's a good write up on this process: http://www.perrygeo.com/running-python-with-compiled-code-on-aws-lambda.html

Hi Josh, I appreciate the help.
I'm working on the Docker solution you mentioned but I'm running into some issues with permissions within the container. When execution lambda build within the container it's unable to create the .zip due to not having write permissions in the mounted code directory.
Any suggestions?
Thanks,
Nick

Nick,
So the volume you're mounting into your code directory should be a real directory on your host machine. If it's not real or you don't have permissions for it on your host, it won't work. Can you share the docker command you are using to run this?

Josh,
I've got permissions for the local code directory and it's the proper path to the root of the project (doing an ls within the container I can see the contents). Here's the command.
docker run -it -v \
~/Projects/fdd-collector:/home/dev/code \
-v ~/.aws:/home/dev/.aws \
-v ~/.gitconfig:/home/dev/.gitconfig \
simple.lambda

I was doing some more research and it seems that it's probably due to my Docker setup. My team is using an older flavour of Docker (Boot2Docker) for some other projects which is likely where the issue is coming from. We really need to update to Docker for Mac but there were some complications and performance issues the last time we tried so we've been putting it off.
Thanks again,
Nick

You always have the option of spinning up an ec2 instance, checking out your code, pip install, deploy from there too. For my time, I'll always go the docker route. ;-)
Can we close this issue?
Josh

Will do Josh.
Cheers,
Nick


haiku: Fix consumers by removing unsupported TOS calls

doing this in hopes of an eventual 0.4.11 :-)     A lot of stuff depends on socket2 0.4.10 which breaks a lot of crates on Haiku

note: Targeting 0.4.x here.  If there are no plans for any more 0.4.x version releases, please ignore and close.

Is this already in v0.5? If not please target that and I'll backport.

Ok.  These are all in 0.5.  :+1:

It's fine to go in to v0.4, I just want to make sure we're not losing attributes going from v0.4 to v0.5.


Wip manifestjob

@ondrejbudai https://gitlab.com/osbuild/ci/osbuild-composer/-/jobs/1774028584 seems to work ; the "data" type just needs to be swapped out for something obscure and needs to be dequeued by id.

I split out the cloudapi part for a later revision. That way we won't break the stage deployment if we merge this, and can update the workers before merging the followup https://github.com/Gundersanne/osbuild-composer/tree/v2-manifestjob

ugh added the cloudapi stuff back in :facepalm:

Thanks a lot!

Thank you for the tricky queue stuff!


feat: Set cache keys as span descriptions

When possible, set the cache key as the span description when tracing the Symfony cache.
closes #619

Hey @cleptric. I stumbled upon the linked issue and your proposed solution looks nice. Any chance this gets merged soon?

@michaelzangerle Would you mind trying it in one of your apps and reporting back?

@cleptric I just gave it a try and it already looks so much better and clearer in Sentry especially if you have very long list of cache get / save calls.

Seeing CLASSMETADATA helps a lot
I guess things like this rApp.Workflow.Config.Message.Response.WorkflowConfigResponse..id are related to the serializer and I have a lot of those in my traces (maybe there is a way to limit this)
The only place where it still shows the span id seems to be when cache.save is called


Submit Score not sending score with request

I notice the following errors occasionally in my console log. I'm passing the score with the request. Notice how the request body doesn't show the score, just a member_id.
ServerRequest POST URL: https://wt5cbcoj.api.lootlocker.io/game/leaderboards/Easy/submit
UnityEngine.Debug:Log (object)
LootLocker.LootLockerBaseServerAPI/<>c__DisplayClass8_0/<g__coroutine|0>d:MoveNext () (at Assets/LootLockerSDK/Runtime/Client/LootLockerBaseServerAPI.cs:74)
UnityEngine.SetupCoroutine:InvokeMoveNext (System.Collections.IEnumerator,intptr)
REQUEST BODY = {"member_id":"mymemberid"}
UnityEngine.Debug:Log (object)
LootLocker.LootLockerBaseServerAPI:CreateWebRequest (string,LootLocker.LootLockerServerRequest) (at Assets/LootLockerSDK/Runtime/Client/LootLockerBaseServerAPI.cs:297)
LootLocker.LootLockerBaseServerAPI/<>c__DisplayClass8_0/<g__coroutine|0>d:MoveNext () (at Assets/LootLockerSDK/Runtime/Client/LootLockerBaseServerAPI.cs:77)
UnityEngine.SetupCoroutine:InvokeMoveNext (System.Collections.IEnumerator,intptr)
Server Response: 400 leaderboards/Easy/submit completed in 0.0000 secs.
Response: {"error":"Bad Request","message":"score is required in input","request_id":"9a811fcf-387d-4b4e-8fb9-97f25ad21b62","trace_id":"6ecf1f1a3a8f38eec436369ee32e81bd"}
UnityEngine.Debug:Log (object)
LootLocker.LootLockerBaseServerAPI/<>c__DisplayClass8_0/<g__coroutine|0>d:MoveNext () (at Assets/LootLockerSDK/Runtime/Client/LootLockerBaseServerAPI.cs:107)
UnityEngine.SetupCoroutine:InvokeMoveNext (System.Collections.IEnumerator,intptr)
It's not a showstopper. And it doesn't happen very often.
Update 2023-06-19: It looks like a score of 0 causes this issue.

I'd like to add details to this problem.
When a player wants to delete his entry, the delete player Api takes up to 30 days to delete the player from the system. The player continues to see his score, even though he requested to be deleted.
So, the app sends a score of 0. That moves the player to the end of the top ten list, and he won't see his score. I suppose I could send a score of 1 in this case. And I will in the next release.

I'd like to add details to this problem.
When a player wants to delete his entry, the delete player Api takes up to 30 days to delete the player from the system. The player continues to see his score, even though he requested to be deleted.
So, the app sends a score of 0. That moves the player to the end of the top ten list, and he won't see his score. I suppose I could send a score of 1 in this case. And I will in the next release.

Please be advised that after deleting a player you should invalidate their session signing them out. A new login or continuous action on that player is seen as a revert of the "delete player" request.
We will look into the 0-score problem.


Problem with object counting

Hi, I'm trying to make an object counter with a yolo v8 model that I trained localy but when I try to adapt your code I get this error: IndexError: too many indices for tensor of dimension 2, on this line of code: if prediction['class'] in target_classes: inside the count_objects function.
Here is my code:
def count_objects(predictions, target_classes):
    """
    Helper method to count the number of objects in an image for a given class
    :param predictions: predictions returned from calling the predict method
    :param target_class: str, target class for object count
    :return: dictionary with target class and total count of occurrences in image
    """
    object_counts = {x:0 for x in target_classes}
    for prediction in predictions:
        if prediction['class'] in target_classes:
            object_counts[prediction['class']] += 1
        elif prediction['class'] not in target_classes:
            object_counts[prediction['class']] = 1

    present_objects = object_counts.copy()

    for i in object_counts:
        if object_counts[i] < 1:
            present_objects.pop(i)

    return present_objects

predictions = model.predict(source = "folderImages", conf = 0.6)
class_counts= count_objects(predictions, model.names)

print('/n', "Class Counts:", '/n')
print(class_counts)

This repository will work for your YOLOv8 predictions if you upload the model weights to Roboflow for Roboflow Deploy.
YOLOv8 model weights not hosted with Roboflow for Roboflow Deploy for Hosted Inference API, web browser, edge device, or local deployment, will not process inference with the current code in this repository.
You will want to use Supervision in this case: https://github.com/roboflow/supervision

supervision/detection/core: https://roboflow.github.io/supervision/detection/core/
supervision/detection/utils: https://roboflow.github.io/supervision/detection/utils/
supervision/detection/annotate: https://roboflow.github.io/supervision/detection/annotate/

There are 2 great tutorials here for using Supervision:

Detect and Count Objects in Polygon Zone with YOLOv5 / YOLOv8 / Detectron2 + Supervision
Track and Count Vehicles with YOLOv8 + ByteTRACK + Supervision

Supervision-versions of the code in this repo will be adding over the next few weeks.


[question] screenpipe-app-tauri run bun install failed in china.

I tried using the HTTP_PRXOY environment variable and then running bun install. But it still fails to download the packages.
wqlxx@wqlxx_pc:~/screenpipe/screenpipe-app-tauri$ bun install
bun install v1.1.30 (7996d06b)
  🔍 Resolving [1/1]

I also try to change bunfig.toml to
wqlxx@wqlxx_pc:~/screenpipe/screenpipe-app-tauri$ cat bunfig.toml
[install]
registry = "http://registry.npm.taobao.org"

but this change did not take effect

Not HTTP_PRXOY
instead of HTTP_PROXY
Maybe try proxy tool.

I tried using the HTTP_PRXOY environment variable and then running bun install. But it still fails to download the packages.
wqlxx@wqlxx_pc:~/screenpipe/screenpipe-app-tauri$ bun install
bun install v1.1.30 (7996d06b)
  🔍 Resolving [1/1]

I also try to change bunfig.toml to
wqlxx@wqlxx_pc:~/screenpipe/screenpipe-app-tauri$ cat bunfig.toml
[install]
registry = "http://registry.npm.taobao.org"

but this change did not take effect

you need to use a vpn for setting up dev i guess
funny to see this as im reading Alibaba biography right now (taobao)

Not HTTP_PRXOY
instead of HTTP_PROXY
Maybe try proxy tool.

Sorry, I made a spelling mistake when describing the problem.

I tried using the HTTP_PRXOY environment variable and then running bun install. But it still fails to download the packages.
wqlxx@wqlxx_pc:~/screenpipe/screenpipe-app-tauri$ bun install
bun install v1.1.30 (7996d06b)
  🔍 Resolving [1/1]

I also try to change bunfig.toml to
wqlxx@wqlxx_pc:~/screenpipe/screenpipe-app-tauri$ cat bunfig.toml
[install]
registry = "http://registry.npm.taobao.org"

but this change did not take effect

you need to use a vpn for setting up dev i guess
funny to see this as im reading Alibaba biography right now (taobao)
 registry = "http://registry.npm.taobao.org"  is effective when installed with npm install, and can help me speed up downloads.However, it is invalid when using the bun install command.


What's the error "unsafe legacy renegotiation disabled" really mean?

Hello,
when executing the command below I've the following output:
Command
openssl s_client -connect somehost.com.br:443 -tls1_2

Output
CONNECTED(00000003)
804B1EBA547F0000:error:0A000152:SSL routines:final_renegotiate:unsafe legacy renegotiation disabled:../ssl/statem/extensions.c:879:
---
no peer certificate available
---
No client certificate CA names sent
---
SSL handshake has read 3058 bytes and written 231 bytes
Verification: OK
---
New, (NONE), Cipher is (NONE)
Secure Renegotiation IS NOT supported
Compression: NONE
Expansion: NONE
No ALPN negotiated
SSL-Session:
    Protocol  : TLSv1.2
    Cipher    : 0000
    Session-ID:
    Session-ID-ctx:
    Master-Key:
    PSK identity: None
    PSK identity hint: None
    SRP username: None
    Start Time:<PHONE_NUMBER>
    Timeout   : 7200 (sec)
    Verify return code: 0 (ok)
    Extended master secret: no
---

As you can see in the output, Secure Renegotiation IS NOT supported, but the error says something about unsafe legacy renegotiation. What it means?
A) That openssl cannot call this host because Secure Renegotiation IS NOT supported
B) That openssl cannot call this host because it's using the Legacy Renegotiation
Assuming the answer is B, if they disable Legacy Renegotiation will the first command work?
P.S¹: I'm using OpenSSL 3.0.2.
P.S²: I know that if I add the parameter -legacy_renegotation it will work, I just need to understand the failure reason behind the first command.

TLSv1.2 (and earlier) support the concept of renegotiation. In 2009 (i.e. after the TLSv1.2 RFC was published), a flaw was discovered with how renegotiation works that could lead to an attack. After the attack was discovered a fix was deployed to all TLS libraries. In order for the fixed version of renegotiation to work both the client and the server need to support it.
The original (unfixed) version of renegotiation is known as "unsafe legacy renegotiation" in OpenSSL. The fixed version is known as "secure renegotiation". So either a peer does not have the fix, in which case it will be using "unsafe legacy renegotiation", or it does have the fix in which case it will be using "secure renegotation".
So your (A) and (B) are actually the same thing.
If the server starts supporting secure renegotiation then the command will start to work.

How can I turn this off? TL;DR fresh install of python 3.12 is broken, cannot install any packages with Pip due to this error.  Cannot upgrade Pip due to this error.

How can I turn this off?

Try this (I've not tested this):

Create a config file that looks like this:

openssl_conf = default_conf

[ default_conf ]

ssl_conf = ssl_sect

[ssl_sect]

system_default = ssl_default_sect

[ssl_default_sect]

Options = UnsafeLegacyRenegotiation

Run pip using that OpenSSL config file:

OPENSSL_CONF=/path/to/the/config/file/above.cnf pip ....whatever...

How can I turn this off? TL;DR fresh install of python 3.12 is broken, cannot install any packages with Pip due to this error. Cannot upgrade Pip due to this error.

I would be pretty surprised if pip's servers do not support this 13-year-old extension. Can you post the error?
Are you connecting through some TLS-terminating proxy? Sometimes antivirus, firewall, or enterprise networking products will terminate TLS. In that case, it would be good to identify the vendor of the defective product and get them to implement the extension in the long run.

How can I turn this off? TL;DR fresh install of python 3.12 is broken, cannot install any packages with Pip due to this error. Cannot upgrade Pip due to this error.

I would be pretty surprised if pip's servers do not support this 13-year-old extension. Can you post the error?
Are you connecting through some TLS-terminating proxy? Sometimes antivirus, firewall, or enterprise networking products will terminate TLS. In that case, it would be good to identify the vendor of the defective product and get them to implement the extension in the long run.

Thanks for the quick response! You are correct - SSL Inspection at the firewalls.  SSL inspection or not, it seems there still exists a requirement to have some control over the terminating end in order to remediate the issue. At least as far as I can tell. I plan to investigate more this afternoon if time permits.

What is the SSL inspection product you are using? (Vendor and product version.) The config file flip may be usable as a temporary workaround, but the renegotiation bug is over 13 years old. It's well past time the vendor be informed and implement the fix.

Looks like you need to update to 10.2.5 or later:
https://docs.paloaltonetworks.com/pan-os/10-2/pan-os-release-notes/pan-os-10-2-5-known-and-addressed-issues/pan-os-10-2-5-addressed-issues

PAN-184630 | Fixed an issue where TLS clients, such as those using OpenSSL 3.0, enforced the TLS renegotiation extension (RFC 5746).

Looks like you need to update to 10.2.5 or later: https://docs.paloaltonetworks.com/pan-os/10-2/pan-os-release-notes/pan-os-10-2-5-known-and-addressed-issues/pan-os-10-2-5-addressed-issues

PAN-184630 | Fixed an issue where TLS clients, such as those using OpenSSL 3.0, enforced the TLS renegotiation extension (RFC 5746).

I'll acknowledge this as an answer since it is technically correct, but the bigger issue still stands that users shouldn't be left in the dust waiting on server-side issues they have no control over.  Thanks!

https://github.com/openssl/openssl/issues/21296#issuecomment-1810043699 already answered what to do in the short term, no?
It is understandably frustrating when a deployment gets hit by changes to a default. At the same time, it takes changes like this to plug security risks. Here, clients cannot be sure they're protected against the renegotiation bug without enforcing the extension is present. As much as it's bad to break deployments that are (13 years!) behind, it's also bad to leave the vast majority of correct deployments unprotected.
If there were a mechanism to phone up every TLS deployment and remind them to apply some 13-year-old fix before making the change, that would be amazing. Sadly, there isn't. Absent that, the best one can do is wait until the balance has shifted and flip the default.
That will invariably break the stragglers, like Palo Alto Networks here, that didn't get the memo. (Evidently PAN, despite shipping a TLS product, have not paying attention to industry-wide developments in TLS for the past 13 years...) So you provide a short-term mechanism to turn it back off. But since the goal is, ultimately, to get everyone into the safe configuration, the response to such an incident is always two fold:

Here is the knob to you can toggle to fix it in the short term (@mattcaswell's response)
Here is what your server should be doing to avoid needing the knob in the long term (my response)

Both tracks are important. Yes, it's expected the long-term fix will take time. That's why the short-term fix is available. But all the more reason to get the ball rolling on the long-term fix too. I asked for the vendor information above to do just that:

If it happened that PAN hadn't provided a fix yet, I would have reached out to them to get them to fix it
It turned out they had provided a fix, so hopefully now that you know it's 10.2.5, that will make the long-term fix easier for your deployment

(I should note that I'm not speaking on behalf of OpenSSL here. But I often manage such decisions in Chrome, so I thought I'd elaborate a bit on how these go, and why I tried to identify buggy product. Indeed I hope we can require this extension in Chrome  in the future. Though, with the current numbers, I think I need to do some more outreach before it's viable on the web, regrettably.)

Great write up @davidben !
It looks like TLS-1.2 will be obsolete earlier than all the deployments of servers (or firewalls) which do not support this extension will be updated.

@davidben  totally agree with your response, it is definitely two-fold.  I actually don't have an issue forcing users to the new method, my concern is this workaround being labeled "not recommended" and yet it is the only workaround seen over and over again across the web. I appreciate your write-up and I think it will definitely help others in my position.
@t8m  you are spot-on.  Just look at Microsoft: Windows and how they are just now disabling TLS 1.0 / 1.1 in Windows as of August 2023.  Another example of Microsoft: Azure Front Door that doesn't even support TLS 1.3 as of today.

Considering that almost all TLS 1.2 implementations implement the extension, and TLS 1.3 doesn't need the extension, it is not actually possible for that to be true. The number of servers that need unsafe renegotiation is much, much lower than the number of servers that need TLS 1.2.

What I wrote above was not meant to be fully serious. And by TLS-1.2 being obsolete I meant it will be marked as obsolete by IETF RFC the same way as 1.1 and 1.0 is. I did not mean by that it won't be used on public internet at all.

I get this error when I try to download a file from python code, or with wget. how can I fix this for python?

For python fix, see this answer on stackoverflow.

If anyone is running into this issue on Windows, the only way I could get anything to pick up the OPENSSL_CONF environment variable was by installing Powershell 7.x.  Prior to installing Powershell 7, setting the environment variable had no effect. After installing Powershell 7, I had success in both shells.
This is a fresh image where the only installs were:

Python 3.12 (via installer)
Powershell 7 (via winget)
Git for Windows (via winget)

Note: openssl is not installed, it's bundled with Python 3.12
I set the environment variable via $env:OPENSSL_CONF="path/to/openssl.cnf"
Hope this helps!

Closing since this is marked as resolved.


Updated helcom handler, updated SanitizeLonLatCB callback

Updated Helcom handler

I added unit test on the SanitizeLonLatCB callback. Let's see how to automate test where needed.
I have merged the Helcom handler as well. I think we'll need to check each step. Might need to be updated also to take into account enum types, NA values, ... Will brief you


Enable read-only view of workflow diagrams

With this commit, you will no longer be able to modify a workflow unless you've enabled write access.

This addresses #81

@zackgalbreath I updated the app logic a little so editable state changes with the Edit button (required full reset of the view when editable changes but I think that's ok), see my latest commit. I see that connections can be made only when in edit mode, as well as step deletion, which is good. Please also disallow moving workflow components when not editable.

@jeffbaumes, PTAL & let me know if this PR needs any more tweaks before merging.

LGTM :balloon:


nix: add missing hwdata dependency

Describe your PR, what does it fix/add?
Adds missing hwdata to the nix build.
Is there anything you want to mention? (unchecked code, possible bugs, found problems, breaking compatibility, etc.)
No
Is it ready for merging, or does it need work?
Yes

I don't see it being missing. It most likely comes from wlroots.buildInputs already.

Broken by https://github.com/NixOS/nixpkgs/pull/292415/commits/3175915a176486dc96bcdecb752549cfea264c8b. Maybe the proper thing to do is to propagate nativeBuildInputs as well?

Propagating nativeBuildInputs works. Added that in a more general commit (c7fbc30b).

Thanks for the explanations!


Conflict with chrisbra/changesPlugin

environment

vim: MacVim Snapshot 162 (Vim patch 8.2.319)

vim-airline:

185bcc5e886e424e827d20eef762458a7ea4dede - doesn't have the problem
74ca43a9b66a8fa6c01c3d7c51bbb034622eedf2 and later has the problem

What is your airline configuration:

let g:airline_powerline_fonts = 1
let g:airline#extensions#tabline#enabled = 1

if you are using Neovim:

does it happen in Vim: NO. Everything works in Neovim (I'm using VimR)

actual behavior
If I start vim with changesPlugin plugin enabled, then the cursor gets stuck in the top leftmost corner, blinking as a mad, and it's not possible to move it or to do anything.
So I either have to disable the changesPlugin or to pin airline to 185bcc5e886e424e827d20eef762458a7ea4dede
Here is the configuration for the changesPlugin
let g:changes_use_icons=0
let g:changes_linehi_diff=1

Hm, I noticed something similar. Did you also update the changesplugin?

I'm using the vim-plug, so I assume I'm on the latest commit for the changesplugin

Well, you might still need to run :PlugUpdate or something similar to get the latest commit, no?

I do that quite often, that's how I've found this issue
~/.vimplug/changesPlugin on  master
❯ git log
commit a9a4fd116efe93e5e9e9dbbc3d7dfe89cd1895db (HEAD -> master, origin/master, origin/HEAD)
Author: Christian Brabandt<EMAIL_ADDRESS>Date:   Sun Mar 29 19:17:55 2020 +0200

    Update diff, when calling getStats function

commit 6bf2c356875dffc61f27fac24fdcdc2d11f14554 (grafted)
Author: Christian Brabandt<EMAIL_ADDRESS>Date:   Tue Jul 16 17:43:37 2019 +0200

    Correctly undefine list of signs

Hm, interesting. It only happens with MacVim but not with regular Vim? I think this is a bug of the changesplugin, so can we move this to https://github.com/chrisbra/changesplugin?
Thanks.

@chrisbra do you want me to create a new one or we can move this one?

it looks like this does only allow to  transfer within the vim-airline organization, I cannot select my own repositories. So please create a new one.


Yahoo Mail not available

Despite being on the compatible services list in the website I can't find it in the app both in linux (ubuntu) and windows 10. Any status updates or workarounds would be greatly appreciated, thanks.

Despite being on the compatible services list in the website I can't find it in the app both in linux (ubuntu) and windows 10. Any status updates or workarounds would be greatly appreciated, thanks.

I can confirm the same behaviour although the rcipe is there for 6 months: https://github.com/getferdi/recipes/tree/master/recipes/yahoo-mail
You can try to download the recipe and add it locally as a workaround. Additional information about how to do that, can be found here: https://help.getferdi.com/services

Just saw, that the last realease is older then the recipe which is why it is not yet added to ferdi. So you may want to use the workaround till next release and then it should be there.

I authored the yahoo-mail recipe, and its been working flawlessly (but I am running the beta/nightly version of Ferdi).

@JoelGalaxy @1Maxnet1 - can you please follow the steps outlined here to replace the recipes on your local machine? Please note that you will have to be running 5.6.0 beta or nightly version of Ferdi for these versions of the recipes to work. Please report back as to whether this fixes the problem for you. Thanks for trying out/using Ferdi!

@JoelGalaxy @1Maxnet1 - can you please follow the steps outlined here to replace the recipes on your local machine? Please note that you will have to be running 5.6.0 beta or nightly version of Ferdi for these versions of the recipes to work. Please report back as to whether this fixes the problem for you. Thanks for trying out/using Ferdi!

Sorry but I won't switch to nightly any time soon.

Just saw, that the last realease is older then the recipe which is why it is not yet added to ferdi. So you may want to use the workaround till next release and then it should be there.

But as I said here, it is expected that the Yahoo Mail is not available yet in stable, as the latest release is older then the recipe. So it should easily become available, when a new release will be released: https://github.com/getferdi/ferdi/issues/1017
Imho this issue is already solved


fix potential deadlock that can occur in addConsumer

Motivation
We have observed a deadlock that happens when consumers are added because isConsumersExceededOnTopic and isConsumersExceededOnSubscription are blocking calls even though addConsumer is called in async fashion
Modifications
Make the calls isConsumersExceededOnTopic and isConsumersExceededOnSubscription nonblocking by only getting the data from cache and not going to ZK.   There can be instances when the data is stale but it should be rare since the data is like already in cache.  The more permanent solution would be to make those calls async and addConsumer async but that requires a big change.  We are currently in the process of refactoring the MetadataStore interfaces so lets hold off on those big changes until that process is done.

retests this please

retest this please

rerun java8 tests
rerun integration tests

Do we need to modify other dispatchers (such as PersistentDispatcherSingleActiveConsumer) in the same way?

can you add stacktrace where you have observed deadlock.

@rdhabalia sorry I can't find the original jstacks dumps

@rdhabalia
"ForkJoinPool.commonPool-worker-269" #1005072 daemon prio=5 os_prio=0 tid=0x00007f9c94010800 nid=0x7f12 waiting on condition [0x00007f9c602c8000]
 5389    java.lang.Thread.State: TIMED_WAITING (parking)
 5390         at sun.misc.Unsafe.park(Native Method)
 5391         - parking to wait for  <0x00000007767804e8> (a java.util.concurrent.CompletableFuture$Signaller)
 5392         at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
 5393         at java.util.concurrent.CompletableFuture$Signaller.block(CompletableFuture.java:1695)
 5394         at java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3313)
 5395         at java.util.concurrent.CompletableFuture.timedGet(CompletableFuture.java:1775)
 5396         at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1915)
 5397         at org.apache.pulsar.zookeeper.ZooKeeperDataCache.get(ZooKeeperDataCache.java:95)
 5398         at org.apache.pulsar.broker.service.persistent.PersistentDispatcherMultipleConsumers.isConsumersExceededOnSubscription(PersistentDispatcherMultipleConsumers.java:177)
 5399         at org.apache.pulsar.broker.service.persistent.PersistentDispatcherMultipleConsumers.addConsumer(PersistentDispatcherMultipleConsumers.java:145)
 5400         - locked <0x000000068e2dfad8> (a org.apache.pulsar.broker.service.persistent.PersistentDispatcherMultipleConsumers)
 5401         at org.apache.pulsar.broker.service.persistent.PersistentSubscription.addConsumer(PersistentSubscription.java:225)
 5402         - locked <0x000000068e2dec90> (a org.apache.pulsar.broker.service.persistent.PersistentSubscription)
 5403         at org.apache.pulsar.broker.service.persistent.PersistentTopic.lambda$subscribe$9(PersistentTopic.java:526)
 5404         at org.apache.pulsar.broker.service.persistent.PersistentTopic$$Lambda$671/51359314.accept(Unknown Source)
 5405         at java.util.concurrent.CompletableFuture.uniAccept(CompletableFuture.java:656)
 5406         at java.util.concurrent.CompletableFuture.uniAcceptStage(CompletableFuture.java:669)
 5407         at java.util.concurrent.CompletableFuture.thenAccept(CompletableFuture.java:1997)
 5408         at org.apache.pulsar.broker.service.persistent.PersistentTopic.subscribe(PersistentTopic.java:520)
 5409         at org.apache.pulsar.broker.service.ServerCnx.lambda$null$9(ServerCnx.java:697)
 5410         at org.apache.pulsar.broker.service.ServerCnx$$Lambda$629/738438293.apply(Unknown Source)
 5411         at java.util.concurrent.CompletableFuture.uniCompose(CompletableFuture.java:952)
 5412         at java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:926)
 5413         at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:474)
 5414         at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:1962)
 5415         at org.apache.pulsar.broker.service.schema.BookkeeperSchemaStorage.lambda$null$5(BookkeeperSchemaStorage.java:188)
 5416         at org.apache.pulsar.broker.service.schema.BookkeeperSchemaStorage$$Lambda$587/1869295206.apply(Unknown Source)
 5417         at java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:822)
 5418         at java.util.concurrent.CompletableFuture$UniHandle.tryFire(CompletableFuture.java:797)
 5419         at java.util.concurrent.CompletableFuture$Completion.exec(CompletableFuture.java:443)
 5420         at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
 5421         at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
 5422         at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
 5423         at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)

Many threads in the ForkJoinPool are waiting for lock 0x000000068e2dec90 that is locked by the above thread

Full jstack:
threads.txt

rerun integration tests

rerun integration tests
rerun java8 tests

rerun integration tests

rerun integration tests

rerun integration tests


Deploying models for inference?

First off, thank you for your work on this project!   I was wondering if there is a roadmap for the kale project?   I'm specifically interested in how it might be possible to deploy models for inference using kale and Kubeflow.   Are there any active development discussion groups that are open to the public?

Thanks for the response.


synced-folders type is not working properly

When I ran into bug#340 I changed my Vagrantfile to use rsync instead of nfs for the default override.vm.synced_ folder.
congif.vm.synced_folder ".", "/vagrant",type: "rsync"

However I still got the "No host IP was given to the Vagrant core NFS helper. This is
an internal error that should be reported as a bug." and my debug stack said:
DEBUG host: Searching for cap: nfs_installed
DEBUG host: Checking in: linux
DEBUG host: Found cap: nfs_installed in linux
 INFO host: Execute capability: nfs_installed [#<Vagrant::Environment: ~/project>] (linux)
 INFO synced_folders: Synced Folder Implementation: rsync
 INFO synced_folders:   - /tmp/vagrant-puppet-4/manifests: ~/project/manifests => /tmp/vagrant-puppet-4/manifests
 INFO synced_folders: Synced Folder Implementation: nfs
 INFO synced_folders:   - /vagrant: . => /vagrant
 INFO synced_folders: Invoking synced folder prepare for: rsync
 INFO synced_folders: Invoking synced folder prepare for: nfs
 INFO synced_folders: Invoking synced folder enable: nfs
ERROR warden: Error occurred: No host IP was given to the Vagrant core NFS helper. This is
an internal error that should be reported as a bug.
 INFO warden: Beginning recovery process...
 INFO warden: Calling recover: #<VagrantPlugins::AWS::Action::RunInstance:0x000000031c5a40>
 INFO warden: Recovery complete.
 INFO warden: Beginning recovery process...
 INFO warden: Recovery complete.
ERROR warden: Error occurred: No host IP was given to the Vagrant core NFS helper. This is
an internal error that should be reported as a bug.
ERROR vagrant: Vagrant experienced an error! Details:
ERROR vagrant: #<Vagrant::Errors::NFSNoHostIP: No host IP was given to the Vagrant core NFS helper. This is
an internal error that should be reported as a bug.>
ERROR vagrant: No host IP was given to the Vagrant core NFS helper. This is
an internal error that should be reported as a bug.
ERROR vagrant: /opt/vagrant/embedded/gems/gems/vagrant-1.6.5/plugins/synced_folders/nfs/synced_folder.rb:43:in `enable'
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/builtin/synced_folders.rb:90:in `block in call'
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/builtin/synced_folders.rb:87:in `each'
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/builtin/synced_folders.rb:87:in `call'
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/warden.rb:34:in `call'
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/builtin/provision.rb:80:in `call'
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/warden.rb:34:in `call'
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/warden.rb:95:in `block in finalize_action'
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/warden.rb:34:in `call'
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/warden.rb:34:in `call'
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/builder.rb:116:in `call'
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/runner.rb:66:in `block in run'
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/util/busy.rb:19:in `busy'
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/runner.rb:66:in `run'
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/builtin/call.rb:53:in `call'
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/warden.rb:34:in `call'
/home/scm/.vagrant.d/gems/gems/vagrant-aws-0.6.0/lib/vagrant-aws/action/connect_aws.rb:43:in `call'
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/warden.rb:34:in `call'
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/builtin/config_validate.rb:25:in `call'
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/warden.rb:34:in `call'
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/builtin/handle_box.rb:56:in `call'
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/warden.rb:34:in `call'
/disks/scm/home/scm/.vagrant.d/gems/gems/vagrant-triggers-0.5.0/lib/vagrant-triggers/action/trigger.rb:17:in `call'
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/warden.rb:34:in `call'
/disks/scm/home/scm/.vagrant.d/gems/gems/vagrant-triggers-0.5.0/lib/vagrant-triggers/action/trigger.rb:17:in `call'
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/warden.rb:34:in `call'
/disks/scm/home/scm/.vagrant.d/gems/gems/vagrant-triggers-0.5.0/lib/vagrant-triggers/action/trigger.rb:17:in `call'
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/warden.rb:34:in `call'
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/builder.rb:116:in `call'
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/runner.rb:66:in `block in run'
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/util/busy.rb:19:in `busy'
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/runner.rb:66:in `run'
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/machine.rb:196:in `action_raw'
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/machine.rb:173:in `block in action'
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/environment.rb:474:in `lock'
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/machine.rb:161:in `call'
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/machine.rb:161:in `action'
/opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/batch_action.rb:82:in `block (2 levels) in run'
 INFO interface: error: No host IP was given to the Vagrant core NFS helper. This is
an internal error that should be reported as a bug.
No host IP was given to the Vagrant core NFS helper. This is
an internal error that should be reported as a bug.
 INFO interface: Machine: error-exit ["Vagrant::Errors::NFSNoHostIP", "No host IP was given to the Vagrant core NFS helper. This is\nan internal error that should be reported as a bug."]
Build step 'Execute shell' marked build as failure

I still don't get why NFS is being invoked since supposedly I specified rsync for the default folder.
Vagrant 1.6.5
vagrant-aws 0.6.0

Same problem....
...
....
==> default: Machine is booted and ready for use!
No host IP was given to the Vagrant core NFS helper. This is an internal error that should be reported as a bug.

If you're only using AWS, you can work around this by disabling nfs like so:
config.nfs.functional = false


⚠ Bofrost.de has degraded performance

In b25bb81, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 817 ms

Resolved: Bofrost.de performance has improved in 66c8a1c after 6 minutes.


Increase memory limits for Cicero CI

16 GB -> 32 GB
Our builds have been failing with code 137 for a while, suggesting we're using more memory than allowed

Comments

Got the impression that changing the limits in this nix file won't have effect immediately, but want to check in case it does

Issue Number

The table on https://cicero.ci.iog.io/run/8646ff88-4889-4a33-a15b-2edbef8ff68f still shows "Memory Max | 16384 MB". 🤔
At the time of this writing, it looks like hydra.iohk.io is down. Rest in peace, let's hope that we can make this Cicero thing work for us.

Oh, random thought: Is the pr/ci action currently running integration tests? We may want to postpone integration tests to bors, as usual.

also https://bors-ng.aws.iohkdev.io/ is down

The table on https://cicero.ci.iog.io/run/8646ff88-4889-4a33-a15b-2edbef8ff68f still shows "Memory Max | 16384 MB". 🤔

Yes.  Was it just by accident? 🤔
Also in cardano-node they have 32 GB, so us having it as well might not be totally alien
https://github.com/input-output-hk/cardano-node/blob/63a9c429b7d4b61129c5e331616a8a7a9b794488/nix/tullia.nix#L45

From Robin Stumm:

So yes, you could either merge your PR or go to cicero's web UI and recreate the action with a URL pointing to your branch with

So merging this PR to master should make the increased memory limit take effect.

Merged manually.


Support jitpack

I'm not sure if I want to support Jitpack. Master is already deployed as a snapshot, and tagged releases will be as well.


Project Maintenance

@teodorpatras: Since the last change that made it's way to master is over a year old by now, I was wondering if you plan on continuing maintaining this project. This might be interesting information for people comparing different side menu implementations and choosing which one to integrate. If this project is no longer maintained, I think we should mention that in the readme.

The release for Swift 4.x will be available soon, when I find some free time. Since there are no other core contributors than me, and most of the open PRs are unmergeable, the updates are coming at a much lower frequency than before. If you want to be proactive, you are more than welcome to open a PR and tag me there.

Ok good to know! 👍


Books: SafeScrum® – Agile Development of Safety-Critical Software

SafeScrum® – Agile Development of Safety-Critical Software

Thanks


Enable SharedArrayBuffer test262 tests in ch.exe

The Agent API enables testing of shared array buffers in console APIs. See test262 docs for $262.agent. Note that these could be exposed as any shape and adapted by the harness. I'm open to alternatives.
See Also: https://github.com/tc39/test262/pull/839

#3230


Serialization macros inspired by nlohmann/json + serialise to/from memory

Added serialisation macros. Unit tests to come.

Can now serialise to and from memory using:
vector<char> buf;
dlib::serialize(buf) << ...;
dlib::deserialize(buf) >> ...;

@davisking I've added the versioning as you requested and it models what you've done here exactly. (I'm still not 100% convinced it's useful but it's there). As it stands, there is a working implementation using macros only. I'm inclined to think that, since the user should never have to worry about how something is implemented and so long as the API is good, then it doesn't matter whether it is 100% macro or not. Or do you strongly object to this macro impl? Or do you strongly object to this whole idea?

@davisking regarding what you describe here:
Regarding using a variadic template, no magic is needed. Just make a method in the class that refers to the member variables. Then you don't have to prefix them by item.
I'm still not sure what you mean if the impl were to look something like this:
namespace dlib
{
    namespace detail
    {
        template<typename T>
        void serialize_many(std::ostream& out, const T& x)
        {
            serialize(x, out);
        }

        template<typename T, typename... Rest>
        void serialize_many(std::ostream& out, const T& x, const Rest& ... rest)
        {
            serialize_many(out, x);
            serialize_many(out, rest...);
        }

        template<typename T>
        void deserialize_many(std::istream& in, T& x)
        {
            deserialize(x, in);
        }

        template<typename T, typename... Rest>
        void deserialize_many(std::istream& in, T& x, Rest& ... rest)
        {
            deserialize_many(in, x);
            deserialize_many(in, rest...);
        }
    }
}

#define DLIB_DEFINE_DEFAULT_SERIALIZATION(Type, ...)                    \
    inline friend void serialize(const Type& item, std::ostream& out)   \
    {                                                                   \
        using dlib::serialize;                                          \
        try                                                             \
        {                                                               \
            dlib::detail::serialize_many(out, item.__VA_ARGS__)         \
        }                                                               \
        catch (dlib::serialization_error& e)                            \
        {                                                               \
            throw dlib::serialization_error(e.info + "\n   while serializing object of type " #Type); \
        }                                                               \
    }                                                                   \
    inline friend void deserialize(Type& item, std::istream& in)        \
    {                                                                   \
        using dlib::deserialize;                                        \
        try                                                             \
        {                                                               \
            dlib::detail::deserialize_many(in, item.__VA_ARGS__)        \
        }                                                               \
        catch (dlib::serialization_error& e)                            \
        {                                                               \
            throw dlib::serialization_error(e.info + "\n   while deserializing object of type " #Type); \
        }                                                               \
    }

Do you mind spelling it out a bit more please (in code) ?

@davisking As an alternative i have this, but it could potentially create a lot of member functions. Not sure i like it:
#define DLIB_DEFINE_DEFAULT_SERIALIZATION(Type, ...)                    \
    template<typename T>                                                \
    void serialize_me(std::ostream& out, const T& x) const              \
    {                                                                   \
        using dlib::serialize;                                          \
        serialize(x, out);                                              \
    }                                                                   \
                                                                        \
    template<typename T, typename...

I would rather use something like:
auto tied = std::tie(__VA_ARGS__);

and use a version of for_each that works on std::tuple. I tried this and i have to create C++11 versions of index_sequence etc like so (again, borrowed from nlohmann::json):
namespace dlib
{
    template<std::size_t... Ints>
    struct index_sequence
    {
        using type = index_sequence;
        using value_type = std::size_t;
        static constexpr std::size_t size() noexcept
        {
            return sizeof...(Ints);
        }
    };

    template<class Sequence1, class Sequence2>
    struct merge_and_renumber;

    template<std::size_t... I1, std::size_t... I2>
    struct merge_and_renumber<index_sequence<I1...>, index_sequence<I2...>>
            : index_sequence < I1..., (sizeof...(I1) + I2)... > {};

    template<std::size_t N>
    struct make_index_sequence
        : merge_and_renumber < typename make_index_sequence < N / 2 >::type,
          typename make_index_sequence < N - N / 2 >::type > {};

    template<> struct make_index_sequence<0> : index_sequence<> {};
    template<> struct make_index_sequence<1> : index_sequence<0> {};

    template<typename... Ts>
    using index_sequence_for = make_index_sequence<sizeof...(Ts)>;

    template< class T >
    using remove_reference_t = typename std::remove_reference<T>::type;
}

Then i borrowed the aforementioned version of for_each from fluentc++ using:
template <class Tuple, class F, std::size_t... I>
    constexpr F for_each_impl(Tuple&& t, F&& f, dlib::index_sequence<I...>)
    {
        return (void)std::initializer_list<int>{(std::forward<F>(f)(std::get<I>(std::forward<Tuple>(t))),0)...}, f;
    }

    template <class Tuple, class F>
    constexpr F for_each(Tuple&& t, F&& f)
    {
        return for_each_impl(std::forward<Tuple>(t), std::forward<F>(f),
                             dlib::make_index_sequence<std::tuple_size<dlib::remove_reference_t<Tuple>>::value>{});
    }

But couldn't get it to work.
Alternatively, instead of using std::tuple, could use dlib::tuple that already has serialisation support, but there is no dlib version of std::tie, or a variadic constructor for dlib::tuple.

Being able to do:
auto tied = dlib::tied(__VA_ARGS__);

which returned a dlib::tuple object would be the best option for me because of built-in serialisation support in dlib::tuple

There is another version that uses std::tie and a version of for_each that works with std::tuple.

Tests run fine on my machine so not quite sure what's failing on appveyor.

Also, still need to fix vectorstream properly. I'm not an iostream person, so some help would be welcome.

There are now three versions of the macro: using 100% macro expansion, using variadic template member functions, and using std::tie + a templated for_each that works with std::tuple. The default is set to the latter. Feedback would be great. I don't like the second one as it introduces new member functions which users could use in their custom types accidentally. I like the third one as it's super clean. I'm indifferent to the first one. It's only drawback is that there is an upper bound on number of arguments.

The right thing is definitely to do method 1.  Method 0 is a pre-c++11 hack.  I've done plenty of stuff like that myself too, but only when C++11 wasn't available.  Method 2 is overly complex.   Method 1 is good, you just need to move the serialize_me methods out of the macro.  Those methods don't need to be in the class.  Such a change makes method 1 simpler than all the others and doesn't add extraneous stuff to the class.
Anyway, there is way too much stuff happening in this pull request.  It's full of lots of unrelated things that could be committed separately.  Please split it up into separate pull requests.

@davisking Ok will split this into different PRs. I quite liked the std::tie version but yes you're right, keep it simple. If you don't mind i will still submit a different PR with all the stuff relating to for_each so we can add serialisation support for std::tuple. I will submit a PR realting to type_trait cleaning up. So dlib::is_same_type becomes an alias for std::is_same and all that stuff. Or do you think that's pointless? It reduces dlib code while maintaining compatibility with existing code out there. I will also submit a PR with all the proxy_serialize stuff. Though i might need some assistance with dlib::vectorstream.

That all sounds like good stuff.  The only comment I have is there is a simpler way to define serialization for std::tuple.  See for instance https://stackoverflow.com/a/6894436/310086


[fixbug]fix test error

add CuratorZookeeperClient springContextConfig
What is the purpose of the pull request
1:add CuratorZookeeperClient springContextConfig
When I started the TaskPriorityQueueConsumerTest class, he encountered the following exception
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name'nettyExecutorManager': Unsatisfied dependency expressed through field'zookeeperNodeManager'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ' zookeeperNodeManager': Unsatisfied dependency expressed through field'registryCenter'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name'zookeeperRegistryCenter': Unsatisfied dependency expressed through field'zookeeperCachedOperator'; nested exception is org.framework. beans.factory.UnsatisfiedDependencyException: Error creating bean with name'zookeeperCachedOperator': Unsatisfied dependency expressed through field'zookeeperClient'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type'org.apache.dolphinscheduler.service .zk.CuratorZookeepe rClient' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}
2:reduce processService the number of executions
Verify this pull request
This pull request is code cleanup without any test coverage.

TBD.


updated intl package version

Description

Type of Change

[ ] ✨ New feature (non-breaking change which adds functionality)
[x] 🛠 Bug fix (non-breaking change which fixes an issue)
[ ] ❌ Breaking change (fix or feature that would cause existing functionality to change)
[ ] 🧹 Code refactor
[ ] ✅ Build configuration change
[ ] 📝 Documentation
[ ] 🗑 Chore

The error you're encountering is due to a version conflict between the intl package and flutter_localizations. Specifically, flutter_localizations from the Flutter SDK requires intl version 0.19.0, while your project currently depends on intl version ^0.17.0. To resolve this issue, I updated the intl package version in pubspec.yaml file.


After updating IOS to 11.4 version, it does not work

It was working good untill i updated my IOS,
i checked error on Xcode console, it gives below error
....SIP registration failed, status=403 (Forbidden)

The plugin works perfectly for me on iOS 11.4 and 12

@BorntraegerMarc , Did you update your twilio library in xcode manually?

No...
On Thu, Sep 6, 2018 at 10:33 AM Ravi verma<EMAIL_ADDRESS>wrote:

@BorntraegerMarc https://github.com/BorntraegerMarc , Did you update
your twilio library in xcode manually?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/jefflinwood/cordova-plugin-twiliovoicesdk/issues/49#issuecomment-419011475,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHMxb5-U_WnVfjFEmobVV6G-0iT7dv66ks5uYN3vgaJpZM4WbOLH
.

This issue should be closed...


[Component] Radio-button: wrong radio-button size

Polaris ticket: https://jira.ets.mpi-internal.com/browse/PT-271

Test branch: component/853_radio_button_bug
To test checkbox and radio button together; You can check this screen on demo project.

result of the test :

we found another problem between checkboxes and radio button (this bug was already here before the fix) --> here is the ticket
apart from that, screenshots of UI kit and swift UI seems ok  ⬇  BUT i'd like to test with label on the left, since the bug on Polaris occured with label on the left, do you think it would be possible @aycil-alican  ?

on iPhone 15 / iOS version 17.0, with the label on the left, I have this issue :

In the same conditions but with iOS 17.2 @aycil-alican does not have the issue.
It's probably related to the implementation on demo app, but with Alican we agreed that it should be checked with iOS team.
PS : If this is resolved while I'm in vacations, don't hesitate to merge this ticket.

Hello, I also checked this issue on same similator but still haven't faced with it. I talk with ohter team members and we can skip this for now.
https://github.com/adevinta/spark-ios/assets/139964419/8d729d4c-fbdb-42ed-bda1-c3c6799e2ac0


Testathon: Management sidebar cuts off first letter in Firefox

Firefox browser. When logging in as admin, the Management sidebar cuts off the first letter of the panel, whether or not the sidebar is pinned. When logging in as another persona, the Management sidebar displays properly, Screen recording is here: https://arizona.zoom.us/rec/share/DIXxStywY98TQbUmhJqoEWTVaL368rBVEy5PrSD8ijIJxkNTG_bC_KEhEgY3FLIx.me87iPI7Qbtvd8zJ?startTime=1712958202000
To Reproduce
Steps to reproduce the behavior:

Use Firefox
Login in the<EMAIL_ADDRESS>persona.
Expand the sidebar, pin the sidebar.
The first letter of the first word is cut off, whether or not the sidebar is pinned.
This does not happen when logged in with other personas.
Maximizing the window didn't make a difference.

Expected behavior
I expected the sidebar to display fully without the first letter of the first word being cut off.
Related work
Link to any related tickets or PRs here.

@librariankimberly : Could you verify what version of Firefox you are using? (Go to "Help -> Version")
I've tried this on the https://sandbox.dspace.org using Firefox v124.0.1 (64-bit) on Windows 11 and the menu appears correctly for me.  So, I'm wondering if this is an issue with an older version of Firefox?
Here's the menu that I see in Firefox:

I'd also recommend trying the following to refresh any cached CSS that might be in your Firefox browser (because cached CSS styles can sometimes cause odd behavior and we did change the CSS styles of this sidebar recently):

Login as an Admin in Firefox.
Do a hard reload by trying one of the following (both of these should work the same):

Hold down Shift+click the Reload button in browser
Or, Press Ctrl+Shift+R

See if that fixes the sidebar menu styles.. If you had cached CSS, then you may see them update and display properly
If this fixes the styles, try a logout & login again. See if you can reproduce the display bug anymore or not.

I'm on 124.0.2 (64-bit) as well; however, I'm on Windows 10 Enterprise and don't have control over that.
I'll try the refresh later today and let you know what happens.

It looks more like an issue with the scrollbar, in PR #2656 the sidebar was moved to the sidebar-top-level-items-container section instead of over the whole sidebar component so I think that that's the most likely cause of this bug. Because Windows has larger scrollbars this is simply more visible there

FYI, I have the same issue with Firefox on my iMac. The only first-letters-cutoff happening is with the<EMAIL_ADDRESS>login. The other logins are fine.
My iMac is running macOS Catalina Version 10.15.7 (the iMac is from 2013 and the newer OS won't run on it) with Firefox 125.01.
I just think it's weird that the issue is just happening with one login....
My Windows PC has now been updated to Firefox 125. I did the hard reload to no effect. I don't use Firefox logged in or synced across devices.
Uploading the pic from my iMac using Firefox for what it's worth (I had never been to the sandbox on Firefox on the iMac since I primarily use Safari on the iMac and use Firefox for one site only.)
Anyway it is just weird but I'm moving on from the issue.

@davide-negretti : I wanted to alert you to this issue as it seems like it might have been caused by your PR #2656?   I have to admit, I've had difficulty reproducing this behavior on Firefox on Windows 11, but it sounds like it's been consistent for @librariankimberly .   Could you, or one of your colleagues try to test this on your end and see if there are improvements we can make to ensure the sidebar text appears properly on all browsers?

@tdonohue @librariankimberly I confirm that the issue is caused by my PR. I assumed that the scrollbar is 8px wide (--ds-dark-scrollbar-width) and when it is not the sidebar does not work as expected.
The issue shoukd be fixed by making the dark-scrollbar() mixin work on all browsers. If this is not possible I can search for some workaround.

@davide-negretti : Thanks for confirming.  In that case, I'll assign this ticket to you to resolve.  Once you have a PR ready we can do some testing on that PR to verify the solution is working for all.

@tdonohue I've found a solution that should work, but I use Linux so I won't be able to test it on Windows.
scrollbar-gutter: stable;

This would also make no longer necessary to shift menu items on the left when the scrollbar appear, but there are two issues:
(1) if the scrollbar is not visible there would be a gap on the right

with overflow-y: scroll; (current behavior):

with overflow-y: auto;:

(2) this is not supported by Safari, and since I cannot install it on Linux I don't know how it would behave and I cannot find a fix
The only solution I can whink about is to increase the 8px space I reserved to the toolbar to 20px, but this would not look very good and also the shifting effect will be increased.

@davide-negretti :  I'd recommend creating a PR with your suggested solution.  That way we can have others test it on multiple browsers and on different OSes.  I'd be able to test on Windows, and I could use an iPad to test on Safari if necessary.  But others may have additional environments where it could be tested.

@librariankimberly @tdonohue
I was able to check the demo on Windows 10 and I notice that scrollbars on Firefox behave in different ways:

on Linux Mint 21.3 Cinnamon the scrollbar autohides itself and it overlays the content (I'd love to achieve this behavior on all browsers but the required CSS property is deprecated)
on Windows 10 the scrollbar reduces the space available to the content, as expected (the "only" issue is that its look is not customisable)

So I decided to fix the scrollbar only for Firefox+Windows by allocating more space (20px instead of 8px).
It is also possible to make the scrollbar narrower on Firefox+Windows only using scrollbar-width: thin;
If anyone has the chance to test it, these are the required changes in src/app/admin/admin-sidebar/admin-sidebar.component.scss:

Add the folowing lines :

    div#sidebar-top-level-items-container {
      flex: 1 1 auto; // Fill available vertical space
      overflow-x: hidden;
      overflow-y: auto;
      @include dark-scrollbar;

      // ADD LINES BELOW
      ::ng-deep {
        @at-root .browser-firefox-windows & {
          scrollbar-width: thin;
        }
      }
      // ADD LINES ABOVE

    }

Measure the new width of the scrollbar, in px, then change the value of --ds-dark-scrollbar-width accordingly (either remove the following lines to use its default value of 8px or edit its value). I suggest to add 2px more to take minor variations into account.

::ng-deep {
  .browser-firefox-windows {
    --ds-dark-scrollbar-width: 20px;
  }
}

Does this mean I should go ahead and test this now in the sandbox?
From: Davide Negretti @.>
Sent: Tuesday, April 23, 2024 3:21 AM
To: DSpace/dspace-angular @.>
Cc: Chapman, Kimberly A - (kimberlychapman) @.>; Mention @.>
Subject: [EXT]Re: [DSpace/dspace-angular] Testathon: Management sidebar cuts off first letter in Firefox (Issue #2927)
External Email
@librariankimberlyhttps://github.com/librariankimberly @tdonohuehttps://github.com/tdonohue
I was able to check the demo on Windows 10 and I notice that scrollbars on Firefox behave in different ways:

on Linux Mint 21.3 Cinnamon the scrollbar autohides itself and it overlays the content (I'd love to achieve this behavior on all browsers but the required CSS property is deprecated)
on Windows 10 the scrollbar reduces the space available to the content, as expected (the "only" issue is that its look is not customisable)

So I decided to fix the scrollbar only for Firefox+Windows by allocating more space (20px instead of 8px).
It is also possible to make the scrollbar narrower on Firefox+Windows only using scrollbar-width: thin;
If anyone has the chance to test it, these are the required changes in src/app/admin/admin-sidebar/admin-sidebar.component.scss:

Add the folowing lines :

div#sidebar-top-level-items-container {

  flex: 1 1 auto; // Fill available vertical space

  overflow-x: hidden;

  overflow-y: auto;

  @include dark-scrollbar;

  // ADD LINES BELOW

  ::ng-deep {

    @at-root .browser-firefox-windows & {

      scrollbar-width: thin;

    }

  }

  // ADD LINES ABOVE

}

Measure the new width of the scrollbar, in px, then change the value of --ds-dark-scrollbar-width accordingly (either remove the following lines to use its default value of 8px or edit its value). I suggest to add 2px more to take minor variations into account.

::ng-deep {
.browser-firefox-windows {
--ds-dark-scrollbar-width: 20px;

}
}
—
Reply to this email directly, view it on GitHubhttps://github.com/DSpace/dspace-angular/issues/2927#issuecomment-2071941669, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKA7RKO724M7534LWM4T3JTY6YYXLAVCNFSM6AAAAABGE3KHIOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZRHE2DCNRWHE.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>

@librariankimberly : To help in testing the PR #2976, I have temporarily deployed it to https://sandbox.dspace.org as of a moment ago.  So, if you want to try again on the Sandbox to see if @davide-negretti 's fix works for you, that'd be wonderful.
Keep in mind, some browsers will temporarily cache CSS styles.  So, you may need to login as an Admin, and do a hard reload (Hold down Shift+click the Reload button in browser Or, Press Ctrl+Shift+R).  That should force your browser to load the new CSS.  Then, try testing the behavior.


Update Documentation URL

Can't update title of #303 to: Update Documentation URLs in Admin Console
Describe the bug
404 error on https://yap.bmlt.app/docs URLs.
What version are you running?
3.3.1
Files affected
yap/admin/home.php - Documentation URL
yap/admin/service_bodies.php - moh and configuration-precedence URLs

will be in 3.4.0


Add windows memory usage measurement

Add memory usage measurement, query is from discussion: https://github.com/martinlindhe/wmi_exporter/issues/496
Rename cpu usage measurement methods
Bumped the default pause image version

/cc @pjh @mm4tt

/lgtm
/approve


feat: Sync from noir

Automated pull of development from the noir programming language, a dependency of Aztec.
BEGIN_COMMIT_OVERRIDE
chore: remove malformed functions from brillig reports (https://github.com/noir-lang/noir/pull/6898)
chore: clean up gates reports script (https://github.com/noir-lang/noir/pull/6896)
chore: move empty programs to compile_success_empty (https://github.com/noir-lang/noir/pull/6891)
feat: add a warning when using unsafe blocks without safety comments (https://github.com/noir-lang/noir/pull/6860)
chore: quick docs fix for #6839 (https://github.com/noir-lang/noir/pull/6840)
chore: Avoid duplicate Not instructions during flattening (https://github.com/noir-lang/noir/pull/6886)
chore: Use smallvec for instruction results (https://github.com/noir-lang/noir/pull/6877)
chore(ci): Display times in compilation and execution reports only with seconds (https://github.com/noir-lang/noir/pull/6880)
feat: flatten nested if-else statements with equivalent conditions (https://github.com/noir-lang/noir/pull/6875)
chore(ci): Take averages for compilation and execution report of small programs (https://github.com/noir-lang/noir/pull/6874)
fix: don't deduplicate binary math of unsigned types (https://github.com/noir-lang/noir/pull/6848)
feat: warn on unnecessary unsafe blocks (https://github.com/noir-lang/noir/pull/6867)
chore: remove the as_field and from_field built-ins (https://github.com/noir-lang/noir/pull/6845)
chore: fix warnings (https://github.com/noir-lang/noir/pull/6863)
fix: detect cycles in globals (https://github.com/noir-lang/noir/pull/6859)
chore(ci): Execution time report (https://github.com/noir-lang/noir/pull/6827)
chore(ci): Add non determinism check and fixes (https://github.com/noir-lang/noir/pull/6847)
chore(docs): updating the solidity contract how-to guide (https://github.com/noir-lang/noir/pull/6804)
fix: double alias in path (https://github.com/noir-lang/noir/pull/6855)
feat: configurable external check failures (https://github.com/noir-lang/noir/pull/6810)
chore: move constant creation out of loop (https://github.com/noir-lang/noir/pull/6836)
fix: implement as_field and from_field in the interpreter (https://github.com/noir-lang/noir/pull/6829)
chore: Use Vec for callstacks (https://github.com/noir-lang/noir/pull/6821)
feat: replace eval_global_as_array_length with type/interpreter evaluation (https://github.com/noir-lang/noir/pull/6469)
chore: refactor DataFlowGraph.insert_instruction_and_results (https://github.com/noir-lang/noir/pull/6823)
chore(docs): updating noirjs tutorial for 1.0.0 (https://github.com/noir-lang/noir/pull/6792)
feat: Sync from aztec-packages (https://github.com/noir-lang/noir/pull/6824)
chore: Have rust-analyzer use the stable toolchain (https://github.com/noir-lang/noir/pull/6825)
END_COMMIT_OVERRIDE

The gate diffs action got broken in ci3 so here's the diff:
🧾 Summary (20% most significant diffs)

Program
ACIR opcodes (+/-)
%
Circuit size (+/-)
%

private_kernel_tail_to_public
+439 ❌
+2.76%
+589 ❌
+1.39%

rollup_base_public
-1,108,638 ✅
-28.79%
-2,082,811 ✅
-16.51%

rollup_base_private
-1,108,827 ✅
-30.63%
-2,083,047 ✅
-18.56%

Full diff report 👇

Program
ACIR opcodes (+/-)
%
Circuit size (+/-)
%

private_kernel_tail_to_public
16,335 (+439)
+2.76%
42,934 (+589)
+1.39%

rollup_block_root
719,198 (+36,872)
+5.40%
4,324,095 (+30,738)
+0.72%

rollup_root
38,438 (+6,048)
+18.67%
1,907,311 (+6,552)
+0.34%

rollup_block_merge
38,454 (+6,048)
+18.66%
1,907,325 (+6,552)
+0.34%

private_kernel_inner
46,279 (+19)
+0.04%
89,062 (+26)
+0.03%

private_kernel_tail
5,348 (+6)
+0.11%
27,501 (+8)
+0.03%

private_kernel_init
27,955 (+2)
+0.01%
48,562 (+3)
+0.01%

rollup_base_public
2,742,614 (-1,108,638)
-28.79%
10,534,892 (-2,082,811)
-16.51%

rollup_base_private
2,510,946 (-1,108,827)
-30.63%
9,141,878 (-2,083,047)
-18.56%


Api23 Final

This branch is the code for the final API23 release. Only significant bug fixes will be applied.

Now 100% irrelevant


minimal bloomfilter client example added

this PR adds a simple web as a remote bloomfilter client so users can experiment with the basics of the JWT revocation system available at the KrakenD-CE

👍


Effortless Building items get consumed in 1.20.1 Delta HF1, and remain active only for session.

So every effortless building item , upon use, is now consumed permanently, however when a person DC's and reconnects, the 'permanent' buff is lost. Same case if a person dies.

Not a modpack issue, but a mod issue. It is a known bug and the effortless building devs' job to fix


For in loops do not highlight correctly

For example:
for thing in things {

}

Shows up as

Fix it!  That's what PRs are for! 😃

Haha! I know sorry. It’s not a hard fix either. I’ll try to get around to it soon

I've fixed it locally by just adding in to one of the keyword.control sections.  Simple, though a bit dirty.

- match: \b(?>break|fallthrough|guard|try|catch|throws|return|in|is|as|case|continue|default)\b

Thanks!  Available in 2.3.9.  I was missing throw, with no "s", too.


ci: Skip rust tests on non-rust-changes

Since we have the changes job, this is now possible

(thanks @not-my-profile for adding the changes job!)


White screen on start up

I received a white screen yesterday during playback. I closed and restarted, then reinstalled the app. I've reinstalled after uninstalling then downloading and cleaning out the old folders and still white screen on every launch.
Windows 7 X64.
Here's the SquirrelSetup.log file, it appears to be having an issue with a .squirrel-lock file. I've tried to recreating that file, but it deletes it again on install.
SquirrelSetup.txt
2016-04-06 09:06:49> SingleGlobalInstance: Failed to grab lockfile, will retry: C:\Users\rbeall.NULAID\AppData\Local\Temp\.squirrel-lock-972EFCDE77036369B1DF56551A67239E566AF9BD: System.IO.IOException: The process cannot access the file 'C:\Users\rbeall.NULAID\AppData\Local\Temp\.squirrel-lock-972EFCDE77036369B1DF56551A67239E566AF9BD' because it is being used by another process.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
   at Squirrel.SingleGlobalInstance..ctor(String key, TimeSpan timeOut)
2016-04-06 09:06:49> SingleGlobalInstance: Failed to grab lockfile, will retry: C:\Users\rbeall.NULAID\AppData\Local\Temp\.squirrel-lock-972EFCDE77036369B1DF56551A67239E566AF9BD: System.IO.IOException: The process cannot access the file 'C:\Users\rbeall.NULAID\AppData\Local\Temp\.squirrel-lock-972EFCDE77036369B1DF56551A67239E566AF9BD' because it is being used by another process.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
   at Squirrel.SingleGlobalInstance..ctor(String key, TimeSpan timeOut)
2016-04-06 09:06:49> SingleGlobalInstance: Failed to grab lockfile, will retry: C:\Users\rbeall.NULAID\AppData\Local\Temp\.squirrel-lock-972EFCDE77036369B1DF56551A67239E566AF9BD: System.IO.IOException: The process cannot access the file 'C:\Users\rbeall.NULAID\AppData\Local\Temp\.squirrel-lock-972EFCDE77036369B1DF56551A67239E566AF9BD' because it is being used by another process.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
   at Squirrel.SingleGlobalInstance..ctor(String key, TimeSpan timeOut)
2016-04-06 09:06:49> SingleGlobalInstance: Failed to grab lockfile, will retry: C:\Users\rbeall.NULAID\AppData\Local\Temp\.squirrel-lock-972EFCDE77036369B1DF56551A67239E566AF9BD: System.IO.IOException: The process cannot access the file 'C:\Users\rbeall.NULAID\AppData\Local\Temp\.squirrel-lock-972EFCDE77036369B1DF56551A67239E566AF9BD' because it is being used by another process.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
   at Squirrel.SingleGlobalInstance..ctor(String key, TimeSpan timeOut)
2016-04-06 09:06:50> SingleGlobalInstance: Failed to grab lockfile, will retry: C:\Users\rbeall.NULAID\AppData\Local\Temp\.squirrel-lock-972EFCDE77036369B1DF56551A67239E566AF9BD: System.IO.IOException: The process cannot access the file 'C:\Users\rbeall.NULAID\AppData\Local\Temp\.squirrel-lock-972EFCDE77036369B1DF56551A67239E566AF9BD' because it is being used by another process.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
   at Squirrel.SingleGlobalInstance..ctor(String key, TimeSpan timeOut)
2016-04-06 09:06:50> SingleGlobalInstance: Failed to grab lockfile, will retry: C:\Users\rbeall.NULAID\AppData\Local\Temp\.squirrel-lock-972EFCDE77036369B1DF56551A67239E566AF9BD: System.IO.IOException: The process cannot access the file 'C:\Users\rbeall.NULAID\AppData\Local\Temp\.squirrel-lock-972EFCDE77036369B1DF56551A67239E566AF9BD' because it is being used by another process.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
   at Squirrel.SingleGlobalInstance..ctor(String key, TimeSpan timeOut)
2016-04-06 09:06:50> SingleGlobalInstance: Failed to grab lockfile, will retry: C:\Users\rbeall.NULAID\AppData\Local\Temp\.squirrel-lock-972EFCDE77036369B1DF56551A67239E566AF9BD: System.IO.IOException: The process cannot access the file 'C:\Users\rbeall.NULAID\AppData\Local\Temp\.squirrel-lock-972EFCDE77036369B1DF56551A67239E566AF9BD' because it is being used by another process.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
   at Squirrel.SingleGlobalInstance..ctor(String key, TimeSpan timeOut)
2016-04-06 09:06:50> SingleGlobalInstance: Failed to grab lockfile, will retry: C:\Users\rbeall.NULAID\AppData\Local\Temp\.squirrel-lock-972EFCDE77036369B1DF56551A67239E566AF9BD: System.IO.IOException: The process cannot access the file 'C:\Users\rbeall.NULAID\AppData\Local\Temp\.squirrel-lock-972EFCDE77036369B1DF56551A67239E566AF9BD' because it is being used by another process.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
   at Squirrel.SingleGlobalInstance..ctor(String key, TimeSpan timeOut)
2016-04-06 09:06:51> Unhandled exception: System.AggregateException: One or more errors occurred. ---> System.Exception: Couldn't acquire lock, is another instance running
   at Squirrel.SingleGlobalInstance..ctor(String key, TimeSpan timeOut)
   at Squirrel.UpdateManager.<acquireUpdateLock>b__1e()
   at System.Threading.Tasks.Task`1.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.UpdateManager.<CheckForUpdate>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Update.Program.<Download>d__5d.MoveNext()
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
   at System.Threading.Tasks.Task`1.get_Result()
   at Squirrel.Update.Program.executeCommandLine(String[] args)
   at Squirrel.Update.Program.main(String[] args)
---> (Inner Exception #0) System.Exception: Couldn't acquire lock, is another instance running
   at Squirrel.SingleGlobalInstance..ctor(String key, TimeSpan timeOut)
   at Squirrel.UpdateManager.<acquireUpdateLock>b__1e()
   at System.Threading.Tasks.Task`1.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.UpdateManager.<CheckForUpdate>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Update.Program.<Download>d__5d.MoveNext()<---

Looks like you already have an instance of squirrel running, can you verify everything is closed out via the task manager? I'm not entirely familiar with Squirrel windows, but I think it shares with other electron apps on the system hence the error SingleGlobalInstance.
@MarshallOfSound does that sound possible? If so apps like atom, slack, etc would need to be closed as well in order for squirrel to acquire a lock.

Squirrel lock files should be independent of applications so other electron apps shouldn't be breaking this install.  Can you try deleting the lock file manually to try to reset it?

The lock file isn't even there....I tried creating it before install, and creating if after install with the player closed. In both instances the player deletes it (I'm guessing it deletes it)?

Do you have hidden files turned on when you're looking for that?

Yeah, there's always on (I checked again just to make sure). I uploaded some screenshots so you guys can see what my screen looks like. I turned off slack to see if that had anything to do with, uninstalled and reinstall and still no luck.
Question; if there was a network issue, do you think it could have anything to do with it? I haven't had anything else go wrong, but I don't control our web stuff here at work and I'm wondering if it's trying to do something that's making our web filter mad. IDK, just guessing now, this app has worked forever and now for it to just stop makes me think there's something else.

I connected to my phone, reinstalled and it started right up. It must be something web related....not sure if you can but maybe throw an error on a future update letting us know our network sucks. Sorry I wasted your time :|
FYI, your app rocks.
Thanks again for your help, I appreciate it.

Had a response half written out, but glad you got it! It's hard to say what it could have been, but the installer does connect and grab the nupkg from the releases page, as well as connect to @MarshallOfSound's website to query for the latest release, so could be one of those maybe.

I tried running the application with a simulated speed of 10kb/s and with 0kb/s and couldn't replicate this issue.  Perhaps there was another underlying issue that fixed itself at around the same time you switched to your phone ? :laughing:

FYI, It's a new web filter setting at my work.
I went directly to the play music site and it gave me ERR CONNECTION RESET errors. I emailed the sys admins and they found it being blocked and white listed the site(play music). I guess the filter blocked it because there's games on the play store, so the site falls under the gaming filter. Anyway, they removed the block and it works fine now.
So not your fault, my bad.

It was your internet explorer problems
Clear cache and cookies
Diagnose internet connection if failed to open google.com
Check proxy settings and disable it
Chech vpn settings


attempt to use a new cert for exp

Description
Added new env vars to circle ci for EXP specficially
Updated the circle ci config to use these new certs for EXP

Warnings

:warning:
Please add the JIRA issue key to the PR title (e.g. MB-123)

  Generated by :no_entry_sign: dangerJS against ca03042b5fc113e5f227d040169f0396ecb2801e


[Addition]: Ripe Chambray Python

Hotspot b58 Addresses
112c1o9xKT3Cc9NFPNuuxfj6jxqQfmkyfUtjHhu1TUqR5mFVP6m8
Discord Handle
No response
Reason(s)
Please investigate this hotspot as I've checked on hotspotty and physically was there at the location and observed around the building and there was no physical signs of any antenna.
The building where it was assigned belongs to the local council and I could not see this hotspot are using any off grid set up.
If this investigation find to be valid, please action it accordingly.

What does that mean sorry? Did you guys investigate this hotspot?


access custom/user hyphenation pattern files

Description
How feasible is to implement access to a user's hyphenation pattern file, locally maintained?
Use Case
I fear trying to integrate every conceivable language into the executable may become impractical; and there's still plenty room for custom/personalized applications of the language choice: with Lua|XeTeX, for instance, I can typeset my drafts in a mixture of greek/latin with a single hyphenation pattern file, thanks to the divergence of the alphabets in the unicode blocks.

This can be done by creating a show rule to insert soft hyphens at the appropriate locations:
#let words = (
  "abc-def-g",
  "foo-baz"
)
#show: it => words.fold(it, (it, word) => {
  show word.replace("-", ""): word.replace("-", sym.hyph.soft)
  it
})

Then
#set page(width: 105pt)
#set par(justify: true)

Hyphenating abcdefg like the alphabet.

Produces the lower instead of upper result

This is useful if you have special terms which are not hyphenated correctly. Not sure how performant it is if words is an excessive list from a file.

A large list would likely cause considerable slowdown. In that case it would be better to merge all words into one regex so that it can all be part of one rule.

https://github.com/typst/typst/issues/5624


likecoin setup failed

Hi,
I have newly setup operators for BAND and Likecoin (setup in the main branch, FYI) but seems that these 2 networks are not seen in the script output when I run the script manually.
It was reported that my node was not an operator when I try to set it up in networks.local.json.
Please advise if what we can do in my side, or I need to wait the script to be updated so as to use the services.
Thanks.

If they're not in networks.json you will need to add the key to networks.local.json.
Otherwise if you're in validator registry it should recognise you. Does the address the script outputs match the one you put in validator registry?

Okay. Will try to add keys to networks.local.json and see. thanks.


No such module 'SQLite' in Xcode 6.3 Swift 1.2 and Target iOS 7.0

I followed the description Frameworkless Targets Step 1 to Step 4 I did not do any thing else.
I use Xcode 6.3beta4 and Swift 1.2. My target is iOS 7.0. I could compile my project after Step 1 to Step 4. When I use import SQLite in my ViewController I get the following error:
/Test111/Test111/ViewController.swift:10:8: No such module 'SQLite'

@stephencelis I created a demo project here: https://github.com/confile/Test-SwiftSQLite

your demo project doesn't work with Xcode 6.3 GM

The framework is what creates the SQLite module. If you're going framework-less, no need to call import. Just start using the SQLite classes as if they're part of your app.

I can't build my App.
Xcode shows an issue.

While deserializing decl #23 (XREF)
Cross-reference to module 'WareApp'
... _
While reading from /Users/ronny/Library/Developer/Xcode/DerivedData/WareApp-famaieoaerhbeadunzmnnkzjgico/Build/Intermediates/WareApp.build/Debug-iphonesimulator/WareApp.build/Objects-normal/x86_64/Query~partial.swiftmodule

:(

@stephencelis thank you. This should be added to the documentation as a note.

@confile I'll think about it, but to be honest I'm leaning more toward not supporting iOS 7 at all and letting dedicated people figuring it out on their own. There's a burden in providing support for an aging OS.

@stephencelis There are still 20% on iOS7. So you might need to support it for a while.

@confile While I provide basic instructions to help people, I don't really support iOS 7 or putting effort into ensuring support. The projects in which I'm using this library are iOS 8-only. I'm always happy to accept PRs maintaining iOS 7 support if anything breaks, though.

@stephencelis Do you mean that your lib does not work with iOS7?

@confile It should work and people do use it, but I don't put time into assuring support. This is a completely free open source project and my personal use case is iOS 8-centric using a framework. iOS 7 support shouldn't be too difficult for most developers to figure out, though.

@stephencelis I really like you lib but you should not try to exclude iOS7 because it will be around for quite a while.

@confile I'm not excluding it. If anything breaks I will accept pull requests. If you would like to be an active contributor to ensure that, that would be great!

@stephencelis I would love to but I am still at the beginning of Swift. If I can I will do a pull.


Run Selection/Line in Python Terminal doesn't take into account code changes in the import files

Environment data

VS Code version: 1.86.2
Jupyter Extension version (available under the Extensions sidebar): XXX
Python Extension version (available under the Extensions sidebar): v2024.0.1
OS (Windows | Mac | Linux distro) and version: Windows 11
Python and/or Anaconda version: 3.11.4
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): conda
Jupyter server running: Local | Remote | N/A

Expected behaviour
I am doing Run Selection/Line in Python Terminal with shift+Enter
in my code I am doing an import from file A with class B
I make some code changes in class B
then I do run Selection/Line in Python Terminal with shift+Enter to re-import the class with the changes
the code changes in file A , class B should be taken into account
I have to exit() the python terminal and start it again for the changes to be taken into account
I have the File A and File B open at the same time. File B is open as a floating window
Actual behaviour
I am doing Run Selection/Line in Python Terminal with shift+Enter
in my code I am doing an import from file A with class B
I make some code changes in class B
then I do run Selection/Line in Python Terminal with shift+Enter to re-import the class with the changes
the code changes in file A , class B are not taken into account
I have to exit() the terminal and start it again
Steps to reproduce:
create 2 files, File A and File B
in File A create a
class B
def print_some_value():
print ("123")
in File B
from A import B
b=B()
b.print_some_value()
execute these 3 lines of code with  Run Selection/Line in Python Terminal, shift+Enter
then make a change in File A:
class B
def print_some_value():
print ("456")
in File B
execute the same 3 lines of code as before with  Run Selection/Line in Python Terminal, shift+Enter
and even though the class was re-imported the old value is still being printed, should print "456"
I have the File A and File B open at the same time. File B is open as a floating window
[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]

XXX

Logs

Output for Jupyter in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Jupyter)

XXX

That's how python interpreters work, and not controlled by vs code.

I don't think this is a python interpreter issue, it's a VS Code issue, this problem doesn't happen on Spyder

Spyder must be doing additional work since this is the behavior you will get with a raw python interpreter in the command line or a jupyter notebook. You can manually reload a module to get the latest changes though:
import importlib
importlib.reload(your_module)

also, are you using the Interactive Window (the editor that opens on the right with a kernel picker), or just the integrated terminal?

In Spyder I am not using importlib and not doing any reloading, I am using the console that comes by default on the right lower side, I think it's called IPython Console

closing this for now as it hasn't had any other votes in support of implementation


Fixing docs-check builds by limiting pkg version

sphinx-markdown-builder released on 6/23, breaking the docs build. We won't install the new version now, working around the failure.
┆Issue is synchronized with this Jira Task by Unito

Fixes #2618


4.0.rc1, inc-decrement buttons missing from process priority input box

Godot version
v4.0.rc1.official [8843d9ad3]
System information
Windows 10 22H2, Compatibility, Geforce GTX 550 Ti
Issue description
The inc-decrement buttons are missing from the Process Priority input box.
The issue is observed in: v4.0.rc1.official [8843d9ad3]

The expected behavior is observed in: v3.5.2.rc2.official [1a2bf3eb4] and v3.5.1.stable.official [6fed1ffa3]

Steps to reproduce

open the attached project: issue, inc-decrement buttons missing from process priority input box.zip

in the Inspector panel, left-click on the Process property group to unfold it's properties.
Look at the Priority input box.

Expected
There should be increment and decrement buttons on the right side of the input box.
Observed
There are no increment and decrement buttons on the right side of the input box.
Minimal reproduction project
v4.0.rc1.official [8843d9ad3]
issue, inc-decrement buttons missing from process priority input box.zip
v3.5.2.rc2.official [1a2bf3eb4] and v3.5.1.stable.official [6fed1ffa3]
inc-decrement buttons in process priority input box.zip

I think priority is no longer an int, so that's why?

I think priority is no longer an int, so that's why?

Probably not, this issue first occurred in beta10, there are multiple similar properties affected, such as AnimatedSprite2D:frame.

The setting lacks a property hint range: https://github.com/godotengine/godot/blob/8c7b98d4526c6ba66d7f1636abb71ccbe54727c6/scene/main/node.cpp#L3016

Well the problem is the default value:
	bool hide_slider = true;

hide_slider in EditorSpinSlider controls both the actual horizontal slider, and the up/down buttons.
IMO the up/down buttons should always be shown.

It's a regression from #69797, in 3.x EditorPropertyInteger::setup doesn't set hide_slider on the spinbox. CC @TokageItLab

I remember that this was done intentionally because it was necessary to hide the button if the slider was not present, since the grabs could not be determined.