Check for graph link for Azure AD

Azure AD can refuse to send memberOf if the number of groups exceeds 150. See this article: https://docs.microsoft.com/en-us/azure/active-directory/hybrid/how-to-connect-fed-group-claims. I believe it includes an attribute named http://schemas.microsoft.com/claims/groups.link if this substitution is made. We should check for this and report on it.

Until #8 can be fleshed out with heuristic data, we can just add a test to check for this field name.


Add protocol-level error handling

The protocol needs a way for one endpoint to signal to the other that its request was invalid. I think it's generally a good idea to do something like JSON-RPC 2.0's error messages.

Couldn't we just use the LogEvent messages for this?

LogEvent represents non-fatal messages, so that there may be many LogEvents for each individual compilation. What this is tracking is a way of handling a message that's invalid on the protocol level (such as a LogEvent with a SourceSpan but no SourceLocations). I guess we probably need a separate issue to track a failed compilation.

Clear, thanks for clarifying and editing the title.


Compiling dnn_mmod_face_detection_ex.cpp with CUDA enabled gives rise to linker errors

Hello.  I have the following problem:
I configured dlib with CMake with CUDA enabled. Cuda directory was found. The CUDA test program was built succesfully and the CMake output made clear that CUDA would be used in dlib:
Found cuDNN: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v9.0/lib/x64/cudnn.lib
Enabling CUDA support for dlib.
DLIB WILL USE CUDA
C++11 activated.
Now I did everything exactly like the instructions on your website. To build my example, I included the dlib/all/source.cpp file in my program. When I compile without defining DLIB_USE_CUDA, everything compiles perfectly and it works, but when I add that flag, I get unresolved external symbol errors from the linker (function definitions not found), all from the CUDA namespace: dlib::cuda.
Expected Behavior
DLIB_USE_CUDA should enable CUDA and then the functions that would make use of the GPU, like the convolutional network in the dnn_mmod_face_detection_ex.cpp example.
Current Behavior
It compiles, but won't link when DLIB_USE_CUDA  is enabled (works perfectly when disabled). The functions which are not found are all from the dlib::cuda namespace, more specifically, all functions with tensors in them (cuDNN problem maybe?).
Steps to Reproduce
I followed the exact instructions:

clone dlib from github
create directory dlib/build
configured everything with CMake gui
CMake output was fine, no complaints when building the cuda project.
Build example project dnn_mmod_face_detection_ex.cpp with dlib/all/source.cpp and DLIB_USE_CUDA enabled

I also want to add some notes, as I've read around the fora first for possible reasons of failure:

the cudnn_test project builds perfectly.
I did not get any of the 'see FAQ 1/2' errors
I tried linking to the dlib .lib file instead of using the dlib/all/source.cpp file, which also failed
I only have one CUDA version and one cuDNN version installed. The paths are correctly set up in the environment variables.
CUDA and cuDNN have worked well in other places before (I used tensorflow with it, as well as some of my own CUDA software)

I followed all the instructions perfectly, multiple times even, just to be sure, but to no avail.
Do you have an idea of where the problem might be coming from? What am I missing?
Thanks in advance!

Version: 19.17.99 (latest version on GitHub)
CUDA version: v9.0 (the one that's compatible with VS2015 build tools)
cuDNN version: v7.0
Where did you get dlib: This repo.
Platform: Windows 10 64-bit
Compiler: Visual Studio 2015 compiler (MSBuild 14.0)

What you are describing isn't what's listed in the instructions on http://dlib.net/compile.html.  Please follow the instructions http://dlib.net/compile.html.  It tells you what to type to get it working.

@DorianAppeldoorn i am not clear about problem you issued about link error?

Sorry, Davis! I indeed did not follow your instructions clearly. I was confused by the building process. The thing that solved it for me was using:
cmake --build . --target install --config Release
instead of
cmake --build . --config Release
That installed it for me into the program files directory, which made it easily linkable like any other library.
This might be something useful to add to the dlib/compile page, as it is not mentioned for installing dlib on Windows.
Thanks for the responses, Davis! (also on my other question)
Much appreciated that you take the time to answer to any question, even if it's a silly one!

thanks for reply
At 2019-04-12 22:39:19, "DorianAppeldoorn"<EMAIL_ADDRESS>wrote:
Sorry, Davis! I indeed did not follow your instructions clearly. I was confused by the building process. The thing that solved it for me was using:
cmake --build . --target install --config Release
instead of
cmake --build . --config Release
That installed it for me into the program files directory, which made it easily linkable like any other library.
This might be something useful to add to the dlib/compile page, as it is not mentioned for installing dlib on Windows.
Thanks for the responses, Davis! (also on my other question)
Much appreciated that you take the time to answer to any question, even if it's a silly one!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.


fix(deps): update terraform ibm to latest for deployable architectures

This PR contains the following updates:

Package
Type
Update
Change

ibm (source)
required_provider
patch
1.71.2 -> 1.71.3

Release Notes

IBM-Cloud/terraform-provider-ibm (ibm)
v1.71.3
Compare Source
Bugfixes

fix: HOT FIX to include properties from issue 5579 (5818)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

:tada: This PR is included in version 1.13.3 :tada:
The release is available on:

GitHub release
v1.13.3

Your semantic-release bot :package::rocket:


[Feature Request]: Give access to admin

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
Admin should have access over all the listing and reviews i.e they can edit delete or add any listing
I will be sharing username and password of the admin which should be given access to entire website as owner, whenever the user is logged in with that username and password, all access should be permitted (owner of all listing created on the website)
Use Case
Main access should be given to developer/admin in case of faulty usage of website
Priority
High
Record

[X] I have read the Contributing Guidelines
[ ] I'm a GSSOC'24 contributor
[X] I have starred the repository

@dipexplorer yes, as soon as the admin login display hello admin in the navbar

@dipexplorer  progress?

Dear @Soujanya2004
My midterm exams are currently ongoing, and due to this, I'm facing some challenges in managing all the issues at once. I some more days to complete the proper implementation for the admin interface. I appreciate your understanding and patience.

Dear @Soujanya2004
Unfortunately, due to my ongoing midterm exams, I'm facing difficulty managing this larger issue within the current timeframe. If this task is urgent, please feel free to assign it to someone who is available and interested in taking it up right away. I completely understand the importance of keeping the project moving smoothly, and I apologize for any inconvenience caused.
However, if no one is able to take over the task, I will certainly be able to resume work and complete the implementation within a few days.

@dipexplorer I too understand that, the contribution period is nearly coming to end (only 7 days left) make sure you complete the small tasks, the level 3 task i can pause for 3 days

@dipexplorer pull the code once and check, i reviewed that


Issue with "snowflake_notification_integration" direction param

Terraform CLI and Provider Versions
Terraform v1.7.2

Terraform Configuration
before

resource "snowflake_notification_integration" "this" {
  name                  = "${upper(replace(var.prefix, "-", "_"))}_NOTIFICATION_INTEGRATION"
  enabled               = true
  direction             = "OUTBOUND"
  notification_provider = "AWS_SNS"
  aws_sns_topic_arn     = var.sns_topic_arn
  aws_sns_role_arn      = "arn:aws:iam::${local.account_id}:role/${local.sns_publisher_role_name}"
}

after
resource "snowflake_notification_integration" "this" {
  name                  = "${upper(replace(var.prefix, "-", "_"))}_NOTIFICATION_INTEGRATION"
  enabled               = true
  notification_provider = "AWS_SNS"
  aws_sns_topic_arn     = var.sns_topic_arn
  aws_sns_role_arn      = "arn:aws:iam::${local.account_id}:role/${local.sns_publisher_role_name}"
}

Expected Behavior
NO changes
Actual Behavior
Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following
symbols:
  ~ update in-place
-/+ destroy and then create replacement

Terraform will perform the following actions:

  # module.notification_integration.aws_iam_role.sns_publisher will be updated in-place
  ~ resource "aws_iam_role" "sns_publisher" {
      ~ assume_role_policy    = jsonencode(
            {
              - Statement = [
                  - {
                      - Action    = "sts:AssumeRole"
                      - Condition = {
                          - StringEquals = {
                              - "sts:ExternalId" = "EXTERNAL_ID"
                            }
                        }
                      - Effect    = "Allow"
                      - Principal = {
                          - AWS = "arn:aws:iam:aaaaaa:user/bbbbbbb"
                        }
                    },
                ]
              - Version   = "2012-10-17"
            }
        ) -> (known after apply)
        id                    = "notification-integration-id"
        name                  = "notification-integration-name"
        tags                  = {}
        # (9 unchanged attributes hidden)

        # (1 unchanged block hidden)
    }

  # module.notification_integration.snowflake_notification_integration.this must be replaced
-/+ resource "snowflake_notification_integration" "this" {
      ~ aws_sns_external_id        = "SNS_EXTERNAL_ID" -> (known after apply)
      ~ aws_sns_iam_user_arn       = "arn:aws:iam::aaaaaaaa:user/bbbbbbb" -> (known after apply)
      + aws_sqs_external_id        = (known after apply)
      + aws_sqs_iam_user_arn       = (known after apply)
      ~ created_on                 = "2023-05-31 09:26:07.321 +0000 UTC" -> (known after apply)
      - direction                  = "OUTBOUND" -> null # forces replacement
      + gcp_pubsub_service_account = (known after apply)
      ~ id                         = "NOTIFICATION_INTEGRATION_ID" -> (known after apply)
        name                       = "NOTIFICATION_INTEGRATION_NAME"
        # (5 unchanged attributes hidden)
    }

Plan: 1 to add, 1 to change, 1 to destroy.

Steps to Reproduce

terraform apply

How much impact is this issue causing?
Medium
Logs
No response
Additional Information
I removed a parameter that became deprecated due to a version upgrade of the Terraform provider, expecting no change in behavior. However, an unexpected diff appeared. Is this a bug? If not, please advise on how to handle it.
I read https://github.com/Snowflake-Labs/terraform-provider-snowflake/blob/main/MIGRATION_GUIDE.md#snowflake_notification_integration-resource-changes

Hey @harukitake. Thanks for reaching out to us.
We marked the direction deprecated but we did not remove the forceNew or added any diff suppresion for this parameter. The reason was, that this is just a deprecation warning. We've already learned that our users do not like the warning messages. Because of that:

we will remove the forceNew and suppress the diff for that param (should land in v0.86.0 or in v0.87.0)
we will keep that in mind with future deprecations (together with possible state migrations).

What you can do now:

Leave direction without change (you will see warnings) and wait for the version with the aforementioned changes.
Apply the changes - integration should be recreated without problems.

Thanks.
I will do this and wait for update.

Leave direction without change (you will see warnings) and wait for the version with the aforementioned changes.

Hey @harukitake. We released the fox as part of 0.86.0 release. Could you please check if this solves the issue for you?

@sfc-gh-asawicki Thanks for quick fix.
It has resolved.
No changes. Your infrastructure matches the configuration.

Great to hear that. I'm closing the issue then.


fix(ipfs-coord): updating to v6.8.2

:tada: This PR is included in version 2.0.3 :tada:
Your semantic-release bot :package::rocket:


Version 2.00 requires DotNet 4.5.2. Can this be changed to 4.5.0?

Prerequisites

[x] I have written a descriptive issue title
[x] I have verified that I am running the latest version of Nancy
[x] I have verified if the problem exist in both DEBUG and RELEASE mode
[x] I have searched open and closed issues to ensure it has not already been reported

Description

My big project is using Dotnet 4.5.0, when upgrading Nancyfx, we will be forced to 4.5.2. Can Nancy 2.00 support Dotnet 4.5.0?

Nope afraid not due to how netcore works.
Sorry

Ok. But with Version 1.4.3, there is a memory leak issue that I have found and fixed, can you release a new version? The pull request is here:
https://github.com/NancyFx/Nancy/pull/2605

Just change your big project to target net452 @yzhou88 ? You will eventually need to do that anyway.

Thank you for your good suggestion.


[BUG] Pipeline crash with std::out_of_range on a std::unordered_map

Don't think this issue exists, searched in issues and PR's
Version: I'm currently 1 commit behind iron branch: cf5d2aaee9117298ea1632c98ffd36a5d7d535ac
Device: OAK-D pro W
Trying to run yolo object detection on stereo pipeline, on the left mono camera only.
Steps to reproduce

modify depthai-ros/depthai_ros_driver/config/camera.yaml

/**:
  ros__parameters:
    camera:
      i_enable_imu: true
      i_enable_ir: true
      i_nn_type: none
      i_pipeline_type: Stereo
    left:
      i_enable_nn: true
    left_nn:
      i_nn_config_path: depthai_ros_driver/yolo

Then launch using

ros2 launch depthai_ros_driver camera.launch.py use_gdb:=true

I get error
1726855536.0914462 [bash-1] terminate called after throwing an instance of 'std::out_of_range'
1726855536.0915015 [bash-1]   what():  _Map_base::at

GDB
On tracing with gdb I found the error happens at
line 75 in src/dai_nodes/sensors/sensor_helpers.cpp
return rsSocketNameMap.at(socket);

the value its currently holding, probably by default is<PHONE_NUMBER> which does not correspond to any of the map entries that actually are enums
const std::unordered_map<dai::CameraBoardSocket, std::string> rsSocketNameMap = {
    {dai::CameraBoardSocket::AUTO, "color"},
    {dai::CameraBoardSocket::CAM_A, "color"},
    {dai::CameraBoardSocket::CAM_B, "infra2"},
    {dai::CameraBoardSocket::CAM_C, "infra1"},
    {dai::CameraBoardSocket::CAM_D, "infra4"},
    {dai::CameraBoardSocket::CAM_E, "infra3"},
};

Hi, thanks for the report, this should be fixed in the next release (2.10.2)


Update OpenShift operator RBAC for certification

Description
The SCC rule in the operator's cluster role is only for operator certification purposes.
The operator normally runs in a namespace with openshift.io/run-level=0 so SCC is bypassed.
However, in certification tests the operator is run in a normal namespace so this
rule is needed for host networking and hostPath volume access. Host path volume access is needed for Calico v3.18+

Related issues/PRs

Todos

[ ] Tests
[ ] Documentation
[ ] Release note

Release Note

None required

Actually, auto MTU was added in Calico v3.17 so I need to backport this to release-v3.17 too


Support prefix

This PR adds support for prefixes on iOS, Android, and the web. There is also a default prefix rnpc_ so you can add manual colors to your XML files and keep them without the risk of losing them when you generate the platform colors.
Also, you can define the name of the CSS filename in options.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Pontus Abrahamsson seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Organization / artifact ID has changed in the latest release of Rhino.

If you agree with the version bump, would be great if you could also bump the Rhino in coffeescripted-sbt plugin.

Thanks @melezov


Mh sleep refactor

Changes the sleep_injector.rb file to remove the module format as a class format is simpler. Also, gets rid of overriding the click_on  method since it calls .click so by overriding the .click method, the sleep statement is passed to the click_on method.  Uses method wrapping to override the .click and .trigger methods to add sleep statements.

Will change the sleep statements in tests on another branch once pulled


VisionLanguageFusionModule

I find in this module you use multiplication instead of addition or concatenation.
tgt2 = self.multihead_attn(query=self.with_pos_embed(tgt, query_pos),
                                   key=self.with_pos_embed(memory, pos),
                                   value=memory, attn_mask=None,
                                   key_padding_mask=memory_key_padding_mask)[0]
        tgt = tgt * tgt2
        return tgt

why not use addition or concatenation? What are the benefits of using multiplication？

In our early experiments, we find that multiplication would have higher performance than addition for RVOS. So we consistently use multiplication all along the work.
But actually, the performance advantage is less than 1 point. So using multiplication, addition or concatenation may not significantly impact the results.


Brother, I don’t have enough computational resources. Could you share the weights you’ve pre-trained?

Brother, I don’t have enough computational resources. Could you share the weights you’ve pre-trained?

Unfortunately, as this project was developed for Shade Inc. (https://shade.inc/), all rights to the model weights are retained by the company. If you have any questions for setting up the data and infrastructure I could help you with that though.

Thanks for your reply, bro.
Since I only want to work on the caption generation task, I’m wondering if training solely on the MS COCO dataset would be sufficient. Do you have any recommendations?
Also, could you provide an estimate of how many epochs are generally needed for the model to converge?
Thanks again!

I experimented with pretraining on a smaller 500K dataset and found that the model suffers from generalizability. In that the model essentially overfits to the data because of how complex training two transformer models are. In addition, the constrastive loss and image-text matching loss require a decent queue size of images that require more data for better convergence. So I would recommend to strive for at least 1M to 2M images at a minimum. As for epoch, I trained on 5M images for 20 epochs and found that it yielded solide performance. If you train on only 1M images you may only need 10 epochs, and then you can finetune the model further on Flickr30K or TextCaps.

Thanks, bro. I really appreciate your guidance. I’ll follow your advice and try training on a dataset of 1-2 million. Looking forward to the results after training!


Include info about importing certs from KeyVault

Please include info about importing certs from KeyVault and also about how auto-renewal / sync works with that.  e.g. if a cert is renewed and there is a new version of the cert in a KeyVault, how long will it take the app service to sync and automatically start using the renewed cert (same subject name, different thumbprint).  Thank you!

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

ID: ee2ce9e8-8504-ddab-1880-485962b99ffa
Version Independent ID: 1dc67396-c348-d66b-bbab-0d424375ed51
Content: Use client SSL certificate in application code - Azure App Service
Content Source: articles/app-service/app-service-web-ssl-cert-load.md
Service: app-service-web
GitHub Login: @cephalin
Microsoft Alias: cephalin

@chadsowald Thanks for the feedback! We are currently investigating and will update you shortly.

@chadsowald Thanks again for the feedback! You may refer to below doc links for importing and auto-renewal of certificates
https://docs.microsoft.com/en-us/azure/key-vault/certificate-scenarios#import-a-certificate
https://docs.microsoft.com/en-us/azure/key-vault/about-keys-secrets-and-certificates
Let me know if this helps.

Hi @SnehaAgrawal-MSFT.  Thank you.  I'm actually looking for more info about how Azure App Services respond to auto-renewed certs they're linked to via Key Vault?  Specifically here are some questions I can't find answers to:

When a cert auto-renews, how long until the App Service picks up the new version and starts automatically using it for SSL instead of the prior cert?
When a cert auto-renews, does the App Service restart when it picks up the new version?

In my testing, the answer to the first question seems to be a about 3-4 hours, but I wasn't able to test/confirm the second question, so I would really love some guidance in docs about that.  Do both those questions make sense?  Thank you! ~Chad

@chadsowald For detailed information on this you may refer to this blog: https://blogs.technet.microsoft.com/kv/2016/09/26/manage-certificates-via-azure-key-vault/
Also, we typically try to keep the Azure-Docs channel scoped to feedback directly about the docs. Since your question goes beyond what is discussed in the doc, we kindly invite you to share your question MSDN forum Thank you for your understanding.

Thanks @SnehaAgrawal-MSFT.  For others who might find this question, that blog doesn't directly answer either question, but comes close:

The App Service "periodically polls" for renewed certs from the KV.  Again, in my testing it took about 3-4 hours.
When a new cert is found App Service "rebinds SSL/TLS for your app".  It doesn't say if it restarts your app or not.  Presumably not though, since it doesn't specifically call it out.

Take care, ~Chad


@miaoyq @huangyuqi

Did you mean to run eventer instead?

Can't get the events data

I'm unclear as to what you mean by "Can't get the events data".  Can you elaborate a bit?

The table was not correctly updated -- we do have a Kafka sink.  @huangyuqi please submit a PR updating the table.


Enhance support for Cilium

[ ] Since Cilium 1.14+, FRR cannot announce the pod cidr anymore, more details: https://github.com/cilium/cilium/issues/31243
I will try the workaround suggested by @networkop. Related commit: https://github.com/FRRouting/frr/commit/8eb09e64d205ccb24223be5de254167ec96f61b6
[ ] Cilium 1.14 doesn't support K8s 1.28
[ ] Since Cilium 1.15, loopback interface has to be explicit configured as direct-routing-device, see https://github.com/cilium/cilium/issues/30889

Created PRs for Cilium extension:
Allow setting loopback as direct routing device in Cilium 1.15+
Allow using BGP Control Plane


chore: remove revm/compat from reth-primitives

Replaces the helper functions with From<_> implementations.

sweet


 Display health status

Create a user interface to display the health status of the identity service of every member to superuser only.
To obtain health logs:

Request on /identity/healthLogs to receive the health status data of every user.
Request on /identity/healthLog/:username to receive the health status data of specific user.

Display received health logs as specified.
Parent issue : here

assign me please


Fixing cli runner dependencies

Revving System.Diagnostics.Process dependencies in xunit performance since the older version indirectly references a windows-only dll and cannot be run on linux
This fixes current perf runs on linux
@brianrob @lt72

If possible, let's use latest version number that's already published so that we don't have to update BuildTools and all of the downstream repos.  Otherwise LGTM.

@dotnet-bot Test Windows / Ubuntu Debug Build please


Move the authentication button into the react code so that we have a way to reauthenticate.

The reason I want to do this is that I run queries and leave the log open at that query. Later I come back to the log tab in my browser and try to do things and nothing works because my auth token has expired. The only way to get it back is to refresh.
This change intercepts the invalid credentials error and forces authentication to happen again while hiding the log viewer, meaning that everything can be retained.


Make nvidia resource names configurable

fix issue https://github.com/NVIDIA/dcgm-exporter/issues/314 , to make nvidia resource names configurable.
It can solve the problem that nvidia/k8s-device-plugin advertise specified GPU type like nvidia.com/a100 or nvidia.com/a10 and so on, not nvidia.com/gpu.

@nvvfedorov have added a GPG signature to my commit. thanks for review.


alternate screen buffer

After running a ./handbook.sh command then quitting, I'm left with only the remnants of what I attempted to browse. What was previously in the buffer seems to be lost.
I'm not a developer, but I guess that you'll benefit from using the alternate screen buffer.
From TERM, alternate screen buffer, xterm-256color, xterm-clear, ee, nano, more, less … in Reddit, a few months ago:

With 15.0-CURRENT on my everyday computer,

TERM=xterm-256color

– and I do get what I want after using editors such as ee and nano:

disappearance of editor content
reappearance of what was on-screen before edition 👍

…

https://github.com/dudleyi/handbook/issues/2


Support HTTPs via cloudflare?

Now the http link cannot be loaded on https web apps.

Hello,
I've fixed the invalid certificate for https!
Thanks for your feedback.


data format for regression task

Hi.
I wanna try regression task similar to prsa.
For prsa, I understand the data for training is prepared in dataset/prsa.py.
For other new regression task, where and how can I set the target value and feature data?

+1

Loading the model for me looks something like
from transformers.modeling_utils import load_sharded_checkpoint

tab_net = TabFormerBertLM(custom_special_tokens,
                       vocab=vocab,
                       field_ce=args.field_ce,
                       flatten=args.flatten,
                       ncols=dataset.ncols,
                       field_hidden_size=args.field_hs
                       )
load_sharded_checkpoint(tab_net.model, base_path+"checkpoints1/checkpoint-80/")

I need that i guess because the model is sharded when saved in my case.
It seems like to generate the dataset, load the model and predict. The the output is of shape (dset_size, seq_len*ncols, vocab_size) which i think can be reshaped to (dset_size, seq_len, -1)  for prediction.
I think from there you simply pass the dataloader return_labels=True and then run a regression task somehow.
I would love any tips from the authors if possible.


cmd/go: file system replace only works if target has go.mod

What version of Go are you using (go version)?

$ go version
go version go1.12.1 linux/amd64

Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/bsiegert/.cache/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/bsiegert/go"
GOPROXY=""
GORACE=""
GOROOT="/home/bsiegert/pkg/go112"
GOTMPDIR=""
GOTOOLDIR="/home/bsiegert/pkg/go112/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/home/bsiegert/src/github.com/bsiegert/lf/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build475195531=/tmp/go-build -gno-record-gcc-switches"

What did you do?
I have some code that depends on github.com/mattn/go-runewidth, which has semver tags but no go.mod file.
The replace directive in go.mod allows replacing a dependent module with local code by giving it a path. So I tried the following to use my local copy of the go-runewidth package (inside an existing GOPATH, by the way):
module github.com/bsiegert/lf

go 1.12

require (
        github.com/mattn/go-runewidth v0.0.3
        github.com/nsf/termbox-go v0.0.0-20180613055208-5c94acc5e6eb
)

replace github.com/mattn/go-runewidth => /home/bsiegert/pkg/gopkg/src/github.com/mattn/go-runewidth

What did you expect to see?
I expected go build to use that copy of the package, whether it has a go.mod file or not.
What did you see instead?

$ go build
go: parsing ../../../../pkg/gopkg/src/github.com/mattn/go-runewidth/go.mod: open /home/bsiegert/pkg/gopkg/src/github.com/mattn/go-runewidth/go.mod: no such file or directory
go: error loading module requirements

Adding a go.mod file with just the "module" line in the go-runewidth directory makes the build work.
I thought that was surprising, and it reduces the value proposition of replace while many dependencies do not have go.mod files yet.

I suspect there is a good reason for this, but it would be good if @bcmills can confirm.
File system replacements are very commonly in a subdirectory of a module. The presence of a go.mod file in the replacement directory makes it clear that everything in that directory is not part of the containing module.

In general there are two kinds of replacements: replacing the source code for a module with a modified version of that source code with the same import path, and replacing one module with an entirely different module. (The latter mode is buggy at the moment, but it ought to work and it will work better in the near future.)
We can distinguish between those two modes using the module path declared in the go.mod file, which tells us the import path prefix for all of the packages contained within that module: if the path exactly matches the path of the module to be replaced, then we have a source-code replacement; otherwise, we have a one-module-with-another replacement and need to reinterpret the import paths accordingly.
If there is no go.mod file in the replacement directory, then we cannot distinguish between those two modes: we don't know which import paths refer to packages in the same module and which refer to packages in external modules.

We could perhaps interpret a replacement path without a go.mod file as always being the source-code style replacement, but given that it is easy to run go mod init $MODULENAME in the local filesystem, having an explicit module path seems more robust.

Dup of #30847.


Update Makefiile to generate warnings from pandoc when section links are broken

Update Makefiile to generate warnings from pandoc when section links are broken

adds a lua script used by pandoc
updates Makefile to use the new lua script

Thanks!


Add support for custom role definitions

Once Azure/azure-rest-api-specs#11465 is checked in, regenerate source to support custom role definitions.

@christothes has already completed this for our next preview. Other changes are in flight, but those are tracked separately.

@christothes has already completed this for our next preview. Other changes are in flight, but those are tracked separately.

@christothes was actually working toward this issue. I thought maybe this was a dup. Seems not. Assigning to him.

@christothes was actually working toward this issue. I thought maybe this was a dup. Seems not. Assigning to him.


Not possible to color repeatMark

From the description of repeatMark it is explicitly allowed to use it without further content, but there is no possibility to color the mark without an additional rend child holding a symbol.
The @color attribute should be available on repeatMark.

Compare #1086.


Cache Task Reliability Improvements

The cache task sometimes fails on issues unrelated to the code. In those cases we should detect the failure, clean up any partial state, and pull down vcpkg as if the cache step had a miss.
Alternatives: bake the vcpkg cache state into the VM image.

This is solved in vcpkg binary caching using the storage account.


rpi-config: set init_uart_clock to 3 MHz

In recent RPi firmware the default clock rate of UART changed from 3 MHz to 48 MHz. This breaks the serial port support in u-boot, because it uses a hard-coded fixed rate of 3 MHz.
Until this is updated in u-boot we need to explicitly set the init_uart_clock to 3 MHz which was the previous default and which is the one that is supported in u-boot.
Signed-off-by: Mirza Krak<EMAIL_ADDRESS>

#36


operation error

Example
1*2=2
Multiply the result (2) using the *
It appears on the left.. Then you cannot do any calculation with more than one step

Ah, seems like fixing support for real numbers caused this issue. You can still compute afterwards, its just that the cursor is placed at front. Hopefully I will release a fix today. Thanks for your report.

Issue has been fixed as of #17


Publish release to Slack

As the GitHub integration publishes the message as soon as the release is created, the automatic changelog that release-notary creates never ends up being shown anywhere...
It would be nice if release-notary could automatically post to Slack instead, or maybe some other mechanism that would allow to show the changelog in Slack

Closing this one as the feature it's already shipped, will open another issue for improving the output


[Event Request] Codeunit 10750 SII XML Creator - OnBeforeGenerateClaveRegimenNodePurchases

We need a new event in Codeunit 10750 "SII XML Creator" named OnBeforeGenerateClaveRegimenNodePurchases with a local boolean variable "IsHandled":
[IntegrationEvent(false, false)]
local procedure OnBeforeGenerateClaveRegimenNodePurchases(SIIDocUploadState: Record "SII Doc. Upload State"; VendLedgerEntry: Record "Vendor Ledger Entry"; Vendor: Record Vendor; var RegimeCode: Code[2]; var IsHandled: Boolean)
begin
end;
called from:
local procedure GenerateClaveRegimenNodePurchases(var XMLNode: DotNet XmlNode; SIIDocUploadState: Record "SII Doc. Upload State"; VendorLedgerEntry: Record "Vendor Ledger Entry"; Vendor: Record Vendor) RegimeCode: Code[2]
var
SIIInitialDocUpload: Codeunit "SII Initial Doc. Upload";
TempXMLNode: DotNet XmlNode;
VendorLedgerEntryRecRef: RecordRef;
RegimeCode: Code[2];
IsHandled: Boolean;
begin
//INIT INSERT
OnBeforeGenerateClaveRegimenNodePurchases(SIIDocUploadState, VendorLedgerEntry, Vendor, RegimeCode, IsHandled);
if IsHandled then
exit(RegimeCode);
//END INSERT
if SIIInitialDocUpload.DateWithinInitialUploadPeriod(VendorLedgerEntry."Posting Date") then
RegimeCode := '14'
else begin
DataTypeManagement.GetRecordRef(VendorLedgerEntry, VendorLedgerEntryRecRef);
......
......
......

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Controlled TextInput component breaks Pinyin autocompletion in v0.26.0

There is a regression in React Native v0.26.0. Specifically, a simple controlled TextInput component (both single and multiline) like this:
var ControlledTextInput = React.createClass({
  getInitialState: function() {
    return {value: ''};
  },
  _onChangeText: function(text) {
    this.setState({value: text});
  },
  render: function() {
    return <TextInput
      value={this.state.value}
      style={styles.default}
      onChangeText={this._onChangeText.bind(this)}
      {...this.props}
      />;
  }
});

breaks the Chinese Pinyin keyboard's autocompletion feature. For instance, after typing the "n" here, the keyboard should offer an autocompletion to "你", but instead the keyboard offers an autocompletion to ",":

I bisected and traced this regression down to 9be37ca, which is the commit that updated us to using react 15.0.2-alpha.2.
The reason for the breakage is that after the problematic diff, -[RCTTextView setText:] gets called twice for every keypress: once with the old text and once with the new text with the new character appended. By calling setText: with the old text, we end up calling -[UITextView setText:], which clears the marked autocompletion state of the text view and breaks multi-character autocomplete keyboards like Chinese Pinyin.
See https://github.com/facebook/react-native/pull/8140 for a PR that tries to work around this issue. I'm going to close that PR for now and work on trying to fix the regression rather than applying a workaround.

will be fixed in v0.28.0?

The intention is to fix it as soon as we can, yes.

This commit in react seems to be the root cause of the duplicate -setText: calls: https://github.com/facebook/react/pull/6572

It turns out this bug was fixed by another diff: 26aa27da630a8875dfe64f616b6aca59eaa89aaf. This diff is included in v0.28.0 so this bug is fixed.


Cache compiled functions to disk

Dear jax team,
is there any API to cache compiled jited functions to disk? Maybe similar to numba's @jit(cache=True).

Unfortunately, XLA:GPU is purely a just-in-time compiler and doesn't currently support serializing its binaries. (XLA on CPU does support this, but we don't wrap that functionality in JAX).

Too bad, but thank you for the clarification!

Note that this does seem to be experimentally supported on TPUs now: https://github.com/google/jax/issues/476#issuecomment-1015773039. tbd on CPU/GPU support

I hope this is supported for GPU in the future. The community needs it.

@onurdanaci I believe this does work on GPUs now!

As far as I can see, this works on CPU as well.


[Media Queries] Error on xxlarge

How can we reproduce this bug?

Set up a page with F6
Make an html element
Try to use xxlarge call

What did you expect to happen?
I'd like to replace background in my parallax scrolling div.
What happened instead?
I did add empty @include's with desired breakpoints:
#h1s1.myBanner{

background: url('../images/002_O_NAS/images/dzieciaki.jpg') no-repeat;
background-attachment: fixed;
background-position: 0px -275px !important;

background-size: cover;

@include breakpoint(medium down) {

}

@include breakpoint(xlarge down) {

}

@include breakpoint(xxlarge down) {

}
}

After adding the last one for xxlarge devices i have the following error in my CSS:

Have you encountered such behavior ever before or it's some kind of my mistake?

xxlarge down doesn't work because it's the biggest breakpoint. The term specifically means "xxlarge screens and down", and that won't work because there's not a bigger breakpoint to reference.

Thank you!
2016-01-05 1:24 GMT+01:00 Geoff Kimball<EMAIL_ADDRESS>
xxlarge down doesn't work because it's the biggest breakpoint. The term
specifically means "xxlarge screens and down", and that won't work
because there's not a bigger breakpoint to reference.
—
Reply to this email directly or view it on GitHub
https://github.com/zurb/foundation-sites/issues/7711#issuecomment-168852641
.

--
Z poważaniem,
Mikołaj Koropecki
Design & Software
Development House
mob: +48 500 401 730
e-mail<EMAIL_ADDRESS>


[bank donations] Must use bank account currency

Which area(s) of Podkrepi.bg are affected? (leave empty if unsure)
Donations
Describe the Bug
We have received a bank donation in EUR, however the bank account is in BGN, so we need to account the money in BGN only.
To Reproduce
See the received amount in the Admin UI:

It is shown correctly, but the calculation of total donated amounts will be wrong as the system will calculate all numbers in the main currency.
Expected Behavior
After some research it appears the solution needs to be the following implemented on the backend:
The bank is sending the transaction with the below message, where the currency is in EUR and there is no exchange rate. This is obviously a bug in the bank API and we have reported it.
Until waiting we noticed that the actual converted BGN amount is existing in the long transactionId field. The amount is at the end of the transaction between dates like this: 20230703amount_20230703. So the logic could be: if currency <> BGN take the BGN amount from the transaction id.
When the bank fixes the message, we will remove this custom logic.
Full bank message here:
{
      "transactionId": "Booked_6516347588_70001524349032963FTRO23184809601C202307034024.69_20230703",
      "bookingDate": "2023-07-03",
      "creditorAccount": {
        "iban": "BG66UNCR70001524349032"
      },
      "creditorName": "СДРУЖЕНИЕ ПОДКРЕПИ БГ",
      "debtorAccount": {
        "iban": "BG21UNCR111111111111"
      },
      "debtorName": "Name not relevant for the example",
      "entryReference": null,
      "remittanceInformationUnstructured": "98XF-SZ50-RC8H",
      "transactionAmount": {
        "amount": 2069.25,
        "currency": "EUR"
      },
      "exchangeRate": null,
      "valueDate": "2023-07-03",
      "creditDebitIndicator": "CREDIT",
      "category": null
}

Which browser are you using? (if relevant)
No response

Can I take it, please? @igoychev

fixed on backend: https://github.com/podkrepi-bg/api/pull/537


There is no way to copy the transaction id (swap)

https://user-images.githubusercontent.com/50007056/130429283-f46cf668-6740-41fd-8368-d6d93b230a14.mp4

checked


[0.9.5-nightly] Drop server doesn't succeed

Im using the latest nightly build of ver 0.9.5 after upgraded from <IP_ADDRESS>.
The main reason I decided to use this version is because of the ability to drop servers (raft and non raft).
I want to upgrade the machines without losing data.
So first I added the 4th server (non raft) to the cluster, and I altered the RETENTION POLICY to REPLICATION 4, this doesn't help ( the new node didn't receive replication data) so i created new RETENTION POLICY with REPLICATION 4 (DEFAULT), this created new shard file (4 replicates) but since it started from the new shard, I couldn't see the old data (unless i'll change back to the old retention).
I also tried to alter the replication factor from 4 to 2 but all the cluster (4 nodes) still got the replicated data.
Then I tried to DROP the new server but got this error Server returned error: shard not replicated.
What should I need to do in order to drop one server and add another one instead without losing data?
PS - After create the new retention policy, when I run SHOW SHARDS I get Query returned no results! - so I even don't know the replication status.
Thanks!

@corylanou

This is working as intended.  It might be an underlying bug in the shard creation, but the drop server saw that somewhere a shard wasn't replicated based on the meta store, so it stops.  To confirm this, we would need to see what the shards are in terms of what the meta store thinks.  You can always use DROP SERVER foo FORCE to continue, but in normal circumstances this would risk data loss.  For this situation, I suspect it would be fine to use FORCE
As for altering the RP to a replication of 4, that won't take affect until the next interval of shard creation I believe.  In the future we will be adding services that will backwards populate retention policies when the replication factor changes.
@otoolep does that sound correct?

Correct, the new RP replication won't take effect immediately.
@panda87 -- can we see the output of SHOW SHARDS?

Unfortunately as I said, running SHOW SHARDS returns Query returned no results!.
Do you what should I do to in to see the current shards status?
In addition, I tried to DROP FORCE one of the nodes and add new one instead. It seems the new node look for the dropped node and when adding it, it doesn't find any Leader Raft.
When I run show servers on the old (2) nodes I can see the new node, and also their peers.json has changed accordingly but when I run show servers I can see 4 nodes (2 old, dropped node, the new one) without Leader.
Any ideas?

Can you please show us the output of SHOW SHARDS as executed at the CLI? You are using the admin tool, which can hide details.
$ ./influx
Visit https://enterprise.influxdata.com to register for updates, InfluxDB server management, and monitoring.
Connected to http://localhost:8086 version 0.9
InfluxDB shell 0.9
> show shards
>

Same with SHOW SERVERS. Please show us the output of this, with the CLI connected to each node. Please run SHOW SHARDS when connected to each node as well.

Node01
Connected to http://localhost:8086 version 0.9.5-nightly-437f80a
InfluxDB shell 0.9.5-nightly-437f80a
> show shards
name: collectd_metrics_qa
-------------------------
id	start_time	end_time	expiry_time	owners

name: _internal
---------------
id	start_time		end_time		expiry_time		owners
65	2015-10-28T00:00:00Z	2015-10-29T00:00:00Z	2015-11-05T00:00:00Z	2
66	2015-10-28T00:00:00Z	2015-10-29T00:00:00Z	2015-11-05T00:00:00Z
67	2015-10-28T00:00:00Z	2015-10-29T00:00:00Z	2015-11-05T00:00:00Z	1
68	2015-10-29T00:00:00Z	2015-10-30T00:00:00Z	2015-11-06T00:00:00Z	1
69	2015-10-29T00:00:00Z	2015-10-30T00:00:00Z	2015-11-06T00:00:00Z	2
70	2015-10-29T00:00:00Z	2015-10-30T00:00:00Z	2015-11-06T00:00:00Z
71	2015-10-30T00:00:00Z	2015-10-31T00:00:00Z	2015-11-07T00:00:00Z
72	2015-10-30T00:00:00Z	2015-10-31T00:00:00Z	2015-11-07T00:00:00Z	1
73	2015-10-30T00:00:00Z	2015-10-31T00:00:00Z	2015-11-07T00:00:00Z	2
81	2015-10-31T00:00:00Z	2015-11-01T00:00:00Z	2015-11-08T00:00:00Z	2
82	2015-10-31T00:00:00Z	2015-11-01T00:00:00Z	2015-11-08T00:00:00Z
83	2015-10-31T00:00:00Z	2015-11-01T00:00:00Z	2015-11-08T00:00:00Z	1
84	2015-11-01T00:00:00Z	2015-11-02T00:00:00Z	2015-11-09T00:00:00Z
85	2015-11-01T00:00:00Z	2015-11-02T00:00:00Z	2015-11-09T00:00:00Z	1
86	2015-11-01T00:00:00Z	2015-11-02T00:00:00Z	2015-11-09T00:00:00Z	2
88	2015-11-02T00:00:00Z	2015-11-03T00:00:00Z	2015-11-10T00:00:00Z	2
89	2015-11-02T00:00:00Z	2015-11-03T00:00:00Z	2015-11-10T00:00:00Z
90	2015-11-02T00:00:00Z	2015-11-03T00:00:00Z	2015-11-10T00:00:00Z
91	2015-11-02T00:00:00Z	2015-11-03T00:00:00Z	2015-11-10T00:00:00Z	1
94	2015-11-03T00:00:00Z	2015-11-04T00:00:00Z	2015-11-11T00:00:00Z	2
95	2015-11-03T00:00:00Z	2015-11-04T00:00:00Z	2015-11-11T00:00:00Z
96	2015-11-03T00:00:00Z	2015-11-04T00:00:00Z	2015-11-11T00:00:00Z
97	2015-11-03T00:00:00Z	2015-11-04T00:00:00Z	2015-11-11T00:00:00Z	1
106	2015-11-04T00:00:00Z	2015-11-05T00:00:00Z	2015-11-12T00:00:00Z
107	2015-11-04T00:00:00Z	2015-11-05T00:00:00Z	2015-11-12T00:00:00Z
108	2015-11-04T00:00:00Z	2015-11-05T00:00:00Z	2015-11-12T00:00:00Z	1
109	2015-11-04T00:00:00Z	2015-11-05T00:00:00Z	2015-11-12T00:00:00Z	2

name: collectd_metrics_prod
---------------------------
id	start_time		end_time		expiry_time		owners
101	2015-11-02T00:00:00Z	2015-11-09T00:00:00Z	2016-11-08T00:00:00Z	1,2

name: test
--------
id	start_time		end_time		expiry_time		owners
98	2015-11-02T00:00:00Z	2015-11-09T00:00:00Z	2016-11-08T00:00:00Z	1,2

name: collectd_metrics_dev
--------------------------
id	start_time	end_time	expiry_time	owners

Node02
Connected to http://localhost:8086 version 0.9.5-nightly-437f80a
InfluxDB shell 0.9.5-nightly-437f80a
> show shards
name: collectd_metrics_qa
-------------------------
id	start_time	end_time	expiry_time	owners

name: _internal
---------------
id	start_time		end_time		expiry_time		owners
65	2015-10-28T00:00:00Z	2015-10-29T00:00:00Z	2015-11-05T00:00:00Z	2
66	2015-10-28T00:00:00Z	2015-10-29T00:00:00Z	2015-11-05T00:00:00Z
67	2015-10-28T00:00:00Z	2015-10-29T00:00:00Z	2015-11-05T00:00:00Z	1
68	2015-10-29T00:00:00Z	2015-10-30T00:00:00Z	2015-11-06T00:00:00Z	1
69	2015-10-29T00:00:00Z	2015-10-30T00:00:00Z	2015-11-06T00:00:00Z	2
70	2015-10-29T00:00:00Z	2015-10-30T00:00:00Z	2015-11-06T00:00:00Z
71	2015-10-30T00:00:00Z	2015-10-31T00:00:00Z	2015-11-07T00:00:00Z
72	2015-10-30T00:00:00Z	2015-10-31T00:00:00Z	2015-11-07T00:00:00Z	1
73	2015-10-30T00:00:00Z	2015-10-31T00:00:00Z	2015-11-07T00:00:00Z	2
81	2015-10-31T00:00:00Z	2015-11-01T00:00:00Z	2015-11-08T00:00:00Z	2
82	2015-10-31T00:00:00Z	2015-11-01T00:00:00Z	2015-11-08T00:00:00Z
83	2015-10-31T00:00:00Z	2015-11-01T00:00:00Z	2015-11-08T00:00:00Z	1
84	2015-11-01T00:00:00Z	2015-11-02T00:00:00Z	2015-11-09T00:00:00Z
85	2015-11-01T00:00:00Z	2015-11-02T00:00:00Z	2015-11-09T00:00:00Z	1
86	2015-11-01T00:00:00Z	2015-11-02T00:00:00Z	2015-11-09T00:00:00Z	2
88	2015-11-02T00:00:00Z	2015-11-03T00:00:00Z	2015-11-10T00:00:00Z	2
89	2015-11-02T00:00:00Z	2015-11-03T00:00:00Z	2015-11-10T00:00:00Z
90	2015-11-02T00:00:00Z	2015-11-03T00:00:00Z	2015-11-10T00:00:00Z
91	2015-11-02T00:00:00Z	2015-11-03T00:00:00Z	2015-11-10T00:00:00Z	1
94	2015-11-03T00:00:00Z	2015-11-04T00:00:00Z	2015-11-11T00:00:00Z	2
95	2015-11-03T00:00:00Z	2015-11-04T00:00:00Z	2015-11-11T00:00:00Z
96	2015-11-03T00:00:00Z	2015-11-04T00:00:00Z	2015-11-11T00:00:00Z
97	2015-11-03T00:00:00Z	2015-11-04T00:00:00Z	2015-11-11T00:00:00Z	1
106	2015-11-04T00:00:00Z	2015-11-05T00:00:00Z	2015-11-12T00:00:00Z
107	2015-11-04T00:00:00Z	2015-11-05T00:00:00Z	2015-11-12T00:00:00Z
108	2015-11-04T00:00:00Z	2015-11-05T00:00:00Z	2015-11-12T00:00:00Z	1
109	2015-11-04T00:00:00Z	2015-11-05T00:00:00Z	2015-11-12T00:00:00Z	2

name: collectd_metrics_prod
---------------------------
id	start_time		end_time		expiry_time		owners
101	2015-11-02T00:00:00Z	2015-11-09T00:00:00Z	2016-11-08T00:00:00Z	1,2

name: test
--------
id	start_time		end_time		expiry_time		owners
98	2015-11-02T00:00:00Z	2015-11-09T00:00:00Z	2016-11-08T00:00:00Z	1,2

name: collectd_metrics_dev
--------------------------
id	start_time	end_time	expiry_time	owners

Hmmm.
Your system is not happy, since there are many shards in existence that have not been assigned to any nodes. We can dig into this, but you are pushing clustering which is only in alpha state, and you may be hitting bugs we have yet to solve.
Because clustering is only alpha-quality, we have not tested much beyond 3 nodes. If you want a stable system I suggest you restrict your clusters to this size.

We hope to implement DROP SHARD soon which will help fix up this system but that feature is a few days away at best, perhaps more.

If you can come with a precise set of steps that puts your cluster in this state, I would be interested in looking into this.

When you issued the drop server, was the node you were dropping already shut down?  That is our current recommended approach, but I have tested both ways and I haven't seen it fail.  I would also be interested if you can repeat the steps that recreate the situation.

@corylanou No it was not shut down yet at this time.
The steps are the following:

Added new node, the 4h, and changed the RP replication to 4. (eventually after that I had 4 replicated instances - of course it took time until it created the new shards).
Drop the 3rd node, when I had a problem to do that I used the FORCE command.
Then I reduce the replication factor to 3.
Tried to add the 4th server to the raft, but it looked for the 3rd node, and in the peers.json file of the new node it, the list was only this hostname, and in the others it was with this node too.
The log says its looking for the 3rd node and I got timeout for leader election, in the other nodes I could see who is the leader.

Ok, I think I understand.  You can currently drop a node that is a raft server, but adding a node after that to become raft is a somewhat manual process.  I'm currently finishing out the code that will allow for bringing a raft node back automatically just by adding a new node.  I should have that committed in a day or so.  Let's try that same process once that code is committed.  I suspect it should solve the problem.

Closing this as clustering has been removed from the open source version and DROP SERVER has also been removed.


Enabled support for nested ous

Support for Nested OUs

Can you please also check the create_account method? I think it would be affected by this change.

Can you please also check the create_account method? I think it would be affected by this change.

Can you please also check the create_account method? I think it would be affected by this change.

Indeed it was affected. Made changes to make sure we can create accounts under the 2nd level OUs.

Assuming this was tested I am merging. I need to implement a few small changes on the captchas and will release on Monday. Amazing work, thank you very much!


Flash Telecommand: get and print the Status Register for a flash module

Super easy command. Would love to get it in main. Would be helpful for checking on the general status of flash memory modules during a variety of testing actions.
Would this implementation be the same or different for the NAND vs. NOR modules, @Saksham-P?

The implementation would be very slightly different for NOR vs. NAND.

For the NOR modules, we can simply call a command that would return the values of the Status Register Byte.
For the NAND modules, we have to call a command that lets the module know we want to access one of it's "features", and as a data byte we send the address of Status Register feature which we want to access.

Overall, the main differences being apart from the command byte values which differ

For NOR: 2 Transmit Commands, 1 Receive Command
FOR NAND: 1 Transmit Command, 1 Receive Command

Sweet! Hmm let's focus on just doing this for the NAND module only in its branch then.
Would be awesome to rebase that branch to main as well.


Associate the NIC to the Load Balancer backend address pool

Add the resource to manage the association between a Network Interface and a Load Balancer's Backend Address Pool.
Ref : https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/network_interface_backend_address_pool_association

Submitting the issue on behalf of @davesee


Vulnerability roundup 109: keepalived-2.2.4: 1 advisory [5.4]

search, files

[ ] CVE-2021-44225 CVSSv3=5.4 (nixos-21.11, nixos-unstable)

CVE details
CVE-2021-44225
In Keepalived through 2.2.4, the D-Bus policy does not sufficiently restrict the message destination, allowing any user to inspect and manipulate any property. This leads to access-control bypass in some situations in which an unrelated D-Bus system service has a settable (writable) property

Scanned versions: nixos-21.11: 573095944e7; nixos-unstable: b0bf5f888d3.

Fixed by pulling in a patch rather than bumping #157042


Code coverage flags

Description
Set code coverage flags.
References
https://app.zenhub.com/workspaces/mighty-ducks---the-outlaws-6193fe815d79fc0011e741b1/issues/energinet-datahub/the-outlaws/328

Codecov Report

Merging #118 (ca986ac) into main (72f8b36) will increase coverage by 0.08%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #118      +/-   ##
==========================================
+ Coverage   64.48%   64.57%   +0.08%
==========================================
  Files          78       78
  Lines        1667     1671       +4
  Branches      201      201
==========================================
+ Hits         1075     1079       +4
  Misses        533      533
  Partials       59       59

Flag
Coverage Δ

testcommon
70.63% <ø> (+0.09%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...onApp.TestCommon/Configuration/AzureB2CSettings.cs
100.00% <0.00%> (ø)

...mmon/Configuration/IntegrationTestConfiguration.cs
100.00% <0.00%> (ø)

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


Support XCode Command Line Tools

Please refer to the commit message for background of the PR.
@leoliu This PR comes from the same symptoms you reported in https://github.com/klacke/yaws/issues/389 . If you are still experiencing that, it would be great if you could test this PR.

Thanks!

Thanks.  I remember that is also my workaround while downloading the 3G xcode.

Thanks for checking this, @leoliu .

@vinoski @leoliu Thanks for the fast review of this PR!


Move yarn.lock to package-lock.json (yarn to npm)

We will stick to yarn a bit (still better: performance / workspaces /) and NPM seems to be buguy


Hyperparameter of Self-consistency?

Hello, thank you for the good research.
Can I know how to set hyperparameters such as Temperature and top_p when inference SC=50?

Hi, we use t=0.7 and 'top_p=1.0` by default.


Can't comment an include()

Method include() includes code even if it's commented

won't fix
We are about to build 2 different modes :

script (the current one) that use the interpreter. The interpreter currently doesn't support an import mechanism such as :load, so the include workaround.
Scala files that are compiled and where we use standard imports.


Bug fix - generate-event s3 URL encoding added

Issue #, if available: Bug was that generate-event s3 --key ___ output was not URL encoded
Description of changes:
Added change to URL encode the key generated by generate-event s3 --key ___
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@saaaaaaaaaahil Hey, can you fix the tests? make pr is failing

@saaaaaaaaaahil Please make sure you are submitting PRs to develop and not master. The master branch is for releases only.

@saaaaaaaaaahil This PR needs be rebased against latest develop branch.

Closing because this is inactive


Support Multi-gpus inference on 3090s

Hi, I can successfully infer with a single 3090, but setting tensor_parallel_size=2 throws the following error:
Traceback (most recent call last):
File "test_batch.py", line 78, in
llm = LLM(model=args.model_path, tensor_parallel_size=2)
File "/data/xuhao/xcxhy/vllm/vllm/entrypoints/llm.py", line 55, in init
self.llm_engine = LLMEngine.from_engine_args(engine_args)
File "/data/xuhao/xcxhy/vllm/vllm/engine/llm_engine.py", line 151, in from_engine_args
engine = cls(*engine_configs, distributed_init_method, devices,
File "/data/xuhao/xcxhy/vllm/vllm/engine/llm_engine.py", line 102, in init
self._init_cache()
File "/data/xuhao/xcxhy/vllm/vllm/engine/llm_engine.py", line 114, in _init_cache
num_blocks = self._run_workers(
File "/data/xuhao/xcxhy/vllm/vllm/engine/llm_engine.py", line 317, in _run_workers
all_outputs = ray.get(all_outputs)
File "/data/anaconda3/envs/LLM-INFER/lib/python3.8/site-packages/ray/_private/client_mode_hook.py", line 105, in wrapper
return func(*args, **kwargs)
File "/data/anaconda3/envs/LLM-INFER/lib/python3.8/site-
packages/ray/_private/worker.py", line 2523, in get
raise value
ray.exceptions.RayActorError: The actor died because of an error raised in its creation task, ray::Worker.init() (pid=1330513, ip=<IP_ADDRESS>, repr=<vllm.worker.worker.Worker object at 0x7f02983857f0>)
File "/data/xuhao/xcxhy/vllm/vllm/worker/worker.py", line 40, in init
_init_distributed_environment(parallel_config, rank,
File "/data/xuhao/xcxhy/vllm/vllm/worker/worker.py", line 302, in _init_distributed_environment
torch.distributed.all_reduce(torch.zeros(1).cuda())
File "/data/anaconda3/envs/LLM-INFER/lib/python3.8/site-packages/torch/distributed/distributed_c10d.py", line 1451, in wrapper
return func(*args, **kwargs)
File "/data/anaconda3/envs/LLM-INFER/lib/python3.8/site-packages/torch/distributed/distributed_c10d.py", line 1700, in all_reduce
work = default_pg.allreduce([tensor], opts)
torch.distributed.DistBackendError: NCCL error in: ../torch/csrc/distributed/c10d/ProcessGroup
NCCL.cpp:1275, internal error, NCCL version 2.14.3
ncclInternalError: Internal check failed.
Last error:
Cuda failure 'peer access is not supported between these two devices'
(Worker pid=1330514) 2023-06-29 19:32:39,164    ERROR worker.py:844 -- Exception raised in creation task: The actor died because of an error raised in its creation task, ray::Worker.init() (pid=1330514, ip=<IP_ADDRESS>, repr=<vllm.worker.worker.Worker object at 0x7f4aedfef760>)
(Worker pid=1330514)   File "/data/xuhao/xcxhy/vllm/vllm/worker/worker.py", line 40, in init
(Worker pid=1330514)     _init_distributed_environment(parallel_config, rank,
(Worker pid=1330514)   File "/data/xuhao/xcxhy/vllm/vllm/worker/worker.py", line 302, in _init_distributed_environment
(Worker pid=1330514)     torch.distributed.all_reduce(torch.zeros(1).cuda())
(Worker pid=1330514)   File "/data/anaconda3/envs/LLM-INFER/lib/python3.8/site-packages/torch/distributed/distributed_c10d.py", line 1451, in wrapper
(Worker pid=1330514 .....
I have checked some methods, is it because I have not installed or the current nccl version is wrong, or is it because my 3090 does not enable nvlink or does not support nvlink?

Can you try to run with NCCL_P2P_DISABLE=1? This disables nvlink.

This issue should be fixed by #397

Closing because #397 is merged


Service tor@lnd fails to start

tor@lnd service is inactive on reboot and can't be manually be started (all of the sudden, no modifications made to it by me)
sudo service tor@lnd status gives the following error:
/usr/bin/install: invalid user ‘_tor-lnd’
full log: https://termbin.com/wb18
This probably is also the reason why other nodes can't add me as a peer anymore...
raspiblitz v 1.6.3

Please reflash the SDcard with the 1.7 image.

Flashing to v. 1.7 fixed it - closing,


Write a C++ program to find the sum of all numbers in an array

Description
Write a C++ program to find the sum of all numbers in an array
Input  : [1, 2, 3, 4, 5]
Output : 15

How to contribute

Save the solution in program/FindTheSumOfAllNumbersInAnArray.cpp file
Add FindTheSumOfAllNumbersInAnArray.cpp file in find-the-sum-of-all-numbers-in-an-array folder

Hey @harshraj8843
I will solve this issue!

Hey @neelesh08
You can comment !assign on any good first issue you want to contribute, to be auto-assigned
!assign

!assign

!assign

Hey @neelesh08, this issue is already assigned to @Aaronphilip2003 !!!
Please choose another issue.
Thanks for your interest in contributing to this project.

Hello I want to contribute on this project. Can you please assign it to me and tell about our requirements.

Hey @Ankitrai2204
You can comment !assign on any good first issue you want to contribute to, to be auto-assigned
!assign

After the assignment, you can raise a Pull request by adding the solution of the respective issue
For file and folder location please see How to contribute dropdown on respective issue

Hey @Aaronphilip2003,
This issue has been assigned to you for more than 15 days.
We are unassigning you from this issue.
If you are still interested in contributing to this issue, please get auto-assigned on the issue by commenting !assign again.
Thanks for your contributions :)

!assign


Working google api sign in

Working api with logout button

Thanks
On Sat, May 4, 2019 at 4:45 AM Fernando Caudillo<EMAIL_ADDRESS>wrote:

@FernandoCaudillo10 approved this pull request.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/FernandoCaudillo10/lifeprice/pull/1#pullrequestreview-233733229,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJFJN347SIX2N6FWLTPEXXLPTVZN5ANCNFSM4HKYPXEQ
.


Workbench: feedback on HA and stability

Hi @colearendt!
Some feedback from our deployments which we have gathered in the recent months:
When WB runs with >= 2 replicas, we often see the asio.ssl/asio.netdb errors in the server pods which are related to LB communication/leader election.
In this setup, users often experience issues when switching sessions/R version. In detail:

When closing a project, WB does this by closing the active session and creating a new one. This often results in "502 client init" errors when running with >= 2 replicas including the asio log messages mentioned above
When switching the R version within a project, we also sometimes see this happening (essentially the same is happening in the background, i.e. a new session is spawned). Though the "closing project" issue happens more often.

For users the above errors are hard to understand, they often reach out to us or think they "broke something". They rarely clean up the stale sessions which they cannot connect to anymore and are "afraid" of session switching.
When running only with 1 replica, we don't see these issues at all, resulting in much higher stability WRT to session management for users. Overall though, from an admin perspective one wants to have more replicas for the server pod, so the topic is certainly worth being discussed in more detail.
Is there anything special WRT to configuration one needs to do and which we might have overlooked?
FYI: I am aware of #217 and all deployments are using the WB chart > 0.5.18.
FYI2: We've tested with both with 2022.7.2 and 2022.12.0 (preview).

Thanks for the report here @pat-s ! I hope you've had a good vacation! Very sorry to see this behavior 😞
Some ideas we had was to:

bump the log level to DEBUG and maybe share those with us via a support ticket?
Disable Session SSL to see if that resolves the issue

config:
  server:
    rserver.conf:
      session-ssl-enabled: 0

We would love to get to the bottom of this weirdness!

session-ssl-enabled: 0 looks promising after having tried around 20 back and forths between sessions. Will apply to PROD and see if it holds true in practice :)
Any idea what might be going on when enabling ssl for session communication?

Good to know, thanks!! Please keep us posted how it goes in prod! 😄
We're not 100% sure, to be honest. We will keep doing some digging. We had a bug in the TLS stuff for sessions that caused some similar issues, but thought we fixed it in the preview release. Apparently there is still something else outstanding 🙈
Every session gets its own TLS certificate, so it is possible that we have some mismatch or communication issue across the cluster that is causing inconsistency and then presenting as a 502.

I already had to revert to replicas: 1 as we saw "502 client init" errors during session startup again (with session-ssl-enabled: 0). I haven't seen a single 502 yet when running with replicas: 1.
I am wondering a bit that I don't see other reports like these, so it might be that it is a local issue of ours? Yet for a long time I also did not see the link to the replicas and their internal communication and always thought of a "random glitch". Are your own multi-replica deployments fully stable?

Sad to hear!! Sorry for the trouble! Yes, our own multi-replica deployments have been just fine. (We have a handful of different environments).
Would you be up for sharing your values file and the debug logs for your installation around some of these issues? Maybe via a support ticket? That may help us dig in and reproduce!

I don't yet have a clear picture what might be the potential issue. Just tried lately again with the 2023.03 daily build. Need to find out what I am doing different/wrong that makes multiple-replica deployments not work great in our env.

Strange! Would you mind sharing your values file with us? Also, do you have an ingress controller in front of Workbench? It'd be good to know if something timeout related is creating the 502s. You could also turn on the access logs to see if Workbench is firing the 502s or something in front of Workbench is.
Are you using TLS for the Workbench service as well? i.e. do you have TLS configured in rserver.conf, launcher.conf, etc.?

Sorry for silence here, I didn't had the time to dig deeper lately and it wasn't pressing enough 😓
Yes, we're running an ingress-nginx in front!
Yet what I wanted to share is that with the recent update to 2023.03 (release) and us meanwhile running on k8s 1.25, I couldn't replicate the issues anymore! 😃
I would guess that the change comes from the 2023.03 update as I still had the issues with the old version but I didn't outrule the latest ingress-nginx or k8s updates specifically.
(I didn't make any substantial changes to the images, which is why my guess is going towards WB or other cluster updates.)
I'll close here then and would reopen if I see them again (hopefully with more details then).


Migrate from tui to ratatui

With the recent release of ratatui, the tui-rs revival project, I think it would be best to support the new version to help people convert over.
ansi-to-tui has an ongoing PR for it right now, and I think it would be good to do the same.

An alternative idea might be to integrate this widget into ratatui 🤔

To resist this idea, I can open an issue in ratatui. It shouldn't be too hard to migrate over to use ratatui either way.

I can open an issue in ratatui

Feel free to do so (any maybe link to this issue)!

It shouldn't be too hard to migrate over to use ratatui either way.

I'm not totally sure how well that would work as there also is the Flatten / Identifier Logic which is kinda specific. I would like a more generic approach if its going to be merged but I don't really know how that should be looking.

Hmmm yeah. I can look at some of the existing ratatui widgets and see if anything would be better to use if the merge goes through.

The current plan is to integrate tui-rs-tree-widget into ratatui.
I think a good idea is to finish the planned tasks (like #19) before creating a PR adding this widget to ratatui.
Just as a headsup: I dont have that much time currently but I want to bring this forward as I think this is the right way forward.

In the meantime, would you accept a PR that updates this to use ratatui so it can be used right now?

In the meantime, would you accept a PR that updates this to use ratatui so it can be used right now?

I am not entirely sure about it… the ideal solution would be to have it embedded in ratatui…
Releasing a new version for ratatui is probably fine as tui users can still use the older version? The downside is that when its moved into ratatui the crate is only relevant for tui users which would then need to use an "old" version for that…
Maybe a new version with two features, tui and ratatui where tui is the default feature? Not sure if that works?

tui-textarea supports both using something equivalent to
#[cfg(feature = "ratatui")]
use ratatui as tui;
#[cfg(not(feature = "ratatui"))]
#[allow(clippy::single_component_path_imports)]
use tui;

in src/lib.rs, and then other modules can refer to crate::tui to pick up the right one.


Allow backup instances to enqueue jobs

This is the idea that Xavier mentioned in #23
Currently, we run multiple backup resque scheduler processes in each datacenter and they do nothing but check if they can become master.
This PR allows those processes to actually pop and enqueue delayed jobs. The master instance is still the only instance that can enqueue scheduled jobs:
https://github.com/Shopify/resque-scheduler/blob/b6b64c5fdd4be27b6a5fd15a360279099b02e8c7/lib/resque/scheduler.rb#L411-L417
This is something that can now be done safely thanks to the work done in #23:
https://github.com/Shopify/resque-scheduler/blob/b6b64c5fdd4be27b6a5fd15a360279099b02e8c7/lib/resque/scheduler/delaying_extensions.rb#L72
Something like this PR would allow us to never worry about resque scheduler being CPU bound again, something that we observed multiple times particularly in cloud pods.
@Shopify/pods

Ready for another round of review here 🙂

Super excited about this!


All Fabric mods fail to load with cryptic errors if there is an invalid/corrupted Forge mod

Minecraft version
1.20.1
Describe the bug
All Fabric mods fail to load with cryptic errors if there is an invalid/corrupted Forge mod
Steps to reproduce

Add a mod with broken metadata (e.g. mkdir META-INF; echo "[invalid]" > META-INF/mods.toml; zip testmod.zip -r META-INF)
Add any Fabric mod to the instance
Observe inability to find fabric-api despite Forgified Fabric API being installed.

Logs
https://gist.github.com/Fuyukai/f9bd7c60f1a86374495e36ddad94697c
Additional context
Crash does not happen if testmod.jar is disabled, or the Fabric mods are disabled (Forge gives the appropriate warning about an invalid mod). The actual Fabric mod in this case doesn't matter; I picked the first I could find on Modrinth with no forge version or other dependencies; I've had it explode in an instance full of them.
For a less contrived example that actually happens in the wild, Oculus mc1.20.1-1.6.13a triggers this bug due to having invalid metadata.

probably a NeoForge bug


Vue2 fails when using a VueComponent instead of Vue as root

Version
6.0.2
Reproduction link
codesandbox.io
Steps to reproduce
Use Vue 2
Create a component using Vue.extend()
Create an instance of the component using new and mount it on the page.
Open Vue dev tools.
What is expected?
The component can be inspected using Vue dev tools
What is actually happening?
An exception is thrown
Uncaught (in promise) TypeError: options.version is undefined
    registerAppJob backend.js:949
...

The root cause seems to be in this function.
https://github.com/vuejs/devtools/blob/b3dd744c6ec3a4eeb200b8003e0ff74b9e78abfe/packages/app-backend-core/src/app.ts#L235
In some cases (e.g. Vue.extend) app.constructor points to VueComponent instead of Vue. This class does not have a version property.

I think this can be solved by wrapping the Vue constructor retrieval with a function like this:
function getVueInstance(app) {
    if (app.constructor.name === 'VueComponent') {
        return app.constructor.super;
    }
    return app.constructor;
}

Let me know if this is correct, then I will create a PR for this!
Not sure if this logic is also required in other locations.

@0Rick0 looks like a good idea to me!


Non blocking websockets

I'm sure this is going to be semi ignorant. I'm trying to wrap my head around async in python and of course I feel like theres a bunch of old info and libraries that do similar things etc.
tldr: How do I keep handling a stream of data without blocking?
I'm consuming ranchers event stream:
async def rancher_consumer(wsuri, ruri, ssl_context, bearer_token, persistent_object):
    async with websockets.connect(uri=wsuri, ssl=ssl_context,
    extra_headers={"Authorization": "Bearer " + bearer_token}) as websocket:
         await rancher_handler(websocket, persistent_object, ruri, bearer_token)

I feel like no matter what I did, it would block while processing an event.
I can put the code in if needed, but inside of rancher_handler, I tried things like:
asyncio.ensure_future()
I tried these concepts:
https://docs.python.org/3/library/asyncio-eventloop.html#asyncio.loop.run_in_executor
But no matter what, it wanted to wait for all this stuff to finish.
What worked is that inside of the handler, I called blocking code from a decorated method using threading. Yea, it worked, but I'm sure thats not a good way to do it.
import threading

def dont_block(f):
    def wrap(*args):
        threading.Thread(target=f, args=args).start()
    return wrap

@dont_block
def check_active_state(persistent_object, cluster_id, url, token):
    client = rancher.Client(url=url, token=token, verify=False)
    cluster = client.by_id_cluster(cluster_id)
    while cluster.state != 'active':
        cluster = client.by_id_cluster(cluster_id)

    persistent_object.cluster_ids[cluster_id] = "ready"

Do you have recommendation on how to handle a stream of packets without blocking?

Probably you want asyncio.create_task to start an async execution flow. This is the equivalent of Thread().start() in asyncio.
Also, don't use threads — unless you want to run code that does synchronous I/O.


Disable Log Messages

Maybe I've missed it, but is there a way to disable messages printed to console? With some very large requests being printed to console, the application is being delayed a little bit.

I just realized server has "debug" as the last parameter. If someone has the same problem, setting it to false disable all console messages but the very first one that informs that the server is up.

Hi @Tutch, glad you found those!  I was just about to respond.  Hope you have a great day!


Build results tab on search

Because the delete tab it killing it completely so it won't just open, tabs no longer know of it!

E hem - that comment was meant for #216 but by happy coincidence this task is actually related!

fixed!


Pipeline execution not honoring File Build Rank order

Hello,
We have found a problem that may have been happening for a while.  There is a ranking system in our Environment that sorts the programs to be compiled into a logical order.  Sub-programs are compiled before the calling programs for example.
To do this, there is a property named 'fileBuildRank'.  This property has a build rank specification assigned to it.  Here's a simple example for PL/I, but it's the same for all program languages.
pli_fileBuildRank=10 :: **/plisub/.pli,20 :: **/plisrc/.pli
This is supposed to sort the programs so that anything from the plisub folder is compiled before anything from the plisrc folder.  What we've found is that only the first value in the property (10 :: **/plisub/*.pli) is being used.  All values after that are being ignored.  For more complicated fileBuildRank definitions, this can cause problems.
Since the first value in the property definition is being used, it seems like there may be an issue with multiple values being recognized/honored.
I tried different value separators, such as a space or semi-colon, but that didn't make a difference.
How does this function operate?  Is there something in the properties file that needs to be changed?  I can provide documentation for what you'd like to see.
Please let us know.
Thank You,
Chris

Apologies.  I used "Close with Comment" in the drop down, but the issue still shows as "Open".  How do I close this issue?
Thanks,
Chris

Nevermind.  I figured it out.


Error when used in dynamically compiled directive

I have an app that uses a variable to decide what type of directive to show.  There is a parent directive that compiles the correct one based on the value of the variable. It works fine except that the angular-minicolors is not happy. I found an issue at minicolors that seemed related, which made me think that something in the recompiling process is not destroying/initializing the jquery object correctly.
https://github.com/claviska/jquery-minicolors/issues/117
I don't have any other info so closing this issue is OK if it isn't obvious what the problem is, but I wanted to leave an FYI.

TypeError: Cannot read property 'letterCase' of undefined
    at e (jquery.minicolors.min.js:11)
    at HTMLInputElement. (jquery.minicolors.min.js:11)
    at Function.each (jquery-1.10.2.min.js:4)
    at init.each (jquery-1.10.2.min.js:4)
    at init.minicolors (jquery.minicolors.min.js:11)
    at angular-minicolors.js:63
    at angular.js:19157
    at completeOutstandingRequest (angular.js:5869)
    at angular.js:6145

Thought I would add a comment that the error may be caused by forgetting to destroy the scope when recompiling the directive. I will test when I have a chance.

could you provide a jsfiddle or so to demonstrate the issue? This directive does not create its own child scope but uses the parentScope. There is no "scope" property in the directive definition object. I don't quite know what exactly goes on there, but if you could provide an example I will most likely find out where the problem comes from.
btw: thanks for using this directive =)


release: dont check osbuilder VERSION file.

The osbuilder version file wont be the same if
we tag a stable branch. But we still want to tag
the HEAD of osbuilder to do reproducible builds of
a Kata branch.
Fixes: #158

lgtm


Syntax error

Traceback (most recent call last):
File "link-api.py", line 1, in <module>
from linkedin import linkedin
File "/home/leo_g/python-linkenin/venv/lib/python3.4/site-packages/linkedin/linkedin.py", line 294
except (requests.ConnectionError, requests.HTTPError), error:

I get the above error during installation and while trying to execute code.
I am using python3 on centos 7,
any help is apreciated

Same here. OS X python 3.4, package mgmt via conda

I get the same error as well. Running Windows Python 3.4 via Anaconda3. Any help much appreciated here.
File "C:\Users\Samir\Anaconda3\lib\site-packages\linkedin\linkedin.py", line 294
    except (requests.ConnectionError, requests.HTTPError), error:
                                                         ^
SyntaxError: invalid syntax

Same here.
python: 3.4
Mac: Yosemite
Request Method:	GET
Request URL:	http://localhost:8000/
Django Version:	1.7.4
Exception Type:	SyntaxError
Exception Value:
invalid syntax (linkedin.py, line 294)

I'm also getting the same issue. Any help would be appreciated.
File "c:\pythonexplorer\Python34\lib\site-packages\linkedin\linkedin.py", line 294
except (requests.ConnectionError, requests.HTTPError), error:
^
SyntaxError: invalid syntax

I'm also getting the same issue, please fix this man as soon as possible.
Traceback (most recent call last):
File "http_api.py", line 1, in
from linkedin import linkedin
File "/home/Saurabh/.virtualenvs/jobfinder/lib/python3.4/site-packages/linkedin/linkedin.py", line 294
except (requests.ConnectionError, requests.HTTPError), error:
^
SyntaxError: invalid syntax

Also getting the same error, is there no work around for this? does it work in previous versions or something? Thanks

Traceback (most recent call last):
File "http_api.py", line 17, in
from linkedin.linkedin import LinkedInAuthentication, LinkedInApplication, PERMISSIONS
File "/usr/local/var/pyenv/versions/3.5.1/lib/python3.5/site-packages/linkedin/linkedin.py", line 294
except (requests.ConnectionError, requests.HTTPError), error:
^
SyntaxError: invalid syntax
I'm getting this error too. I'm on 3.5.1

the solution is just change the linkedin folder in the python package with the downloaded folder named linkedin and it will work with you

File "C:\Users\admin\Anaconda3\lib\site-packages\linkedin\linkedin.py", line 294
except (requests.ConnectionError, requests.HTTPError), error:

@Leo-G seems like a connection error. Are you connected to internet>
Traceback (most recent call last):
File "link-api.py", line 1, in <module>
from linkedin import linkedin
File "/home/leo_g/python-linkenin/venv/lib/python3.4/site-packages/linkedin/linkedin.py", line 294
except (requests.ConnectionError, requests.HTTPError), error:

Just reviving this thread...
The error has nothing to do with a connection problem (it states "invalid syntax").
The LinkedIn API only works on python 2, you have to upgrade it:
pip install --upgrade https://github.com/ozgur/python-linkedin/tarball/master

@gkohnen Thank you so much! Nailed it with your answer.

@gkohnen it also solves my problem too. Thank you so much!


nothing was moved, many errors about file size and also "TypeError: cannot use a bytes pattern on a string-like object" at end

I just did a huge import and tried the filetote plug-in with this in my config.yaml:
filetote:
  extensions: .*

I thought that would move all non-music files.
Instead, nothing moved, and throughout the import (in which I was using -q and -I, auto tagging and moving to a different folder), I got this error on what appears to be the first track of each album (here is one example):
could not get filesize: [Errno 2] No such file or directory: b'/Users/knewman/beetsmusicsurely/music2023/Music/Yo La Tengo/Painful/01 Big Day Coming.mp3'

Then, at the end of the import,
Traceback (most recent call last):
  File "/Users/knewman/beetsmusicsurely/venv/bin/beet", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/Users/knewman/beetsmusicsurely/venv/lib/python3.11/site-packages/beets/ui/__init__.py", line 1285, in main
    _raw_main(args)
  File "/Users/knewman/beetsmusicsurely/venv/lib/python3.11/site-packages/beets/ui/__init__.py", line 1274, in _raw_main
    plugins.send('cli_exit', lib=lib)
  File "/Users/knewman/beetsmusicsurely/venv/lib/python3.11/site-packages/beets/plugins.py", line 488, in send
    result = handler(**arguments)
             ^^^^^^^^^^^^^^^^^^^^
  File "/Users/knewman/beetsmusicsurely/venv/lib/python3.11/site-packages/beets/plugins.py", line 145, in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/Users/knewman/beetsmusicsurely/venv/lib/python3.11/site-packages/beetsplug/filetote.py", line 420, in process_events
    self.process_artifacts(
  File "/Users/knewman/beetsmusicsurely/venv/lib/python3.11/site-packages/beetsplug/filetote.py", line 576, in process_artifacts
    artifact_dest = util.unique_path(artifact_dest)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/knewman/beetsmusicsurely/venv/lib/python3.11/site-packages/beets/util/__init__.py", line 602, in unique_path
    match = re.search(br'\.(\d)+$', base)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File<EMAIL_ADDRESS>line 176, in search
    return _compile(pattern, flags).search(string)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: cannot use a bytes pattern on a string-like object

@owldown The first issue mentioned (could not get filesize) should be resolved with v0.4.3. I'll start taking a look at the secondary issue here soon. Can you please confirm the beet command that was run (exactly, if possible)?

@owldown The issue TypeError: cannot use a bytes pattern on a string-like object should be resolved with v0.4.4. Can you please retest and confirm?


Upgrade to go 1.7.3

Do not merge yet; going to use this to test the new readiness handlers.

Will need a post merge review (#97)

LGTM.


improvement: template string replacement for nested structures like gitlab release executor assets

Hi!
First of all, thanks for this really useful project!
I have played around a bit and found a problem with the @jscutlery/semver:gitlab executor.
The following will fail if the gitlab-release executor is placed in the postTargets as followed:
"version": {
  "executor": "@jscutlery/semver:version",
  "options": {
    "preset": "conventional",
    "commitMessageFormat": "chore(${projectName}): release version ${version}",
    "postTargets": [
      "my-project-name:release"
    ]
  }
},
"release": {
  "executor": "@jscutlery/semver:gitlab",
  "options": {
    "tag": "${tag}",
    "description": "${notes}",
    "assets": [
      {
        "name": "asset-${version}-win64.zip",
        "url": "https://my-server.com/asset-${version}-win64.zip"
      }
    ]
  }
},

I went through the code and think to understand, that we only replace template variables on the first level, and also never for arrays. Is this correct?
https://github.com/jscutlery/semver/blob/f7d717f170e1e2e4427181604cf2841661e748c5/packages/semver/src/executors/version/utils/post-target.ts#L75
export function _getTargetOptions({
  options = {},
  context,
}: {
  options?: Record<string, unknown>;
  context: Record<string, unknown>;
}): Record<string, unknown> {
  return Object.entries(options).reduce(
    (optionsAccumulator, [option, value]) => {
      const resolvedValue =
        typeof value === 'object'
          ? value
          : coerce(
              createTemplateString(
                (value as number | string | boolean).toString(),
                context
              )
            );

      return {
        ...optionsAccumulator,
        [option]: resolvedValue,
      };
    },
    {}
  );
}

Maybe it is possible to walk through options recursively and replace template variables everywhere. That would be also really useful for the @nrwl/workspace:run-commands executor.

Resolved in #524, that was fast!


Need a better name

pstat is the name of a program in FreeBSD (pstat(8)), and there exists libpstat on HP-UX.  Need to think of a better name.

Maybe just "prost"? Although "pasta" would be more playful.

:+1: for pasta

Thanks for the suggestions!
I'm looking for a name that captures the intended purpose of the library, which is to query runtime information for a running process in a portable manner (insert something about me being no fun here).  Sadly, names like procstat, procinfo, psinfo, pinfo, and statproc are already taken.
procdb and psq both appear to be free, though.


Animated element freeze the app when it out off-screen

Description
The provided example demonstrates how animations can impact the UI thread. When the animated element moves off-screen, the application experiences a significant slowdown. This issue is particularly noticeable when the animated element is inside a ScrollView. However, when the element is visible within the viewport, everything works smoothly.
Initially, I suspected that the problem was due to the animation being inside a ScrollView. However, after testing, I observed the same slowdown occurring even when the animated element is placed off-screen outside of a ScrollView.
"react-native-reanimated": "^3.16.1",
"@shopify/react-native-skia": "^1.5.3",
"react-native": "0.76.1",
export const Skeleton = (props) => {
  const {
    height,
    width,
    radius = 0,
    duration = 1000,
    color = '#CCC',
  } = props;

  const contrastColor = calculateTint(color, 0.4).tint.hex;
  const animationIndicator = useSharedValue(0);

  useEffect(() => {
      animationIndicator.value = withRepeat(
        withTiming(1, {
          duration: 1000,
          easing: Easing.inOut(Easing.linear),
        }),
        -1
      );
  }, [animationIndicator, duration]);

  const transform = useDerivedValue(() => {
    const x = interpolate(
      animationIndicator.value,
      [0, 1],
      [-1.5 * width, width]
    );

    return [{ translateX: x }];
  }, []);

  return (
     <Canvas style={{ width, height }}>
        <RoundedRect
          x={0}
          y={0}
          r={radius}
          color={color}
          width={width}
          height={height}
        >
          <LinearGradient
            start={vec(0, 0)}
            end={vec(width, 0)}
            transform={transform}
            colors={[color, contrastColor, color]}
          />
        </RoundedRect>
      </Canvas>
  );
};

https://github.com/user-attachments/assets/e70097cc-233f-402b-92a3-1f8738c308c5

In this version all work properly "@shopify/react-native-skia": "^1.7.6".


older FF but newish (so es6-amd) has odd path resolutions...

TypeError: Failed to fetch https://cdn.waxam.io/build/es6-amd/node_modules/<EMAIL_ADDRESS>haxtheweb.org:234:613
TypeError: Failed to fetch https://cdn.waxam.io/build/es6-amd/node_modules/<EMAIL_ADDRESS>haxtheweb.org:234:613
Loading failed for the

might be related to terser... rebuilding to see if the updated files have this issue

helped but not entirely related. It appears the paths aren't right so I'll need ot see if it's something silly like how they are referenced relative to the initial page they are on or something. maybe base is (or isnt) influencing them


Remove MacOS X support tag from PyPI page for azure-ai-vision

Package Name: azure-ai-vision
Package Version: azure-ai-vision
Operating System: MacOS X
Python Version: Not relevant

Describe the bug
The PyPi page of azure-ai-vision has MacOS X listed as supported operating systems, but is not actually supported.
If a user tries to follow the install instructions on PyPI (pip install azure-ai-vision), an error message appears.
Either add MacOS X support or remove the tag to avoid confusion.
To Reproduce
Steps to reproduce the behavior:

Go to https://pypi.org/project/azure-ai-vision/ and see the tag under "Classifier" and "Operating System"

Expected behavior
Either the tag removed or add MacOS X support

Thanks for the feedback, tagging @BrianMouncer to help answer.


Add 1.0.x to bug version list

What does this PR do?
Add 1.0.x to bug version list
Test Plan
None
Related PRs and Issues
None
Have you read the Contributing Guidelines on issues?
Yes

I would be consistent with using "which" because there's finite versions to pick from, but it's grammatically valid either way/

@gewenyu99, better now?


Feat: added logic for enabling/disabling users by admin

Add feature to enable/disable users by admin according issue #41
While start implementing the task I realized that it's more correct to separate this functionality from PUT /admin/users method.
While doing task I've changed migrations's schema.sql file and I'm not sure is this correct=) but needed migrations were added

nice work @icecream78 , we might change adminChangeUserActivity to be called adminSetUserStatus , but other than that it looks pretty good,
I will have to add the new schema to supabase infrastructure but should be fine, I think it's worth it

@awalias is it still needed this feature ?)

This can probably be closed since https://github.com/supabase/gotrue/pull/343 was merged.


DSM file contains question marks instead of bytes

When decompiling the COFF file below, the produced .dsm file contains question marks instead of bytes.
Input
$ decompile.sh x86-coff

where the input COFF file can be downloaded here.
Output
The produced .dsm file contains the following lines:
; section: .data
0xc0:    ??                                                 |?               |
; section: .rdata
0xc0:    ?? 63 6b 65 72 6d 61 6e  28 20 25 64 20 2c 20 25   |?ckerman( %d , %|

Expected output
I would expect byte numbers instead of ?? and proper ASCII characters instead of ? in between the pipes (|).
Configuration

Commit: 8c4b23dbbf0f2baaf6f2309fc189b054f58250ea (current master)
64b Arch Linux, GCC 7.2.1, Debug build of RetDec

Might be related to relocations - although they do not seem to point to this address.
Or it might be related to another problem. The loader says that .data section is empty, i.e. size 0:
Loader information
...
1     .data               0x0c0               0

the same in section table:
Section table
...
1    .data            irw     0          0          0           0          0          0          0          0

But at least in DSM there are bytes in .data and it overlaps with .rdata:
; section: .data
0xc0:    ?? 63                                              |?c              |
; section: .rdata
0xc0:    ?? 63 6b 65 72 6d 61 6e  28 20 25 64 20 2c 20 25   |?ckerman( %d , %|

I would rather see something like this:
; section: .data
; section: .rdata
0xc0:    61 63 6b 65 72 6d 61 6e  28 20 25 64 20 2c 20 25   |ackerman( %d , %|


[Java] Java jars creation failed at "Build C++ libraries macOS" steps

Java jars creation failed at Build C++ libraries macOS
Consider:

https://github.com/ursacomputing/crossbow/actions/runs/3172796174/jobs/5168650287

https://github.com/ursacomputing/crossbow/actions/runs/3142124901/jobs/5106467031
Errors message:

ld: warning: dylib (/usr/local/lib/libz3.dylib) was built for newer macOS version (11.0) than being linked (10.13)
3744ld: warning: dylib (/usr/local/lib/libzstd.1.5.2.dylib) was built for newer macOS version (11.0) than being linked (10.13)
3745ld: in /usr/local/opt/llvm/lib/libLLVMCore.a(Instructions.cpp.o), could not parse object file /usr/local/opt/llvm/lib/libLLVMCore.a(Instructions.cpp.o): 'Invalid value (Producer: 'LLVM15.0.0' Reader: 'LLVM APPLE_1_13<IP_ADDRESS>_0')', using libLTO version 'LLVM version 13.0.0, (clang-13<IP_ADDRESS>)' for architecture x86_64
3746clang: error: linker command failed with exit code 1 (use -v to see invocation)
3747ninja: build stopped: subcommand failed.
3748Error: Process completed with exit code 1.

@raulcd   [~jwozniak]

Reporter: David Dali Susanibar Arce / @davisusanibar
Note: This issue was originally created as ARROW-17928. Please see the migration documentation for further details.

Done.


chapter 3 does not unlock after I've completed chapter 2

I've reproduced this 3 times. On prod, if I finish chapter 2, I am returned to the index screen and chapter 3 is not unlocked.

@afterburn Is this a feature-flag issue?

Fixed in #676