aws s3 - Can't use same remote config and have Object ACL copy cross account.

rclone v1.44
- os/arch: linux/amd64
- go version: go1.11.1

What is the problem you are having with rclone?
You cannot use a same remote and have Object ACLs copy with AWS S3 cross account.   I am logged into one account, but I have sufficient permissions on a bucket created in a second account to be able to place objects.
Take the example rclone.conf (identical except for name):
[s3-usw2-bofc]
type = s3
provider = AWS
env_auth = true
region = us-west-2
location_constraint = us-west-2
acl = bucket-owner-full-control

[blah]
type = s3
provider = AWS
env_auth = true
region = us-west-2
location_constraint = us-west-2
acl = bucket-owner-full-control

Running this command (note the same remote names referenced):
root@jnlp-ondemand-f3xnc:~/.config/rclone# rclone --log-level DEBUG copy s3-usw2-bofc:<REDACTED>/__6z s3-usw2-bofc:bkruger-test/

2018/10/23 22:07:04 DEBUG : rclone: Version "v1.44" starting with parameters ["rclone" "--log-level" "DEBUG" "copy" "s3-usw2-bofc:<REDACTED>/__6z" "s3-usw2-bofc:bkruger-test/"]
2018/10/23 22:07:04 DEBUG : Using config file from "/home/bkruger/.config/rclone/rclone.conf"
2018/10/23 22:07:05 DEBUG : pacer: Reducing sleep to 0s
2018/10/23 22:07:05 DEBUG : pacer: Reducing sleep to 0s
2018/10/23 22:07:05 DEBUG : __6z: Couldn't find file - need to transfer
2018/10/23 22:07:05 INFO  : __6z: Copied (server side copy)
2018/10/23 22:07:05 INFO  :
Transferred:   	         0 / 0 Bytes, -, 0 Bytes/s, ETA -
Errors:                 0
Checks:                 0 / 0, -
Transferred:            1 / 1, 100%
Elapsed time:       500ms

2018/10/23 22:07:05 DEBUG : 4 go routines active
2018/10/23 22:07:05 DEBUG : rclone: Version "v1.44" finishing with parameters ["rclone" "--log-level" "DEBUG" "copy" "s3-usw2-bofc:<REDACTED>/__6z" "s3-usw2-bofc:bkruger-test/"]

Has the following S3 permissions on the object:
root@jnlp-ondemand-f3xnc:~/.config/rclone# aws s3api get-object-acl --bucket bkruger-test --key __6z

{
    "Owner": {
        "DisplayName": "<REDACTED>",
        "ID": "<REDACTED>e0797e78fc"
    },
    "Grants": [
        {
            "Grantee": {
                "Type": "CanonicalUser",
                "DisplayName": "<REDACTED>",
                "ID": "<REDACTED>e0797e78fc"
            },
            "Permission": "FULL_CONTROL"
        }
    ]
}

I'd expect behavior would copy ObjectACL regardless, since I am cloning S3 to S3, but it does not.  In this case, the bucket owner should be added, but it is not.
WORKAROUND:
You can work around this, by using two different remotes above:
root@jnlp-ondemand-f3xnc:~/.config/rclone# rclone --log-level DEBUG copy s3-usw2-bofc:<REDACTED>/__6z blah:bkruger-test/

2018/10/23 22:09:03 DEBUG : rclone: Version "v1.44" starting with parameters ["rclone" "--log-level" "DEBUG" "copy" "s3-usw2-bofc:<REDACTED>/__6z" "blah:bkruger-test/"]
2018/10/23 22:09:03 DEBUG : Using config file from "/home/bkruger/.config/rclone/rclone.conf"
2018/10/23 22:09:04 DEBUG : pacer: Reducing sleep to 0s
2018/10/23 22:09:04 DEBUG : pacer: Reducing sleep to 0s
2018/10/23 22:09:04 DEBUG : __6z: Modification times differ by 13212h56m2s: 2017-04-21 09:11:04 +0000 UTC, 2018-10-23 22:07:06 +0000 UTC
2018/10/23 22:09:04 INFO  : __6z: Copied (replaced existing)
2018/10/23 22:09:04 INFO  :
Transferred:   	   10.717M / 10.717 MBytes, 100%, 12.410 MBytes/s, ETA 0s
Errors:                 0
Checks:                 0 / 0, -
Transferred:            1 / 1, 100%
Elapsed time:       800ms

2018/10/23 22:09:04 DEBUG : 6 go routines active
2018/10/23 22:09:04 DEBUG : rclone: Version "v1.44" finishing with parameters ["rclone" "--log-level" "DEBUG" "copy" "s3-usw2-bofc:<REDACTED>/__6z" "blah:bkruger-test/"]

This yields correct result:
root@jnlp-ondemand-f3xnc:~/.config/rclone# aws s3api get-object-acl --bucket bkruger-test --key __6z
{
    "Owner": {
        "DisplayName": "<REDACTED>",
        "ID": "<REDACTED>e0797e78fc"
    },
    "Grants": [
        {
            "Grantee": {
                "Type": "CanonicalUser",
                "DisplayName": "<REDACTED>",
                "ID": "<REDACTED>e0797e78fc"
            },
            "Permission": "FULL_CONTROL"
        },
        {
            "Grantee": {
                "Type": "CanonicalUser",
                "DisplayName": "<REDACTED>",
                "ID": "<REDACTED>a1f4719d43"
            },
            "Permission": "FULL_CONTROL"
        }
    ]
}

Perhaps this is a known issue, but it wasn't obvious on the s3 page if it is.   The workaround seems to do the trick, but one would expect the behavior to be correct with a single remote configured.  Due to ability to workaround, minor bug perhaps, but filing report incase someone else gets bit by this one.

Just to further comment.   Looking at cloudwatch and network activity related to this, it appears server-to-server copy seems to disappear at this point too since they're different endpoints. (despite both being s3.)

I'd expect behavior would copy ObjectACL regardless, since I am cloning S3 to S3, but it does not. In this case, the bucket owner should be added, but it is not.

Here are the Amazon docs for the server side copy:
https://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectCOPY.html

When copying an object, you can preserve most of the metadata (default) or specify new metadata. However, the ACL is not preserved and is set to private for the user making the request.

!
Reading on: https://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectCOPY.html#rest-object-put-access-permissions-2
So it seems that rclone needs to set new ACLs on the copied objects.
Do you agree?

Just to further comment. Looking at cloudwatch and network activity related to this, it appears server-to-server copy seems to disappear at this point too since they're different endpoints. (despite both being s3.) My usage goes up significantly when I'm copying the large buckets.

Yes that is right, it will do download then upload if not copying to and from the same remote.

If you don't want to set the ACL by default, at least an option to let rclone know that it's cross-account and it should set an ACL otherwise.   s3mirror (java) for example has a -C option for cross-account which then sets the bucket-owner-full-control canned ACL.   Some way to set the ACL would be great with server-side copy/single remote.   I have my test setup still put together, so I'm happy to test betas.
Thanks for confirming my suspicion.  I would love to get away from the intermediate host transfer.

So do you think applying the canned ACL that rclone would apply for uploading objects is the right thing to do?
Checks code...
I think that is what rclone is doing at the moment - can you give it a go?  You can set the ACL in the config file or pass it as a command line parameter --s3-acl.
If that works, then that is definitely worth explaining in the docs!

That is what I would do, or at least that was my expectation with the single remote, aws apparently assumed otherwise.  Or a command line flag that it's cross account.  In my config snippit above, I do have the acl set in the config.  Unless you have a new beta for me to try, it doesn't apply it in the copy command if I run it back as single remote.   Separate remotes works accordingly.

That is what I would do, or at least that was my expectation with the single remote, aws apparently assumed otherwise. Or a command line flag that it's cross account. In my config snippit above, I do have the acl set in the config. Unless you have a new beta for me to try, it doesn't apply it in the copy command if I run it back as single remote. Separate remotes works accordingly.

I checked the code a bit more carefully and I can see that the ACL is set when updating metadata, but not when doing a server side copy.
I've attempted to fix that here - can you have a go please?
https://beta.rclone.org/branch/v1.44-024-g4fbe9782-fix-2691-s3-copy-beta/ (uploaded in 15-30 mins)

Giving this a try this morning and will report back shortly.

👍  This works great!   server side copy and the acl applied was what was in my permissions field.


Provide project structure (file hierarchy etc.)

We need to create a standardized structure and file hierarchy so that we can organize project workflow.
@PIKSilentPenguins/silent-sexy-penguins

Done


Distribute reva binaries using snapcraft

Avoid complex repository setups and use snapcraft to build universal linux packages.

Maybe we could also build packages published to https://packagecloud.io/ or https://bintray.com/, that would provide proper distro packages without the need to maintain repositories on our own.
I personally don't use snaps at all, I would prefer regular distro packages if Docker images are not an option.

Cool! I mentioned snap as in one package you have support for more than 41 distros using the same channel and updates also occur the same way across the Linux ecosystem.


I suggest keeping #510 open because this doesn't implement all things mentioned there.
The diff is large but each change should be trivial/obvious.

I intend to squash it all into one commit as it'd be quite annoying to rewrite history. (I know how to do it and I did it several times but in this case I expect it to be too much work.) Does anyone wish to keep some steps?

@dr-orlovsky resolved nits except the naming which I'm unsure about which semantics we want to keep.
Thankfully it was not that painstaking - despite its flaws cargo fix is quite handy. :)

concept ACK. I'd like to first get a breaking version out that implements Taproot and nothing else, which could mean rebasing this several times, unfortunately. But the alternative is probably to rebase every single other PR, and we're running out of pre-Taproot time..
I'm willing to make an exception to the "every commit passes" rule for something like this.

I'm fine with Taproot and nothing else approach. I didn't have much time for this lately anyway.

Are you planning on updating this PR @Kixunil? All the 'before edition bump' PRs are ack'ed and ready to merge.

Everything with the label has been resolved. We can now proceed with this PR.

OK, I expect this week to be intense for me. If anyone has the time you can overtake. If not, I will try next week or even this one if I get lucky.

If anyone has the time you can overtake.

Done, thanks for blessing me to do so. #983.
I'm going to close this so as folk don't get confused.


Rexray as a Service will not use RBD configuration

Summary
I tried to install rexray as a Service instead of a docker plugin. But here it fails completely.
Related issue/pull

#1090
#1035

Version
Please paste the output of rexray version. For example:
root@server ~ # curl -sSL https://dl.bintray.com/emccode/rexray/install | sh -s -- stable 0.11.0
Selecting previously unselected package rexray.
(Reading database ... 96039 files and directories currently installed.)
Preparing to unpack rexray_0.11.0-1_amd64.deb ...
Unpacking rexray (0.11.0-1) ...
Setting up rexray (0.11.0-1) ...

rexray has been installed to /usr/bin/rexray

REX-Ray
-------
Binary: /usr/bin/rexray
Flavor: client+agent+controller
SemVer: 0.11.0
OsArch: Linux-x86_64
Commit: 508023f4b0e4974f1844c26b39af7c4219f4c7a9
Formed: Mon, 16 Oct 2017 09:07:06 CEST

Expected Behavior
Start rexray.
Actual Behavior
It won't start.
Steps To Reproduce
Creating of ceph user
ceph auth get-or-create client.staging mon 'allow r' osd 'allow * pool=name' -o ceph.client.staging.keyring

Copy ceph configuration ceph.conf and specific client keyring ceph.client.staging.keyring to node into /etc/ceph.
Install rexray
root@server ~ # curl -sSL https://dl.bintray.com/emccode/rexray/install | sh -s -- stable 0.11.0

Edit /etc/rexray/config.yml
libstorage:
  service: rbd
  integration:
    volume:
      operations:
        remove:
          disable: true
rbd:
  defaultPool: name
  cephArgs: --id staging --cluster ceph

Start rexray
rexray start

Configuration Files
see above.
Logs
root@server ~ # rexray -c /etc/rexray/config.yml start
ERRO[0003] Error running command                         args=[rbd ls -p rbd -l --format json] error=exit status 1 host=unix:///var/run/rexray/893988221.sock instanceID=rbd=xxx.3 route=volumesForService server=planet-ringer-ge service=rbd stderr=rbd: list: (1) Operation not permitted
 storageDriver=rbd task=0 time=1509018434505 tls=false txCR=1509018434 txID=cc61d266-eb75-4786-5235-80efd3e24c74
ERRO[0003] unable to get rbd images                      host=unix:///var/run/rexray/893988221.sock instanceID=rbd=xxx.3 route=volumesForService server=planet-ringer-ge service=rbd storageDriver=rbd task=0 time=1509018434506 tls=false txCR=1509018434 txID=cc61d266-eb75-4786-5235-80efd3e24c74
ERRO[0003] error: api call failed                        host=unix:///var/run/rexray/893988221.sock route=volumesForService server=planet-ringer-ge time=1509018434506 tls=false txCR=1509018434 txID=cc61d266-eb75-4786-5235-80efd3e24c74
ERRO[0003] error initializing the path cache             async=true error.status=500 host=unix:///var/run/rexray/893988221.sock integrationDriver=linux osDriver=linux service=rbd storageDriver=libstorage time=1509018434506
# and so on.

Coping cmd from above it clearly failes, which is right.
root@server ~ # rbd ls -p rbd -l --format json
2017-10-26 13:57:43.181192 7f4392333100 -1 auth: unable to find a keyring on /etc/ceph/ceph.client.admin.keyring,/etc/ceph/ceph.keyring,/etc/ceph/keyring,/etc/ceph/keyring.bin: (2) No such file or directory
2017-10-26 13:57:43.181205 7f4392333100 -1 monclient(hunting): ERROR: missing keyring, cannot use cephx for authentication
2017-10-26 13:57:43.181206 7f4392333100  0 librados: client.admin initialization error (2) No such file or directory
rbd: couldn't connect to the cluster!

It should be
root@server ~ # rbd --id staging ls -p name -l --format json
[]

Env's are configured
root@server ~ # rexray env | grep RBD
RBD_TESTMODULE=true
RBD_DEFAULTPOOL=name
RBD_CEPHARGS=--id staging --cluster ceph

Hello @fentas,
Can you post a full log as a gist? REXRAY_DEBUG=true rexray start -f

Hey @clintkitson,
here you go https://gist.github.com/fentas/31e602b21d7e76ccaf13f836103ea8ae

Very helpful thank you.
Can you try running the commands while setting the env variable as RR is?
https://gist.github.com/fentas/31e602b21d7e76ccaf13f836103ea8ae#file-rexray-loh-L170
CEPH_ARGS=--id staging --cluster ceph rbd ls -p rbd -l --format json

root@server /deploy # CEPH_ARGS="--id staging --cluster ceph" rbd ls -p rbd -l --format json
rbd: list: (1) Operation not permitted

Ok so I wonder if it's errorihg in RR because that set of tags isn't valid
to pass with every command.
Thoughts @codenrhoden?
On Thu, Oct 26, 2017 at 4:00 PM Jan Guth<EMAIL_ADDRESS>wrote:

root@server /deploy # CEPH_ARGS="--id staging --cluster ceph" rbd ls -p rbd -l --format json
rbd: list: (1) Operation not permitted
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/thecodeteam/rexray/issues/1091#issuecomment-339675434,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABVMMfoFhCwl3vbwZ_72wUVk4jwZP7D_ks5swJBygaJpZM4QHdLK
.

@clintkitson sorry edited the post. : ) It is erroring because it does not use the defaultPool configuration. The user has no rights on the pool named rbd.

I wonder if this improper split is causing this.
https://github.com/thecodeteam/rexray/pull/1083/files
On Thu, Oct 26, 2017 at 4:17 PM Jan Guth<EMAIL_ADDRESS>wrote:

@clintkitson https://github.com/clintkitson sorry edited the post. : )
It is erroring because it does not use the defaultPool configuration. The
user has no rights on the pool named rbd.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/thecodeteam/rexray/issues/1091#issuecomment-339680801,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABVMMQvuFAEYmbkvQSZHHz0IDWvLbecXks5swJR3gaJpZM4QHdLK
.

yes could be. ref: #1083
If strContainsClient returns false then defaultPool will be ignored, fetching all images (rbd pool).
https://github.com/mvollman/rexray/blob/016ffe72d2babaf4fef8b31747ca7e8266c039d1/libstorage/drivers/storage/rbd/storage/rbd_storage.go#L89

Maybe this will resolve #1090 too.


Add 1902 ercs issue

After 1902 upgrade you cannot connect to ERCS if you have not got the HLH.
This PR will warn others and free up MSFT support who will have to troubleshoot the issue otherwise.

@cblackuk : Thanks for your contribution! The author, @sethmanheim, has been notified to review your proposed change.

@ktoliver : Thanks for your contribution! The author, @sethmanheim, has been notified to review your proposed change.

@sethmanheim - Could you review the proposed changes? I mistook @BaileyLawson for an authorized approver and I made copy edits to the update.
PR reviewers: Merge only if @sethmanheim or another authorized Microsoft reviewer signs off. Thanks. #hold-off

Looks fine, thank you! #sign-off


update linux docker image for velox build to fix build fail

TSIA.

How do we test this? :)

I'll merge (rebase) it into the release branch soon to test a RC build. I didn't want to change on the release branch directly and we didn't really have a "branch cut" before so I thought this is probably a better way.


Electron forge stopped in complies renderer code when using electron ipc

Preflight Checklist

[x] I have read the contribution documentation for this project.
[x] I agree to follow the code of conduct that this project follows, as appropriate.
[x] I have searched the issue tracker for a bug that matches the one I want to file, without success.

Issue Details

Electron Forge Version:

^6.0.0-beta.57

Electron Version:

13.1.7

Operating System:

Windows 10 (Version 21H1)

Last Known Working Electron Forge version::

Expected Behavior

I can call the navite function in the renderer

Actual Behavior

Whenever I use the native function in the renderer like Notification, dialog. The app will crash with the output error

An unhandled rejection has occurred inside Forge:
[Error: EISDIR: illegal operation on a directory, read] {
  errno: -4068,
  code: 'EISDIR',
  syscall: 'read'
}

Electron Forge was terminated. Location:
{}

To Reproduce
The Source Code to Reproduce:
error.zip
Additional Information
I'm using with Webpack + React
Stackoverflow: https://stackoverflow.com/questions/67782869/electron-forge-stopped-in-complies-renderer-code-when-using-electron-ipc

Duplicate of #2293


Difference between multipliedBy and dividedBy behaviors

Is there a reason dividedBy operation rounds after applying division, but multipliedBy does not?

Returns a BigNumber whose value is the value of this BigNumber divided by n, rounded according to the current DECIMAL_PLACES and ROUNDING_MODE settings.

It is possible to get big decimal which doesn't respect set DECIMAL_PLACES value after multiplying.
For example (with DECIMAL_PLACES = 2 and ROUNDING_MODE = ROUND_HALF_UP):
Expected: 46.45 * 12.57 = 583.88
Actual: 46.45 * 12.57 = 583.8765
This results in adding .dividedBy(1) after every multipliedBy operation to get correct rounding.

The precision of division needs to be limited because the result of dividing two values often has a non-terminating decimal expansion. That is not the case with multiplication.
Use .decimalPlaces(2) rather than .dividedBy(1) to round the result of multipliedBy to two decimal places using the current ROUNDING_MODE.

Thank you for your answer, I understand.
Do you think it would be a good addition to this library to allow some sort of flag which will enable automatic rounding after every operation which might create a number with more than specified decimal places. Something like AUTO_ROUND or similar?
This would be useful for some monetary purposes where the amount needs to be rounded after every operation (I guess multiplication might be the only one next to division and other ones which 'creates' more decimal places).


Allow grid client to work with less services

grid client requires some services to be up and running that are not required.
For example:

in the farmer bot: using the chain client only over the http server doesn't require connecting to the RMB server, gridproxy, graphql.

Still working on it.


Dealing with empty json

Hello.  I don't understand how you configure mappings when the getHttpBody() in the server response is effectively empty then can not be mapped. This is causing me problems in XChange at the moment.
You have checks here
si.mazi.rescu.ResponseReader
if (isHttpStatusPass) {
if (httpBody == null || httpBody.length() == 0 ){
return null;
} else {
/// do the mapping ??
But the only way I can see of dealing with getting an empty json object back is to do something like this.
if (isHttpStatusPass) {
if (httpBody == null || httpBody.length() == 0 || httpBody.toString().equals("[]")){
return null;
} else {

If I understand correctly, you suggest that "[]", i.e. an empty jason array, should be converted to Java null object? While this may be desirable in some special cases, I don't think this is the way to go in the general case. Generally, the correct Java representation for an empty json array is an empty Java array (T[]) or an empty Collection.
Can you provide more details on where in XChange you would need this functionality and why, i.e. what the exact problem is?
One possible way to tackle this in a specific case could be to configure Jackson so that it converts empty json arrays to null; I don't know whether Jackson supports this, but I suspect it might (please see Jackson docs).

Well I'm open to any suggestion to just try and make the api work
The problem is related to an issue I posted 2 days ago
https://github.com/timmolter/XChange/issues/1167
according the XChange specification they expect a null object to be returned when there is no trade history. The problem is you get the empty json array from the exchange then as far as I can see rescu throws a  jackson mapping exception before that and you have no idea why.   I'm sure they may be some other way of dealing with the issue and if you haven any ideas please share.  I was unable to get the logging working in rescu after spending hours reading the log4j documentation so eventually I just forked the package and wrote a system.out.println()  just to be able to see what was coming back from the exchange and picked this up.  So yeah the idea spending a few days reading the jackson docs just to figure out if this is even possible is not something I want to do at this point.
I did find one mention of how to prevent it writing null map values but this is not helping me at this point
http://stackoverflow.com/questions/11449211/how-to-prevent-null-values-inside-a-map-and-null-fields-inside-a-bean-from-getti

This is a Poloniex-specific issue that is being solved in https://github.com/timmolter/XChange/issues/1167 .
For furture reference, the solution seems to be to use Jackson's DeserializationFeature.ACCEPT_EMPTY_STRING_AS_NULL_OBJECT.


Internationalise the tick and cross feedback symbols

See, for example, https://en.wikipedia.org/wiki/O_mark

The symbols are provided by the theme, so the default theme could pick the appropriate symbols based on the exam's preferred locale.

@christianp looking to contribute, shall I take this?

Hi @PratikLilhare, thanks for offering. Before any code gets written, I think we need to do a bit more research about what symbols are commonly used around the world. If you can come up with a list, that would be really helpful!

Aren't the checkmark (✅ ,✔ , or ☑) symbols already pretty internationalized or commonly understood?
Same with the cross mark (❌  or ❎)...

@dishb Tick and cross are indeed widely understood, but there are places where different symbols are more common, and it would be nice to support those.

@christianp - Gotcha 👍

I did a little research, here's what I found. May not be all of the international symbols. May not be correct - derived from Wikipedia which is maintained by normal people.
Sweden - schools use the tickmark/tick/checkmark. "R" from the word rätt (Swedish) means "correct".
Finland - the tickmark/tick/checkmark indicates väärin (Finish) which means "wrong". The symbol for "correct" is: $$\cdot /\cdot$$ It is a centered dot, followed by a "/" (forward slash) and then another centered dot.
Japan - The "O" mark is used for "correct". The tickmark/tick/checkmark and/or "X" mark are used to indicate "incorrect".  A bullseye ("◎") is "excellent", triangle ("△") means "so-so" or "okay", "X" mark is used the same way the West uses it. The "hanamaru" symbol is used in Japan for full marks/score or if an answer is especially outstanding.
Korea - Seems to also use the "O" mark for "correct".
Netherlands - Uses "V" to indicate something is missing. Uses the krul (Dutch for "curl") to indicate approval. While no Unicode symbol exists for the krul, one may substitute the symbol with a German penny symbol.
Some opinions worth considering:
Please note that the format is ,  (for example, Bill, Ireland. Ireland is location, Bill is name)

I believe that it originates from the greek language, the tick from the greek work nike (nikas) meaning to win, the greek letter N is written as a V, secondly the X from the greek word to (haneis)meaning to lose, where the greek H is written as X.

Roulla, Cyprus

I taught English in South Korea and over there: O = correct and a tick = incorrect.

Bill, Ireland

This does not answer the question, but I would like to point out that in my native Sweden, the 'tick' is used a the notation for an incorrect answer. A correct answer is marked with a capital 'R'.

Martin Orrbeck, Molndal, Sweden

Don't know the answer, but it may be interesting to know that in Japan the symbols for correct and incorrect are a circle (maru) and a cross (batsu). No ticks.

Paul, Ashiya, Japan
Sources:

the Dutch "krul"
international differences in the checkmark
Japan's system on checmarks/etc.
hanamaru symbol and usage
the opinions I found

This is really helpful information, thanks for collating it!


CMake Warning

while doing the catkin build, it won't recognize hardware_interface in ur_modern_driver-master/src/ur_hardware_interface.cpp, :180::22 and 186:22

in ur_modern_driver-master/src

you appear to have downloaded a .zip of the master branch.
As stated in the readme, master is deprecated and should not be used:

Deprecation notice
note: the master branch contains a deprecated version of this driver, kept for archival purposes only.
The master version of ur_modern_driver is not compatible with newer controller and Polyscope versions, and should not be used with those.
We recommend anyone using Polyscope versions 3 and newer to use the kinetic-devel branch instead.

If you still want to download a .zip, make sure to first switch to kinetic-devel using the branch selector drop-down and only then download the .zip.

Closing as wontfix, as master is deprecated.


Add memberOf overlay support

Very simple change that just needs a single flag to turn on or off.  memberOf is used extensively in corporate settings for group handling.

Changes Unknown when pulling 1d57f9cf8c750afb7e4da43c4d42fbc0ad1c9be4 on Virtual-Light-Company:master into ** on bodgit:master**.

Cool, I'll take a look at this shortly. The build looks like it's failing due to gem/ruby compatibility so I'll fix that up.

Changes Unknown when pulling 061fff7e9ecdd27514d1f2b8877d50f102dfaa0a on Virtual-Light-Company:master into ** on bodgit:master**.

There's some interesting dependency problems going on with ruby/coveralls/simplecov. Latest simplecov is 0.13, coveralls is dependent on 0.12, so had to change the order in the spec_helper file to allow it all to run on my local machine.  For me, the current code passes, but it seems like travis here is not happy with the result.
For reference, my system is OS/X 10.11, with puppet 4.8, thus the latest of everything.
puppet-openldap justin$ facter rubyversion
2.1.9

Changes Unknown when pulling f4dce5f7a7de62d0fc2c148b8a0e0917e428074f on Virtual-Light-Company:master into ** on bodgit:master**.

The Puppet 4.x-based test is failing because there is something being flagged by Puppet Lint however it's just spewing the log format to the console instead of the actual error. This is because they've removed some of the old token names; the fix is to replace %{linenumber} with %{line} in the Rakefile which I've started to do in the other Puppet modules I maintain. My hunch is it will be something about hashrocket (=>) alignment.
For the simplecov/coveralls issue, I only specify coveralls in the Gemfile so I would assume it would only pull a supported (~> 0.12.0) version of simplecov in. I always use a dedicated RVM gemset for working on Puppet modules so I don't think I've seen this issue anywhere.

I've manually merged and fixed up the lint errors so Travis is happy again and I've pushed v1.4.0 to the forge. Thanks for the contribution!

Ah, excellent. I have other stuff ready to go too, pity you pushed version numbers up already!  I have refint extension, which usually goes hand in hand with memberof. I've also been playing with a custom type for the ldap entry creation. Refint I could do a pull request pretty quick on once I check back out your manual mods and make sure I follow them in my codebase.


fix for when warning is output

cmake -DENABLE_HOST_SHARED_MEMORY=On -DENABLE_MPI=On ../
-- The CXX compiler identification is GNU 8.3.1
-- The C compiler identification is GNU 8.3.1
-- Check for working CXX compiler: /usr/tce/packages/gcc/gcc-8.3.1/bin/c++
-- Check for working CXX compiler: /usr/tce/packages/gcc/gcc-8.3.1/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: /usr/tce/packages/gcc/gcc-8.3.1/bin/cc
-- Check for working C compiler: /usr/tce/packages/gcc/gcc-8.3.1/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Using CMake version 3.14.5
-- BLT Version: 0.4.0
-- CMake Version: 3.14.5
-- CMake Executable: /usr/tce/packages/cmake/cmake-3.14.5/bin/cmake
-- Found Git: /usr/tcetmp/bin/git (found version "2.29.1")
-- Git Support is ON
-- Git Executable: /usr/tcetmp/bin/git
-- Git Version: 2.29.1
-- MPI Support is On
-- FindMPI Enabled  (ENABLE_FIND_MPI == ON)
-- Found MPI_C: /usr/tce/packages/spectrum-mpi/ibm/spectrum-mpi-rolling-release/lib/libmpiprofilesupport.so (found version "3.1")
-- Found MPI_CXX: /usr/tce/packages/spectrum-mpi/ibm/spectrum-mpi-rolling-release/lib/libmpiprofilesupport.so (found version "3.1")
-- Found MPI: TRUE (found version "3.1")
-- BLT MPI Compile Flags:
-- BLT MPI Include Paths:  /usr/tce/packages/spectrum-mpi/ibm/spectrum-mpi-2020.08.19/include;/usr/tce/packages/spectrum-mpi/ibm/spectrum-mpi-rolling-release/include
-- BLT MPI Libraries:      /usr/tce/packages/spectrum-mpi/ibm/spectrum-mpi-rolling-release/lib/libmpiprofilesupport.so;/usr/tce/packages/spectrum-mpi/ibm/spectrum-mpi-rolling-release/lib/libmpi_ibm.so
-- BLT MPI Link Flags:     SHELL:-L/usr/tce/packages/spectrum-mpi/ibm/spectrum-mpi-2020.08.19/lib -pthread
-- MPI Executable:       /usr/tce/packages/spectrum-mpi/ibm/spectrum-mpi-rolling-release/bin/mpiexec
-- MPI Num Proc Flag:    -n
-- MPI Command Append:
-- OpenMP Support is Off
-- CUDA Support is Off
-- HIP Support is Off
-- HCC Support is OFF
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.5") found components:  doxygen dot
-- Sphinx support is ON
-- Found Sphinx: /usr/bin/sphinx-build
-- Valgrind support is ON
-- Found Valgrind: /usr/tcetmp/bin/valgrind
-- AStyle support is ON
-- Failed to locate AStyle executable (missing: ASTYLE_EXECUTABLE)
-- ClangFormat support is ON
-- Failed to locate ClangFormat executable (missing: CLANGFORMAT_EXECUTABLE)
-- Uncrustify support is ON
-- Failed to locate Uncrustify executable (missing: UNCRUSTIFY_EXECUTABLE)
-- Yapf support is ON
-- Failed to locate Yapf executable (missing: YAPF_EXECUTABLE)
-- CMakeFormat support is ON
-- Failed to locate CMakeFormat executable (missing: CMAKEFORMAT_EXECUTABLE)
-- Cppcheck support is ON
-- Failed to locate Cppcheck executable (missing: CPPCHECK_EXECUTABLE)
-- ClangQuery support is Off
-- ClangTidy support is ON
-- Failed to locate ClangTidy executable (missing: CLANGTIDY_EXECUTABLE)
-- C Compiler family is GNU
-- Adding optional BLT definitions and compiler flags
-- Setting CMAKE_CXX_EXTENSIONS to Off
-- Standard C++11 selected
-- Enabling all compiler warnings on all targets.
-- Fortran support disabled.
-- CMAKE_C_FLAGS flags are:    -Wall -Wextra
-- CMAKE_CXX_FLAGS flags are:       -Wall -Wextra
-- CMAKE_EXE_LINKER_FLAGS flags are:
-- Google Test Support is ON
-- Google Mock Support is On
-- Found PythonInterp: /usr/tcetmp/bin/python (found version "2.7.16")
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Memcheck suppressions file: /g/g0/belcher6/Umpire/cmake/valgrind.supp
-- Setting C standard to 99
-- Checking for std::filesystem
-- Performing Test UMPIRE_ENABLE_FILESYSTEM
-- Performing Test UMPIRE_ENABLE_FILESYSTEM - Failed
-- std::filesystem NOT found, using POSIX
-- Host Shared Memory Enabled
-- Configuring done
-- Generating done
-- Build files have been written to: /g/g0/belcher6/Umpire/build
cmake -DENABLE_TOOLS=On ../
-- The CXX compiler identification is GNU 8.3.1
-- The C compiler identification is GNU 8.3.1
-- Check for working CXX compiler: /usr/tce/packages/gcc/gcc-8.3.1/bin/c++
-- Check for working CXX compiler: /usr/tce/packages/gcc/gcc-8.3.1/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: /usr/tce/packages/gcc/gcc-8.3.1/bin/cc
-- Check for working C compiler: /usr/tce/packages/gcc/gcc-8.3.1/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Using CMake version 3.14.5
-- BLT Version: 0.4.0
-- CMake Version: 3.14.5
-- CMake Executable: /usr/tce/packages/cmake/cmake-3.14.5/bin/cmake
-- Found Git: /usr/tcetmp/bin/git (found version "2.29.1")
-- Git Support is ON
-- Git Executable: /usr/tcetmp/bin/git
-- Git Version: 2.29.1
-- MPI Support is OFF
-- OpenMP Support is Off
-- CUDA Support is Off
-- HIP Support is Off
-- HCC Support is OFF
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.5") found components:  doxygen dot
-- Sphinx support is ON
-- Found Sphinx: /usr/bin/sphinx-build
-- Valgrind support is ON
-- Found Valgrind: /usr/tcetmp/bin/valgrind
-- AStyle support is ON
-- Failed to locate AStyle executable (missing: ASTYLE_EXECUTABLE)
-- ClangFormat support is ON
-- Failed to locate ClangFormat executable (missing: CLANGFORMAT_EXECUTABLE)
-- Uncrustify support is ON
-- Failed to locate Uncrustify executable (missing: UNCRUSTIFY_EXECUTABLE)
-- Yapf support is ON
-- Failed to locate Yapf executable (missing: YAPF_EXECUTABLE)
-- CMakeFormat support is ON
-- Failed to locate CMakeFormat executable (missing: CMAKEFORMAT_EXECUTABLE)
-- Cppcheck support is ON
-- Failed to locate Cppcheck executable (missing: CPPCHECK_EXECUTABLE)
-- ClangQuery support is Off
-- ClangTidy support is ON
-- Failed to locate ClangTidy executable (missing: CLANGTIDY_EXECUTABLE)
-- C Compiler family is GNU
-- Adding optional BLT definitions and compiler flags
-- Setting CMAKE_CXX_EXTENSIONS to Off
-- Standard C++11 selected
-- Enabling all compiler warnings on all targets.
-- Fortran support disabled.
-- CMAKE_C_FLAGS flags are:    -Wall -Wextra
-- CMAKE_CXX_FLAGS flags are:       -Wall -Wextra
-- CMAKE_EXE_LINKER_FLAGS flags are:
-- Google Test Support is ON
-- Google Mock Support is On
-- Found PythonInterp: /usr/tcetmp/bin/python (found version "2.7.16")
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Memcheck suppressions file: /g/g0/belcher6/Umpire/cmake/valgrind.supp
-- Setting C standard to 99
-- Checking for std::filesystem
-- Performing Test UMPIRE_ENABLE_FILESYSTEM
-- Performing Test UMPIRE_ENABLE_FILESYSTEM - Failed
-- std::filesystem NOT found, using POSIX
-- Host Shared Memory Disabled
-- Looking for output.replay reference output...
-- Using output.replay as good replay test data
-- Configuring done
-- Generating done
-- Build files have been written to: /g/g0/belcher6/Umpire/build
[belcher6@corona212:build]$
cmake -DENABLE_HIP=On -DHIP_ROOT_DIR="/opt/rocm-4.1.0/hip" -DHIP_HIPCC_FLAGS="--amdgpu-target=gfx906" -DHIP_RUNTIME_INCLUDE_DIRS="/opt/rocm-4.1.0/hip/include;/opt/rocm-4.1.0/hip/../hsa/include" -DHIP_CLANG_PATH="/opt/rocm-4.1.0/hip/../llvm/bin" -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER="/usr/tce/packages/gcc/gcc-8.1.0/bin/g++" -DCMAKE_C_COMPILER="/usr/tce/packages/gcc/gcc-8.1.0/bin/gcc" -DHIP_CLANG_FLAGS="--gcc-toolchain=/usr/tce/packages/gcc/gcc-8.1.0/bin/.." -DCMAKE_EXE_LINKER_FLAGS="-Wl,--disable-new-dtags -L/opt/rocm-4.1.0/hip/lib -L/opt/rocm-4.1.0/lib -L/opt/rocm-4.1.0/lib64 -Wl,-rpath,/opt/rocm-4.1.0/hip/lib:/opt/rocm-4.1.0/lib:/opt/rocm-4.1.0/lib64 -lamdhip64 -lhsakmt -lhsa-runtime64 -Wl,-rpath /usr/tce/packages/gcc/gcc-8.1.0/bin/../lib64"  ../
-- The CXX compiler identification is GNU 8.1.0
-- The C compiler identification is GNU 8.1.0
-- Check for working CXX compiler: /usr/tce/packages/gcc/gcc-8.1.0/bin/g++
-- Check for working CXX compiler: /usr/tce/packages/gcc/gcc-8.1.0/bin/g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: /usr/tce/packages/gcc/gcc-8.1.0/bin/gcc
-- Check for working C compiler: /usr/tce/packages/gcc/gcc-8.1.0/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Using CMake version 3.14.5
-- BLT Version: 0.4.0
-- CMake Version: 3.14.5
-- CMake Executable: /usr/tce/packages/cmake/cmake-3.14.5/bin/cmake
-- Found Git: /usr/tce/bin/git (found version "2.29.1")
-- Git Support is ON
-- Git Executable: /usr/tce/bin/git
-- Git Version: 2.29.1
-- MPI Support is OFF
-- OpenMP Support is Off
-- CUDA Support is Off
-- HIP Support is On
-- Found HIP: /opt/rocm-4.1.0/hip (found version "4.1.21072-c3eb5ccc")
-- HIP version:      4.1.21072-c3eb5ccc
-- HIP platform:     amd
-- HCC Support is OFF
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.5") found components:  doxygen dot
-- Sphinx support is ON
-- Found Sphinx: /usr/bin/sphinx-build
-- Valgrind support is ON
-- Found Valgrind: /usr/tce/bin/valgrind
-- AStyle support is ON
-- Failed to locate AStyle executable (missing: ASTYLE_EXECUTABLE)
-- ClangFormat support is ON
-- Failed to locate ClangFormat executable (missing: CLANGFORMAT_EXECUTABLE)
-- Uncrustify support is ON
-- Failed to locate Uncrustify executable (missing: UNCRUSTIFY_EXECUTABLE)
-- Yapf support is ON
-- Failed to locate Yapf executable (missing: YAPF_EXECUTABLE)
-- CMakeFormat support is ON
-- Failed to locate CMakeFormat executable (missing: CMAKEFORMAT_EXECUTABLE)
-- Cppcheck support is ON
-- Failed to locate Cppcheck executable (missing: CPPCHECK_EXECUTABLE)
-- ClangQuery support is Off
-- ClangTidy support is ON
-- Failed to locate ClangTidy executable (missing: CLANGTIDY_EXECUTABLE)
-- C Compiler family is GNU
-- Adding optional BLT definitions and compiler flags
-- Setting CMAKE_CXX_EXTENSIONS to Off
-- Standard C++11 selected
-- Enabling all compiler warnings on all targets.
-- Fortran support disabled.
-- CMAKE_C_FLAGS flags are:    -Wall -Wextra
-- CMAKE_CXX_FLAGS flags are:       -Wall -Wextra
-- CMAKE_EXE_LINKER_FLAGS flags are:  -Wl,--disable-new-dtags -L/opt/rocm-4.1.0/hip/lib -L/opt/rocm-4.1.0/lib -L/opt/rocm-4.1.0/lib64 -Wl,-rpath,/opt/rocm-4.1.0/hip/lib:/opt/rocm-4.1.0/lib:/opt/rocm-4.1.0/lib64 -lamdhip64 -lhsakmt -lhsa-runtime64 -Wl,-rpath /usr/tce/packages/gcc/gcc-8.1.0/bin/../lib64
-- Google Test Support is ON
-- Google Mock Support is On
-- Found PythonInterp: /usr/tce/bin/python (found version "2.7.16")
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Memcheck suppressions file: /g/g0/belcher6/Umpire/cmake/valgrind.supp
-- Setting C standard to 99
-- Checking for std::filesystem
-- Performing Test UMPIRE_ENABLE_FILESYSTEM
-- Performing Test UMPIRE_ENABLE_FILESYSTEM - Failed
-- std::filesystem NOT found, using POSIX
-- Host Shared Memory Disabled
-- Disabling replay tests for HIP build.
-- Configuring done
-- Generating done
-- Build files have been written to: /g/g0/belcher6/Umpire/build

Description is showing that the warning only is output when intended


PowerToys Run - Infinite phantom windows and memory usage when typing "?1"

Microsoft PowerToys version
v0.37.2
Running as admin

[X] Yes

Area(s) with issue?
PowerToys Run
Steps to reproduce

start PowerToys Run
type ?1

✔ Expected Behavior
expect nothing to happen. I didn't even press enter.
❌ Actual Behavior
Snippet from tasklist before I killed the process:
PowerToys.exe                21208 Console                    8      7,840 K
PowerLauncher.exe            20284 Console                    8    606,584 K

Screenshot of when it was generating infinite windows:

You can see the black border filling up from all the shadows.
Other Software
No response

@skarfie123
Right-click on the PowerToys icon in the tray menu and select Report Bug

Drag and drop report into a GitHub comment.

PowerToysReport_2021-05-28-10-10-20.zip

System.InvalidOperationException: Dispatcher processing has been suspended, but messages are still being processed.
   Source: WindowsBase
   TargetAssembly: WindowsBase, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35
   TargetModule: WindowsBase.dll
   TargetSite: IntPtr WndProcHook(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
   at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

Closing as duplicate of https://github.com/microsoft/PowerToys/issues/9143


3526 - ET -  Fix removed records not deleted from cache after  reconnection

Jira Task: https://zimitio.atlassian.net/browse/ZWEB-3526
Bug fix : Rare bug
If objects are notified for removal while a client subscription is disconnected (network loss), the subscription data would duplicate all its content after reconnection.
Steps to Reproduce
Run:
npm test
Performance Considerations
No performance impact.
Sections of the Application Affected
Look up application pr to QA.

Do not merge yet, until I provide unit tests. It is a proof of concept.

Do not merge yet, until I provide unit tests. It is a proof of concept.


PHOENIX-5527 Unverified index rows should not be deleted due to repli…

…cation lag

+1 Thanks for fixing this @kadirozde!


Fix caching of social meta tags

Just use the url and the updated_at timestamp of the site to generate the cache key for the head elements. Whilst this will mean that we add cached head elements for pages that will be only viewed once such as the signature validation page the LRU nature of Memcached means they will be evicted first.
Also if the @petition variable is set then use it for setting the meta tags so that even if someone shares a thank you page or a signature validation page then the URL shared by Facebook will be the main petition url and not the url of the page they last visited.

:+1:


Compile error

Objective-C method 'centralManager:didDiscoverPeripheral:advertisementData:RSSI:' provided by method 'centralManager(:didDiscoverPeripheral:advertisementData:RSSI:)' conflicts with optional requirement method 'centralManager(:didDiscoverPeripheral:advertisementData:RSSI:)' in protocol 'CBCentralManagerDelegate'

I am not an Swift / ObjC expert, in fact it took me quite a while to do this small app.
But I guess you are implementing both methods (with rssi&adv and without) and this is a conflict. Just remove one of them or provide sourcecode. Maybe I can help.

On 23 Jun 2015, at 15:09, LinZihong<EMAIL_ADDRESS>wrote:
Objective-C method 'centralManager:didDiscoverPeripheral:advertisementData:RSSI:' provided by method 'centralManager(:didDiscoverPeripheral:advertisementData:RSSI:)' conflicts with optional requirement method 'centralManager(:didDiscoverPeripheral:advertisementData:RSSI:)' in protocol 'CBCentralManagerDelegate'
—
Reply to this email directly or view it on GitHub https://github.com/paulgavrikov/xiaomi-miband-cocoa/issues/1.

I deleted 'central: CBCentralManager!' in the 'func centralManager(central: CBCentralManager!, didDiscoverPeripheral peripheral: CBPeripheral!, advertisementData: (NSDictionary), RSSI: NSNumber!)' and now the app can be compiled properly.
But still it cannot to my mi band. I'm guessing it's the problem of the firmware of the band

It worked also very unstable for me sometimes it paired, sometimes it didn’t.

On 23 Jun 2015, at 16:30, LinZihong<EMAIL_ADDRESS>wrote:
I deleted 'central: CBCentralManager!' in the 'func centralManager(central: CBCentralManager!, didDiscoverPeripheral peripheral: CBPeripheral!, advertisementData: (NSDictionary), RSSI: NSNumber!)' and now the app can be compiled properly.
But still it cannot to my mi band. I'm guessing it's the problem of the firmware of the band
—
Reply to this email directly or view it on GitHub https://github.com/paulgavrikov/xiaomi-miband-cocoa/issues/1#issuecomment-114525180.

LinZihong, rename func to
func centralManager(central: CBCentralManager!, didDiscoverPeripheral peripheral: CBPeripheral!, advertisementData: [NSObject : AnyObject]!, RSSI: NSNumber!)

@LinZihong renaming function to
func centralManager(central: CBCentralManager, didDiscoverPeripheral peripheral: CBPeripheral, advertisementData: [String : AnyObject], RSSI: NSNumber)

fixed this issue for me (I just copied it from CBCentralManagerDelegate interface).


Bundle Autocomplete-plus instead of autocomplete

Closes #4364
Closes https://github.com/atom/autocomplete-plus/issues/351

:heart:

<3

So excited for this :blue_heart: :heart: :purple_heart: :green_heart:

Provided specs are :green_apple:, I think this is ready to merge.

:tada:

This is so awesome!!!

What a ride it's been. Thanks for embracing ac+ @benogle! So glad to see this in core.

People are gonna be so delighted. I'm so delighted.

:clap: :clap: :clap:

Thanks also to @park9140 (for the help in the rewrite) and @saschagehlich for setting the ship on this course with his initial fork.

Sorry I fell asleep a few months ago, @joefitzgerald is the best. :clap:

Nice work @joefitzgerald. Very excited so see this in atom :)

:sparkling_heart:

What happens if someone runs "apm install autocomplete-plus"? 🌹

@basarat The same thing that happens when someone runs apm install spell-check, a potentially mismatched version of the package gets installed to their ~/.atom/packages directory. This isn't a new problem :grinning:

Thanks, understood :+1:


backend: better way of determining the URL scheme

Better way of determining scheme of an URL for OIDC callback
Instead of guessing (which would return HTTP for localhost and HTTPS for every other situation – which is not always correct), check TLS property of a request object. It is nil for plain connection, and not nil if HTTPS is used.
How to use
Not a new functionality.

Actually, I don't think the new way is correct. If headlamp is run behind reverse proxy, it will not have access to TLS session.
Maybe the only way is to have baseUrl defined and extract the scheme from it?

AFAIU, this logic is only run if the URL scheme is empty. So if the /oidc endpoint is called with a defined scheme, it'll be used.
Is this an issue?

This is an issue because apparently in Go URL.Scheme is always empty (https://github.com/golang/go/issues/28940)
I've hit this problem, because I have Headlamp  (in my internal network) served over plain HTTP, and the getOidcCallbackURL function keep returning an URL with HTTPS (because it is not localhost).

Ouch! Maybe we need to define a CLI arg for completely overridding the OIDC callback URL.

Should have run the CI first.
You may be able to check the lint issues with make backend-lint.

Sorry about that. I've pleased the linter by turning if-else-if block into switch. CI is green now.

Awesome! Thanks @zdzichu !


Add Archivebox to Docker Hub

Type:

[x] Propose a brand new feature

What is the problem that your feature request solves
I can use the Docker image on my Kubernetes cluster without having to build and maintain it myself
Describe the ideal specific solution you'd want, and whether it fits into any broader scope of changes
Enable automatic image building on docker hub. https://docs.docker.com/docker-hub/builds/
What hacks or alternative solutions have you tried to solve the problem?
N/A
How badly do you want this new feature?

[x] It's an urgent deal-breaker, I cant live without it
[ ] It's important to add it in the near-mid term future
[ ] It would be nice to have eventually
[ ] I'm willing to contribute to development

Official Docker Hub image: https://hub.docker.com/r/nikisweeting/archivebox
Updated Docker docs: https://github.com/pirate/ArchiveBox/wiki/Docker
Will also get it listed on https://github.com/docker-library/official-images in the near future.


custom participant select header. #28

Overview
Create custom header with participant selector + metadata
Review with https://github.com/SafetyGraphics/safetyGraphics/pull/721
close #28
Test Code
devtools::install_github('safetyGraphics/safetyProfile', ref="fix-28a")
library(safetyProfile)
devtools::install_github('safetyGraphics/safetyCharts', ref="dev")
library(safetyCharts)
devtools::install_github('safetyGraphics/safetyGraphics', ref="fix-720")
library(safetyGraphics)

safetyGraphicsApp()

The AE Plot is not rendering with the error. Investigating what caused the issue. The preliminary thought is that the stack_events()
map() function is not working as expected, but there might be something else at play.

added a few req() statements,
updated namespace where needed and documented
specified domain argument in the stack_events()
The chart should work properly once the https://github.com/SafetyGraphics/safetyCharts/pull/149 and https://github.com/SafetyGraphics/safetyCharts/tree/fix-namespace are merged into dev branch


Roll Flutter Engine from 2079a8ccfcb5 to 26443d180b6d (2 revisions)

https://github.com/flutter/engine/compare/2079a8ccfcb5...26443d180b6d
2022-09-21<EMAIL_ADDRESS>Roll Skia from a1f186aca73a to 8632d18df82a (4 revisions) (flutter/engine#36319)
2022-09-21<EMAIL_ADDRESS>Roll Dart SDK from 7f7b7f28120f to 48fdf8ddc0eb (1 revision) (flutter/engine#36321)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


List of outputs

List all questions we have, what analyses are required, what data and data structures the analyses require

outputs are stakeholder requirements
roles, role based access restrictions
where, when, who needs to see what (data / visualisation / analysis)
QA and audit requirements


Ensure Delphi compatibility

OpenDSS v7
I tried building DSS C-API with Delphi and it mostly went fine. Most notable issue is that the KLUSolve definitions need to be changed since Delphi macro support is very limited. For DSS C-API specifically, we'll need to add some more conditional compilation to avoid all VCL components altogether. I'll add Delphi project files when all issues are addressed.
Official Delphi projects
For building the full GUI, OpenDSS.dres is missing from this repo, otherwise it currently builds fine.
Building the COM DLLs needed some small changes. I had to include System.UITypes in many forms, so maybe some aux file was removed during the filtering via git-svn -- needs to be checked with the full SVN repo later. I could also be some left-over DCUs causing issues. The binary tlb required can be built from the ridl file using gentlb.
Besides the filtered files, since none of the changes here are from this repo, everything seems to be OK so far.

OpenDSS v8
For COM and full GUI, the same comments as for v7 apply. The only extra issue is that some ifdefs use WINDOWS macro definition that was not defined. Adding that to the Delphi projects is enough to build fine.
(I still need to try DSS C-API with v8 and Delphi.)

Delphi compatibility will only focus building the DSS C-API DLL with version 7, mostly to allow us to test when there are different results in the official COM version vs. the C-API library.


Chore: reproduce EXPOSUREAPP-12543 regression

This is a test PR to verify if the new end-to-end tests introduced by #95 would have detected the regression from #91.
The changes are a bit messy because multiple branches were merged, but the PR itself is anyway not meant to be merged.

At https://github.com/corona-warn-app/cwa-app-ccl/pull/96/commits/0045fa4d3122ca6162a13c8516edaa303652d511, the dob-logic from #91 was included in this branch, but the PR validation runs a merge commit on the target branch (i.e. release/3.2.x) on which the respective revert commit already existed. So we need to update this branch with release/3.2.x and then ensure that the dob-logic is back in (i.e. revert the revert-commit).

At https://github.com/corona-warn-app/cwa-app-ccl/pull/96/commits/1f257f4221929bfa8781ab5ed44cdc99fe4990a4, we see the CCL tests on iOS failing as a side-effect of the changes from #91.

When we revert the changes (like in #95), then the tests should pass again...

... at https://github.com/corona-warn-app/cwa-app-ccl/pull/96/commits/6d4d0d873caf6f06f7d7d959be9126fcfa0ba67d, all tests pass:

This should be good enough of a proof that the new end-to-end tests introduced by #95 would have detected the regression from #91.
I will close the PR.


Force no_timeout in mongoid adapter

I can't index without no_timeout. Indexation of my model takes 5 hours.

Makes sense, thanks, merged!

Noticed in #366 That this change has made the build unstable (Re: travis).
 ERROR (0:00:00.022) test_: Adapter Mongoid module: Importing should implement the __find_in_batches method.
          undefined method `no_timeout' for []:Array
        @ lib/elasticsearch/model/adapters/mongoid.rb:69:in `__find_in_batches'
          test/unit/adapter_mongoid_test.rb:82:in `block (3 levels) in <class:AdapterMongoidTest>'
          /Users/miguel/.rvm/gems/ruby-2.1.5/gems/shoulda-context-1.2.1/lib/shoulda/context/context.rb:413:in `instance_exec'

I'll fix it in another PR


Fixed Gamma-Gamma / ParetoNBD Bug

As per this issue, users have had problems using GammaGammaFitter when fitted with the ParetoNBD model and calling customer_lifetime_value. These stem from mixed DataFrame/Series inputs, and are most easily fixed by converting the inputs to arrays early on. There are two changes:

Editing the DataFrame instantiation in utils._customer_lifetime_value to not use the .index attribute, and not require a DataFrame/Series object as input. This is more consistent with the functions docstring, which specifies an 'array-like' as input
Converting all the inputs of GammaGammaFitter().customer_lifetime_value() to ndarrays. This avoids the issues linked, regardless of user input.

lgtm! Thanks @sam-lupton

Sorry for my ignorance, but how can this update be installed? Will I be able to do pip install lifetimes --upgrade soon? Thank you for the fix!

You'd need to update from master:
pip install https://github.com/camdavidsonpilon/lifetimes/archive/master.zip

By the way @CamDavidsonPilon I was looking for a way to increment the version, but I'm assuming that version.py file is controlled by you? Just wondering if I missed something

Of course you can PR an edit to version.py to introduce a version change. Uploading to PyPI is controlled by me, though, yes.

Thanks @sam-lupton! I recently forked this library and this was on my list of things to fix. I've added you as a collaborator to the repo I created.
@CamDavidsonPilon please let me know if you are interested in passing the PyPi torch. I'm currently rewriting 'lifetimes' to utilize the pymc backend, and have had several conversations with the members of that community. They're quite interested in making this a collaborative group effort, which is the best way to ensure the continued, active development of this library.

@ColtAllen sorry I dropped this thread.
I'm fine with giving PyPI access over, but something that you and the other collaborators should consider is whether you want to change the library name. This is pretty common with forks, especially if significant changes are made. It also gives you and the team new branding and SEO potential for the project. Perhaps you've already thought about it?

@CamDavidsonPilon No worries. I recently thought of another library name that is more consistent with language in articles and scientific literature, and even have a logo idea for it. Thanks for recommending I continue in the direction of rebranding.


Revert "CI: Include stdlib build for Wasm in the Linux buildbot"

Reverts swiftlang/swift#72010, which causes a 1 hour regression in Linux build times. This is significantly higher than the original March numbers (~15 minutes). We should investigate where the extra time is coming from - possibly from the foundation and testing additions?

@swift-ci please test

@swift-ci please build toolchain Linux platform

side note: We also need to ensure that the required repositories including wasi-libc are checked out in packaging jobs in Jenkins CI before re-landing this.


[BUG]BrokenPipeError: [Errno 32] Broken pipe

I have a simple python script for motion detection on Raspberry Pi 4B:
motion.py
import time
from datetime import datetime
import RPi.GPIO as GPIO
from picamera2 import Picamera2
from picamera2.encoders import H264Encoder
from picamera2.outputs import FfmpegOutput

PIR_SENSOR = 22
GPIO.setmode(GPIO.BCM)
GPIO.setup(PIR_SENSOR, GPIO.IN)

picam2 = Picamera2()
video_config = picam2.create_video_configuration()
picam2.configure(video_config)
encoder = H264Encoder(10000000)

def detectMotion(x):
    print("Motion was detect!\n")
    picam2.start()
    timestamp = datetime.now().strftime('%H-%M-%S-%d-%m-%Y')
    picam2.capture_file('/home/admin/camera/images/image-%s.jpg' % timestamp)
    picam2.stop()
    video_file = FfmpegOutput('/home/admin/camera/videos/video-%s.mp4' % timestamp, audio=True)
    picam2.start_recording(encoder, video_file)
    time.sleep(10)
    picam2.stop_recording()

try:
    GPIO.add_event_detect(PIR_SENSOR, GPIO.RISING, callback=detectMotion)
    print("Started detect...\n")
    while True:
        time.sleep(1)
except KeyboardInterrupt:
    print("exited")
finally:
    GPIO.cleanup()

I run the script as a service
[Unit]
Description=Motion Detector
After=multi-user.target

[Service]
User=admin
Group=admin
WorkingDirectory=/home/admin/camera
ExecStart=/usr/bin/python3 -u /home/admin/camera/motion.py
StandardOutput=/home/admin/camera/motion.log
StandardError=/home/admin/camera/motion.log
Restart=on-failure

[Install]
WantedBy=multi-user.target

The service raise an error break pipe:
sudo systemctl status motion.service
● motion.service - Motion Detector
     Loaded: loaded (/lib/systemd/system/motion.service; enabled; vendor preset: enabled)
     Active: active (running) since Tue 2022-12-06 18:07:36 +07; 15h ago
   Main PID: 1147 (python3)
      Tasks: 9 (limit: 4915)
        CPU: 10.529s
     CGroup: /system.slice/motion.service
             └─1147 /usr/bin/python3 -u /home/admin/camera/motion.py

Dec 07 09:13:44 raspberrypi python3[1147]:     self.run()
Dec 07 09:13:44 raspberrypi python3[1147]:   File "/usr/lib/python3.9/threading.py", line 892, in run
Dec 07 09:13:44 raspberrypi python3[1147]:     self._target(*self._args, **self._kwargs)
Dec 07 09:13:44 raspberrypi python3[1147]:   File "/usr/lib/python3/dist-packages/picamera2/encoders/v4l2_encoder.py", line 188, in thread_poll
Dec 07 09:13:44 raspberrypi python3[1147]:     self.outputframe(b, keyframe, (buf.timestamp.secs * 1000000) + buf.timestamp.usecs)
Dec 07 09:13:44 raspberrypi python3[1147]:   File "/usr/lib/python3/dist-packages/picamera2/encoders/encoder.py", line 209, in outputframe
Dec 07 09:13:44 raspberrypi python3[1147]:     out.outputframe(frame, keyframe, timestamp)
Dec 07 09:13:44 raspberrypi python3[1147]:   File "/usr/lib/python3/dist-packages/picamera2/outputs/ffmpegoutput.py", line 85, in outputframe
Dec 07 09:13:44 raspberrypi python3[1147]:     self.ffmpeg.stdin.write(frame)
Dec 07 09:13:44 raspberrypi python3[1147]: BrokenPipeError: [Errno 32] Broken pipe

Strangely, if I run the python script directly without running it in the systemd service it works properly with no errors
python motion.py
[0:30:41.464106200] [1733]  INFO Camera camera_manager.cpp:293 libcamera v0.0.1+54-d528119f
[0:30:41.496729242] [1734]  INFO RPI raspberrypi.cpp:1414 Registered camera /base/soc/i2c0mux/i2c@1/ov5647@36 to Unicam device /dev/media2 and ISP device /dev/media0
[0:30:41.501582991] [1733]  INFO Camera camera.cpp:1026 configuring streams: (0) 1280x720-XBGR8888
[0:30:41.501995300] [1734]  INFO RPI raspberrypi.cpp:800 Sensor: /base/soc/i2c0mux/i2c@1/ov5647@36 - Selected sensor format: 1920x1080-SGBRG10_1X10 - Selected unicam format: 1920x1080-pGAA
Started detect...

Motion was detect!

Guessed Channel Layout for Input Stream #0.0 : stereo

Thanks.

Hi, I'm afraid I don't know anything about systemd, but it feels like it's trying to start an ffmpeg process and this is failing. Are you able to create a service that just runs the ffmpeg executable successfully (and does nothing else)? I'm wondering if maybe the path isn't set up to find the executable, or if some permissions might be wrong. I would have hoped there might be an error message somewhere, though I wouldn't know where to look.

I can also confirm this error is happening. Tried to create a systemd service to run my python app which invokes picamera2's FfmpegOutput in case a motion is detected, and in that exact moment the app crashes with this error. I've tried everything: altering the PATH, copying the ffmpeg binary to the script's folder/working directory, etc., trying to run the systemd command via shell (/bin/bash -c "...") - so far nothing works. I have no clue what causes this to crash instantly, but as it is, this cannot be used with systemd in any way as I see. I don't think it's an issue of the library not finding the ffmpeg binary, but probably something much more nastier..
Hoping this will be investigated and fixed by someone more knowledgeable than myself.. I'm out of ideas.

Investigated the issue further - if you remove audio recording from the equation (starting the FfmpegOutput with audio=False) then everything works fine under systemd. If audio=True, then it seems ffmpeg crashes for some reason.

Thanks for the update!

Thank you very much on this update! Spent 2 days looking for a solution what a lifesaver.

I found another solution by modifying the FfmpegOutput class (picamera2/picamera2/outputs/ffmpegoutput.py):
Changing the line 61 from '-f', 'pulse', to '-f', 'alsa',  and this way using alsa instead of pulse for the audio source seems to do the job.

Thanks for this update. Would it be helpful to make this a standard option in the code? For example, we could let the audio parameter be either True or a string (so alsa could be passed). Are there any other changes that would be necessary? Is the audio latency affected? Thanks!

I’d vote against alsa - at least for me, with stock Pi OS lite installed and added ffmpeg from repository (apt-get): ffmpeg with alsa instantly segfaults.

I guess Raspberry Pis are "supposed" to use pulse audio these days, so it's not really clear to me when alsa can be expected to work. In any case, I would never have changed the default behaviour, though it sounds like there are deeper issues here...!

Indeed Raspberry Pis are supposed to use pulse audio today... Maybe they will patch this weird behavior with system launched processes in the future. In the meantime, according to me, introducing an alsa parameter could be another better(?) workaround than running the pulseaudio as a system-wide daemon, while keeping pulse as the default option for most cases.
I am also using stock Pi OS lite (64-bit) with (apt) ffmpeg and have no segfault using alsa.

alsa should always be available after stopping pulse (or uninstalling it). e.g. kodi in RPiOS uses this in launcher:
 systemctl --user stop pulseaudio.socket
 systemctl --user stop pulseaudio.service
 < run kodi >
 systemctl --user start pulseaudio.service
 systemctl --user start pulseaudio.socket

as running without pulse allows access to passthrough audio.
Also if an alsa device is in use (by pulse) then an application should return an error rather than seg fault.

Found another workaround. If you you create a user service instead of a system service then it works fine.

Thanks for the solution zeroxx1986


中间图标不能编辑

中间图标embeddedImage传一个ImageProvider，图标没法设置一些属性，比如圆角，边距，底色

中间图标embeddedImage覆盖了二维码内容，扫码成率降低了

Google translation: "The middle icon embeddedImage passes an ImageProvider, the icon can not set some properties, such as rounded corners, margins, background color"

The QR Code cannot be scanned when there is an embeddedImage

If you're using an embedded image with a low error correction setting then it is expected that this will happen. Either use a higher error correction setting, a higher version #, or both.


[feature] Home assistant plugin

A simple plugin to call services from Home Assistant (toggle lights, devices ... ).

Hi @sergius02, this is absolutely amazing. I had a quick look over your code and it looks perfect. I'll test it this weekend and if everything looks fine, this will be in the next release. Thanks for your contribution and sorry about the late review.


Entering server error on first time, work fine on second

Hello! I (and my friends) catching strange error when we trying to connect to server. This problem occur only on first enter, after client crash and re enter everything works fine.
Minecraft 1.20.1 Fabric
https://gist.github.com/LittleLigr/c230e806e42b6551a6a31d90721598dd

It's Dynamic Surroundings throwing an error.


Timeout when downloading cache blob

In the https://github.com/project-chip/connectedhomeip repo we are facing lots of timeouts when using actions/cache. E.g. see this runs:

https://github.com/project-chip/connectedhomeip/actions/runs/4508609631/jobs/7937471416?pr=25816
https://github.com/project-chip/connectedhomeip/actions/runs/4503067055/jobs/7925771317   (this one timed-out due to time constraint in the step, however the question is, why the download was so slow?)
https://github.com/project-chip/connectedhomeip/actions/runs/4483262754/jobs/7882335754

In most cases it seems that the timeout occurred due to broken connection, e.g.:
Received 12582912 of<PHONE_NUMBER> (0.6%), 12.0 MBs/sec
...
Received 947912704 of<PHONE_NUMBER> (43.2%), 81.7 MBs/sec
Received<PHONE_NUMBER> of<PHONE_NUMBER> (48.5%), 84.3 MBs/sec
Received<PHONE_NUMBER> of<PHONE_NUMBER> (52.9%), 84.8 MBs/sec
...
Received<PHONE_NUMBER> of<PHONE_NUMBER> (87.1%), 86.5 MBs/sec
Received<PHONE_NUMBER> of<PHONE_NUMBER> (93.1%), 88.2 MBs/sec
Received<PHONE_NUMBER> of<PHONE_NUMBER> (97.5%), 88.3 MBs/sec
Received<PHONE_NUMBER> of<PHONE_NUMBER> (97.7%), 84.8 MBs/sec
Received<PHONE_NUMBER> of<PHONE_NUMBER> (97.7%), 81.5 MBs/sec
...
Received<PHONE_NUMBER> of<PHONE_NUMBER> (97.7%), 51.0 MBs/sec
...
Received<PHONE_NUMBER> of<PHONE_NUMBER> (97.7%), 16.7 MBs/sec
...

If not for the step timeout constrain, the download speed would drop to kBs/sec.
Is there any way to remedy this download issue?

We see the same thing, it will hang for sometimes 10 min then fail, where on other workers running at the same time it took only 20s to pull the cache.

We are also seeing the same issue

I've been running into this as well, we have a cache of 4GB and 2/3 runs will timeout. It would be a big help if this got resolved


Initialize Data Mapping to Fields

Question
Output of python -c "import pydantic.utils; print(pydantic.utils.version_info())":
pydantic version: 1.5.1
pydantic compiled: True
    install path: /usr/local/lib/python3.8/site-packages/pydantic
python version: 3.8.0 (default, Oct 17 2019, 05:36:36)  [GCC 8.3.0]
    platform: Linux-4.19.76-linuxkit-x86_64-with-glibc2.2.5
optional deps. installed: []

Keeping this as simple as possible how would I take the given_outside_data and convert it into the OutsideDataModel below? What I would like to accomplish is for pydantic to handle validating/massaging the outside data for me when I define the schema.
import pydantic

given_outside_data = {
    '@CreateDate': '2020-05-28T13:43:00.9160714Z',
    'BatchID': 'XXXX-xxxx-xxXX-xx',
    'Items': [...]
}

class OutsideDataModel(pydantic.BaseModel):
    create_datetime: datetime
    batch_id: str
    items: list

OutsideDataModel(**given_outside_data)

Using Config.fields in the BaseModel
class OutsideDataModel(pydantic.BaseModel):
    create_datetime: datetime
    batch_id: str
    items: list

    class Config:
        fields = {'create_date': '@CreateDate', 'batch_id': 'BatchID', 'items': 'Items'}

... or specifying an alias in the Field parameter.
class ReturnFileFormat(pydantic.BaseModel):
     create_date: datetime = pydantic.Field(alias='@CreateDate')
     batch_id: str = pydantic.Field(alias='BatchID')
     payments: list = pydantic.Field(alias='Payments')

... even overwriting the __init__ method produced the same error.
class ReturnFileFormat(pydantic.BaseModel):
     def __init_(self, response: dict):
         self.create_date = response['@CreateDate']
         self.batch_id = response['BatchID']
         self.payments = response['Payments']

     create_date: datetime
     batch_id: str
     payments: list

Error Message
Traceback (most recent call last):
  File "<input>", line 1, in <module>
  File "pydantic/main.py", line 338, in pydantic.main.BaseModel.__init__
pydantic.error_wrappers.ValidationError: 3 validation errors for OutsideDataModel
create_date
  field required (type=value_error.missing)
batch_id
  field required (type=value_error.missing)
items
  field required (type=value_error.missing)

Because pydantic is saying the field is missing aliasing doesn't seem to map in the direction I'm hoping for. The given_outside_data could be manipulate to match the pydantic model's fields but if there is a way to handle that within the pydandic model it would be preferred. The Items list contains other values that could be modeled with pydantic which is why the self contained option is preferred.
Thank you for all of your work on the library!

This method worked for me! I didn't look close enough at the given_outside_data to see it didn't match what I was expecting
class OutsideDataModel(pydantic.BaseModel):
    create_datetime: datetime
    batch_id: str
    items: list

    class Config:
        fields = {'create_date': '@CreateDate', 'batch_id': 'BatchID', 'items': 'Items'}


Add support for llama.cpp

add support for llama.ccp for local Ai inferencing

#134 added that but we haven't released it yet because I was not able to test it yet.
Do you think you could test it using the dev branch?

Mine behaves the same way, but it is not stuck, it just takes that long for it to execute for me.

Which model do I use for the llamaCPP LLM?  I have tried several. Where is the documentation for using langflow?

Sorry I have been off trying to locate a GPU that is better.  I will try the latest thank you for responding.

Does someone figured out how to run llama with langflow? I tried many approaches and I still am struggling, I have a model of llama-2-13b that I converted, build and quantized with llama.cpp. It's running well in llama (ggml-model-q4_0.gguf).
I created a models directory in root project and tried LlamaCpp and Ctransformers but I never got an response from the LLM..
Can someone please help me ?


Update cache-best-practices.md

Added a note around this: Premium P2 and above are hosted on VMs with 4 or more cores. This is useful to distribute the TLS encryption / decryption workload across multiple cores to bring down overall CPU usage

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

#sign-off

@yegu-ms: I'm sorry - only the author of this article, @joncole, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.


⚠ Processors has degraded performance

In 19b5372, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 149 ms

Resolved: Processors performance has improved in 523590e.


Sync of KAFKA-10355: Throw error when source topic was deleted (#9191)

Before this commit, Kafka Streams would gracefully shut down the whole application when a source topic is deleted. The graceful shutdown does not give the user the possibility to react on the deletion of the source topic in the uncaught exception handler.
This commit changes this behavior and throws an error when a source topic is deleted.
Reviewers: A. Sophie Blee-Goldman<EMAIL_ADDRESS>Guozhang Wang<EMAIL_ADDRESS>John Roesler<EMAIL_ADDRESS>

cherry-picked from apache trunk into ccs master


Environment

Same here...

Thank you for all your changes and your time involved in this project. (Still quite busy on my side)


Unhandled exception in GMusicBackend

Hi,
please update mopidy-gmusic according to last changes in Unofficial-Google-Music-API
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/pykka/actor.py", line 191, in _actor_loop
self.on_start()
File "/usr/local/lib/python2.7/dist-packages/mopidy_gmusic/actor.py", line 48, in on_start
self.config['gmusic']['deviceid'])
File "/usr/local/lib/python2.7/dist-packages/mopidy_gmusic/session.py", line 21, in login
if not self.api.login(username, password):
TypeError: login() takes exactly 4 arguments (3 given)

Hi,
according to Commits on Jun 2, 2015 in Unofficial-Google-Music-API - this issue is not reproduced. Authentication is ok now.

Hello, how did you end up fixing this issue? I am having the same one.

Hi. Unofficial-Google-Music-API uses parameter "deviceid" for authorization again. You can ease fix it:
/usr/local/lib/python2.7/dist-packages/mopidy_gmusic/session.py
@@ -18,7 +18,7 @@
         if self.api.is_authenticated():
             self.api.logout()

-        if not self.api.login(username, password):
+        if not self.api.login(username, password, deviceid):
             logger.error(u'Failed to login as "%s"', username)

         if self.api.is_authenticated():

Good catch - I was thinking of just adding the parameter as well but was not sure if that was the best idea.
Thanks!

Followup error: it seems that it wasn't that easy: I now get an error that self.api.login(username, password, deviceid) takes exactly 3 arguments, and that 4 are given. Here is the error response when starting up mopidy:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/pykka/actor.py", line 191, in _actor_loop
self.on_start()
File "/usr/local/lib/python2.7/dist-packages/mopidy_gmusic/actor.py", line 29, in on_start
self.config['gmusic']['deviceid'])
File "/usr/local/lib/python2.7/dist-packages/mopidy_gmusic/session.py", line 21, in login
self.api.login(username, password, deviceid)
TypeError: login() takes exactly 3 arguments (4 given)
2015-06-19 05:13:52,695 INFO [17903:MainThread] mopidy.commands: Starting Mopidy core
2015-06-19 05:13:52,711 ERROR [17903:MainThread] mopidy.commands: Uncaught exception
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/mopidy/commands.py", line 275, in run
core = self.start_core(mixer, backends, audio)
File "/usr/lib/python2.7/dist-packages/mopidy/commands.py", line 364, in start_core
return Core.start(mixer=mixer, backends=backends, audio=audio).proxy()
File "/usr/lib/python2.7/dist-packages/pykka/actor.py", line 93, in start
obj = cls(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/mopidy/core/actor.py", line 52, in init
self.backends = Backends(backends)
File "/usr/lib/python2.7/dist-packages/mopidy/core/actor.py", line 151, in init
has_library = b.has_library().get()
File "/usr/lib/python2.7/dist-packages/pykka/future.py", line 299, in get
exec('raise exc_info[0], exc_info[1], exc_info[2]')
File "/usr/lib/python2.7/dist-packages/pykka/actor.py", line 470, in ask
self.tell(message)
File "/usr/lib/python2.7/dist-packages/pykka/actor.py", line 437, in tell
raise _ActorDeadError('%s not found' % self)
Below is a snippet of the change I made:
def login(self, username, password, deviceid):
    if self.api.is_authenticated():
        self.api.logout()
    try:
        self.api.login(username, password, deviceid)
    except CallFailure as error:
        logger.error(u'Failed to login as "%s": %s', username, error)
    if self.api.is_authenticated():
        if deviceid is None:
            self.deviceid = self.get_deviceid(username, password)
        else:
            self.deviceid = deviceid
    else:
        return False

As you can see, I simply added a parameter to the function. Are there any recompilation steps I have to take? (Sorry, never worked in python before mopidy setup :(

Hi. Actually I use parameter "deviceid" in my config file. So it is defined.
How to get this parameter: you can use app https://play.google.com/store/apps/details?id=com.evozi.deviceid. Or run script: https://github.com/hechtus/squeezebox-googlemusic/blob/master/mobile_devices.py
About error (TypeError: login() takes exactly 3 arguments (4 given)):
Unofficial-Google-Music-API (Commits on Jun 13, 2015 ) login() uses 4 arguments
(Commits on Jun 3, 2015 ) login() uses 3 arguments.
So you shuld update Unofficial-Google-Music-API to latest (branch develop) or you should revert change which I proposed. But parameter "deviceid" should be defined in config file.

I've made sure to define the deviceid in my config file - so that error seems to best me as of now.
Just pip installed the develop branch of the unofficial api - it all works!
Many thanks indeed - NellyWhads

Fix has been pushed.


Add GDScript

Is this infinite? That's what all the others do.

yes it is. it prints "aaaa" in new line every frame of the program

is there a way to make it print on not new-line (just a nitpick, probably fine if there isn't)

is there a way to make it print on not new-line (just a nitpick, probably fine if there isn't)

Nope, there isn't


Update stock-sales.md

@mccalluc: can you merge, and then I'll fix the URLs for s3 images

I'd prefer that we fix problems in the PR before merging: Master should be kept in the best state possible.
I think the URL fixing you intend to do includes /catalog/asset_thumbnails/0749-001-10-01-060.png, for example?

@mccalluc: yes, changing /catalog/asset_thumbnails to /special_collections/stock_sales. Everything else stays the same


Contract Errors and Event Logging

Debugging smart contracts is very esoteric at the moment.
This could be helped by logging contract failures as events e.g. OutOfGas, CodeExists, Panicked
Additionally, contract's should be able to log custom events

@pepyakin ping


Document makeCustomWebView w/ bridge components

As discussed in #57:

Using both Hotwire.config.makeCustomWebView and Hotwire.registerBridgeComponents() causes unexpected behavior. If the web view is configured first then it is not used. If bridge components are registered first then the bridge is not initialized in the web view.

This PR documents that a developer must manually call Bridge.initialize(webView) if using Hotwire.config.makeCustomWebView and call it after calling Hotwire.registerBridgeComponents(). It's not ideal, but I'm not sure of a better fix just yet.
But we do have some nice option-click documentation now!

Closing since we have an incoming fix.


target="_blank" leaves redirect open to phishing scams

While working on making a tribute page here:
https://www.freecodecamp.com/challenges/build-a-tribute-page
I noticed that the a href='s would work with or without the target="_blank" code.
Googled it's purpose, found this:
https://www.jitbit.com/alexblog/256-targetblank---the-most-underestimated-vulnerability-ever/
Alex suggested using this line instead:
rel="noopener noreferrer"
to avoid phishing scams.
Hope this helps.

Yup, this can be one of the interesting new challenge topics for the info sec challenges.
/cc @Greenheart would you take this up in the discussion.

@eclecticexistential @raisedadead Thank you both, this would definitely fit in a challenge! :smile: The only thing we need is some kind of best practice that we could teach.
I've read that rel="noopener noreferrer" also removes the referrer HTTP header which will stop friendly sites from seeing traffic from you - which is a high price just to protect your users from a few malicious sites. This was discussed in #8460 where they basically concluded that rel="noopener noreferrer" only should be used when pointing to untrusted sites.
Conclusion:

This issue can be closed since the links in question point to trusted sites (Codepen, Wikipedia).

Yeh we went through this as greenheart said and made sure links were trusted. Thanks @greenheart :smile:


chore(dependencies): update tokio, h2, and tower-make

Closes #1945

The cause of test failure seems to be https://github.com/rust-lang/rust/issues/64636.

Thanks for this! I got the permissions to publish tokio-make, so published alpha2, so we can update here!

@seanmonstar Updated and CI passed.

Awesome, thanks!


Reusing the same module path in different versions makes it hard to use the module

Thanos imports github.com/prometheus/prometheus which imports go-loser here: https://github.com/prometheus/prometheus/blob/main/go.mod#L15
We would like to import the any version of go-loser however that leads to compilation errors because loser.New accepts different parameters depending on which version is used.
So, it would be cool to either provide a different module name for the any version or provide a differently named constructor method. Or we are forced to make a copy of the whole library.

I don't think the any version is in use elsewhere, so no problem changing the module name if you want to suggest a PR.


Display results if task is finished

In some cases could be useful if the task is finished display the results in the interface.

put it here

also you need to be careful with the size of the response, results can be huge ! set a smart limit.
Also there could be serialization problems too.


Added the possibility to define alias to services

This PR adds the possibility to define an alias to services. A common and simple usage may be define services with long names and add a shortcut to them.
$pimple = new Container();
$pimple['some.long.service.name'] = function () { return 'foo' };
$pimple->alias('foo', 'some.long.service.name');
var_dump('foo' === $pimple['foo']); // true

Another usage of aliases is when we are working with interfaces and we need to register many of its implementations and use one of them as a main service.
$pimple = new Container();

$pimple['feature.concrete.a'] = function () { return new ConcreteA() };
$pimple['feature.concrete.b'] = function () { return new ConcreteB() };
$pimple['feature.concrete.c'] = function () { return new ConcreteC() };

$pimple->alias('feature', 'feature.concrete.c');

We can easily move from 'feature.concrete.c' to 'feature.concrete.a' for example. I know that I can achieve such feature just writing a new service with short names, but we still need to write the full closure just to return the original service.

I don't think we need a specific method for that. It's already supported by just defining a new service that returns another one. I don't see the need for something specific here as defining aliases is not that useful. Thanks for contributing.


Synchronous flatMaps cause fiber starvation

Given:
import scalaz.zio._

object App extends App {
  def worker(i: Int) =
    IO.sync(println(s"running $i")).forever

  override def run(args: List[String]): IO[Nothing, ExitStatus] =
    IO.traverse(1 to 50)(worker(_).fork)
      .flatMap(Fiber.joinAll(_))
      .const(ExitStatus.ExitNow(0))
}

Expected:
Prints for running 1-50
Actual:
Prints running 1-$numCores for ~15 seconds, then slowly climbs to a higher number.
Inserting an asynchronous boundary fixes that, but note that ZIO lacks a .yield function in API for this use case, such as cats-effect's ContextShift.shift –
def worker(i: Int) =
  (IO.sync(println(s"running $i")) *>
    IO.async((cb: Callback[Nothing, Unit]) => cb(ExitResult.Completed(()))))
  .forever

However, AFAIK, explicit cooperative concurrency via .yield combinator is a non-goal for ZIO. So, what's the current plan for a scheme that manages this better than the YieldMaxOpCount in 1.0?

This is closely related to #248, and the proper fix probably depends on how that ticket turns out (please contribute feedback!).
For now you can switch to an unbounded thread pool, you can use IO.sleep(0.seconds), which is a semantic yield (I'd accept a PR that added the function), or you can reduce YieldMaxOpCount to something like 1000.

@jdegoes Can you provide an example on how to switch to an unbounded thread pool by using IO.sleep(0.seconds)?
Also how can I reduce the YieldMaxOpCount in RTS?  I thought it's marked as final. Here's how I run an IO:
class IORuntime extends RTS {}
val ioRunTime = new IORuntime
ioRunTime.unsafeRun(io)

@cuongthamhl You can shift to another thread pool with the IO.shift combinator. However, to shift back to the RTS pool, you will need to insert an explicit asynchronous boundary via IO.sleep(0.seconds).
val ec: ExecutionContext = ...
taskA *> IO.shift(ec) *> taskB *> IO.sleep(0 seconds)

This one can be closed, can't it? Just ran it and it looks fine.

Yes, this example should be ok now, as long as the user keeps flatMapping they should eventually get unstuck...


Splash Screen label should match ignited app name

Regardless of the name of the ignited app, the splash screen is set to "RnDiffApp"

See LaunchScreen.storyboard :
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="RnDiffApp" textAlignment="center" lineBreakMode="middleTruncation" baselineAdjustment="alignBaselines" minimumFontSize="18" translatesAutoresizingMaskIntoConstraints="NO" id="GJd-Yh-RWb">
The text should be set to the name of the ignited app.

Hi, i would like to work on this issue

I think this can be closed since it looks like this is already handled by react-native-rename here: https://github.com/infinitered/ignite/blob/c561e6afead1470abe1bb6f4925df11a689efc2f/src/commands/new.ts#L257

@derekgreenberg thanks for logging this issue. Currently in Ignite v7.13.1, this issue is fixed, see attached image. Closing this issue.

@himanshu007-creator thank you very much for offering to work on this issue. Its currently resolved, but in the future if you're interested in helping support Ignite, please submit a PR and we'll take a look at it!


feat(cli): introduce the onlyPlugins option

Close #119
I modified configMiddleware and filtered all plugins. This allowed us not to modify the commands.

@IKatsuba
PR closed please merge

Ideally this package should only impact the cli package and is not reflected in core or models.

@BioPhoton I did it!


How to join server?

At this point you are unable to do a lot of things. Basically just talking and reading messages. Also bots cannot join with an invite.

So... How to make my bot join server?

You use an invite link. You can create one by going to your apps page, clicking on your bot, then clicking generate oauth link.

Thanks


Change Requests To Axios

Requests is deprecated and as it is working now, It may not in the near future.
I think changing the major underlining requests library from request to axios is better.

Would you like to contribute to it?

Sure, Axios uses promises and that makes it a bit complicated. I have cloned it and I am trying it out. I will get to you for review after.

I have opened the request. I am waiting for your review

Merged.
Thank you for your contribution.
Let me know if you want to enhance this module in any way.


Add PIP22 regression tests

Wasn't entirely sure how the scenario number was done so have left these blank for now.

@luyzdeleon FYI I can't add reviewers


Fix dependencies of system PY4CL2-CFFI/CONFIG-DARWIN.

The system definition includes file src/config-darwin.lisp, which uses symbols in packages CL-PPCRE and PY4CL2-CFFI/CONFIG, so the system needs to depend on the systems that define those symbols.

Thanks!

Thanks very much for reviewing the change and allowing it to merge.
On Thu, Nov 16, 2023 at 1:15 AM Shubhamkar Ayare @.***>
wrote:

Thanks!
—
Reply to this email directly, view it on GitHub
https://github.com/digikar99/py4cl2-cffi/pull/7#issuecomment-1813849037,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAGVMIX7ZJPJMWJKVCLIM3YEWVQPAVCNFSM6AAAAAA7MXULTWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJTHA2DSMBTG4
.
You are receiving this because you authored the thread.Message ID:
@.***>


link to MedRequest, not MedOrder

Fixes #308.
The issue is that the link to FHIR's MedicationOrder resource no longer resolved. This is because from DSTU2->STU3, FHIR changed the name of this resource from MedicationOrder to MedicationRequest. Instead of pointing to the DSTU2 MedicationOrder resource, I updated the example and link to point to MedicationRequest.

Should there be a generic hook definition, and ones specific to FHIR versions if needed?  E.g., medication-prescribe with MedicationOrder for FHIR versions XYZ, MedicationRequest for FHIR versions ABC.


absl::random HW support for all build cases

Abseil random uses HW-acceleration for random value generations. For this, it uses AES, NEON, etc depending on the platform. To make this happen, it has to pass proper compiler & linker options to make build tools understand how to build them. Abseil already did for cmake and bazel build but gRPC supports more than that, e.g. make, python, ruby, so on. So we can address this in two ways; i) doing the same thing as Abseil for all our build cases, ii) disabling HW acceleration to be simple. I lean into the second option mainly because we don't need it to be super fast. And absl::InsecureBitGen which is faster but not strong would be enough for most cases.
Original PR to introduce absl/random: https://github.com/grpc/grpc/pull/26463

ARM has an issue: https://github.com/grpc/grpc/pull/26476

This is fixed by the recent update of Abseil and https://github.com/grpc/grpc/pull/26463.