Error 403 when try access to Blob containers

Preflight Checklist

[X] I have installed the latest version of Storage Explorer.
[X] I have checked existing resources, including the troubleshooting guide and the release notes.
[X] I have searched for similar issues.

Problem
When try access the blob storage of the Storage Explorer a reciebed the error 403 a not can access
Desired Solution
The steeps for solution the problem
Alternatives and Workarounds
No response
Additional Context
Detalles del error: {   "name": "RestError",   "code": "AuthorizationPermissionMismatch",   "statusCode": 403,   "request": {     "streamResponseStatusCodes": {},     "url": "https://storagecheckstores.blob.core.windows.net/?comp=list&include=metadata",     "method": "GET",     "headers": {       "_headersMap": {         "x-ms-version": {           "name": "x-ms-version",           "value": "2021-10-04"         },         "accept": {           "name": "Accept",           "value": "application/xml"         },         "user-agent": {           "name": "User-Agent",           "value": "Microsoft Azure Storage Explorer/1.31.1 (win32) azsdk-js-storageblob/12.12.0 (NODE-VERSION v18.15.0; Windows_NT 10.0.22631)"         },         "x-ms-client-request-id": {           "name": "x-ms-client-request-id",           "value": "474a1056-2638-485b-bdfc-e4609031af91"         },         "authorization": {           "name": "authorization",           "value": "Bearer JSON Web Token Redacted"         }       }     },     "withCredentials": false,     "timeout": 0,     "keepAlive": true,     "decompressResponse": false,     "requestId": "474a1056-2638-485b-bdfc-e4609031af91"   },   "response": {     "request": {       "streamResponseStatusCodes": {},       "url": "https://storagecheckstores.blob.core.windows.net/?comp=list&include=metadata",       "method": "GET",       "headers": {         "_headersMap": {           "x-ms-version": {             "name": "x-ms-version",             "value": "2021-10-04"           },           "accept": {             "name": "Accept",             "value": "application/xml"           },           "user-agent": {             "name": "User-Agent",             "value": "Microsoft Azure Storage Explorer/1.31.1 (win32) azsdk-js-storageblob/12.12.0 (NODE-VERSION v18.15.0; Windows_NT 10.0.22631)"           },           "x-ms-client-request-id": {             "name": "x-ms-client-request-id",             "value": "474a1056-2638-485b-bdfc-e4609031af91"           },           "authorization": {             "name": "authorization",             "value": "Bearer JSON Web Token Redacted"           }         }       },       "withCredentials": false,       "timeout": 0,       "keepAlive": true,       "decompressResponse": false,       "requestId": "474a1056-2638-485b-bdfc-e4609031af91"     },     "status": 403,     "headers": {       "_headersMap": {         "content-length": {           "name": "content-length",           "value": "279"         },         "content-type": {           "name": "content-type",           "value": "application/xml"         },         "date": {           "name": "date",           "value": "Fri, 05 Jan 2024 14:51:51 GMT"         },         "server": {           "name": "server",           "value": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0"         },         "x-ms-client-request-id": {           "name": "x-ms-client-request-id",           "value": "474a1056-2638-485b-bdfc-e4609031af91"         },         "x-ms-error-code": {           "name": "x-ms-error-code",           "value": "AuthorizationPermissionMismatch"         },         "x-ms-request-id": {           "name": "x-ms-request-id",           "value": "0ff407d6-901e-002c-1ce6-3f9bcc000000"         },         "x-ms-version": {           "name": "x-ms-version",           "value": "2021-10-04"         }       }     },     "bodyAsText": "AuthorizationPermissionMismatchThis request is not authorized to perform this operation using this permission.\nRequestId:0ff407d6-901e-002c-1ce6-3f9bcc000000\nTime:2024-01-05T14:51:52.0596847Z",     "parsedBody": {       "message": "This request is not authorized to perform this operation using this permission.\nRequestId:0ff407d6-901e-002c-1ce6-3f9bcc000000\nTime:2024-01-05T14:51:52.0596847Z",       "code": "AuthorizationPermissionMismatch"     },     "parsedHeaders": {       "errorCode": "AuthorizationPermissionMismatch",       "content-length": "279",       "content-type": "application/xml",       "date": "Fri, 05 Jan 2024 14:51:51 GMT",       "server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0",       "x-ms-client-request-id": "474a1056-2638-485b-bdfc-e4609031af91",       "x-ms-request-id": "0ff407d6-901e-002c-1ce6-3f9bcc000000",       "x-ms-version": "2021-10-04"     }   },   "details": {     "errorCode": "AuthorizationPermissionMismatch",     "content-length": "279",     "content-type": "application/xml",     "date": "Fri, 05 Jan 2024 14:51:51 GMT",     "server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0",     "x-ms-client-request-id": "474a1056-2638-485b-bdfc-e4609031af91",     "x-ms-request-id": "0ff407d6-901e-002c-1ce6-3f9bcc000000",     "x-ms-version": "2021-10-04",     "message": "This request is not authorized to perform this operation using this permission.\nRequestId:0ff407d6-901e-002c-1ce6-3f9bcc000000\nTime:2024-01-05T14:51:52.0596847Z",     "code": "AuthorizationPermissionMismatch"   } }

@csilva1971 Please provide as much information as possible from our bug template. Especially provide steps you took that led to the error. Please also let us know the following:

How are you authenticating with Azure? For example, are you signing in or using a SAS?
If you are signing in, can you confirm that you have the necessary RBAC permissions as described in our troubleshooting guide?
If you are using a SAS, can you confirm the SAS grants the necessary permissions?

Closing due to lack of response. This issue will no longer be monitored. If you need further help, we recommend opening a support ticket via the Azure portal. Alternatively you can open a new issue here.


mmap64 error

References

https://github.com/gperftools/gperftools/issues/693#issuecomment-174434214
https://github.com/dlang/dmd/pull/16361
https://github.com/ldc-developers/ldc/pull/4616
https://github.com/opendlang/opend/pull/66

LDC v1.37.0 need patch, fixing mmap64 error or wait next version fixed.


Make the ALIGN subworkflow as nf-core subworkflow

Description of feature
PR of align subworkflow to nf-core and then install

This should be done after the compression PR has been merged

Not relevant anymore


Allow Control and Shift click to select discontinuous ranges - p4

A fairly nuanced use of file pickers entails selecting discontinuous ranges of files, which is functionality available by intermixing Ctrl and Shift key combinations. For example:

Open File chooser with a list of 10 items
Click 1st list entry
Press Shift key
Click 3rd list entry (the first three items are selected)
Release Shift key
Press Ctrl key
Click 5th list entry
Press Ctrl key (do not release Shift)
Click the 8th list entry
Release both keys

Expected: Two selection ranges, 1st through 3rd and 5th through 8th.
Actual: Three selections, range of 1st through 3rd, single 5th, and single 8th.

Yeah, we're currently at the mercy of JavaFX's defaults for table row selection. It seems to me that combining Ctrl+Shift just behaves as if you'd only held Ctrl at the moment. I'm wondering if there's somewhere that these can be adjusted in the TableView API...

https://stackoverflow.com/a/32029580/59087 ?

Looks like that's attempting to solve a problem we don't have. :disappointed:
To be clear: Right now:

Ctrl click allows for adding and removing individual items from the set of selected items.
Shift allows for replacing the current set of selected items with the range of items between the previous and current click position.

What we want is to be able to combine aspects of the two with Ctrl+Shift: Ctrl+Shift clicking in two places should add or remove items to/from the current set of selected items. This is likely going to require some custom code; I think JavaFX is more or less treating Ctrl+Shift as Ctrl right now.


binary_sensor alert won't change icon (color)

Did you read the instructions?

[X] I have read the README, including the known-limitations section.

The problem
seems the icon of the binary_sensor does not change depending on state.
Trying to set it to another device_class in the UI doesn't not work either.
always showing the alert state with exclamation mark:

while a safe icon of this device_class should show:

also adding to this issue, is that even though
state_color: true

is set in the entities card, the binary_sensor does not change color to alert color as it should. The more-info does not show either, so it's an integration issue, not a frontend issue.
compare:

and more info:

What version of this integration has the issue?
1.3.7
What version of Home Assistant Core has the issue?
2023.2.4
Home Assistant log
No response
Diagnostics
config_entry-knmi-c25fc6a1ec4907582d45a36a2dc3df54.json.txt
Additional information
No response

I liked this custom icon more than the standard icon, but this caused this logic to not be taken into account


Data sets not available

Can you share the datasets in pkl format. Or let us know how you are preparing the data.

Sorry for late. I'll upload the data later.


⚠ Bofrost.fr has degraded performance

In 01d3852, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 989 ms

Resolved: Bofrost.fr performance has improved in 3dcb289 after 6 minutes.


Git man pages for build type "git" has to implemented

++1 .... perhaps someone can help with this @IgorTodorovskiIBM and @HarithaIBM ?

This is done


sdk: consider switching away from null terminated strings to ptr and length

Taking \0 terminated strings is convenient for C development using the str functions in libc, but is not optimal for other use cases. It causes extra work in implementation of languages specific sdks and requires extism to often recompute string lengths that are already known.
Working on the C++ SDK, I noticed several functions take const std::string & and then pass the c string with .c_str() to extism. Often the passed in strings will be static string literals, that in order to be passed as const std::string &, a std::string must be constructed, likely with a heap allocation. This issue can be worked around by providing duplicate functions in the C++ sdk that take const char * instead, however this clutters the C++ SDK. The modern C++ solution to pass readonly string data is std::string_view, which can be cheaply made from a std::string or a c string or even a substring, it just stores pointer and length. Unfortunately with the current extism sdk, it isn't helpful as a std::string_view is not necessarily null terminated, so to use it with extism the string would need to be unnecessarily copied.
If we switch extism to always take pointer and length for strings, I can eliminate the duplicate functions in the C++ SDK. This likely would also result in cleaner, faster, and less verbose code for the other SDKs based on top of the C SDK.

After discussion in week of the 1st, we decided to hold off on this for now. It's a breaking change that would complicate FFI usage (automatic conversion to and from native string types in various languages).


Don't require UTC time

Excelize v2, unlike v1, requires time.Time to be UTC. I think this is a mistake because Excel has no notion of timezone, so you can't do the Right Thing, which would be to include UTC time and then format it to be the time zone of your intended audience. With v1, I just set the timezone to be EST (what my audience expects), but with v2, I have to set the timezone to EST, then copy the time over to a fake UTC time.

Steps to reproduce the issue:
Create a time.Time with a timezone other than UTC, and use SetCellValue.
Describe the results you received:
Received errors.New("only UTC time expected").
Describe the results you expected:
No error.
Excelize version or commit ID:
v2.0.0

👍
I see no reason why the code limits Location() to be UTC.
https://github.com/360EntSecGroup-Skylar/excelize/blob/master/date.go#L35
And this change has not been mentioned in changelog for v2. So this is a bug, isn't it?

i did this as a workaround.
func fixTime(t time.Time) time.Time {
	t, _ = time.ParseInLocation("2006-01-02 15:04", t.Format("2006-01-02 15:04"), time.UTC)
	return t
}


Create services-names.txt

List of Service Names for Subdomain Enumeration
This list of service names that can be used for subdomain enumeration, identifying cloud services, and more. These names are in lowercase and are ideal for generating permutations for subdomains or identifying service endpoints in a network.
Usage
You can use these service names for:

Subdomain enumeration tools and scripts
Generating permutations for subdomains
Identifying service endpoints in web applications
Integration with security tools for identifying exposed services

Format
The list consists of lowercase service names that are commonly used across various domains and platforms. They are suitable for subdomain brute-forcing or enumeration tasks.
This lists was originally published on this repo
Example
api
graphql
github
gitlab
cloud
web
app
admin
dashboard
auth
dev
uat
staging
beta
test
prod
cdn
static
images
video
audio
files
media
downloads
upload
assets
...

Thanks @PhHitachi !


Repeated ShellPoolException after restarting server

Version Info
OSCM 18.0
Describe the bug
The shell adapter manages shell connections in a non-persistent shell pool. After restart all connections are lost, while APP timer keeps polling them. The message org.oscm.app.statemachine.api.StateMachineException: NO_SHELL_FOR_CALLERID gets logged repeatedly every 15 minutes. The customer finds his respective subscriptions staying 'pending update' for ever.
How to Reproduce
Steps to reproduce the behavior:

Deploy shell adapter with scripts including the status script.
Subscribe a shell based service and ensure shell scripts are running
Modify the subscription to get in pending update
Restart oscm-app
Trace messages from shell adapter docker logs -f oscm-app

Observed behavior

Repeating logs org.oscm.app.statemachine.api.StateMachineException: NO_SHELL_FOR_CALLERID
APP timer keeps runnung

Expected behavior
APP receives exception from querying the instance status and stops the timer for polling the instance. Subscription modification is aborted and rolledback with error message in marketplace UI. Subscription is back to active. Subsequent modifications will lead to new connections.
Screenshots
None
Additional context
Confidential.
Reported by @uhu133

Curent status: The issue cannot be reproduced.
"NO_SHELL_FOR_CALLERID gets logged repeatedly every 15 minutes" -> We fail to create such scenario. With or without error to APP, the instance is always completing and stopping the timer thread.
Additional: I just received the info, that in preceeding environement there was a mail server issue. As mail notification is mandatory in OSCM, it was part of the cause. After fixing the mail server this issue was no longer observed.


How to control spacing between bottomTitles?

I want to give spacing between bottomSide titles but I can't find any property for this.
I tried to wrap SideTitleWidget with Container and giving margin but did not effect. Is there a way for this ?

You are using an axis-based chart, so titles draw based on the axis value,
for example, in the x-coordinate, you have 0 to 6 values. So chart devices the space to put the 0 to 6 values in the x-coordinate.
btw you can tweak the maxX value.

Hi, I don't want to open the exact same issue but currently (as at 23 Jun 2024), there is no maxX property. Is there a current solution for  overlapping titles?


cargo,clippy,rustc,rustfmt: 1.77.2 -> 1.78.0

Description of changes
I guess we want to hold this until breaking changes are allowed again, since we have packages using nightly features that have been renamed.
Built:

[x] fd on aarch64-linux
[x] fd on x86_64-linux
[x] fd on x86_64-darwin
[x] firefox on aarch64-linux
[x] firefox on x86_64-linux
[x] firefox-esr on aarch64-linux
[x] firefox-esr on x86_64-linux
[x] thunderbird on aarch64-linux
[x] thunderbird on x86_64-linux
[x] betterbird on aarch64-linux
[x] librewolf on aarch64-linux
[x] floorp on aarch64-linux
[x] nixosTests.kernel-rust on aarch64-linux
[x] nixosTests.kernel-rust on x86_64-linux

I haven't fixed thunderbirdPackages.thunderbird-102, but it's been marked insecure since September, and I think we should just remove it: #308820.
Could somebody please check fd on x86_64-darwin?
Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

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

Could somebody please check fd on x86_64-darwin?

Built.

Is this ready to go?

Yes from my PoV, but since we're between staging cycles anyway, I was holding off on merging in case anybody wanted to review.

I'm not 100% sure how git auto-resolved pkgs/top-level/linux-kernels.nix and perhaps some other changes in there, but given that's a basically leaf-package issue, I didn't wait/try.

sigh the update seems to have broken cross compilation of Rust programs.  Bisecting…

[ ] rustc won't build on aarch64-darwin now:cargo:warning=error: unknown target CPU 'apple-a13'
cargo:warning=note: valid target CPU values are: mvp, bleeding-edge, generic

on Hydra and I can reproduce the same locally.

Fix for cross compilation: https://github.com/NixOS/nixpkgs/pull/317179

Potential fix for aarch64-darwin: https://github.com/NixOS/nixpkgs/pull/317273


Getting Groupid for private endpoint creation argument via golang SDK

Hi,
Creating a private endpoint, I have to pass the Groupid [1] via PrivateLinkServiceConnectionProperties. This groupid is different for each and every service. How to identify the GroupId for the PrivateLinkServiceConnectionProperties??
Example:
To get the groupid via az cli, I am passing the serviceid like below, in the response, I am getting a groupId.
But I want to get that the same using golang sdk. Can you please point me to the right place for the same?
  ~ az network private-link-resource list --id
"/subscriptions/xx/resourceGroups/rg_privatelink_poc/providers/Microsoft.DBforPostgreSQL/servers/myservergs"
[
  {
    "id": "/subscriptions/xxxxx/resourceGroups/rg_privatelink_poc/providers/Microsoft.DBforPostgreSQL/servers/myservergs/privateLinkResources/plr",
    "name": "plr",
    "properties": {
      "groupId": "postgresqlServer",
      "requiredMembers": [
        "postgresqlServer"
      ],
      "requiredZoneNames": [
        "privatelink.postgres.database.azure.com"
      ]
    },
    "resourceGroup": "rg_privatelink_poc",
    "type": "Microsoft.DBforPostgreSQL/servers/privateLinkResources"
  }
]

[1] https://github.com/Azure/azure-sdk-for-go/blob/v49.2.0/profiles/latest/network/mgmt/network/models.go#L2076

Hi @gowrisankar22 thanks for opening this issue!
Would this API or this API work for you?

Hi @gowrisankar22 thanks for opening this issue!
Would this API or this API work for you?


Couldn’t sign you in

I work through a corporate network (VPN).
I did everything according to the instructions. But when I click to connect to the YoutubeAnalytics source, it requests authorization, when I try to log in, it gives the error "This browser or app may not be secure.
Try using a different browser. If you're already using a supported browser, you can try again to sign in."
Tried disabling VPN

Hey!
Sorry for the late reply. This was a limitation of Power BI Desktop because it used a default Internet Explorer browser.
Please go to the Power BI Desktop settings and make sure that you have your local browser as the preferred way to authenticate.


Weird Default RBAC Installation Error New 1.7

Spinning up cluster after merging upstream (1.7) changes:
TASK [roles/kraken.rbac : Bootstrap RBAC policy] ***********************************************************************************
fatal: [localhost]: FAILED! => {"changed": true, "cmd": ["/opt/cnct/kubernetes/v1.7/bin/kubectl", "--kubeconfig=/Users/Mikel_Nelson/dev/cloud/k2new/myconfig/.kraken/mikeln-v17/admin.kubeconfig", "apply", "-f", "/Users/Mikel_Nelson/dev/cloud/k2new/myconfig/.kraken/mikeln-v17/auth/rbac-default-policy.yaml"], "delta": "0:00:00.978826", "end": "2017-08-03 15:30:10.249922", "failed": true, "rc": 1, "start": "2017-08-03 15:30:09.271096", "stderr": "unable to recognize \"/Users/Mikel_Nelson/dev/cloud/k2new/myconfig/.kraken/mikeln-v17/auth/rbac-default-policy.yaml\": no matches for rbac.authorization.k8s.io/, Kind=ClusterRole\nunable to recognize \"/Users/Mikel_Nelson/dev/cloud/k2new/myconfig/.kraken/mikeln-v17/auth/rbac-default-policy.yaml\": no matches for rbac.authorization.k8s.io/, Kind=ClusterRole\nunable to recognize \"/Users/Mikel_Nelson/dev/cloud/k2new/myconfig/.kraken/mikeln-v17/auth/rbac-default-policy.yaml\": no matches for rbac.authorization.k8s.io/, Kind=ClusterRole\nunable to recognize \"/Users/Mikel_Nelson/dev/cloud/k2new/myconfig/.kraken/mikeln-v17/auth/rbac-default-policy.yaml\": no matches for rbac.authorization.k8s.io/, Kind=ClusterRole\nunable to recognize \"/Users/Mikel_Nelson/dev/cloud/k2new/myconfig/.kraken/mikeln-v17/auth/rbac-default-policy.yaml\": no matches for rbac.authorization.k8s.io/, Kind=ClusterRoleBinding\nunable to recognize \"/Users/Mikel_Nelson/dev/cloud/k2new/myconfig/.kraken/mikeln-v17/auth/rbac-default-policy.yaml\": no matches for rbac.authorization.k8s.io/, Kind=ClusterRoleBinding\nunable to recognize \"/Users/Mikel_Nelson/dev/cloud/k2new/myconfig/.kraken/mikeln-v17/auth/rbac-default-policy.yaml\": no matches for rbac.authorization.k8s.io/, Kind=ClusterRoleBinding\nunable to recognize \"/Users/Mikel_Nelson/dev/cloud/k2new/myconfig/.kraken/mikeln-v17/auth/rbac-default-policy.yaml\": no matches for rbac.authorization.k8s.io/, Kind=ClusterRoleBinding\nunable to recognize \"/Users/Mikel_Nelson/dev/cloud/k2new/myconfig/.kraken/mikeln-v17/auth/rbac-default-policy.yaml\": no matches for rbac.authorization.k8s.io/, Kind=ClusterRoleBinding\nunable to recognize \"/Users/Mikel_Nelson/dev/cloud/k2new/myconfig/.kraken/mikeln-v17/auth/rbac-default-policy.yaml\": no matches for rbac.authorization.k8s.io/, Kind=ClusterRoleBinding", "stderr_lines": ["unable to recognize \"/Users/Mikel_Nelson/dev/cloud/k2new/myconfig/.kraken/mikeln-v17/auth/rbac-default-policy.yaml\": no matches for rbac.authorization.k8s.io/, Kind=ClusterRole", "unable to recognize \"/Users/Mikel_Nelson/dev/cloud/k2new/myconfig/.kraken/mikeln-v17/auth/rbac-default-policy.yaml\": no matches for rbac.authorization.k8s.io/, Kind=ClusterRole", "unable to recognize \"/Users/Mikel_Nelson/dev/cloud/k2new/myconfig/.kraken/mikeln-v17/auth/rbac-default-policy.yaml\": no matches for rbac.authorization.k8s.io/, Kind=ClusterRole", "unable to recognize \"/Users/Mikel_Nelson/dev/cloud/k2new/myconfig/.kraken/mikeln-v17/auth/rbac-default-policy.yaml\": no matches for rbac.authorization.k8s.io/, Kind=ClusterRole", "unable to recognize \"/Users/Mikel_Nelson/dev/cloud/k2new/myconfig/.kraken/mikeln-v17/auth/rbac-default-policy.yaml\": no matches for rbac.authorization.k8s.io/, Kind=ClusterRoleBinding", "unable to recognize \"/Users/Mikel_Nelson/dev/cloud/k2new/myconfig/.kraken/mikeln-v17/auth/rbac-default-policy.yaml\": no matches for rbac.authorization.k8s.io/, Kind=ClusterRoleBinding", "unable to recognize \"/Users/Mikel_Nelson/dev/cloud/k2new/myconfig/.kraken/mikeln-v17/auth/rbac-default-policy.yaml\": no matches for rbac.authorization.k8s.io/, Kind=ClusterRoleBinding", "unable to recognize \"/Users/Mikel_Nelson/dev/cloud/k2new/myconfig/.kraken/mikeln-v17/auth/rbac-default-policy.yaml\": no matches for rbac.authorization.k8s.io/, Kind=ClusterRoleBinding", "unable to recognize \"/Users/Mikel_Nelson/dev/cloud/k2new/myconfig/.kraken/mikeln-v17/auth/rbac-default-policy.yaml\": no matches for rbac.authorization.k8s.io/, Kind=ClusterRoleBinding", "unable to recognize \"/Users/Mikel_Nelson/dev/cloud/k2new/myconfig/.kraken/mikeln-v17/auth/rbac-default-policy.yaml\": no matches for rbac.authorization.k8s.io/, Kind=ClusterRoleBinding"], "stdout": "", "stdout_lines": []}

though the file is there.
and running it by hand works fine:
K2 Docker:root@3d2c0b5cfd8e kraken# kubectl version
Client Version: version.Info{Major:"1", Minor:"7", GitVersion:"v1.7.1", GitCommit:"1dc5c66f5dd61da08412a74221ecc79208c2165b", GitTreeState:"clean", BuildDate:"2017-07-14T02:00:46Z", GoVersion:"go1.8.3", Compiler:"gc", Platform:"linux/amd64"}
The connection to the server localhost:8080 was refused - did you specify the right host or port?
K2 Docker:root@3d2c0b5cfd8e kraken# kubectl --kubeconfig=/Users/Mikel_Nelson/dev/cloud/k2new/myconfig/.kraken/mikeln-v17/admin.kubeconfig^C
K2 Docker:root@3d2c0b5cfd8e kraken# ls /Users/Mikel_Nelson/dev/cloud/k2new/myconfig/.kraken/mikeln-v17/auth/rbac-default-policy.yaml
/Users/Mikel_Nelson/dev/cloud/k2new/myconfig/.kraken/mikeln-v17/auth/rbac-default-policy.yaml
K2 Docker:root@3d2c0b5cfd8e kraken# kubectl --kubeconfig=/Users/Mikel_Nelson/dev/cloud/k2new/myconfig/.kraken/mikeln-v17/admin.kubeconfig apply -f /Users/Mikel_Nelson/dev/cloud/k2new/myconfig/.kraken/mikeln-v17/auth/rbac-default-policy.yaml
Warning: kubectl apply should be used on resource created by either kubectl create --save-config or kubectl apply
clusterrole "admin" configured
clusterrole "default" created
clusterrole "kubelet" created
clusterrole "proxy" created
clusterrolebinding "default" created
clusterrolebinding "kubelet" created
clusterrolebinding "proxy" created
clusterrolebinding "kube-system" created
clusterrolebinding "kube-networking" created
clusterrolebinding "kube-auth" created

second down/up  did not have this bug.   will monitor

from a CI run today:
https://pr-708-1-master-elb-1141329489.us-east-2.elb.amazonaws.com/apis/rbac.authorization.k8s.io/v1beta1/clusterroles/admin

from a CI run today:
[aws] TASK [roles/kraken.rbac : Bootstrap RBAC policy] *******************************
[aws] fatal: [localhost]: FAILED! => {"changed": true, "cmd": ["/opt/cnct/kubernetes/v1.7/bin/kubectl", "--kubeconfig=/home/jenkins/workspace/K2_PR-708-VO2Z7Z5GKMI4XPRTSVMSA4PPU47JX23LU3X5X3ENNGXXFZJ757XA/cluster/aws//pr-708-1/admin.kubeconfig", "apply", "-f", "/home/jenkins/workspace/K2_PR-708-VO2Z7Z5GKMI4XPRTSVMSA4PPU47JX23LU3X5X3ENNGXXFZJ757XA/cluster/aws//pr-708-1/auth/rbac-default-policy.yaml"], "delta": "0:01:02.622400", "end": "2017-08-03 22:58:36.748449", "failed": true, "rc": 1, "start": "2017-08-03 22:57:34.126049", "stderr": "error: error when retrieving current configuration of:\n&{0xc4206ee180 0xc42049e000  admin /home/jenkins/workspace/K2_PR-708-VO2Z7Z5GKMI4XPRTSVMSA4PPU47JX23LU3X5X3ENNGXXFZJ757XA/cluster/aws//pr-708-1/auth/rbac-default-policy.yaml 0xc4209c4058 0xc4209c4058  false}\nfrom server for: \"/home/jenkins/workspace/K2_PR-708-VO2Z7Z5GKMI4XPRTSVMSA4PPU47JX23LU3X5X3ENNGXXFZJ757XA/cluster/aws//pr-708-1/auth/rbac-default-policy.yaml\": Get https://pr-708-1-master-elb-1141329489.us-east-2.elb.amazonaws.com/apis/rbac.authorization.k8s.io/v1beta1/clusterroles/admin: unexpected EOF", "stderr_lines": ["error: error when retrieving current configuration of:", "&{0xc4206ee180 0xc42049e000  admin /home/jenkins/workspace/K2_PR-708-VO2Z7Z5GKMI4XPRTSVMSA4PPU47JX23LU3X5X3ENNGXXFZJ757XA/cluster/aws//pr-708-1/auth/rbac-default-policy.yaml 0xc4209c4058 0xc4209c4058  false}", "from server for: \"/home/jenkins/workspace/K2_PR-708-VO2Z7Z5GKMI4XPRTSVMSA4PPU47JX23LU3X5X3ENNGXXFZJ757XA/cluster/aws//pr-708-1/auth/rbac-default-policy.yaml\": Get https://pr-708-1-master-elb-1141329489.us-east-2.elb.amazonaws.com/apis/rbac.authorization.k8s.io/v1beta1/clusterroles/admin: unexpected EOF"], "stdout": "clusterrole \"default\" created\nclusterrole \"kubelet\" created\nclusterrole \"proxy\" created\nclusterrolebinding \"default\" created\nclusterrolebinding \"kubelet\" created\nclusterrolebinding \"proxy\" created\nclusterrolebinding \"kube-system\" created\nclusterrolebinding \"kube-networking\" created\nclusterrolebinding \"kube-auth\" created", "stdout_lines": ["clusterrole \"default\" created", "clusterrole \"kubelet\" created", "clusterrole \"proxy\" created", "clusterrolebinding \"default\" created", "clusterrolebinding \"kubelet\" created", "clusterrolebinding \"proxy\" created", "clusterrolebinding \"kube-system\" created", "clusterrolebinding \"kube-networking\" created", "clusterrolebinding \"kube-auth\" created"]}

Numerous runs here, I have not seen the error (or similar again)

is the file too large?

from a CI run:
TASK [roles/kraken.rbac : Bootstrap RBAC policy] *******************************
fatal: [localhost]: FAILED! => {"changed": true, "cmd": ["/opt/cnct/kubernetes/v1.7/bin/kubectl", "--kubeconfig=/home/jenkins/workspace/K2_PR-729-K2T2U34K2ZDGBAWG7N5R6UBRQ6FEWUSVK6VK37TGL72BDAABAZGQ/cluster/aws//pr-729-1/admin.kubeconfig", "apply", "-f", "/home/jenkins/workspace/K2_PR-729-K2T2U34K2ZDGBAWG7N5R6UBRQ6FEWUSVK6VK37TGL72BDAABAZGQ/cluster/aws//pr-729-1/auth/rbac-default-policy.yaml"], "delta": "0:00:00.519746", "end": "2017-08-09 18:23:17.969284", "failed": true, "rc": 1, "start": "2017-08-09 18:23:17.449538", "stderr": "unable to recognize \"/home/jenkins/workspace/K2_PR-729-K2T2U34K2ZDGBAWG7N5R6UBRQ6FEWUSVK6VK37TGL72BDAABAZGQ/cluster/aws//pr-729-1/auth/rbac-default-policy.yaml\": no matches for rbac.authorization.k8s.io/, Kind=ClusterRole\nunable to recognize \"/home/jenkins/workspace/K2_PR-729-K2T2U34K2ZDGBAWG7N5R6UBRQ6FEWUSVK6VK37TGL72BDAABAZGQ/cluster/aws//pr-729-1/auth/rbac-default-policy.yaml\": no matches for rbac.authorization.k8s.io/, Kind=ClusterRole\nunable to recognize \"/home/jenkins/workspace/K2_PR-729-K2T2U34K2ZDGBAWG7N5R6UBRQ6FEWUSVK6VK37TGL72BDAABAZGQ/cluster/aws//pr-729-1/auth/rbac-default-policy.yaml\": no matches for rbac.authorization.k8s.io/, Kind=ClusterRole\nunable to recognize \"/home/jenkins/workspace/K2_PR-729-K2T2U34K2ZDGBAWG7N5R6UBRQ6FEWUSVK6VK37TGL72BDAABAZGQ/cluster/aws//pr-729-1/auth/rbac-default-policy.yaml\": no matches for rbac.authorization.k8s.io/, Kind=ClusterRole\nunable to recognize \"/home/jenkins/workspace/K2_PR-729-K2T2U34K2ZDGBAWG7N5R6UBRQ6FEWUSVK6VK37TGL72BDAABAZGQ/cluster/aws//pr-729-1/auth/rbac-default-policy.yaml\": no matches for rbac.authorization.k8s.io/, Kind=ClusterRoleBinding\nunable to recognize \"/home/jenkins/workspace/K2_PR-729-K2T2U34K2ZDGBAWG7N5R6UBRQ6FEWUSVK6VK37TGL72BDAABAZGQ/cluster/aws//pr-729-1/auth/rbac-default-policy.yaml\": no matches for rbac.authorization.k8s.io/, Kind=ClusterRoleBinding\nunable to recognize \"/home/jenkins/workspace/K2_PR-729-K2T2U34K2ZDGBAWG7N5R6UBRQ6FEWUSVK6VK37TGL72BDAABAZGQ/cluster/aws//pr-729-1/auth/rbac-default-policy.yaml\": no matches for rbac.authorization.k8s.io/, Kind=ClusterRoleBinding\nunable to recognize \"/home/jenkins/workspace/K2_PR-729-K2T2U34K2ZDGBAWG7N5R6UBRQ6FEWUSVK6VK37TGL72BDAABAZGQ/cluster/aws//pr-729-1/auth/rbac-default-policy.yaml\": no matches for rbac.authorization.k8s.io/, Kind=ClusterRoleBinding\nunable to recognize \"/home/jenkins/workspace/K2_PR-729-K2T2U34K2ZDGBAWG7N5R6UBRQ6FEWUSVK6VK37TGL72BDAABAZGQ/cluster/aws//pr-729-1/auth/rbac-default-policy.yaml\": no matches for rbac.authorization.k8s.io/, Kind=ClusterRoleBinding\nunable to recognize \"/home/jenkins/workspace/K2_PR-729-K2T2U34K2ZDGBAWG7N5R6UBRQ6FEWUSVK6VK37TGL72BDAABAZGQ/cluster/aws//pr-729-1/auth/rbac-default-policy.yaml\": no matches for rbac.authorization.k8s.io/, Kind=ClusterRoleBinding", "stderr_lines": ["unable to recognize \"/home/jenkins/workspace/K2_PR-729-K2T2U34K2ZDGBAWG7N5R6UBRQ6FEWUSVK6VK37TGL72BDAABAZGQ/cluster/aws//pr-729-1/auth/rbac-default-policy.yaml\": no matches for rbac.authorization.k8s.io/, Kind=ClusterRole", "unable to recognize \"/home/jenkins/workspace/K2_PR-729-K2T2U34K2ZDGBAWG7N5R6UBRQ6FEWUSVK6VK37TGL72BDAABAZGQ/cluster/aws//pr-729-1/auth/rbac-default-policy.yaml\": no matches for rbac.authorization.k8s.io/, Kind=ClusterRole", "unable to recognize \"/home/jenkins/workspace/K2_PR-729-K2T2U34K2ZDGBAWG7N5R6UBRQ6FEWUSVK6VK37TGL72BDAABAZGQ/cluster/aws//pr-729-1/auth/rbac-default-policy.yaml\": no matches for rbac.authorization.k8s.io/, Kind=ClusterRole", "unable to recognize \"/home/jenkins/workspace/K2_PR-729-K2T2U34K2ZDGBAWG7N5R6UBRQ6FEWUSVK6VK37TGL72BDAABAZGQ/cluster/aws//pr-729-1/auth/rbac-default-policy.yaml\": no matches for rbac.authorization.k8s.io/, Kind=ClusterRole", "unable to recognize \"/home/jenkins/workspace/K2_PR-729-K2T2U34K2ZDGBAWG7N5R6UBRQ6FEWUSVK6VK37TGL72BDAABAZGQ/cluster/aws//pr-729-1/auth/rbac-default-policy.yaml\": no matches for rbac.authorization.k8s.io/, Kind=ClusterRoleBinding", "unable to recognize \"/home/jenkins/workspace/K2_PR-729-K2T2U34K2ZDGBAWG7N5R6UBRQ6FEWUSVK6VK37TGL72BDAABAZGQ/cluster/aws//pr-729-1/auth/rbac-default-policy.yaml\": no matches for rbac.authorization.k8s.io/, Kind=ClusterRoleBinding", "unable to recognize \"/home/jenkins/workspace/K2_PR-729-K2T2U34K2ZDGBAWG7N5R6UBRQ6FEWUSVK6VK37TGL72BDAABAZGQ/cluster/aws//pr-729-1/auth/rbac-default-policy.yaml\": no matches for rbac.authorization.k8s.io/, Kind=ClusterRoleBinding", "unable to recognize \"/home/jenkins/workspace/K2_PR-729-K2T2U34K2ZDGBAWG7N5R6UBRQ6FEWUSVK6VK37TGL72BDAABAZGQ/cluster/aws//pr-729-1/auth/rbac-default-policy.yaml\": no matches for rbac.authorization.k8s.io/, Kind=ClusterRoleBinding", "unable to recognize \"/home/jenkins/workspace/K2_PR-729-K2T2U34K2ZDGBAWG7N5R6UBRQ6FEWUSVK6VK37TGL72BDAABAZGQ/cluster/aws//pr-729-1/auth/rbac-default-policy.yaml\": no matches for rbac.authorization.k8s.io/, Kind=ClusterRoleBinding", "unable to recognize \"/home/jenkins/workspace/K2_PR-729-K2T2U34K2ZDGBAWG7N5R6UBRQ6FEWUSVK6VK37TGL72BDAABAZGQ/cluster/aws//pr-729-1/auth/rbac-default-policy.yaml\": no matches for rbac.authorization.k8s.io/, Kind=ClusterRoleBinding"], "stdout": "", "stdout_lines": []}

PLAY RECAP *********************************************************************
localhost                  : ok=190  changed=27   unreachable=0    failed=1

perhaps we need a 2nd try then fail...  until a better understanding of why this has started to occur.

#733 just encountered a similar error deploying -f canal.yaml.   So it appears this isn't just limited to rbac files.   I wonder if kubectl 1.7.x has some issue with -f .yaml  deploys in general?


Fix bugs

Added optional fields in message for invalid addCompany command
Added optional fields in message for invalid addRole command
comparing of CompanyName will be case insensitive
comparing of RoleName will be case insensitive

for point 3 & 4 adding another role name/ company name with existing role/company with a different case in name will not be allowed

Remove trailing zeros and only allow positive number for stipend
Update stipend error message
Update respective testing for each changes

Codecov Report

Merging #254 (bd4818c) into master (14bca0f) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master     #254      +/-   ##
============================================
+ Coverage     66.30%   66.31%   +0.01%
- Complexity      664      665       +1
============================================
  Files           107      107
  Lines          2196     2197       +1
  Branches        259      259
============================================
+ Hits           1456     1457       +1
  Misses          635      635
  Partials        105      105

Impacted Files
Coverage Δ

...seedu/tinner/logic/commands/AddCompanyCommand.java
100.00% <ø> (ø)

...va/seedu/tinner/logic/commands/AddRoleCommand.java
37.50% <ø> (ø)

...a/seedu/tinner/logic/commands/EditRoleCommand.java
75.80% <ø> (ø)

...n/java/seedu/tinner/model/company/CompanyName.java
80.00% <100.00%> (ø)

src/main/java/seedu/tinner/model/role/Role.java
90.24% <100.00%> (-0.24%)
:arrow_down:

...rc/main/java/seedu/tinner/model/role/RoleName.java
80.00% <100.00%> (+1.05%)
:arrow_up:

src/main/java/seedu/tinner/model/role/Stipend.java
81.81% <100.00%> (+1.81%)
:arrow_up:

Continue to review full report at Codecov.

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


AnsiCte does not expand tabs (\t)

Describe the bug
AnsiCte does not expand tabs (\t). Files with tabs are rendered as though the tab character is zero width.
Expected behavior
\t characters expand to tabSpaces as set in settings.

Fixed


Disable innodb_undo_log_truncate

Signed-off-by: Masayuki Ishii<EMAIL_ADDRESS>

It would be better to have a comment on why the change is necessary. If it is related to a bug, add a link.


This package requires PHP ^7.0, isn't too much updated requirement?

Hi, when I try to use this package on a PHP 5.6.5 box, composer throws:
Your requirements could not be resolved to an installable set of packages.
Problem 1

- Installation request for spatie/laravel-activitylog 1.7.1 -> satisfiable by spatie/laravel-activitylog[1.7.1].
- spatie/laravel-activitylog 1.7.1 requires php ^7.0 -> your PHP version (5.6.5) does not satisfy that requirement.

I think this is a very strong requirement. Is there any version for PHP 5.6?
Thanks in advance.

I've seen a older issue #31 which explain your decision... OMG I've coded using your package but my ISP doesn't update to PHP 7.0, yet!!!
:-(

To me PHP 5 is dead ☠
You're free to fork our code and maintain your own PHP 5 compatible version.


Register AWS API counter metrics in main

This PR adjusts how the AWS API Counter metrics are exposed and registered. When using YACE as a library it can be useful to register them separately from the registry provided to UpdateMetrics.
This PR also adds a section to the README about using YACE as a library and adds some godocs to the library entry point.

Awesome thanks :)


Support full broadcasting in numpy.where

There are still a few broadcasting cases in numpy.where that aren't covered.
import numpy as np
import numba

@numba.njit
def nb_where(c, a, b):
    return np.where(c, a, b)

b = np.random.random(size=(3, 3))
inputs_1 = [np.array([[False]]), np.array([[0]]), b]

nb_where(*inputs_1)
# lib/python3.7/site-packages/numba/np/arraymath.py in where_impl()
#    3185             shape = cond.shape
#    3186             if x.shape != shape or y.shape != shape:
# -> 3187                 raise ValueError("all inputs should have the same shape")
#    3188             res = np.empty_like(x, dtype=npty)
#    3189             cf = cond.flat
#
# ValueError: all inputs should have the same shape

From #6624 and #3630, I see that there's some support for broadcasting when the latter two arguments (i.e. a and b) are static, but not this more general case.
From a NumPy perspective, one easy answer is to just broadcast all the arguments with something like np.broadcast_arrays; however, since the general NumPy broadcasting functions aren't available, I'm not sure how else to neatly work around this.  (Created an issue for those: #7078.)

Thanks very much for the PR, I've queued it for review.

Thanks very much for the PR, I've queued it for review.

Whoops! apologies for being confusing here.


Allow guard expression on single-pattern defun form?

I can use guards with the multi-pattern defun form:
(defun foo
    "Doc string"
    ([x] (when (is_integer(x))) 'integer)
    ([x] (when (is_list(x))) 'list))

But I cannot use a guard expression with the single-pattern defun form:
(defun foo [x]
    "This is invalid"
    (when (is_integer(x)))
    ;; Here it's save to assume is an integer and other invocations fail cleanly and early
    ;; ....
    x)

Obviously guard expressions are far more useful with the multi-pattern defun but it seems surprising that they are not supported in the simpler form.

(defun foo [x]
    "This is invalid"
    (when (is_integer(x)))
    ;; Here it's save to assume is an integer and other invocations fail cleanly and early
    ;; ....
    x)

As I have said in #lfe, the issue here is that '(when ...' will be
interpreted as the function body. I suppose you could add a special
parser rule that would correctly parse it as a guard sequence, but I'm
not sure the fairly minor use case here is worth the added complexity.
For me, this doesn't seem like an idiomatic way to write code, but I
suppose there would be no harm in allowing such a defun form.

@osense is correct -- that's the reason.

Yes, the reason is that it very rarely occurs, at least in my code, so I didn't bother with it. It would be no problem to add it.

I vote mildly against adding the special parser rule.
The explicitness of (defun foo ([x] (when (is_integer x)) x)) is preferable to me. Though when/2 is not a function, so there's no ambiguity..
PS I get a function_clause error on (is_integer(x)).

Do you mean when you use (is_integer x) or (is_integer(x))? And in a when guard or in the body? If it is the first in a guard then that is what it is supposed to do. A guard never generates an exception it just fails that clause and if not clause matches you get a function_clause error. So doing:
> (defun f ([x] (when (is_integer x)) x))
f
> (f 'a)
exception error: function_clause

just meant that the guard failed and no clause matched.

I meant (is_integer(x)) in a guard as in the original post.

It is a typo, if I try to compile the original functions I get:
./f.lfe:2: illegal guard

as x is not a legal guard function. I agree with you and will leave it as it is for the time-being until someone really complains about it not being there.


Transfusers don't follow same rules for filling jars as pipes

If you have a labelled or partially full void jar, the filling transfuser will occasionally fill a completely empty, unlabelled jar before the void jar. So you end up with a half dozen herba jars and no empties for new types.

As far as I could analyze it, the transfuser does not update properly when you change the labels or positions of jars and then tries to fill whatever is at the previous position.


php-apcu 5.1.2 segfault

Issue description
apcu 5.1.2 is segfaulting on start. I upgraded to 5.1.8 and no longer experienced the issue.
Steps to reproduce
Using current unstable: nix-shell -p php71 -p php71Packages.apcu -p valgrind --run "echo \$buildInputs | awk '{ print \$2 }' | xargs -n1 -I{} valgrind php -d extension={}/lib/php/extensions/apcu.so -d apc.enable_cli=1"
==24076== Memcheck, a memory error detector
==24076== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==24076== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==24076== Command: php -d extension=/nix/store/gclhplsi5y1yh1yipjxv4x2k2jfaym35-php-apcu-5.1.2/lib/php/extensions/apcu.so -d apc.enable_cli=1
==24076==
==24076== Invalid read of size 8
==24076==    at 0xD80CCEF: apc_sma_api_malloc_ex (in /nix/store/gclhplsi5y1yh1yipjxv4x2k2jfaym35-php-apcu-5.1.2/lib/php/extensions/apcu.so)
==24076==    by 0xD80D170: apc_sma_api_malloc (in /nix/store/gclhplsi5y1yh1yipjxv4x2k2jfaym35-php-apcu-5.1.2/lib/php/extensions/apcu.so)
==24076==    by 0xD80A0D1: apc_cache_create (in /nix/store/gclhplsi5y1yh1yipjxv4x2k2jfaym35-php-apcu-5.1.2/lib/php/extensions/apcu.so)
==24076==    by 0xD8093F3: zm_startup_apcu (in /nix/store/gclhplsi5y1yh1yipjxv4x2k2jfaym35-php-apcu-5.1.2/lib/php/extensions/apcu.so)
==24076==    by 0x8DFC8A: zend_startup_module_ex (in /nix/store/dc1jb1nxfa19spjq0pkhz94p8ql58pyz-php-7.1.9/bin/php)
==24076==    by 0x8DFD6B: zend_startup_module_zval (in /nix/store/dc1jb1nxfa19spjq0pkhz94p8ql58pyz-php-7.1.9/bin/php)
==24076==    by 0x8EDE19: zend_hash_apply (in /nix/store/dc1jb1nxfa19spjq0pkhz94p8ql58pyz-php-7.1.9/bin/php)
==24076==    by 0x8E0059: zend_startup_modules (in /nix/store/dc1jb1nxfa19spjq0pkhz94p8ql58pyz-php-7.1.9/bin/php)
==24076==    by 0x867C32: php_module_startup (in /nix/store/dc1jb1nxfa19spjq0pkhz94p8ql58pyz-php-7.1.9/bin/php)
==24076==    by 0x98E3AC: php_cli_startup (in /nix/store/dc1jb1nxfa19spjq0pkhz94p8ql58pyz-php-7.1.9/bin/php)
==24076==    by 0x45C658: main (in /nix/store/dc1jb1nxfa19spjq0pkhz94p8ql58pyz-php-7.1.9/bin/php)
==24076==  Address 0x0 is not stack'd, malloc'd or (recently) free'd
==24076==
==24076==
==24076== Process terminating with default action of signal 11 (SIGSEGV)
==24076==  Access not within mapped region at address 0x0
==24076==    at 0xD80CCEF: apc_sma_api_malloc_ex (in /nix/store/gclhplsi5y1yh1yipjxv4x2k2jfaym35-php-apcu-5.1.2/lib/php/extensions/apcu.so)
==24076==    by 0xD80D170: apc_sma_api_malloc (in /nix/store/gclhplsi5y1yh1yipjxv4x2k2jfaym35-php-apcu-5.1.2/lib/php/extensions/apcu.so)
==24076==    by 0xD80A0D1: apc_cache_create (in /nix/store/gclhplsi5y1yh1yipjxv4x2k2jfaym35-php-apcu-5.1.2/lib/php/extensions/apcu.so)
==24076==    by 0xD8093F3: zm_startup_apcu (in /nix/store/gclhplsi5y1yh1yipjxv4x2k2jfaym35-php-apcu-5.1.2/lib/php/extensions/apcu.so)
==24076==    by 0x8DFC8A: zend_startup_module_ex (in /nix/store/dc1jb1nxfa19spjq0pkhz94p8ql58pyz-php-7.1.9/bin/php)
==24076==    by 0x8DFD6B: zend_startup_module_zval (in /nix/store/dc1jb1nxfa19spjq0pkhz94p8ql58pyz-php-7.1.9/bin/php)
==24076==    by 0x8EDE19: zend_hash_apply (in /nix/store/dc1jb1nxfa19spjq0pkhz94p8ql58pyz-php-7.1.9/bin/php)
==24076==    by 0x8E0059: zend_startup_modules (in /nix/store/dc1jb1nxfa19spjq0pkhz94p8ql58pyz-php-7.1.9/bin/php)
==24076==    by 0x867C32: php_module_startup (in /nix/store/dc1jb1nxfa19spjq0pkhz94p8ql58pyz-php-7.1.9/bin/php)
==24076==    by 0x98E3AC: php_cli_startup (in /nix/store/dc1jb1nxfa19spjq0pkhz94p8ql58pyz-php-7.1.9/bin/php)
==24076==    by 0x45C658: main (in /nix/store/dc1jb1nxfa19spjq0pkhz94p8ql58pyz-php-7.1.9/bin/php)
==24076==  If you believe this happened as a result of a stack
==24076==  overflow in your program's main thread (unlikely but
==24076==  possible), you can try to increase the size of the
==24076==  main thread stack using the --main-stacksize= flag.
==24076==  The main thread stack size used in this run was 8388608.
==24076==
==24076== HEAP SUMMARY:
==24076==     in use at exit: 2,260,735 bytes in 26,081 blocks
==24076==   total heap usage: 29,040 allocs, 2,959 frees, 2,849,843 bytes allocated
==24076==
==24076== LEAK SUMMARY:
==24076==    definitely lost: 0 bytes in 0 blocks
==24076==    indirectly lost: 0 bytes in 0 blocks
==24076==      possibly lost: 1,658,872 bytes in 21,663 blocks
==24076==    still reachable: 601,863 bytes in 4,418 blocks
==24076==                       of which reachable via heuristic:
==24076==                         length64           : 192 bytes in 2 blocks
==24076==         suppressed: 0 bytes in 0 blocks
==24076== Rerun with --leak-check=full to see details of leaked memory
==24076==
==24076== For counts of detected and suppressed errors, rerun with: -v
==24076== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
xargs: valgrind: terminated by signal 11

Technical details

System: Ubuntu 16.04.3 LTS, but I'm having the issue on NixOS as well (whichever version nixops in unstable uses by default)
Nix version: 1.11.15
Nixpkgs version: 18.03pre117581.9b177399c4
Sandboxing enabled: ?

Et cetera
I am using a custom build of nix: https://github.com/jbboehr/nix-deb based on this gist: https://gist.github.com/joepie91/043a51a7b70be5f50f1d but I'm not sure that's related.
I'm working on packaging some php extensions for my own uses and most of them can run the unit tests in build like so:
    doCheck = true;
    checkTarget = "test";
    checkFlagsArray = ("REPORT_EXIT_STATUS=1");

This doesn't matter that much and probably belongs in another issue about buildPecl, but extensions that install headers don't install to the right path:
mkdir: cannot create directory '/nix/store/8zrl4glagm1cwvhnwznrhbv2m9zgv563-php-7.1.9-dev/include/php/ext/psr': Permission denied
mkdir: cannot create directory '/nix/store/8zrl4glagm1cwvhnwznrhbv2m9zgv563-php-7.1.9-dev/include/php/ext/psr': Permission denied
mkdir: cannot create directory '/nix/store/8zrl4glagm1cwvhnwznrhbv2m9zgv563-php-7.1.9-dev/include/php/ext/psr': Permission denied
mkdir: cannot create directory '/nix/store/8zrl4glagm1cwvhnwznrhbv2m9zgv563-php-7.1.9-dev/include/php/ext/psr': Permission denied
mkdir: cannot create directory '/nix/store/8zrl4glagm1cwvhnwznrhbv2m9zgv563-php-7.1.9-dev/include/php/ext/psr': Permission denied
mkdir: cannot create directory '/nix/store/8zrl4glagm1cwvhnwznrhbv2m9zgv563-php-7.1.9-dev/include/php/ext/psr': Permission denied
mkdir: cannot create directory '/nix/store/8zrl4glagm1cwvhnwznrhbv2m9zgv563-php-7.1.9-dev/include/php/ext/psr': Permission denied


Backup list should have more useful information

Allow backups to have custom names.
Protected and automatic backups should be noted as well.

Can also now rename existing backups.


On Census language change, zoom to initial extent

On Census language change (either via Census search box or the "Show in map" button of the Census pop-out), zoom the map to the initial default level. Enable this functionality by default, but add a nearby toggle switch to disable this behavior on demand.
Will need some wording for the toggle. Ideas/options for terminology:

"home"
"full"
"default"
"initial"
"original"

e.g. Auto-zoom to initial extent is how my brain wants it since it's not "full". No strong feelings on the others, but I have GIS bias.

@rperlin-ela any opinions on the wording for General Human Users? I can see there being some various thoughts on this depending on the user.

"Auto-zoom to initial extent" makes sense to me

@fiddleHeads good call on this one if it was your suggestion, pretty handy and easy to implement.
@rperlin-ela i got sucked into some dropdown stuff a bit but it will pave the way for more room when we migrate Location Tools, and also it makes census dropdown nicer:

definitely adds space to Home:

Well, hello Omnibox and Census Box, aren’t you looking good today? (These are great.)
Auto-zoom seems to be working great too. Only one thing I noticed that feels like a hitch, I think only on mobile. Let's say I'm in 3D and I select a census language. It auto-zooms fine to initial extent but then if I next switch to 2D, it doesn't give me the 2D version of initial extent but takes me to a position quite a bit to the south. Make sense.

On Mar 19, 2021, at 6:53 PM, Jason Lampel @.***> wrote:
@fiddleHeads https://github.com/fiddleHeads good call on this one if it was your suggestion, pretty handy and easy to implement.
@rperlin-ela https://github.com/rperlin-ela i got sucked into some dropdown stuff a bit but it will pave the way for more room when we migrate Location Tools, and also it makes census dropdown nicer:
https://user-images.githubusercontent.com/4974087/111849556-7954a700-88d3-11eb-8e31-08f56256fde5.png
definitely adds space to Home:
https://user-images.githubusercontent.com/4974087/111849581-8bcee080-88d3-11eb-9b6f-6d9dfdc70ebe.png
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/Language-Mapping/language-map/issues/196#issuecomment-803177957, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMNKB5CTODT3LQP4E74MNXLTEPIWLANCNFSM4ZEFGK2Q.

Ok good to know, that's the same issue or related at least to the off-center popup problem on mobile.
Since it's occurring in more than one spot I'll definitely fix it in Week 4, but I think we're good to merge into prod for now.

Wow, I agree these are great. I really like how everything is looking and performing in this deploy. You're making fast progress, Jason.
I can't replicate what Ross is describing on desktop.

I think there's going to be a handful of things like this so I'll start an issue to collect them for Week 4 and fix them then.

Thanks for the feedback Maya, had great ideas to work with in the first place, really digging all the stuff that was requested.
And yeah it's just mobile. Desktop should be fine.


datagrip layout

I don't know how datagrid works，There are many layout styles based on different algorithms，It can save me a lot of time doing drag and drop table layout adjustment，I hope you can have this feature。
I usually make erd adjustments and optimizations in the datagrid until I am satisfied before placing them on azimutt.

Hi @zxdywy
Sorry for the delayed answer, I missed the notification :/
Indeed the auto-layout of Azimutt if far from great (😅) and I don't really know usual algorithms to do this (using the lib behind mermaid).
If you have some hints for me on what to look for or how to implement it I could look into it.
Otherwise it's already/still on my todo list but it's quite long as I'm working on it only as a side project for now so not sure when I could look into this ^^


RecursionBenchmarks are failing with StackOverflowError

As of today, 2024-04-08, org.enso.interpreter.bench.benchmarks.semantic.RecursionBenchmarks benchmarks are failing for at least month with StackOverflowError. An example of a failure is at https://github.com/enso-org/enso/actions/runs/8475165697/job/23222784458#step:8:2613.
This seems like a bug in dynamic compilation.
To reproduce:
sbt:runtime-benchmarks> benchOnly org.enso.interpreter.bench.benchmarks.semantic.RecursionBenchmarks.benchSumRecursive

The code of the failing benchmark is https://github.com/enso-org/enso/blob/7850312340f5c3dd8e2903270083742a5d75752c/engine/runtime-benchmarks/src/main/java/org/enso/interpreter/bench/benchmarks/semantic/RecursionBenchmarks.java#L46-L52

Simply switching the operands of + in the benchmark's code "fixes the issue". No more StackOverflowError with the following change:
diff --git a/engine/runtime-benchmarks/src/main/java/org/enso/interpreter/bench/benchmarks/semantic/RecursionBenchmarks.java b/engine/runtime-benchmarks/src/main/java/org/enso/interpreter/bench/benchmarks/semantic/RecursionBenchmarks.java
index 9fe7ae847..9633275b6 100644
--- a/engine/runtime-benchmarks/src/main/java/org/enso/interpreter/bench/benchmarks/semantic/RecursionBenchmarks.java
+++ b/engine/runtime-benchmarks/src/main/java/org/enso/interpreter/bench/benchmarks/semantic/RecursionBenchmarks.java
@@ -46,7 +46,7 @@ main = sumTo ->
   private static final String SUM_RECURSIVE_CODE =
       """
 main = sumTo ->
-    summator = i -> if i == 0 then 0 else i + summator (i - 1)
+    summator = i -> if i == 0 then 0 else summator (i - 1) + i
     res = summator sumTo
     res
 """;

When one explicitly marks the recursive call with @Tail_Call, it also fixes the benchmark:
diff --git a/engine/runtime-benchmarks/src/main/java/org/enso/interpreter/bench/benchmarks/semantic/RecursionBenchmarks.java b/engine/runtime-benchmarks/src/main/java/org/enso/interpreter/bench/benchmarks/semantic/RecursionBenchmarks.java
index 9fe7ae847..3728efc75 100644
--- a/engine/runtime-benchmarks/src/main/java/org/enso/interpreter/bench/benchmarks/semantic/RecursionBenchmarks.java
+++ b/engine/runtime-benchmarks/src/main/java/org/enso/interpreter/bench/benchmarks/semantic/RecursionBenchmarks.java
@@ -46,7 +46,7 @@ main = sumTo ->
   private static final String SUM_RECURSIVE_CODE =
       """
 main = sumTo ->
-    summator = i -> if i == 0 then 0 else i + summator (i - 1)
+    summator = i -> if i == 0 then 0 else i + (@Tail_Call summator (i - 1))
     res = summator sumTo
     res
 """;

After bisecting, I discovered that the commit that introduced the error is 5919eda7534516c9f0264c430158112b7a76191a.
On the old (good) revision, the forked JMH runner was started with -Xss16M. This option is no longer passed to the runner. With this option passed, the benchmark normally works:
sbt:runtime-benchmarks> run -jvmArgsPrepend -Xss16M org.enso.interpreter.bench.benchmarks.semantic.RecursionBenchmarks.benchSumRecursive

I have just validated that after application of this patch
diff --git a/engine/runtime/src/bench/java/org/enso/interpreter/bench/BenchmarksRunner.java b/engine/runtime
/src/bench/java/org/enso/interpreter/bench/BenchmarksRunner.java
index 5ffd7815a0..f65be194b1 100644
--- a/engine/runtime/src/bench/java/org/enso/interpreter/bench/BenchmarksRunner.java
+++ b/engine/runtime/src/bench/java/org/enso/interpreter/bench/BenchmarksRunner.java
@@ -37,7 +37,7 @@ public class BenchmarksRunner {
   public BenchmarkItem run(String label) throws RunnerException, JAXBException {
     ChainedOptionsBuilder builder =
         new OptionsBuilder()
-            .jvmArgsAppend("-Xss16M", "-Dpolyglot.engine.MultiTier=false")
+            .jvmArgsAppend("-Dpolyglot.engine.MultiTier=true")
             .include("^" + label + "$");

     if (Boolean.getBoolean("bench.compileOnly")) {

the old revision cf191154321a39a4d5ba775a33007de8e5a04d9c fails on StackOverflowError as well.


Regression that prevents running Hunter

I just tried building a package on Android that used to work, with the latest version of Hunter and received a python error telling me my system does not support Sem_Open, from this  file:
~/.hunter/_Base/Download/Hunter/0.19.84/9086d4b/Unpacked/scripts/link-all.py
It seems that the multiprocessing.Pool has a hard dependency on sem_open, which is not available on Android and perhaps other platforms.
The solution I found was to use multiprocessing.pool.ThreadPool instead. It uses plain threads instead of spawning new processes.
After resolving that, it tells me that, in the same file, module 'os' has no attribute called 'link'.

Currently link-all.cmake script returns error if link-all.py failed. It make sense for such cases to return warning and try to use next approach (/bin/bash, then file(COPY ...)):

https://github.com/ruslo/hunter/blob/237878f79b8152fce382f33f991c78d11a99f893/scripts/link-all.cmake#L71-L73

Can you try:
if(result EQUAL 0)
  return()
endif()
message(WARNING "... link-all.py failed ...")

?

I changed os.link to os.symlink and it seems to be working from that (combined with Thread pool).

I changed os.link to os.symlink

It's kind of different. os.link is almost the same as copying, os.symlink is not.

Is this only on OSX or is it true of Linux as well? I am using Linux (Android).

Ah ok. Any idea why I wouldn't be able to do this on Android?

Any idea why I wouldn't be able to do this on Android?

It's not about Android, it's about your host system. Something wrong with installed Python.

My host system is Android (Termux)

Looks like hardlinking has been blocked since Marshmallow.
https://code.google.com/archive/p/android-developer-preview/issues/3150
Is copying the file the only workaround for these situations?

My host system is Android (Termux)

Oh... okay, I see.

Is copying the file the only workaround for these situations?

I see no other options.

Bringing this issue back again,
I managed to get this working on Termux by disabling this section of code recommended by you on gitter.im:
https://github.com/ruslo/hunter/blob/master/scripts/link-all.cmake#L48
I would make a pull request, but I'm not sure sure what to check for.
At first I thought:
if (ANDROID AND NOT CMAKE_CROSSCOMPILING)
but then.. what if I am cross-compiling? We would have the same issue again and I can't find out the host. CMAKE_SYSTEM_NAME is Linux.

https://gitter.im/ruslo/hunter?at=5b17ecb793dc78791cb76001

@xsacha fixed by https://github.com/ruslo/hunter/pull/1466 ?

Yes, fixed


⚠ Thumbnails API Endpoint has degraded performance

In 79e94e6, Thumbnails API Endpoint (https://thumbnails.roblox.com/v1/assets?assetIds=82738847&format=Png&isCircular=false&size=30x30) experienced degraded performance:

HTTP code: 200
Response time: 1150 ms

Resolved: Thumbnails API Endpoint performance has improved in 2cb875c.


Unhandled error during execution

Vue version
3.3.4
Link to minimal reproduction
https://pokeapi.co/api/v2/pokemon
Steps to reproduce
Start a blank project running vue create [project-name]
Create a simple home screen
Fetch the pokemon data in this home (https://pokeapi.co/api/v2/pokemon)
Pass as props nameand url data to a component
With this props in this component, create another, then pass the urlas props to another component.
In this third component, try to render the pokemon data, like image and name, using the url passed as props.
the error says :
[Vue warn]: Unhandled error during execution of render function
Unhandled error during execution of scheduler flush. This is likely a Vue internals bug. Please open an issue at https://new-issue.vuejs.org/?repo=vuejs/core
What is expected?
Render 20 pokemon images and names.
What is actually happening?
throw this two errors and i can not retrieve the data.
[Vue warn]: Unhandled error during execution of render function
Unhandled error during execution of scheduler flush. This is likely a Vue internals bug. Please open an issue at https://new-issue.vuejs.org/?repo=vuejs/core
System Info
System:
    OS: Linux 5.15 Linux Mint 21.2 (Victoria)
    CPU: (8) x64 Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz
    Memory: 5.14 GB / 11.47 GB
    Container: Yes
    Shell: 5.8.1 - /usr/bin/zsh
  Binaries:
    Node: 16.20.1 - /usr/bin/node
    Yarn: 1.22.19 - /usr/bin/yarn
    npm: 9.8.1 - /usr/bin/npm
  Browsers:
    Brave Browser: <IP_ADDRESS>

Any additional comments?
No response

Please provide a runnable reproduction

Sorry.
You can run this project, and just open the console.
https://github.com/Ceagah2/vuejs-playground/tree/main/cli

I don't think this is a bug. Maybe you need to provide more information. In the repo you provided, when the data is not returned, accessing a non-existing attribute results in an error. I don't think it's Vue's problem that wrong coding causes vue to report errors and warnings 🤔
<template>

      {{ pokemonsData.name }}

</template>

If there are deep-level object properties in the template, the properties should be initialized in data

He seems to have no problem and can run normally. The reason for the error is that you use a non-existing attribute when you are not assigning a value, so it will cause this problem.
It is recommended that you use this method optional chain character on the dom

And I see that there doesn't seem to be a shiny field in the data sprites field


save game state so we don't need to recalibrate every time

can serialize an object containing our state

Saving state now:)


Naming conflict with gitea's tea cli

https://code.gitea.io/tea/

oh, unfortunate. I did search for conflicts before choosing this and didn’t find it.
Sadly it's a single namespace UNIX world and these things do happen. I guess we could offer to install as teaxyz instead if we find tea in the PATH already. Fortunately our tool doesn’t care what it is named.

great.


Added increment and decrement methods

While working with NodeJS I found this super popular package using increment and decrement methods and thought about adding them to this great library

Thank you very much!
The question is whether
$db->increment(
    'users',
    [ 'balance' => 25 ],
    [ 'username' => 'Adam' ]
);

is considerably shorter and more convenient than
$db->exec(
    'UPDATE users SET balance = balance + ? WHERE username = ?',
    [
        25,
        'Adam'
    ]
);

which is already supported today. The answer seems to be yes, it is. Not by a large margin, but still. So it would make sense to add it.
I’m not sure if we need separate increment and decrement methods when we can just use the sign of the numbers supplied in the second argument. The two methods could both simply be named addition. (We could even add multiplication as well.) But if we want a verb as the method name here, I can’t think of any better name (that is still unambiguous) than increment and decrement.
By the way, I also noticed that in the original Node.js package “knex.js”, this is part of a query builder, not a standalone method as it would be here. That should not really matter, although you cannot create complex conditions without a query builder.

Yes I think with the query builder its much easier, maybe in the future we can work on a query builder, I don't think it's that hard with PHP.
actually I thought about using a variable to determine the sign, but I felt it's a little bit unreadable and ambiguous that's way I made a private function for that matter.
Those two methods might be some unneeded extras, but I found them fun and useful 👍


ListPreference MultiSelectListPreference

Would you add support for ListPreference and MultiSelectListPreference ?
Thanks

Hi @askfor
As I mentioned in the README, I'm currently using the material-dialogs library for any popup / dialog related preferences.
So I'm not planning to re-implement them, but feel free to send a pull request. :smiley:

Thanks, material-dialogs has MultiSelectListPreference  now :)

About this same issue: I'm mixing preference classes from material-dialogs with yours, but they come out with different style (colors, margins). Is there a way to use the same theme from your library (which seems the most material-compliant)?


[Improvement] the value of remote storage conf should support comma.

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Search before asking

[X] I have searched in the issues and found no similar issues.

Describe the bug
When parse the remoteStorageConf, we use ',' as separator to parse the config. It means the value of config should not contain ','.
But it is common that the value of config contain ','. For examples, in federated hdfs, below config is common.
dfs.ha.namenodes.ns-fed=nn1,nn2

Affects Version(s)
master
Uniffle Server Log Output
No response
Uniffle Engine Log Output
No response
Uniffle Server Configurations
No response
Uniffle Engine Configurations
No response
Additional context
No response
Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

If you dont mind, I think I will pick up this. @zhengchenyu

If you dont mind, I think I will pick up this. @zhengchenyu

You are free to take over this PR. I'm really confused about how to implement it. I will close the original PR.

#1110


Allow GA4 to be disabled via query string parameters

What

Some previous work was done by myself to try and prevent Smokey tests from sending GA4 data to production
This didn't work, I assume because the user agent Smokey tried to set wasn't working properly
I learned that Smokey tests send a smokey_cachebust query string in their requests.
We can use this to stop data being sent to the GA4 production dashboard (window.dataLayer.)
Instead, we can send the data to a fakeDataLayer array. We can use this to test GA4 is working on production, without actually sending data to GA4.
Therefore, if the page URL contains the smokey_cachebust or disable_ga4 query string parameters, our GA4 objects will push to window.fakeDataLayer instead of window.dataLayer
I included the disable_ga4 query parameter in this, as we can use that for other testing apps, such as the analytics robot.
Note: I moved getSearch() out of the PageViewTracker and put it into Ga4 Core since they both make use of this function now.

Why

We need to stop Smokey tests sending GA4 data to production, and we can use this fake dataLayer to write Smokey tests that check GA4 is working
We can use this to stop the analytics_robot, or other tests we do, from sending data to the GA4 production dashboard
https://trello.com/c/TnMU9ZPm/709-investigate-how-to-filter-smokey-tests#comment-655f61ca6031eb83d2cef1cd
Future work could include adding disable_ga4 to the smokey query param, so we aren't relying on smokey_cachebust: https://github.com/alphagov/smokey/blob/4f77ed9e03b393cf2ff651db142a0a15e4cdadcf/features/support/visiting_pages.rb#L6

Visual Changes

None.

Thanks @andysellick - should be ready for another review :+1:


Move Async methods off of CasWebApplication

This moves the async application ready event method off of the CasWebApplication class. I think it may be confusing spring native but whether it is or not, I think it is better off in a bean.

@apereocas-bot runci


Adding milestone to a parallel task causing the task not aligned with parallel task

Fixed in v.0.2.0


docs(examples, navigation): add local classification tutorial and update navigation

@ivanleomk take a look, this is claude generated, please review and take a look

:rocket:
This description was created by Ellipsis for commit 5bc4592a4158ad613498ced25d89d9b78c3586d6

Summary:
Added a tutorial and example code for local classification of confidential documents using local models, and updated the documentation navigation.
Key points:

Added docs/examples/local_classification.md with a tutorial on using local models for classifying confidential documents.
Example code demonstrates initializing a local model, defining query types, and processing document-related queries.
Updated mkdocs.yml to include the new 'Local Classification' example in the navigation.

Generated with :heart: by ellipsis.dev

@jxnl I got some working code to run using the Qwen2 Instruct model, see code below. I'll rewrite this article and submit an updated version over the weekend
from llama_cpp import Llama
import instructor
from pydantic import BaseModel
from enum import Enum
from typing import Optional

llm = Llama.from_pretrained(
    repo_id="Qwen/Qwen2-0.5B-Instruct-GGUF",
    filename="*q8_0.gguf",
    verbose=False
)

create = instructor.patch(
    create=llm.create_chat_completion_openai_v1,
)
# Define query types for document-related inquiries
class QueryType(str, Enum):
    DOCUMENT_CONTENT = "document_content"
    LAST_MODIFIED = "last_modified"
    ACCESS_PERMISSIONS = "access_permissions"
    RELATED_DOCUMENTS = "related_documents"

# Define the structure for query responses
class QueryResponse(BaseModel):
    query_type: QueryType
    response: str
    additional_info: Optional[str] = None

def process_confidential_query(query: str) -> QueryResponse:
    """
    Process a confidential document query using local models.

    This function takes a query string, analyzes it using the local models model,
    and returns a structured response about the confidential document.

    Args:
        query (str): The user's document-related query.

    Returns:
        QueryResponse: A structured response containing the query type,
                       response text, confidence score, and any additional info.
    """
    prompt = f"""Analyze the following confidential document query and provide an appropriate response:
    Query: {query}

    Determine the type of query (document content, last modified, access permissions, or related documents),
    provide a response, and include a confidence score and any additional relevant information.
    Remember, you're handling confidential data, so be cautious about specific details.
    """

    result = create(
        response_model=QueryResponse,
        messages=[
            {"role": "system", "content": "You are a secure AI assistant trained to handle confidential document queries."},
            {"role": "user", "content": prompt},
        ],
    )
    return result

# Sample confidential document queries
confidential_queries = [
    "What are the key findings in the Q4 financial report?",
    "Who last accessed the merger proposal document?",
    "What are the access permissions for the new product roadmap?",
    "Are there any documents related to Project X's budget forecast?",
    "When was the board meeting minutes document last updated?",
]

print("#> Processing confidential document queries...\n")

# Process each query and print the results
for i, query in enumerate(confidential_queries, 1):
    response = process_confidential_query(query)
    print(f"#> Query {i}: {query}")
    print(f"#> Query Type: {response.query_type}")
    print(f"#> Response: {response.response}")
    if response.additional_info:
        print(f"#> Additional Info: {response.additional_info}")
    print("#>")


Vickel: Watch sunknowledge.com

Vickel requests the watch of the watch_keyword sunknowledge\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

sunknowledge\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Jeff Schaller in Charcoal HQ


How to save Images from bebop forward camera!!

Hi,
Am working on depth observation and I need to save images from bebop forward camera. These images are to be processed offline!! Can anybody help me! Thanks
Rayane

Thanks for the answer @cesarhcq  but it takes a lot of time converting bag file to txt file. maybe for other topics. am intending to save them not for a replay. is there any other way out


can any one make video to show how its work

hello everybody
can anyone make a video on youtube how this is work ? and how its install , im facing hard time to install it
thanks

This version is still in development and not yet fully functional. For a working auto buyer, look at hunterjm/futgu


Remove the use of redis keys command, which should rarely (if ever) be used in production

In high throughput Redis environments or in DBs with a lot of keys the use of the keys command can cause significant performance issues (see Warning here: https://redis.io/commands/keys). It's a blocking command that can cause high latency in large redis environments.
I documented all the places I could find that uses keys today below, but the approach that redis experts have given me is to recursively call scan with a pattern provided in the query until the cursor gets back to 0. This approach is certainly slower than using keys alone, especially in DBs with a lot of keys, but the load on the redis server is basically eliminated.
https://github.com/taskrabbit/node-resque/blob/master/lib/scheduler.js#L196
https://github.com/taskrabbit/node-resque/blob/master/lib/queue.js#L134
https://github.com/taskrabbit/node-resque/blob/master/lib/queue.js#L175
https://github.com/taskrabbit/node-resque/blob/master/lib/queue.js#L178
https://github.com/taskrabbit/node-resque/blob/master/lib/queue.js#L328
Example recursive method to using the scan pattern (can obviously be updated as needed):
async scanMatch(match, iterationCallback, cursor=0, numMatches=0) {
  const [ newCursor, matches ] = await this.connection.redis.scan(cursor, 'match', match)
  if (matches && matches.length > 0) {
    numMatches += matches.length
    await Promise.all(matches.map(async match => await iterationCallback(match)))
  }

  if (newCursor == '0')
    return numMatches

  return await this.scanMatch(match, iterationCallback, newCursor, numMatches)
}

Then use this function to get all keys returned in an array, just like keys as follows:
async getKeysLike(pattern) {
  let allKeys = []
  await this.scanMatch(pattern, async match => allKeys.push(match))
  return allKeys
}

Thank you for the examples! Are you comfortable submitting a pull request with these changes?

@evantahler yeah I can likely work on this within the next week or so (hopefully sooner). I actually might have to do this sooner than later since we're using node-resque in prod today and this issue is causing redis latency issues for us.
On a side, and lighter, note I love node-resque, it's solved a lot of problems for us with queueing & processing background jobs. Well done!


RN integration app crash upon root view invalidation

I'm trying to integrate your lib in a react native project but whenever the app reloads and the root content is invalidated the app crashes (RCTRootContentView invalidate) .
Any help is much appreciated, leaving the stack trace below:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[_UITextLayoutCanvasView contentViewInvalidated]: unrecognized selector sent to instance 0x7fbec9e34950'
*** First throw call stack:
(
	0   CoreFoundation                      0x000000011220128d __exceptionPreprocess + 242
	1   libobjc.A.dylib                     0x00000001106b5894 objc_exception_throw + 48
	2   CoreFoundation                      0x00000001122163a3 +[NSObject(NSObject) instanceMethodSignatureForSelector:] + 0
	3   UIKitCore                           0x000000013442fd3c -[UIResponder doesNotRecognizeSelector:] + 266
	4   CoreFoundation                      0x0000000112205a20 ___forwarding___ + 1459
	5   CoreFoundation                      0x0000000112207c28 _CF_forwarding_prep_0 + 120
	6   Company                              0x00000001052d670c -[RCTRootContentView invalidate] + 124
	7   Company                              0x0000000105307675 __26-[RCTUIManager invalidate]_block_invoke + 533
	8   Company                              0x000000010531ca9a __RCTExecuteOnMainQueue_block_invoke + 26
	9   libdispatch.dylib                   0x0000000115605747 _dispatch_call_block_and_release + 12
	10  libdispatch.dylib                   0x00000001156069f7 _dispatch_client_callout + 8
	11  libdispatch.dylib                   0x0000000115616856 _dispatch_main_queue_drain + 1362
	12  libdispatch.dylib                   0x00000001156162f6 _dispatch_main_queue_callback_4CF + 31
	13  CoreFoundation                      0x000000011215d850 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
	14  CoreFoundation                      0x000000011215818b __CFRunLoopRun + 2463
	15  CoreFoundation                      0x0000000112157409 CFRunLoopRunSpecific + 557
	16  GraphicsServices                    0x000000011df58187 GSEventRunModal + 137
	17  UIKitCore                           0x00000001343f83a2 -[UIApplication _run] + 972
	18  UIKitCore                           0x00000001343fce10 UIApplicationMain + 123
	19  Company                              0x0000000104c86748 main + 104
	20  dyld                                0x000000010f8023ee start_sim + 10
	21  ???                                 0x00000002070003a6 0x0 +<PHONE_NUMBER>

any update? did you handle it ?


Issue1 - Project Structure

Project Structure
Setting up of the file architecture and creation of the application's basic bundle.
Estimation
2 hours

Issue 1 completed in 2 hours.


Parallelization not work: annotations in source code

Description
Following in my code, but output is unexpected, i not setting configure in runsetting file
[assembly: Parallelize(Workers = 0, Scope = ExecutionScope.MethodLevel)]
namespace OpenPublishing.Backend.E2ETesting.TestCase
output:
MSTest Executor: Test Parallelization enabled for G:\SourceCode\TestCode\OpenPublishing.E2ETesting\OpenPublishing.Backend.E2ETesting\bin\Debug\OpenPublishing.Backend.E2ETesting.dll (Workers: 4, Scope: ClassLevel).
here is my runsetting file:

Actual i want some cases  can run in parallel model by MethodLevel, some test cases run parallel by ClassLevel (some cases in same cs file have dependency, need run one by one)

Does following is support now?
In MSTest, it would be nice to be able to specify that certain traits must run sequentially together, but can run in parallel with other tests. I could see it looking something like:
// Run tests in CategoryA sequentially in one thread.
[assembly:TestParallelizationCategoryAffinity("CategoryA");
// Run test in CategoryB sequentially in one thread.
[assembly:TestParallelizationCategoryAffinity("CategoryB");
// Run tests in CategoryC and CategoryD sequentially in one thread.
[assembly:TestParallelizationCategoryAffinity("CategoryC", "CategoryD", ...);
With something like this, you could accomplish test runs like this:
Thread 0: Test1WithNoCategory -> Test2WithNoCategory -> Test3WithNoCategory
Thread 1: Test1WithCategoryA  -> Test2WithCategoryA  -> Test1WithCategoryB  -> Test2WithCategoryB
Thread 2: Test1WithCategoryC  -> Test1WithCategoryD  -> Test2WithCategoryC  -> Test2WithCategoryD

@luyajun0205 to be frank in an ideal scenario one would author unit tests to be independent of one another.
but you can refer to https://www.meziantou.net/2018/03/01/mstest-v2-execute-tests-in-parallel
to excluded those tests you don't want to run in parallel using the [DoNotParallelize] attribute.


Carousel Grid: Add 2nd Row

(Kinda just tagged everyone, feels like a face lift that's good to make sure everyone knows about/make sure there's nothing weird I don't know about this structure that I'm ruining on accident. Feel free to ignore if it's irrelevant to you.)
Context
We're making the prepublish checklist a new toggle button next to the help center. It does this when there's "alot" of pages.

Summary
Proposing we add a second row to the carousel area to allow the page carousel to take up space for easier usage while allowing us enough space to also have all of the buttons and toggles that are part of this grouping.
Relevant Technical Choices

Tried to make the minimum amount of tweaks. What ended up working was cutting out the MENU_GUTTER and adding BUTTON_GAP in its place so that there's still outside space. Now the carousel space calculation just multiples the button gap by 4 instead of 2, and menu_gutter isn't accounted for.
The carousel column width is now the only 1fr so that it will always be as wide as possible, this keeps our second row of buttons with space between without additional work.

To-do
Waiting for product and design stamps of approval, wanted to loop people in who are in earlier timezones just in case they have feedback. <3
User-facing changes
https://user-images.githubusercontent.com/10720454/123339853-3290d180-d500-11eb-8904-f8b75e8f539d.mp4
(without the incoming checklist toggle)

Testing Instructions
Open the editor and see that the carousel and the buttons in it work as expected (a mirror of staging).
Try enabling the new PPC 2.0 experiment and verify the carousel area is still working as expected.
QA

[ ] This is a non-user-facing change and requires no QA

This PR can be tested by following these steps:

UAT

[ ] UAT should use the same steps as above.

This PR can be tested by following these steps:

Reviews
Does this PR have a security-related impact?

Does this PR change what data or activity we track or use?

Does this PR have a legal-related impact?

Checklist

[x] This PR addresses an existing issue and I have linked this PR to it in ZenHub
[x] I have tested this code to the best of my abilities
[x] I have verified accessibility to the best of my abilities (docs)
[x] I have verified i18n and l10n (translation, right-to-left layout) to the best of my abilities
[ ] This PR contains automated tests (unit, integration, and/or e2e) to verify the code works as intended (docs)
[x] I have added documentation where necessary
[x] I have added a matching Type: XYZ label to the PR

Partially addresses #7917

Opted for smaller buttons instead of a second row. https://github.com/google/web-stories-wp/pull/8088


Generated code doesn't work

I built a PAC using svd2rust 0.17 and it didn't compile (https://github.com/rp-rs/rp2040-pac).
 It would really help if svd2rust could process out these character pairs and split the docs into multiple lines.

I can confirm that head works fine. See https://github.com/rp-rs/rp2040-pac/tree/use_svd_0.18alpha

I can confirm that head works fine. See https://github.com/rp-rs/rp2040-pac/tree/use_svd_0.18alpha

We were just discussing this on the rp-rs channel and @adamgreig mentioned that the \n are not really supposed to be there. We might try to filter them out in the parser if it's not too painful/expensive.

We were just discussing this on the rp-rs channel and @adamgreig mentioned that the \n are not really supposed to be there. We might try to filter them out in the parser if it's not too painful/expensive.

I tried to do it in the generated output with sed and it was not easy at all (because you use #[doc=""] not ///). Filtering the string before it's rendered as docs would be best.
At least they didn't use Doxygen syntax in the comments 😂

I tried to do it in the generated output with sed and it was not easy at all (because you use #[doc=""] not ///). Filtering the string before it's rendered as docs would be best.
At least they didn't use Doxygen syntax in the comments 😂

There's unfortunately no way to generate /// doc strings, it's a long pet peeve of mine https://github.com/alexcrichton/proc-macro2/issues/205

There's unfortunately no way to generate /// doc strings, it's a long pet peeve of mine https://github.com/alexcrichton/proc-macro2/issues/205

Is this still actual?


[BUG]: Username entered before fully Typed

What happens?
My Username is TillDV but it already automatically enters at TillD and I can't change it unless I change the value in the browser's local storage.
What are the steps to reproduce this issue?
Just type in the name
What were you expecting to happen?
The Username enters before complete
Additional information about your environment

Device: Macbook M1
OS: MacOS
Browser: Safari

Additional context
No response

Thanks @TillDV ❤


Representing more detail

Today we have roads (individual lanes, each a thickened line-string) and intersections (a polygon, with each lane polygon meeting it at a right angle). That's a vast oversimplification. https://dabreegster.github.io/talks/map_model_v2/slides.html#/crossing-islands has some images of more situations, like...

crossing islands / floating bus stops. Sometimes these are roughly linear along the road and could act like a thick sidewalk, but often the shape is weird
lanes with variable thickness. "Pocket parking" doesn't just appear at a sharp right angle to the rest of the road; there's some kind of smooth curve in. And when turn lanes appear, it's gradual. Same for bulb-outs / curb bulbs.
Advanced stop lines / bike boxes. The stop line for most vehicles is much farther back from the intersection, and the front is dedicated to smaller vehicles. Do we end the regular vehicle lanes early and count that as part of the intersection maybe?
Modal filters. Sometimes these're defined as nodes / points in OSM on a way. Other times, the way gets split into a short segment with access restrictions marked. We probably need to normalize between these two and decide a representation.

@tordans, any opinions on representing these things? From my understanding of how strassenraumkarte works, you're working with geometry only, so there's no internal representation about these kinds of objects. With a stop line, you would just trim back roads appropriately and draw extra things. Right?

Notes from a call with @BudgieInWA...
Modal filters
Should we model these as a point along a road (the linear referencing model)? It has graph / routing implications, though. It would make more sense to introduce an intersection (with small size, not eating up much length of the road) where the filter is. That way, we can generate u-turns properly for vehicles.
Stop lines
Bike boxes, stop lines for vehicles, give way signs, separate traffic signals for bike lanes... all of these things can maybe be represented in the same way. A Road object could have extra stop line info for each end. In default cases, the stop line position is just at the end of each lane. Based on the intersection complexity classification and control type, the stop line could indicate a stop sign, give way, traffic signal.
But we can start reading more stuff from OSM to override the default. Some lanes might have a stop line trimmed farther back from the intersection (is this called "setback"?). The stop line has some vehicle restrictions, to indicate stuff like a bike / moped box at the front. Transit signal priority or bike-only traffic signals could be indicated here maybe.
There are complications... sometimes a lane continues straight/through without stopping, but if a vehicle is trying to turn, then there is an implicit stop line somewhere.
The stop line info + intersection classification will let us start drawing better detail in the middle of the intersection. On merges, lane markings continue through. Bike lanes crossing a side road are probably drawn dotted or something.
Small detail: do we need to represent just one distance / a point for the stop line? Or do we care about thickness of the stop line? Similar to the buffer/separator question in osm2lanes
OSM schema for protected signalized turns
On the incoming way, mark something like "left turn arrow / protected turn"?
To merge dual carriageways or not?
Problems like traffic signal timing get much easier with one consolidated intersection. They don't necessarily need dual carriageways to be physically merged into one object. Especially if the DC geometry isn't parallel and has some complexity that should be preserved, merging might not be desirable. Or if we need to relate back to original OSM objects. But the transformations that do the grouping and associate the pieces of the DC could still be useful. Or we want to do the DC merge, get the nice consolidated intersection, then undo the merge and just keep the nice intersection maybe.
Say we're doing the Streetmix-like editor on a dual carriageway. Then merging DCs seems nice. But even then, maybe it can be done "lazily" and to upload the changes back to OSM, we can still remember the two original OSM pieces and figure out how to distribute the lanes to each piece and update tags accordingly.
Crossings
For things like UK-style 2-part crossings with the island in the middle and maybe the zig-zag shape, that entire thing is maybe an intersection. The crossing is a turn/movement inside there, with some extra info to mark that there's an island in the middle to do it in two parts

Specific code changes that could happen immediately are #93 and #6


Add test and coverage action

Codecov Report

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

@@           Coverage Diff           @@
##             main       #1   +/-   ##
=======================================
  Coverage        ?   62.12%
=======================================
  Files           ?       13
  Lines           ?      499
  Branches        ?        0
=======================================
  Hits            ?      310
  Misses          ?      148
  Partials        ?       41

Continue to review full report at Codecov.

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


chore: add timeout for uglify-js

:tada: This PR is included in version 1.1.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


how to add geolocation on map and marker as per location in magicmirror(curent location)

Please only submit reproducible issues.
If you're not sure if it's a real bug or if it's just you, please open a topic on the forum: https://forum.magicmirror.builders/category/15/bug-hunt
Problems installing or configuring your MagicMirror? Check out: https://forum.magicmirror.builders/category/10/troubleshooting
When submitting a new issue, please supply the following information:
Platform: Place your platform here... give us your web browser/Electron version and your hardware (Raspberry Pi 2/3, Windows, Mac, Linux, System V UNIX).
Node Version: Make sure it's version 0.12.13 or later.
MagicMirror Version: Now that the versions have split, tell us if you are using the PHP version (v1) or the newer JavaScript version (v2).
Description: Provide a detailed description about the issue and include specific details to help us understand the problem. Adding screenshots will help describing the problem.
Steps to Reproduce: List the step by step process to reproduce the issue.
Expected Results: Describe what you expected to see.
Actual Results: Describe what you actually saw.
Configuration: What does the used config.js file look like? Don't forget to remove any sensitive information!
Additional Notes: Provide any other relevant notes not previously mentioned. This is optional.

Please refer to http://forum.magicmirror.builders for support and troubleshooting.
I'm closing this issue for now. If you feel this issue should remain open, please let me know.

kindly keep this issue open as i want to know the various solution for this.
Thank you,
On Wed, Apr 5, 2017 at 11:45 PM, Michael Teeuw<EMAIL_ADDRESS>wrote:

Closed #827 https://github.com/MichMich/MagicMirror/issues/827.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/MichMich/MagicMirror/issues/827#event-1030885687, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AYKqVT9fhB4R1ya7Av3gZ7r5MmQxV4Lpks5rs9pbgaJpZM4M0Ffq
.


Entry point is never hit

I can't seem to get the entry point in app.ts to ever get hit via ts-loader and webpack-dev-server.
Have logged an issue here:
https://github.com/TypeStrong/ts-loader/issues/680

Resolved with #19


OpenPassiveDataStream/Async() uses the target FTP host instead of the configured proxy

FTP OS: Windows
FTP Server: Windows / various
FTP Proxy: various
OpenPassiveDataStream/Async() uses the target FTP host instead of the configured proxy.
I wonder how did it pass tests...
Probably because it is tested against <IP_ADDRESS>...

I can confirm this behaviour. It took me almost an hour to evaluate that the async methods raises the problem. Please fix it.

I have the same issue. FtpClient with proxy in passive mode doesn't recognize that it needs to establish the new connection with the specified port, and just tries to send commands to the active connection with 21 port. Problem occurs only with Async methods.
Possible workaround at this moment is:
public class FtpClientHttp11ProxyCorrect : FtpClientHttp11Proxy
{
	public FtpClientHttp11ProxyCorrect(ProxyInfo proxy)
		: base(proxy)
	{ }

	protected override Task ConnectAsync(FtpSocketStream stream, string host, int port, FtpIpVersion ipVersions)
		=> Task.Factory.StartNew(() => Connect(stream, host, port, ipVersions));
}


Allow adding custom highlight groups that are not in theme.lua

This PR added the ability to customze highlight groups, which is awesome and a drastically better way of setting highlight compared to using the builtin highlight command. However onedark.nvim currently only allows customizing highlight groups that are already defined in theme.lua, and not new highlight groups that don't yet exist in theme.lua. Would it be possible to allow adding any highlight group when calling require('onedark').setup()?

Now you can add a non-exists highlight by enabling dev mode.

Thank you for implementing this!
Just out of curiousity, what is the idea behind dev mode and why is this feature only available in dev mode? :)


Running Carla Server on Windows and client on Linux - Separate Machines

I want to run the Carla Server on Windows and Client on Linux - on two separate machines. I would like to do this because my GPU is installed on a Windows machine (I want to keep it that way for other projects) and I want to use ROS which only works on Linux. The ability to publish sensor data as ROS Topics will allow me to use all available ROS packages (and develop more). I believe the Carla server uses ports 2000 and 2001 so in theory it should be possible - can someone point me to the step-by-step process to do this?

@aadishdnaik I have the same problem did you arrive to solve this issue?  I want to run the simulator on windows and I want the client side that retrieve data is a linux remote server . If you arrive to solve this issue can you please share


As a user, I want to be able to modify details of a patient

Edit Request command created. Patient book has been refactored out.


Converted Harley's and Mercy's dialogue from txt to xml

Converted Harley's and Mercy's dialogue from txt to xml

*converted their dialogue changes