s3 auth failed.

use gk-deploy deploy the gluster-s3 on native k8s. Can't pass the test.
all pod runing.
kubectl get pod
NAME                                     READY   STATUS    RESTARTS   AGE
gluster-s3-deployment-74cf744cd6-n4tcx   1/1     Running   0          18h
glusterfs-254w6                          1/1     Running   0          18h
glusterfs-lhzn6                          1/1     Running   0          18h
glusterfs-r8w4d                          1/1     Running   0          18h
heketi-7495cdc5fd-44t58                  1/1     Running   0          18h

the pod gluster-s3-depolyment env:
kubectl exec gluster-s3-deployment-74cf744cd6-n4tcx -- env
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
HOSTNAME=gluster-s3-deployment-74cf744cd6-n4tcx
S3_ACCOUNT=adminuser
S3_USER=testuser
S3_PASSWORD=mypassword
...

test with s3curl according doc:
./s3curl.pl --debug --id "adminuser:testuser" --key "mypassword"  --put /dev/null  -- -k -v  http://<IP_ADDRESS>:8080/bucket1
WARNING: It isn't safe to put your AWS secret access key on the
command line!  The recommended key management system is to store
your AWS secret access keys in a file owned by, and only readable
by you.

For example:

%awsSecretAccessKeys = (
    # personal account
    personal => {
        id => '1ME55KNV6SBTR7EXG0R2',
        key => 'zyMrlZUKeG9UcYpwzlPko/+Ciu0K2co0duRM3fhi',
    },

    # corporate account
    company => {
        id => '1ATXQ3HHA59CYF1CVS02',
        key => 'WQY4SrSS95pJUT95V6zWea01gBKBCL6PI0cdxeH8',
    },
);

$ chmod 600 /home/vagrant/.s3curl

Will sleep and continue despite this problem.
Please set up /home/vagrant/.s3curl for future requests.
s3curl: Found the url: host=<IP_ADDRESS>; port=8080; uri=/bucket1; query=;
s3curl: cname endpoint signing case
s3curl: StringToSign='PUT\n\n\n四, 31 1月 2019 03:42:46 +0000\n/<IP_ADDRESS>/bucket1'
s3curl: exec curl -H Date: 四, 31 1月 2019 03:42:46 +0000 -H Authorization: AWS adminuser:testuser:F0T7Qxpkdm/eW7oDg1C7whjynUI= -L -H content-type:  -T /dev/null -k -v http://<IP_ADDRESS>:8080/bucket1
* About to connect() to <IP_ADDRESS> port 8080 (#0)
*   Trying <IP_ADDRESS>...
* Connected to <IP_ADDRESS> (<IP_ADDRESS>) port 8080 (#0)
> PUT /bucket1 HTTP/1.1
> User-Agent: curl/7.29.0
> Host: <IP_ADDRESS>:8080
> Accept: */*
> Transfer-Encoding: chunked
> Date: 四, 31 1月 2019 03:42:46 +0000
> Authorization: AWS adminuser:testuser:F0T7Qxpkdm/eW7oDg1C7whjynUI=
> Expect: 100-continue
>
< HTTP/1.1 403 Forbidden
< x-amz-id-2: tx37593cc66c694810b5e64-005c526eb6
< x-amz-request-id: tx37593cc66c694810b5e64-005c526eb6
< Content-Type: application/xml
< X-Trans-Id: tx37593cc66c694810b5e64-005c526eb6
< X-Openstack-Request-Id: tx37593cc66c694810b5e64-005c526eb6
< Date: Thu, 31 Jan 2019 03:42:46 GMT
< Transfer-Encoding: chunked
* HTTP error before end of send, stop sending
<
<?xml version='1.0' encoding='UTF-8'?>
* Closing connection 0
<Error>AccessDenied<Message>AWS authentication requires a valid Date or x-amz-date header</Message><RequestId>tx37593cc66c694810b5e64-005c526eb6</RequestId></Error>

Check whether you have updated s3curl.pl with updated endpoints as stated here:
https://github.com/gluster/gluster-kubernetes/blob/master/docs/examples/gluster-s3-storage-template/README.md#s3curlpl-for-testing
In your case endpoints looks like: <IP_ADDRESS>:8080

The problem seems cause by date format. I also try another s3 client like
awscli. Use accessid “administer:testuser “/mypassword. But I got auth
failed too.
YongGuang Chen<EMAIL_ADDRESS>周一上午9:23写道：

yes. Since I use nodeport expose the service, so I update s3curl use the
nodeport as endpoint.
Saravanakumar Arumugam<EMAIL_ADDRESS>周五上午9:02写道：

Check whether you have updated s3curl.pl with updated endpoints as
stated here:
https://github.com/gluster/gluster-kubernetes/blob/master/docs/examples/gluster-s3-storage-template/README.md#s3curlpl-for-testing
In your case endpoints looks like: <IP_ADDRESS>:8080
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/gluster/gluster-kubernetes/issues/561#issuecomment-459566884,
or mute the thread
https://github.com/notifications/unsubscribe-auth/APRMhEqRdMVgXZB1BxqNQba3ZRsrAyO3ks5vI5JBgaJpZM4abj-o
.

The problem seems cause by date format. I also try another s3 client like awscli. Use accessid “administer:testuser “/mypassword. But I got auth failed too. YongGuang Chen<EMAIL_ADDRESS>周一上午9:23写道：
…

Do you mean adminuser here (administer mentioned above)?
Anyway,  Could you check systemctl status in the gluster-s3 pod above ?
It should have swift services running properly.

Check whether you have updated s3curl.pl with updated endpoints as stated here:
https://github.com/gluster/gluster-kubernetes/blob/master/docs/examples/gluster-s3-storage-template/README.md#s3curlpl-for-testing
In your case endpoints looks like: <IP_ADDRESS>:8080

Could you try with IP address only (removing the port number in endpoint) ?
I think this should solve the issue.

yes. Tested with IP <IP_ADDRESS>. The error is the same.
The response is corect to connect to service endpoint but  failed by data format.
I'll try other aws client like awscli/s3cmd. Does I should use "adminuser:testuser" as accessid, and "mypassword" as secret?
attach s3curl.perl snippet:
# begin customizing here
my @endpoints = ( '<IP_ADDRESS>');

my $CURL = "curl";

# stop customizing here

output:
s3curl: Found the url: host=<IP_ADDRESS>; port=8080; uri=/bucket1; query=;
s3curl: ordinary endpoint signing case
s3curl: StringToSign='PUT\n\n\n一, 11 2月 2019 02:34:02 +0000\n/bucket1'
s3curl: exec curl -H Date: 一, 11 2月 2019 02:34:02 +0000 -H Authorization: AWS adminuser:testuser:4/Uhzm7K550dA5KfoVYNtXKL1xw= -L -H content-type:  -T /dev/null -k -v http://<IP_ADDRESS>:8080/bucket1
* About to connect() to <IP_ADDRESS> port 8080 (#0)
*   Trying <IP_ADDRESS>...
* Connected to <IP_ADDRESS> (<IP_ADDRESS>) port 8080 (#0)
> PUT /bucket1 HTTP/1.1
> User-Agent: curl/7.29.0
> Host: <IP_ADDRESS>:8080
> Accept: */*
> Transfer-Encoding: chunked
> Date: 一, 11 2月 2019 02:34:02 +0000
> Authorization: AWS adminuser:testuser:4/Uhzm7K550dA5KfoVYNtXKL1xw=
> Expect: 100-continue
>
< HTTP/1.1 403 Forbidden
< x-amz-id-2: tx2536f7ba74fa4eadbf4cb-005c60df1a
< x-amz-request-id: tx2536f7ba74fa4eadbf4cb-005c60df1a
< Content-Type: application/xml
< X-Trans-Id: tx2536f7ba74fa4eadbf4cb-005c60df1a
< X-Openstack-Request-Id: tx2536f7ba74fa4eadbf4cb-005c60df1a
< Date: Mon, 11 Feb 2019 02:34:02 GMT
< Transfer-Encoding: chunked
* HTTP error before end of send, stop sending
<
<?xml version='1.0' encoding='UTF-8'?>
* Closing connection 0
<Error>AccessDenied<Message>AWS authentication requires a valid Date or x-amz-date header</Message><RequestId>tx2536f7ba74fa4eadbf4cb-005c60df1a</RequestId></Error>

The problem seems cause by date format. I also try another s3 client like awscli. Use accessid “administer:testuser “/mypassword. But I got auth failed too. YongGuang Chen<EMAIL_ADDRESS>周一上午9:23写道：
…

Do you mean adminuser here (administer mentioned above)?
Anyway, Could you check systemctl status in the gluster-s3 pod above ?
It should have swift services running properly.

systemctl status swift-proxy.service
● swift-proxy.service - Swift Proxy Service
   Loaded: loaded (/usr/lib/systemd/system/swift-proxy.service; enabled; vendor preset: disabled)
   Active: active (running) since Mon 2019-02-11 02:12:01 UTC; 45min ago
 Main PID: 248 (python)
   CGroup: /kubepods/besteffort/pod618f3db2-2472-11e9-9488-0800278bc93f/66513518262e8e01fa2c73a81ce3bd42925bd3af29fcc6b1a3e48413e3d5c43f/system.slice/swift-proxy.service
           ├─248 /usr/bin/python /usr/bin/swift-proxy-server /etc/swift/proxy...
           └─274 /usr/bin/python /usr/bin/swift-proxy-server /etc/swift/proxy...

Feb 11 02:12:01 gluster-s3-deployment-74cf744cd6-n4tcx systemd[1]: Started Sw...
Hint: Some lines were ellipsized, use -l to show in full.

test with aws cli:
aws configure
aws configure
AWS Access Key ID: adminuser:testuser
AWS Secret Access Key:  mypassword
Default region name:  us-east-1
Default output format: None

aws configure set default.s3.signature_version s3v4
aws --endpoint-url http://<IP_ADDRESS>:8080 s3 ls

An error occurred (SignatureDoesNotMatch) when calling the ListBuckets operation: The request signature we calculated does not match the signature you provided. Check your key and signing method.

What's the problem? When use swift, how to configure the aws cli?
Thanks!

attach s3curl.perl snippet:

yes. Tested with IP <IP_ADDRESS>. The error is the same.
The response is corect to connect to service endpoint but failed by data format.
I'll try other aws client like awscli/s3cmd. Does I should use "adminuser:testuser" as accessid, and "mypassword" as secret?
attach s3curl.perl snippet:
# begin customizing here
my @endpoints = ( '<IP_ADDRESS>');

my $CURL = "curl";

# stop customizing here

In addition to the above changes, carry out additional change:
You need to comment out:

#my $htDate = POSIX::strftime("%a, %d %b %Y %H:%M:%S +0000", gmtime);

and replace it with

my $httpDate = time2str();

Also, add the below line at the top of the file:

use HTTP::Date;

Try this change and report back.

attach s3curl.perl snippet:

yes. Tested with IP <IP_ADDRESS>. The error is the same.
The response is corect to connect to service endpoint but failed by data format.
I'll try other aws client like awscli/s3cmd. Does I should use "adminuser:testuser" as accessid, and "mypassword" as secret?
attach s3curl.perl snippet:
# begin customizing here
my @endpoints = ( '<IP_ADDRESS>');

my $CURL = "curl";

# stop customizing here

In addition to the above changes, carry out additional change:
You need to comment out:

#my $htDate = POSIX::strftime("%a, %d %b %Y %H:%M:%S +0000", gmtime);

and replace it with

my $httpDate = time2str();

Also, add the below line at the top of the file:

use HTTP::Date;

Try this change and report back.

change and test.
s3curl test OK!  Thanks @SaravanaStorageNetwork
But how can I use  another s3 client like aws cli?  Which AWSAcessKeyId and Secret should I use to aceess s3 service？The question I mention above. Or, Should I close the issue and open a new issue?

change and test.
s3curl test OK! Thanks @SaravanaStorageNetwork

Thank you for reporting back!

But how can I use another s3 client like aws cli?

I have not tested with s3 client like aws cli.
unlike s3curl.pl I am not sure whether it supports editing endpoints.

Which AWSAcessKeyId and Secret should I use to aceess s3 service？The question I mention above. Or, Should I close the issue and open a new issue?

You could try similar to this and check. Please close this issue.
Thanks!


Updated README.md

Updated the README.md file to describe the repo.

I accepted the invitation to join the project. The pull request will show up in the feed of my front page when you add me as the reviewer.


Serve the conceptual versioning group page in DocFX by default

When conceptual versioning was enabled for the ASP.NET Core conceptual content, DocFX no longer served the landing page by default when running docfx --serve. Modify the docfx.json file to fix this.

@scottaddie
Please remove the "dest" property from the Docfx.json file within the content group below.
"group1": {
"dest": "group1-dest",
"moniker_range": ">= aspnetcore-1.0"


impl From for MessageField for convenience

I have found that constructing various messages often leads to creating MessageField types explicitly.  For example, the following struct may be generated:
struct MyStruct {
    pub some_field: MessageField<MyOtherStruct>,
    ...
    pub special_fields: SpecialFields
}

I often initialize this as follows:
let s =  MyStruct {
    some_field: MessageField::some(MyOtherStruct { <blah> }),
   ...
};

This PR would allow users to use the blanket provided implementation of Into by deriving From, enabling this simpler syntax:
let s =  MyStruct {
    some_field: MyOtherStruct { <blah> }.into(),
    ...
};

This PR adds code commented out.

Closing this PR, please reopen if this change is still needed and PR is fixed.


Add more twig extension to retrieve parts of 'sulu_seo'

The twig extension sulu_seo returns a string including all meta tags (title, description, keywords, alternate links, canonical tag). It should be possible to get only parts of the meta tags. Additionally the title and description should be available without html tags, e.g. the title without <title></title> because there are other meta tags which need this information (e.g. og or twitter tags).

As discussed with @sabinebaer the sulu_seo should not be a twig extension it should be a twig template. An Template can be easy extended and block parts can be overwritten
e.g.
{# Set Variabes #}

{% set seoTitle = extension.seo|default(content.title) %}
{% set seoKeywords = extension.seo.keywords %}
{# ... #}

{% block title %}
    <title>{{ seoTitle }}</title>
{% endblock %}

{% block keywords %}
    {% if seoKeywords %}
        <meta name="keywords" content="{{ seoKeywords }}" />
    {% endif %}
{% endblock %}

{% block robots %}
   {# ... #}
{% endblock %}

{% block alternate %}
   {# ... #}
{% endblock %}

{# ... #}

a template has more flexibility to overwrite each part when extend from it
{% extends "SuluWebsiteBundle:views:seo.html.twig" %}

{% block title %}
    <title>My Company: {{ seoTitle }}</title>
{% endblock %}

The reason we have decided to use an extension is the fact that it takes care of everything (meaning internal links, shadow pages, excerpts, ...). But I also like the idea with the template, however, that's something you can implement in your projects anyway.

@danrot then i would create for this specific things an extension but the whole SEO as template so every tag can be overwritten easily

+1 for template

A separate template sounds reasonable to me. Together with Twig's embed this should be quite flexible.


Unable to Update homebridge-config-ui-x from v4.56.4 → v4.58.0

Current Situation
I've been having issues updating this for weeks.  Any ideas on what might be wrong?
Logs
DIR: /usr/local
CMD: npm install -g<EMAIL_ADDRESS>npm error code EACCES
npm error syscall rename
npm error path /usr/local/lib/node_modules/homebridge-config-ui-x
npm error dest /usr/local/lib/node_modules/.homebridge-config-ui-x-3gtnOIj4
npm error errno -13
npm error Error: EACCES: permission denied, rename '/usr/local/lib/node_modules/homebridge-config-ui-x' -> '/usr/local/lib/node_modules/.homebridge-config-ui-x-3gtnOIj4'
npm error     at async Object.rename (node:internal/fs/promises:782:10)
npm error     at async moveFile (/usr/local/lib/node_modules/npm/node_modules/@npmcli/fs/lib/move-file.js:30:5)
npm error     at async Promise.allSettled (index 0)
npm error     at async [reifyPackages] (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:325:11)
npm error     at async Arborist.reify (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:142:5)
npm error     at async Install.exec (/usr/local/lib/node_modules/npm/lib/commands/install.js:150:5)
npm error     at async Npm.exec (/usr/local/lib/node_modules/npm/lib/npm.js:207:9)
npm error     at async module.exports (/usr/local/lib/node_modules/npm/lib/cli/entry.js:74:5) {
npm error   errno: -13,
npm error   code: 'EACCES',
npm error   syscall: 'rename',
npm error   path: '/usr/local/lib/node_modules/homebridge-config-ui-x',
npm error   dest: '/usr/local/lib/node_modules/.homebridge-config-ui-x-3gtnOIj4'
npm error }
npm error
npm error The operation was rejected by your operating system.
npm error It is likely you do not have the permissions to access this file as the current user
npm error
npm error If you believe this might be a permissions issue, please double-check the
npm error permissions of the file and its containing directories, or try running
npm error the command again as root/Administrator.
npm error A complete log of this run can be found in: /Users/matthewm1minihome/.npm/_logs/2024-09-19T02_36_00_565Z-debug-0.log
Cleaning up npm cache, please wait...
npm cache cleared, please try updating homebridge-config-ui-x again.
Operation failed with code 243.
You can download this log file for future reference.
See https://github.com/homebridge/homebridge-config-ui-x/wiki/Troubleshooting for help.
Config
No response
Homebridge UI Version
4.56.4
Homebridge Version
7A19
Node.js Version
v20.17.0
Operating System
macOS
Environment Info
None
Raspberry Pi Model
None

The log file shows the issue, looks like the /usr/local/lib/node_modules/ directory is not owned by the user running homebridge

Thank you for your help so far.  Any idea how I might be able to fix it?  This is on a mac mini with only 1 user, myself.  I'm guessing some update I did to MacOS broke this permission somehow?  I have been researching but havent figured out how to fix yet, I even tried to do a clean install, etc.

Try running this command in the terminal
sudo chown -R $(whoami) $(npm config get prefix)/{lib/node_modules,bin,share}

run the command exactly as it is - there is nothing that needs replacing. it will likely ask you to enter your mac user password which is fine.
From here: https://elvisciotti.medium.com/mac-osx-fix-npm-eacces-permission-denied-7ed4b5368460


Support deriving copy for large array

Fixes #56

@bors-servo r+

:pushpin: Commit 06b3893 has been approved by emilio

:hourglass: Testing commit 06b38938739e3da90ba3bb3ba1958c24241ac0dc with merge e9b270e8f9a037cb9bd888181a8e4374a91c8b70...

:sunny: Test successful - status-travis
Approved by: emilio
Pushing e9b270e8f9a037cb9bd888181a8e4374a91c8b70 to master...

Thanks, btw!

Pleasure!


Port HTTP agent ServiceClientOption to 1.x

Ports functionality to 1.x from:
https://github.com/Azure/ms-rest-js/pull/403/files

Hey @daviwil and @xirzec - I tested this over the weekend with the Bot Builder SDK and it looks good. Any chance we could get this change landed relatively soon? I'm happy to address any issues in this PR or the PR opened against master.

@joshgummersall Is this related to the @azure/arm-botservice package? If so, we will soon be publishing an update for it which will use v2 of @azure/ms-rest-js package. In that case, would you still need this fix for v1 of @azure/ms-rest-js?

It’s for github.com/microsoft/botbuilder-js.

Thanks @joshgummersall
Any reason we cannot have the botbuilder-js project use v2 of @azure/ms-rest-js?

You can take a look at https://github.com/Azure/ms-rest-js/pull/402 for more context. It boils down to backwards compatibility concerns. I added this same functionality to 2.x here (https://github.com/Azure/ms-rest-js/pull/403) as well as it is desirable functionality in both versions. Unfortunately, we are simply not able to upgrade to 2.x.

@daviwil all set.

Thanks for the reviews! Much appreciated.

@daviwil any luck with getting this published?

Sorry for the delay, I've got to fix a problem with our release automation to get this out, will get back to that as soon as I take care of some other pressing issues.

Thanks for the update. Looking forward to the release!

2.1.0 and 1.9.0 are both out now.  Thanks again for the PRs!

Awesome, glad to contribute. Cheers!


Can't load the mod

For some reason I'm getting an error trying to load Low Visibility. I thought that the problem can be in IRBTModUtils-1.7.0 but installing it haven't solved the problem. Should I upload ModTek.log somewhere?

@drugonam sorry, the fault is likely mine. I need to update the mod description - it now requires several other mods to work properly. These include MechEngineer (ME), CAC (CustomAmmoCategories), CAE (Custom Aura),  and CustomComponents (CC). If you have all of those and are still having issues, attach the ModTek.log, lowVisibility.log, and cleaned_output.log and I'll try to help!

@drugonam sorry, the fault is likely mine. I need to update the mod description - it now requires several other mods to work properly. These include MechEngineer (ME), CAC (CustomAmmoCategories), CAE (Custom Aura),  and CustomComponents (CC). If you have all of those and are still having issues, attach the ModTek.log, lowVisibility.log, and cleaned_output.log and I'll try to help!

Ah I see. Could you tell me where should I get them? I tried the following pack but it doesn't load custom mods for some reason.
https://www.nexusmods.com/battletech/mods/381
I'm trying to run Low Visibility with BattleTech Extended.

Ah I see. Could you tell me where should I get them? I tried the following pack but it doesn't load custom mods for some reason.
https://www.nexusmods.com/battletech/mods/381
I'm trying to run Low Visibility with BattleTech Extended.

If you're still interested in trying this, you can get the other mods from https://github.com/battletechmodders/custombundle/. However, because you're trying to use the mods with BEX I'd strongly recommend you check out the #other-mods channel on the BEX discord (https://discord.gg/6FTzR7fh - should be good for 7 days). I know for a fact that several folks there are running LowVis with BEX and they should be able to help you out.

Hello.

Just tried it again first with BEX and then without it. I downloaded latest version of CAB, ModTek, IRBTModUtils and Custom Bundle (took only CAE and CAC from it). So I can’t run Low Visibility even without any other mod.

Понедельник, 19 июля 2021, 0:07 +03:00 от Gerrit Kitts @.***>:

If you're still interested in trying this, you can get the other mods from  https://github.com/battletechmodders/custombundle/ . However, because you're trying to use the mods with BEX I'd strongly recommend you check out the #other-mods channel on the BEX discord ( https://discord.gg/6FTzR7fh - should be good for 7 days). I know for a fact that several folks there are running LowVis with BEX and they should be able to help you out.
—
You are receiving this because you were mentioned.
Reply to this email directly,  view it on GitHub , or  unsubscribe .

--
Константин Ланин
Отправлено из Почты  Mail.ru


Open deep link with launch arguments

Use case
It is currently possible to launch the app with launch arguments using the launchApp command:
- launchApp:
    arguments:
      key: value

And open a deep link using the openLink command:
- openLink:
    url: scheme://path/to/screen

However, as far as I can tell, it's not possible to do both.
I am currently exploring migrating from Detox which does offer such an API (device.launchApp):
await device.launchApp({
  url: 'scheme://path/to/screen',
  launchArgs: {
    key: 'value',
  },
})

An example use case for this is using launch arguments to put the app in a certain state and testing a flow performs as expected when started from a deep link.
Proposal
The launchApp command could be updated to include a url field that accepts a URL to the screen.
- launchApp:
    url: scheme://path/to/screen
    arguments:
      key: value

Anything else?
No response

Research notes
How does Maestro launch apps?
Maestro launches the Android app by calling Context.startActivity with a launch intent; and the iOS app by running xcrun simctl launch <device> <app bundle identifer> [<arg 1> ... <arg n>].

Trace

https://github.com/mobile-dev-inc/maestro/blob/ada536affa3b1e643f58eff8c937fc02003adb63/maestro-orchestra/src/main/java/maestro/orchestra/Orchestra.kt#L830
https://github.com/mobile-dev-inc/maestro/blob/ada536affa3b1e643f58eff8c937fc02003adb63/maestro-orchestra/src/main/java/maestro/orchestra/Orchestra.kt#L848
https://github.com/mobile-dev-inc/maestro/blob/ada536affa3b1e643f58eff8c937fc02003adb63/maestro-client/src/main/java/maestro/Maestro.kt#L61
https://github.com/mobile-dev-inc/maestro/blob/ada536affa3b1e643f58eff8c937fc02003adb63/maestro-client/src/main/java/maestro/Maestro.kt#L71
Android driver:

https://github.com/mobile-dev-inc/maestro/blob/ada536affa3b1e643f58eff8c937fc02003adb63/maestro-client/src/main/java/maestro/drivers/AndroidDriver.kt#L197
https://github.com/mobile-dev-inc/maestro/blob/ada536affa3b1e643f58eff8c937fc02003adb63/maestro-client/src/main/java/maestro/drivers/AndroidDriver.kt#L214
https://github.com/mobile-dev-inc/maestro/blob/fd06096e43d9976298afd213b74f36097c355a47/maestro-android/src/androidTest/java/dev/mobile/maestro/MaestroDriverService.kt#L112-L145

iOS driver:

https://github.com/mobile-dev-inc/maestro/blob/ada536affa3b1e643f58eff8c937fc02003adb63/maestro-client/src/main/java/maestro/drivers/IOSDriver.kt#L82
https://github.com/mobile-dev-inc/maestro/blob/ada536affa3b1e643f58eff8c937fc02003adb63/maestro-client/src/main/java/maestro/drivers/IOSDriver.kt#L88
https://github.com/mobile-dev-inc/maestro/blob/fd06096e43d9976298afd213b74f36097c355a47/maestro-ios/src/main/java/ios/simctl/SimctlIOSDevice.kt#L81-L95
https://github.com/mobile-dev-inc/maestro/blob/fd06096e43d9976298afd213b74f36097c355a47/maestro-ios-driver/src/main/kotlin/util/LocalSimulatorUtils.kt#L300-L330

How does Maestro open links?
Maestro opens links on Android by starting an activity with a view action and the URL; and on iOS by running xcrun simctl openurl <device> <url>.

Trace

https://github.com/mobile-dev-inc/maestro/blob/fd06096e43d9976298afd213b74f36097c355a47/maestro-orchestra/src/main/java/maestro/orchestra/Orchestra.kt#L824-L825
https://github.com/mobile-dev-inc/maestro/blob/fd06096e43d9976298afd213b74f36097c355a47/maestro-client/src/main/java/maestro/Maestro.kt#L488-L491
Android driver: https://github.com/mobile-dev-inc/maestro/blob/fd06096e43d9976298afd213b74f36097c355a47/maestro-client/src/main/java/maestro/drivers/AndroidDriver.kt#L547-L559
iOS driver:

https://github.com/mobile-dev-inc/maestro/blob/fd06096e43d9976298afd213b74f36097c355a47/maestro-client/src/main/java/maestro/drivers/IOSDriver.kt#L424-L428
https://github.com/mobile-dev-inc/maestro/blob/fd06096e43d9976298afd213b74f36097c355a47/maestro-ios/src/main/java/ios/simctl/SimctlIOSDevice.kt#L107-L111
https://github.com/mobile-dev-inc/maestro/blob/fd06096e43d9976298afd213b74f36097c355a47/maestro-ios-driver/src/main/kotlin/util/LocalSimulatorUtils.kt#L345-L355

How could Maestro be updated?
For Android, the driver could be updated to launch an activity with a view action and the URL.
Unfortunately, for iOS, there's no interface to open a deep link AND provide launch arguments. xcrun simctl launch accepts launch arguments but does not accept a URL (only an app bundle identifier) while xcrun simctl openurl accepts a URL but does not accept launch arguments. There does not seem to be an alternative to using xcrun.
As a result, the proposal would not work.
How does Detox implement this?
On Android, Detox starts an activity with the URL. On iOS, the URL is passed to the app via a launch argument called detoxURLOverride which is handled by an app delegate proxy. This is possible because Detox gets integrated within the app itself (reference).

Trace

https://github.com/wix/Detox/blob/4d554df55c91c3f0c84909ed39cf8813317d2e80/detox/src/devices/runtime/RuntimeDevice.js#L115
https://github.com/wix/Detox/blob/4d554df55c91c3f0c84909ed39cf8813317d2e80/detox/src/devices/runtime/RuntimeDevice.js#L135-L136
https://github.com/wix/Detox/blob/4d554df55c91c3f0c84909ed39cf8813317d2e80/detox/src/devices/runtime/RuntimeDevice.js#L161
Android driver:

https://github.com/wix/Detox/blob/4d554df55c91c3f0c84909ed39cf8813317d2e80/detox/src/devices/runtime/drivers/android/AndroidDriver.js#L96-L103
https://github.com/wix/Detox/blob/4d554df55c91c3f0c84909ed39cf8813317d2e80/detox/src/devices/runtime/drivers/android/AndroidDriver.js#L114
https://github.com/wix/Detox/blob/4d554df55c91c3f0c84909ed39cf8813317d2e80/detox/src/devices/runtime/drivers/android/AndroidDriver.js#L124
https://github.com/wix/Detox/blob/4d554df55c91c3f0c84909ed39cf8813317d2e80/detox/src/devices/runtime/drivers/android/AndroidDriver.js#L322
https://github.com/wix/Detox/blob/4d554df55c91c3f0c84909ed39cf8813317d2e80/detox/src/devices/runtime/drivers/android/AndroidDriver.js#L326-L327
https://github.com/wix/Detox/blob/4d554df55c91c3f0c84909ed39cf8813317d2e80/detox/src/devices/runtime/drivers/android/AndroidDriver.js#L360-L362

iOS:

Driver:

https://github.com/wix/Detox/blob/4d554df55c91c3f0c84909ed39cf8813317d2e80/detox/src/devices/runtime/drivers/ios/SimulatorDriver.js#L93-L96
https://github.com/wix/Detox/blob/4d554df55c91c3f0c84909ed39cf8813317d2e80/detox/src/devices/common/drivers/ios/tools/AppleSimUtils.js#L244-L246
https://github.com/wix/Detox/blob/4d554df55c91c3f0c84909ed39cf8813317d2e80/detox/src/devices/common/drivers/ios/tools/AppleSimUtils.js#L506
https://github.com/wix/Detox/blob/4d554df55c91c3f0c84909ed39cf8813317d2e80/detox/src/devices/common/drivers/ios/tools/AppleSimUtils.js#L513-L514

App delegate proxy:

https://github.com/wix/Detox/blob/4d554df55c91c3f0c84909ed39cf8813317d2e80/detox/ios/Detox/DetoxAppDelegateProxy.m#L274-L296
https://github.com/wix/Detox/blob/4d554df55c91c3f0c84909ed39cf8813317d2e80/detox/ios/Detox/DetoxAppDelegateProxy.m#L216-L219

Workaround
For my use case of setting some app state with launch arguments, it is possible to work around the issue by launching the app with the launch arguments followed by waiting for animations to end (a proxy for the state being applied), stopping the app then opening the deep link. Example flow configuration below:
- launchApp:
    clearState: true
    arguments:
      key: value
- waitForAnimationToEnd:
    timeout: 5000
- stopApp
- openLink:
    link: scheme://path/to/screen

Open to hearing some thoughts before closing the issue.


Installation on DM with Engineering Firmware

Hi,
I have a Seat DM with engineering Firmware on it MST2_EU_SE_PQ_E0338T
Is it possible to install the Toolbox  via serial console?

Check this topic:
https://github.com/olli991/mib-std2-pq-zr-toolbox/issues/50


[Audio]: Kevin Macleod - Darkest Child

Check if this audio is already added to RetroStudio.

[X] The audio is not already in game.

Is this for the main-menu playlist?

[x] Add to main-menu playlist.

Is this song from an old Roblox era or a sound effect?

[X] This song is from old Roblox or is a sound effect.

A link to the audio on Roblox
https://www.roblox.com/library/12216692811/
A link to the audio file to download.
https://incompetech.com/music/royalty-free/mp3-royaltyfree/Darkest Child.mp3
Notes
This is the background music in Egg Hunt 2013. Also, I accidentally uploaded the quicker version A to ROBLOX. It's the same song, just slightly faster, so the ROBLOX link and the file aren't the same.

12909901062


ServiceInvocationContext.current() return type

ServiceInvocationContext.current() currently returns Optional<ServiceInvocationContext>.
I find this inconvenient when I assume there's context available for the current thread:
ServiceInvocationContext.current().get().eventLoop()...

Instead, we could make it just return ServiceInvocationContext and raise an exception when the context is not available.
However, in some cases, the caller does not want the exception raised. (See HttpRemoteInvoker.eventLoop())
Perhaps we should:

change the return type of current() and
introduce an alternative method?

@inch772 @anuraaga PTAL

Yeah I agree that adding the .get() is a bit of a pain - an armeria server always has a context. I think changing to non-optional and raising a RuntimeException when it's not available is fine, in the rare cases where the exception may be raised, the caller can just check it - the code in HttpRemoteInvoker hardly changes between a null check and an exception check.

@anuraaga Instantiating an exception is expensive, though. We could pre-instantiate it with an empty stack trace, but I guess it's not a good idea.

Fixed by #25


blog: Node-RED and a VPN

Description

Related Issue(s)

Checklist

[ ] I have read the contribution guidelines
[ ] I have considered the performance impact of these changes
[ ] Suitable unit/system level tests have been added and they pass
[ ] Documentation has been updated

its better for the url to match the title of the blog and not be vague.


pcli: query a user's auction ids

Minimal support to exercise interaction with the view service
Scaffolding:

[ ] pcli v auction list [--include-inactive]

Concrete implementation (RPC call to view service and rendering):

[ ] pcli v auction list [--include-inactive]

will remain blocked until view server support (tracked by https://github.com/penumbra-zone/penumbra/issues/4251) is complete.


Update login/push and pull flows to support browser based login properly

Purpose

Update login/push and pull flows to support browser based login properly

Goals

Update login/push and pull flows to support browser based login properly

Approach

Update login/push and pull flows to support browser based login properly

User stories

N/A

Release note

N/A

Documentation

N/A

Training

N/A

Certification

N/A

Marketing

N/A

Automation tests

Unit tests

N/A

Integration tests

N/A

Security checks

Followed secure coding standards in http://wso2.com/technical-reports/wso2-secure-engineering-guidelines? yes
Ran FindSecurityBugs plugin and verified report? yes
Confirmed that this PR doesn't commit any keys, passwords, tokens, usernames, or other secrets? yes

Samples

N/A

Related PRs

N/A

Migrations (if applicable)

N/A

Test environment

N/A

Learning

N/A

Codecov Report

Merging #486 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #486   +/-   ##
=======================================
  Coverage   82.28%   82.28%
=======================================
  Files          29       29
  Lines         903      903
  Branches       75       75
=======================================
  Hits          743      743
  Misses        107      107
  Partials       53       53

Continue to review full report at Codecov.

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


Fixed taking to First Screen as anonymous user

Fix an issue where if user clicks outside sign in prompt, it won't take them to first screen

Thanks for the PR. I have already fixed the issue. Refer: https://github.com/sbis04/sign_in_flutter/commit/74ec40340476c27bf53c69fff37cef68cdad4f04
Closing this PR


feat(cloudflare+cloudflare-pages+cloudflare-workers+templates): add support for @cloudflare/workers-types v3

Cloudflare released an update for @cloudflare/workers-types last month. It is now automatically generated from the source as announced here and this ensures typing to be always up-to-dated with the latest runtime.
However, the current CF adapter has a peerDependency of v2 only. It would be nice if we could add support of v3 as well.
This will also makes experimenting with new ESM worker easier (as all new types are only defined on v3) before official support is ready.
Thanks for all the great work!

@edmundhung Could you please rebase your branch onto latest dev & fix conflicts?
Also don't forget to update the remix-cloudflare package, as that's a fairly new package

Yeah this would be great, thanks Edmund 😊

@edmundhung Could you please rebase your branch onto latest dev & fix conflicts?
Also don't forget to update the remix-cloudflare & remix-cloudflare-pages packages, as that's a fairly new package

@MichaelDeBoey I have opened a new PR #2530 as I accidentally deleted the original fork repository and now I cannot push any commit to this PR anymore.

Closing in favour of #2530


feat: redirect to archive on workflow absence. Fixes #7745

Signed-off-by: isubasinghe<EMAIL_ADDRESS>This allows redirecting to the archive on absence of workflow, if only one workflow is present, it then does another redirect to that workflow. The requested change is documented in #5824

@isubasinghe how it going? Do you need any help or support with this PR?

Sorry haven't had time to work on this, will have a look again when I get free time

@sarabala1979 made the changes but not entirely sure what is failing

@isubasinghe did the tests just time out?  can you rerun or does @alexec need to rerun?  We really need this feature and thank you for doing the PR.

Hey @jmeridth, no worries. I am not entirely sure what happened. I don't see how those tests can fail, I think it might've just timed out. I can't rerun without pushing unfortunately.

I wonder if an empty commit and push will do a rerun? Or a maintainer could rerun it.


The file of the img seems to be wrong.

Challenge http://freecodecamp.com/challenges/waypoint-add-images-to-your-website has an issue. Please describe how to reproduce it, and include links to screenshots if possible.
the source of the img is : https://bit.ly/fcc-relaxing-cat. seems wrong since it doesn't end with a .jpg or .jpeg or any sort of image format...
How to pass the exercise ?

The link given is still a valid image. If you click through to the link, it sends you to https://s3.amazonaws.com/freecodecamp/relaxing-cat.jpg (notice the .jpg) which is the image that you are actually embedding. bit.ly is a link shortener, and fcc used it so you don't have to type in that whole long URL when you're doing the exercises.

Closing this issue as @quatridunull fully answered to @DitriAhmetaj's question.

Although this issue is closed, I'd like to add some insight for anyone else having trouble with this challenge: Be careful when you're selecting the link text to copy and paste into your code! If you copied http://bit.ly/ffc-relaxing-cat. into your img tag, the . at the end will break the link, thus resulting in a broken image. Simply removing the . will fix the link and show you that puuurty kitten. :smile_cat:

My image is broken without the .

@Afrodisiac Actually test passes even with the extra . I think it's still a bug cause test only verify if src attribute contains https://bit.ly/fcc-relaxing-cat not if it's equal


Fix bug with ShipingZones query returns all zones

I want to merge this change because...it fix bug with ShippingZones query

Impact

[ ] New migrations
[ ] New/Updated API fields or mutations
[ ] Deprecated API fields or mutations
[ ] Removed API types, fields, or mutations
[ ] Documentation needs to be updated

Pull Request Checklist

[ ] Privileged queries and mutations are guarded by proper permission checks
[ ] Database queries are optimized and the number of queries is constant
[ ] Database migration files are up to date
[x] The changes are tested
[ ] GraphQL schema and type definitions are up to date
[ ] Changes are mentioned in the changelog

Task linked: SALEOR-3871 Query ShipingZones returns all zones not matter what input channel received


feat/xor-urls: expose experimental APIs and resolver functionality for XOR-URLs

Resolves #304
Exposing the xor-url functionality all behind the --enableExperimentalApis flag, either for the functions which generate the XOR-URLs for ImmutableData and MutableData objects, as well as for the webFetch support to resolve such URLs.

Coverage decreased (-0.08%) to 96.157% when pulling acb677869e0b2b679f58910e2f51075b93a4e6fc on bochaco:issue-304-xor-urls into 0c1a08535ff570c8f477b4ead0f9143d7f00a550 on maidsafe:master.


Add DataGridDateTimeColumn

How can i add DataGridColumn with DatePicker in cell like in pic.

Maybe i can make global template for this?

It is not actual, close this


Updated NewModule-example with v2.0 tasks.json

NewModule-example still used 0.1.0 schema for VSCode tasks.json including the "isShellCommand": true-bug that was fixed in #257 . Updated remaining tasks.json to 2.0.0 schema.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: fflaten sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


Add Algolia search

https://www.docsy.dev/docs/adding-content/navigation/#configure-algolia-docsearch
https://forestry.io/blog/search-with-algolia-in-hugo/

I've applied for Algolia search
https://docsearch.algolia.com/docs/who-can-apply/
https://docusaurus.io/docs/search#using-algolia-docsearch


CM-Collection Lock State

Documentation does not indicate it Get-CMObjectLockDetails will getting locking information for a CM Collection.  Get-CMObjectLockDetails work for every other object I enter except collections.
(Get-CMCollection -Name "Collection Name" | Get-CMObjectLockDetails) does not return any information.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 77163ed7-2e51-6ab4-ed07-2420f5ffad7e
Version Independent ID: 8a550f8e-7758-3596-3452-b8cde373eb12
Content: Get-CMObjectLockDetails (ConfigurationManager) - Configuration Manager
Content Source: sccm-ps/ConfigurationManager/Get-CMObjectLockDetails.md
Product: configuration-manager
Technology: configmgr-other
GitHub Login: @aczechowski
Microsoft Alias: aaroncz

Hi @Barleyologist, I don't think SEDO locks apply to collections. See ConfigMgr SEDO. It's possible that list is out of date, but since collections have been around a while 😉 I would expect it to be on the list if it applies.
But I think we can expand this article to include some additional info about SEDO, especially with a cross-link to the above article for more info.


@manyToMany with Auth | Access pattern | Auth rule

I was trying to implement a chat feature that has three models; message, user and conversation.
A user can have many conversations, a conversation can have many users and a conversation can have many messages.
I tried using @manyToMany between the user and conversation models with authenticated rules set to owner, this however fails because of " Not Authorized to access on type error".  Im using graphql API (Not Datastore) with cognito user pool.
If I set the allow rule to private then it works but then that would mean that the users in a conversation would have access to each others user model and through that access to other conversations that the users might have.
One could maybe use a query filter and only show the relevant conversations but it would still mean that the user data is accessible to all signed in users. Maybe one could use a lambda function.
The simple explanation however is that my model is incorrect. My question is as follows, how can we create a simple chat with the above three models where the users in a conversation would only have access to the relevant data (messages in a conversation) and not have have access to each others, other conversations and messages.
The chat schema
type User @model @auth(rules: [{ allow: owner }]) {
id:ID!
username: String!
conversations: [Conversation] @manyToMany(relationName: "ConversationUser")
}
type Conversation @model @auth(rules: [{ allow: owner }]) {
id: ID!
users: [User] @manyToMany(relationName: "ConversationUser")
Messages: [Message] @hasMany(indexName: "byConversation", fields: ["id"])
}
type Message @model @auth(rules: [{ allow: owner }]) {
id: ID!
author: ID!
content: String!
conversationID: ID! @index(name: "byConversation", sortKeyFields: ["createdAt"])
}
Which Category is your question related to?
Amplify CLI / graphql API
Amplify CLI Version
8.0.2
What AWS Services are you utilizing?
Appsync

Hey @sansavision :wave: thanks for raising this and sorry about the delay!! From the conversation here I'm going to mark this as a duplicate feature request of #135 and close in favor of tracking the existing issue. Please subscribe to the linked issue for further updates


support for third party scripts

Codebase
Built-in vanilla Drupal or mounted codebase
Host OS
e.g. macOS Sierra
Docker info output
# Run "docker info" on the host machine and paste output here

Docker compose file
# Content of your docker-compose.yml file. Make sure you remove all sensible information you might have there.

Logs output
# Run "docker-compose logs [service]". Let's say you get 500 error for some reason then it'll be helpful to provide logs for php and http server (nginx/apache) services.

I would like to instal a third party script similar to:
https://github.com/tjko/jpegoptim
What is the correct way to include this in the docker-compose yaml config?

You can install it from alpine repository:
sudo apk add --update jpegoptim

Thanks, yes logging in with:
docker-compose exec --user root php sh
and executing
sudo apk add --update jpegoptim
works.
I was really wondering if there was a way to put this in the docker-compose.yaml so this persists when starting/stopping docker etc

Works fine with 5.x version image:
$ docker run --rm -ti wodby/php:5.6-dev-4.2.2 sh                                                                              [16:04:51]
/var/www/html $ sudo apk add --update jpegoptim
fetch http://dl-cdn.alpinelinux.org/alpine/v3.7/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.7/community/x86_64/APKINDEX.tar.gz
(1/1) Installing jpegoptim (1.4.4-r0)
Executing busybox-1.27.2-r7.trigger
OK: 192 MiB in 126 packages

I was really wondering if there was a way to put this in the docker-compose.yaml so this persists when starting/stopping docker etc?

the only way to make it persistent is to include it in the image, you can build your own based on ours.
although It's a very light tool and including it in the basic image won't be a big deal, I'm not sure it's that popular, personally, I never heard of anyone using it until now. Also, I see that it's not actively maintained, the latest release dated 2016, perhaps there are good alternatives you just don't know about, for example jpegtran that comes with libjpeg and already in the image

Thanks for your answer.
Interesting how you are using docker run. Not sure what the -ti flag does?
Yep, I will look into forking yours. In this instance it is supporting something that has been set up on. legacy project. I guess this happens quite a lot.
It's a shame there is no way to include this in the docker-compose file as forking seems like a lot of work just to include these requirements,

Hi @csandanov,
we had a couple of internal discussions about using tools like jpegoptim and co with Docker4Drupal/Wodby. The reason is, that clients often ask us about the Google Pagespeed Insights scores, which we always loose some points, because images could have been compressed better (not speaking about the jpeg quality). Using ImageMagick and strip the image metadata reduced the files quite a lot, but those specialized tools seems to bring better results.

@szeidler we can add jpegoptim, it's not a big deal since it's really light. As for the google pagespeed score, we're aware of this need and we want to add mod_pagespeed module to nginx for a while now but it didn't compile on alpine until recently. So, you can expect this in the upcoming updates. Although I'm not 100% sure this module will resolve all compressions issues.


Research number handling libraries

We're writing enough homegrown code around number handling that it makes sense to see if number libraries can help us.  The resolution of #2314 will be dependent on this investigation.
Any progress on this spike can be documented in this GDoc.

We're going to implement something next time we run into a number handling issue and then just use it going forward (rather than swapping out existing code for a new library).  Which means it's moving to poblano.

Potentially LoE medium for the time spent picking one.


Add introduction section

Add navigation bar
Add introduction part, with text and background
Add responsive style so that it works on both mobile and desktop

@wayungi
Dear Francis,
I have made the changes in the README accordingly, before I request another review, can you please have a look?
I would appreciate that a lot, thanks


Bottom of screen flickers after ImagePicker resolves on iOS 13

Bug
Bottom of the screen flashes/flickers after the ImagePicker promise is resolved. Pay attention to the bottom of the screen in the following gif:

Environment info

react-native info output:
System:
    OS: macOS Mojave 10.14.6
    CPU: (4) x64 Intel(R) Core(TM) i5-7360U CPU @ 2.30GHz
    Memory: 411.13 MB / 8.00 GB
    Shell: 5.3 - /bin/zsh
  Binaries:
    Node: 13.8.0 - /usr/local/bin/node
    Yarn: Not Found
    npm: 6.13.7 - /usr/local/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  Managers:
    CocoaPods: 1.8.4 - /usr/local/bin/pod
  SDKs:
    iOS SDK:
      Platforms: iOS 13.2, DriverKit 19.0, macOS 10.15, tvOS 13.2, watchOS 6.1
    Android SDK:
      API Levels: 28, 29
      Build Tools: 28.0.3, 29.0.3
      System Images: android-28 | Intel x86 Atom_64, android-29 | Google APIs Intel x86 Atom
      Android NDK: Not Found
  IDEs:
    Android Studio: 3.5 AI-191.8<IP_ADDRESS>10548
    Xcode: 11.3.1/11C504 - /usr/bin/xcodebuild
  Languages:
    Python: 2.7.16 - /usr/bin/python
  npmPackages:
    @react-native-community/cli: Not Found
    react: 16.11.0 => 16.11.0
    react-native: 0.62.0 => 0.62.0
  npmGlobalPackages:
    *react-native*: Not Found

Library version: 2.3.1
Steps To Reproduce

Create a new react project and install react-native-image-picker
Add the code below to App.js
Run the app on iOS 13, press the test button and either load an image from the gallery or press cancel. After the ImagePicker promise is resolved the bottom of the screen will flicker as if something wants to pop up.

Describe what you expected to happen:

Smooth closing of the image picker component.

Reproducible sample code
import React from 'react';
import {
  SafeAreaView,
  Button,
} from 'react-native';
import ImagePicker from 'react-native-image-picker';

export default function App() {
  return (
    <SafeAreaView>
      <Button onPress={() => ImagePicker.showImagePicker({}, res => {
        //Do nothing
      })} title='test' />
    </SafeAreaView>
  )
}

Did you resolve this? I am also experiencing the same issue on iOS 13.

In my case, it only happens after choosing a photo from library. When I cancel or when I take a photo directly it does not flicker.


ob upgrade: v2

v2

Switch to using nix-hash for hashing
Verification of graph integrity

Hashing
The ob internal hash command will compute the hash of the current directory. If it is a git repo, untracked (yet to be git-add'ed) files and empty directories will be ignored. It takes an optional revision, in which case it will compute the hash of that specific git tree.

Verifying the migration graph
The ob internal verify-migration command verifies the integrity of the migration graph:

PR workflow
Before each commit (or at least before the last commit of a PR), we should run ob internal create-migration and commit the new migration edge (created between the hash for HEAD and the hash for working copy) along with other changes:

How to test yourself
Install this PR:
cd /your/obelisk
git fetch
git checkout ob-upgrade-v2
nix-env -f . -iA command

Go to your obelisk project (must be using obelisk master), and upgrade it to the PR branch:
cd /your/project
ob upgrade ob-upgrade-v2

You should see something like:

Added ob internal verify-migration to our hydra CI in fbce108 - https://hydra.reflex-frp.org/build/732/log


Drop support for 386

Apple has not produced a 32-bit mac since 2007
iDevices are not relevant to this, because they all run on ARM
Go 1.15 dropped all support for 32-bit darwin (darwin/386 and darwin/arm)

@progrium @flexzuu Is there any reason to continue supporting 386?

Closed by #63


Use dnsutils image for DNS debugging

DNS debugging documentation is using a busybox image as example.
This image has different known issues with the way it resolves
the DNS names in k8s that create confusion with users following the
docs.
The e2e tests use a custom small image ~4.3MB for DNS testing
with all the tools necessary. Also, the fact that this image is
being used for the k8s e2e testing guarantees it's compatibility.

/assign @BenTheElder @bowei

/assign @zparnold

Not sure it is a good thing to test a feature using an image customized for it. If the DNS resolving feature works well, why we cannot use busybox or other images?

@tengqm this is the context of this issue https://kubernetes.slack.com/archives/C09QYUH5W/p1575667447086200
As you can see in current documentation the busybox version has to be pinned to 1.28 because later versions don't work with kubernetes https://github.com/docker-library/busybox/issues/48
Also, you can see that there are already some known issues https://kubernetes.io/docs/tasks/administer-cluster/dns-debugging-resolution/#known-issues , unfortunately, DNS is a complex topic with many moving parts.
Having an image that is being tested daily guarantees that the docs will be up to date, using a generic image it may break in the future without anybody noticing.

Not sure it is a good thing to test a feature using an image customized for it. If the DNS resolving feature works well, why we cannot use busybox or other images?

the set of tools is the only thing customized, not any details about how it behaves. most common images lack DNS utilities.
the busybox tools are not a great choice, they are known to behave badly on kubernetes. we are observing the search paths not being respected.
this could certainly happen with other real tools, but they should respect this.

/lgtm
thanks!

we are observing the search paths not being respected.

Okay. That is a convincing.
/lgtm

/hold

[ ] keep old example
[ ] log new issue to track future clean up

/lgtm
/approve

/hold cancel
Please take a look

/assign @zparnold

gentle poke :upside_down_face:
we're seeing users encounter this semi-frequently.


Match parameter count to input type dimensionality

Adds a patch to fix the number of parameters to the dimensionality of the input type presented. The message should be informative enough to give the user an idea of what's going, as it gives the # of params given, and the # expected to match the type. Adds a few positive & negative cases to verify things pass that we expect to pass.

Reset the PR and converted to a draft, with only a small indicating where work should be done. Apologies for the poor commit quality, there were some testing changes I didn't pull out, as I'm assuming this will be changed.


Bug report: Unzip & Tar

Describe the bug
When trying to unzip and tar a file i get https://i.imgur.com/UM1TMo9.png
This happens every single time i try and also takes very long
To Reproduce
1.Enter this url https://ur domain/#recipe=Unzip('',false)Tar('file.gz')
2.Enter the file i tried https://drive.google.com/uc?id=1Jm5jUhOHFQDLEMsKulmYK8GSN6RIH213, you can try another if wanted but this is the file i tried.
Expected behaviour
Should unzip my files then put those files into a tar. Also its very slow. It seems as this is getting proccessed on the browser? if so why not on cyberchef its self you could process way larger files faster.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (if relevant, please complete the following information):

OS: [e.g. Windows]
Browser: [e.g. chrome 72, firefox 60]
CyberChef version: 9.32.4

It seems as this is getting proccessed on the browser? if so why not on cyberchef its self you could process way larger files faster.
Cyberchef is a javascript tool that 100% runs on the client side. Everything you do with it runs "on the browser". The server only provides the javascript, otherwise it won't do anything else.

For me the recipe works just fine. The error message rather looks like it's a browser issue.


PhantomJS does not work out-of-the-box

When trying to start PhantomJS, the following error message is displayed:
root@ioBrokerProductive:/opt/iobroker/node_modules/phantomjs-prebuilt/bin# ./phantomjs Auto configuration failed<PHONE_NUMBER>72288:error:25066067:DSO support routines:DLFCN_LOAD:could not load the shared library:dso_dlfcn.c:185:filename(libssl_conf.so): libssl_conf.so: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden<PHONE_NUMBER>72288:error:25070067:DSO support routines:DSO_load:could not load the shared library:dso_lib.c:244:<PHONE_NUMBER>72288:error:0E07506E:configuration file routines:MODULE_LOAD_DSO:error loading dso:conf_mod.c:285:module=ssl_conf, path=ssl_conf<PHONE_NUMBER>72288:error:0E076071:configuration file routines:MODULE_RUN:unknown module name:conf_mod.c:222:module=ssl_conf
After searching via google I found this post:
https://stackoverflow.com/questions/50585038/phantomjs-crashes-on-jenkins-auto-configuration-failed
This recommends to set an environment variable:
export OPENSSL_CONF=$WORKSPACE/openssl.cnf
Apparently, the variable does not need to point to anything reasonable (as $WORKSPACE is not defined) but needs only to exist as after adding this variable, everything works.
A "standard" problem with PhantomJS is, that you have to install a library upfront:
apt-get install libfontconfig
After installation of libfontconfig and setting OPENSSL_CONF, PhantomJs works.
How can this variable be created automatically?

This recommends to set an environment variable:
export OPENSSL_CONF=$WORKSPACE/openssl.cnf

Think this may be covered by using "Userdefined startup scripts (https://github.com/buanet/docker-iobroker/blob/master/README.md#userdefined-startup-scripts)

apt-get install libfontconfig

For this please use ENV packages (https://github.com/buanet/docker-iobroker/blob/master/README.md#environment-variables)
Does this work for you?
Regards,
André

Hi,
thanks for the hints.
Especially the user scripts are very useful.
Now everything is sorted.
Bye
Christof


Executive Management and Construction Committees Membership Issues

We noticed that the Executive Management Committee and Construction Committee shows the “Gloria Roberts (Interim)” member again. I believe we resolved this previously but it is showing up again. I checked with Legistar and the record no longer shows the “(Interim)” in the membership. We also noticed that memberships are not correct for these two Committees. Please resolve this one ASAP.

@neilarellano I've manually removed the incorrect committee memberships from the site.

@antidipyramid
Construction Committee still shows Solis.
Executive Management Committee still shows Krekorian.

@neilarellano I've also manually removed Solis and Krekorian from the Construction and Executive Management Committees, respectively.

We'll need to do some investigation into why Gloria Roberts reappeared as an interim member. We probably would avoid these issues altogether by getting the pupa clean dashboard working again. @antidipyramid

We'll track pupa progress in #1007


Hopefully, create new MapML branch in prushforth/Leaflet based on that branch in Maps4HTML/Leaflet

Wrong direction, closing


Does not work for iOS

Hi @Lamerchun, I suspect your issue is not related with this package as I have no probems expanding/collapsing all the examples of demo website with my iPhone.
Anyways, I'm happy to help you out if you can provide me some sort of reproduction on StackBlitz or CodeSandbox.

Hi,
Thanknyoi so much for the quick response.
I am using iPhone 14 Pro with the latest iOS.
On your demo page collapsing works. But it is not animated as it should. Using mac os, with works and animation is smooth.
Hope it helps you finding the issue. I would love to use your package.
KR
Tuan
Von meinem iPhone gesendet
Am 12.09.2023 um 23:12 schrieb Simone Mastromattei @.***>:

Hi @Lamerchunhttps://github.com/Lamerchun, I suspect your issue is not related with this package as I have no probems expanding/collapsing all the examples of demo websitehttps://vue-collapsed.netlify.app with my iPhone.
Anyways, I'm happy to help you out if you can provide me some sort of reproduction on StackBlitzhttps://stackblitz.com or CodeSandboxhttps://codesandbox.io.
—
Reply to this email directly, view it on GitHubhttps://github.com/smastrom/vue-collapsed/issues/16#issuecomment-1716448829, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AA2TH2LSG5BZX6TCXSLRTFDX2DF4VANCNFSM6AAAAAA4VMRY7A.
You are receiving this because you were mentioned.Message ID: @.***>

If the animation is laggy, that's maybe because you have Low Power Mode enabled?

There is no animation at all. I have 23% and power plugged right now. Will try it later again. Works on my iPhone 8 though.
Btw. is it possible to male the animation horizontally from width 0 to auto?

If the expand/collapse works but you see no transition, that's maybe because you have enabled reduced motion?

Ah yes. This is true. Didnt know this is supported. Great! Thanks

Works when disabled motion reduction. 👍🏻


feat: remove references to fetch polyfills

x-ref https://github.com/remix-run/remix/pull/7230
x-ref https://github.com/remix-run/remix/issues/6940
Signed-off-by: Logan McAnsh<EMAIL_ADDRESS>

available to test under the pre tag


Options Validation: Support DataAnnotations

From Experience review with @ajcvickers @DamianEdwards @Eilon @davidfowl :
We should support DataAnnotations on the POCO for 2.2:
for example:
public class MyOptions
{
        [Required]
        public string Key { get; set; }

        [Range(18,99, ErrorMessage="Age should be between 18 and 99")]
        public int Age { get; set; }

        [DataType(DataType.PhoneNumber)]
        [Phone]
        Public string PhoneNumber { get; set; }

        [DataType(DataType.EmailAddress)]
        [EmailAddress]
        Public string Email { get; set; }
}

Need to figure out how to opt in, via new default overload?
services.AddOptions<MyOptions>.[Auto]Validate()

The ability to add a binding name will be handy. Like JsonProperty.
public class MyOptions
{
    [JsonProperty("ASPNETCORE_ENVIRONMENT")]
    public string Environment { get; set; }
}

Sometimes the host environment set some values, and I'd like to read it using my app language.

@thiagolunardi I agree. This was suggested in issue #775. It was decided to implement this sort of thing through the BinderOptions instead as part of #789.
Personally I feel like implementing yet another way to serialize properties instead of using what's already there is a mistake. I would much rather use data annotations for this.
I believe the counter argument is that sometimes you don't own the options type and can't add annotations to it. In my mind that would be a good argument for implementing 789 as a fallback. But data annotations should be the primary solution.
Especially now that we're adding validation through standardized attributes, I feel like that sets a precedent for also using attributes for serialization/property mapping. After all, the same argument could apply to validation - that rules could be added to BinderOptions or some other structure disconnected from the model in case one does not own the options model.
So, I feel like the decision to scrap #775 Should be reconsidered. Attributes should be the common approach for serialization and validation alike, with BinderOptions as a fallback only.

Options and Configuration are decoupled, we can certainly consider revisiting and unifying the binder with whatever we end up for Options Validation as the binder primarily exists to bind config to options.

It likely would end up similar to how options validation works, it would be a sugar method that generated the appropriate underlying binderoptions, as opposed to a replacement for the binder options.

Fixed in https://github.com/aspnet/Options/pull/272

@HaoK did you included DataMember attribute so we can change a property binding name as we discussed in this post? I don't see it.
Thanks.

The binder is unrelated to options validation, the binder is something that's solely part of configuration and any future binder work is not really directly related to this

The binder is just one of many different ways you can set options values, options validation is a new lower level feature.

But it's something that are you going to do? We discussed it above and thought that it would be implemented at some point.

The main difference from the discussion above, is that the binder is not at all targeted for "serialization", which is why going down the path of [DataMember] is not really a good fit as those are serialization attributes and that's not really something the binder is intended for

sigh Why can't we have nice things... Would it be better if the request came in its own thread, one dedicated to Serialization through data contracts or something along those lines? Basically it feels like we're being met with the sort of response saying "this does not conform to our narrow definition of what the thing should do, hence the request is not reasonable and thusly rejected". Frustrating!


Start job only if waiting

related to https://github.com/huggingface/datasets-server/issues/1467#issuecomment-1687104152

Let's merge and deploy, no?


Fix trying to unhide suites in the HTML reporter would leave every other suite still hidden.

document.getElementsByClassName returns a live list, so unhiding a suite would remove it from the list, and incrementing the array index would cause the next hidden suite to be skipped.

@Arnavion Can you please provide something to reproduce this issue?

It's trivial to reproduce (take a test run with two passing suites, switch to failed, switch back to passed, notice not every suite is unhidden) and the code itself is quite clearly wrong...

The people behind intern have a better idea of how browsers work and are more receptive to bug reports, so I've lost interest in trying to get this fixed in mocha.
For posterity:
lib/reporters/html.js
@@ -257,8 +257,8 @@ function hideSuitesWithout(classname) {

 function unhide() {
   var els = document.getElementsByClassName('suite hidden');
-  for (var i = 0; i < els.length; ++i) {
-    els[i].className = els[i].className.replace('suite hidden', 'suite');
+  while (els.length > 0) {
+    els[0].className = els[0].className.replace('suite hidden', 'suite');
   }
 }


Update telemetry version

This updates the telemetry module version and provides tests for (mostly) SyncLogfmt.
Signed-off-by: Dhi Aurrahman<EMAIL_ADDRESS>

Hum, let me push to this org instead so CI runs.


"steam_api64.dll not found"

ive been trying to get the steam api to work in godot on windows. after figuring out all the things i needed installed i ran the scons platform=windows tools=yes command. the whole thing compiled without a hitch and i thought i was finally done and could statr figuring out the Steam Api in godot. however when trying to launch the compiled program, an error shows up saying steam_api64.dll was not found and promptly closes. I checked in the steamworks zip file i used for the sdk and sure enough the file it was complaining about was there. So i double checked and tried compiling again with the same issue. Am i missing something or did i not compile it correctly?

Hey there!  Sounds like it compiled fine but that errors means that you are missing the steam_api64.DLL in either the folder your editor is in or the folder your exported game is in.  It must be present in the same folder as either the editor or exported game unless you run either through the Steam client itself.
Try that out and let me know if that fixes it!

That did it! Thanks for the help

No problem, sir! Glad I could be of assistance!


Add align parameter to SubredditStylesheet.upload_banner_additional_image()

Closes #1066.

Thanks! Any idea when that feature will be released?


Automated cherry pick of #3067: snapshot move to recycle bin

Cherry pick of #3067 on release/2.12.
#3067: snapshot move to recycle bin

Codecov Report

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

@@              Coverage Diff               @@
##             release/2.12   #3068   +/-   ##
==============================================
  Coverage                ?   7.17%
==============================================
  Files                   ?     478
  Lines                   ?   76777
  Branches                ?       0
==============================================
  Hits                    ?    5509
  Misses                  ?   70805
  Partials                ?     463

Flag
Coverage Δ

#aFlag
7.17% <ø> (?)

Continue to review full report at Codecov.

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

/lgtm

/approve

/lgtm

/approve


Installing a local package without setup.py, by file://, deletes the project directory

Issue description
I forgot to configure setup.py in a new project proj1, then tried to do pipenv install -e file:///path/to/proj1, from under another project directory.  The command returned with a FileNotFoundError: [Errno 2] No such file or directory: '/path/to/proj1' error, and deleted the entire proj1 directory.
Expected result
I would have expected an error message along the lines of "setup.py is not found in proj1".
Actual result
➜  workspace/pipenv-test/proj2 pipenv install -e file://$HOME/workspace/pipenv-test/proj1
Installing -e file:///home/jingxue/workspace/pipenv-test/proj1…
Traceback (most recent call last):
  File "/home/jingxue/.local/bin/pipenv", line 8, in <module>
    sys.exit(cli())
  File "/home/jingxue/.local/lib/python3.7/site-packages/pipenv/vendor/click/core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File "/home/jingxue/.local/lib/python3.7/site-packages/pipenv/vendor/click/core.py", line 717, in main
    rv = self.invoke(ctx)
  File "/home/jingxue/.local/lib/python3.7/site-packages/pipenv/vendor/click/core.py", line 1137, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/jingxue/.local/lib/python3.7/site-packages/pipenv/vendor/click/core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/jingxue/.local/lib/python3.7/site-packages/pipenv/vendor/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "/home/jingxue/.local/lib/python3.7/site-packages/pipenv/vendor/click/decorators.py", line 64, in new_func
    return ctx.invoke(f, obj, *args, **kwargs)
  File "/home/jingxue/.local/lib/python3.7/site-packages/pipenv/vendor/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "/home/jingxue/.local/lib/python3.7/site-packages/pipenv/vendor/click/decorators.py", line 17, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/home/jingxue/.local/lib/python3.7/site-packages/pipenv/cli/command.py", line 254, in install
    editable_packages=state.installstate.editables,
  File "/home/jingxue/.local/lib/python3.7/site-packages/pipenv/core.py", line 1909, in do_install
    pkg_requirement = Requirement.from_line(pkg_line)
  File "/home/jingxue/.local/lib/python3.7/site-packages/pipenv/vendor/requirementslib/models/requirements.py", line 1092, in from_line
    r = FileRequirement.from_line(line_with_prefix, extras=extras)
  File "/home/jingxue/.local/lib/python3.7/site-packages/pipenv/vendor/requirementslib/models/requirements.py", line 548, in from_line
    return cls.create(**arg_dict)
  File "/home/jingxue/.local/lib/python3.7/site-packages/pipenv/vendor/requirementslib/models/requirements.py", line 477, in create
    setup_info = SetupInfo.from_ireq(ireq)
  File "/home/jingxue/.local/lib/python3.7/site-packages/pipenv/vendor/requirementslib/models/setup_info.py", line 422, in from_ireq
    progress_bar="off",
  File "/home/jingxue/.local/lib/python3.7/site-packages/pipenv/patched/notpip/_internal/download.py", line 824, in unpack_url
    unpack_file_url(link, location, download_dir, hashes=hashes)
  File "/home/jingxue/.local/lib/python3.7/site-packages/pipenv/patched/notpip/_internal/download.py", line 700, in unpack_file_url
    shutil.copytree(link_path, location, symlinks=True)
  File "/usr/lib/python3.7/shutil.py", line 318, in copytree
    names = os.listdir(src)
FileNotFoundError: [Errno 2] No such file or directory: '/home/jingxue/workspace/pipenv-test/proj1'

pipenv support file attached.
support.txt

Just to add that running pipenv install -e ../proj1 gives the error below, but at least does not delete proj1.
Installing -e ../proj1…
WARNING: Invalid requirement, parse error at "'../proj1'"
✘ Installation Failed

Hi @jingxue
I've been able to succesfully reproduce your bug with the below Dockerfile, I think. The good news is that the pipenv master branch doesn't appear to have this bug (as you can see by switching between the versions in the Dockerfile). So until #3369, It seems like installing pipenv from github is the way to go...

FROM ubuntu
ENV LC_ALL=C.UTF-8
ENV LANG=C.UTF-8
RUN apt-get update && apt-get -y install
python3
python3-pip
git
WORKDIR /app
RUN pip3 install -U pip
#Switch pipenv version here:
#RUN pip3 install -e git+https://github.com/pypa/pipenv.git@d10b2a216a25623ba9b3e3c4ce4573e0d764c1e4#egg=pipenv
RUN pip3 install -e<EMAIL_ADDRESS>RUN mkdir /testproj
RUN touch /testproj/somefile
RUN echo "ls -la /testproj && pipenv install -e file:///testproj || ls -la /testproj" > run.sh
CMD [ "sh", "run.sh"]

@jingxue Sincere apologies for any trouble this might have caused you :| just so you are aware, pip install --upgrade --pre pipenv will get you a version of pipenv that does not cause this issue.
I'll close this for now as it's been fixed on master, even though it's not yet released -- the official release will be out soon. Thanks for reporting this and for your patience!


Use cloud-provider-kind instead of MetalLB

kind has a cloud-provider which can take care of LoadBalancer-type services; this works fine with LB-mode Submariner, so use that instead of MetalLB.
Currently the command is installed as cmd, which is why it is renamed during container construction. This is fixed for the next release of the cloud-provider.
cloud-provider-kind runs in the foreground, so this wraps it in a container run alongside the kind clusters, on the host network. The container is stopped on cleanup.
The dependency version will be tracked using dependabot.

Switching to draft because this leaves haproxy containers running (and shouldn’t).

I think we should consider keeping MetalLB as well since it is the default LB provider for baremetal. Do you think we can support both methods?

I think we should consider keeping MetalLB as well since it is the default LB provider for baremetal. Do you think we can support both methods?

We probably can, yes.


Link Preview

Add inline previews below any messages with links, support for youtube and imgur at least.

Would be nice to support diagram links: umlaut and yuml

embed.ly has a .js for their cards, called platform.js, which is free. If the js is included, then any  with a class of embedly-card will get modified in place.


gce: drop rsyslog

On AWS and Azure Ubuntu Minimal image we don't have rsyslog, it just uses persistent journal log, but only GCE image has rsyslog. We want to align image configuration between clouds, let's drop rsyslog from GCE image.
Related scylladb/scylla-enterprise#3080

@syuu1228 Let's run https://jenkins.scylladb.com/job/scylla-master/job/releng-testing/job/gce-image/ from your branch to verify nothing is broken

https://jenkins.scylladb.com/job/scylla-master/job/releng-testing/job/gce-image/80/ . let's see if this will pass

@d-helios - do you need rsyslog (IIRC, you were going to use Vector as log shipper?)

@d-helios - do you need rsyslog (IIRC, you were going to use Vector as log shipper?)
we do not use rsyslog now
and yes we are going to use vector for scylla as well

https://jenkins.scylladb.com/job/scylla-master/job/releng-testing/job/gce-image/80/ . let's see if this will pass

Verification passed


Do not suggest Deprecated Connector functions

-If a path is deprecated or internal for Intellisense, do not suggest it.
-Dotted Name already was blocking it, FirstNameNode also blocks it now.

✅ No public API change.


Custom background color support for AvatarView

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: EtiNegevMSFT sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

/AzurePipelines run

/AzurePipelines run

@EtiNegevMSFT there's nothing wrong with the build on your end - It appears that there is a GitHub + AzureDevops integration issue we need to fix so stay tuned.

/azp run


OLS crashes when performing "Find all references" in VSCode

Version
0.1.33
Last Updated
2024-12-31, 09:43:46
I just updated the VSCode ols plugin and when I perform right-click -> "Go To References" or "Find all references", the server crashes with error: [Error - 9:38:52 AM] Server process exited with code<PHONE_NUMBER>.
Regardless of the version I use, I now have the same problem; presumably this is an issue with the ols itself - is there any way I can roll back (not the plugin, but the OLS version)? I have let the VSCode plugin manage that for me previously, so not sure.

Does it happen for everything? I'm not getting crashes with the latest image.
Is it possible to get some repro? Also which platform are you on?


Remove getInstanceEthAddress docs

Remove the https://docs.openlaw.io/api-client/#getinstanceethaddress docs once PR https://github.com/openlawteam/openlaw/pull/1620 gets released.

now removed


Error and breaks Rails ActionText

I  yarn upgrade to get a Bootstrap icon upgrade, but it broke something with Leaflet.timeline. Now getting this error on page load. See below where I think the problem is with the leaflet.timeline version.
index.js:7 Uncaught Error: Cannot find module './Timeline.ts'
at webpackMissingModule (index.js:7)
at Object../node_modules/leaflet.timeline/dist/index.js (index.js:7)
at __webpack_require__ (bootstrap:19)
at Module.<anonymous> (bootstrap:83)
at Module../app/javascript/packs/application.js (application.js:99)
at __webpack_require__ (bootstrap:19)
at bootstrap:83
at bootstrap:83

And this causes Rails ActionText to not work correctly for some reason.
Ruby ruby 2.6.6-p146
Rails <IP_ADDRESS> [Problem started with 6.0.0, but upgraded hoping would fix problem]

Update 1: tried running here https://npm.runkit.com/leaflet.timeline and got this error Error: Cannot find module './Timeline.ts' so not just a probem with my app.
Update 2: yarn add<EMAIL_ADDRESS>fixed it. So rolling back from 1.4.3 fixed it. I tried 1.0.0, but had other problems, so tried 1.3.0 because it was pre TypeScript and the error appears to relate to .ts file. Haven't tried the versions between 1.3.0 and 1.4.3, but will if that will help debug.
My app now works, but this is still an issue.

I too am having this issue. Is there a fix apart from rolling back to 1.3.0?

This was due to a major fail in bundling things properly. 1.6.0 should fix this


Restart animation

How to restart animation?
setProgressWithAnimation(float progress) just do nothing.
I need it for progressbar for recyclerview because I don't want recreate progressbar just to show animation.

You can play with the value of the progress. If you want to restart animation from 0 to 50 for example. You can set the progress to 0 without animation and used setProgressWithAnimation to 50.

You can play with the value of the progress. If you want to restart animation from 0 to 50 for example. You can set the progress to 0 without animation and used setProgressWithAnimation to 50.

Thanks, it works. Can I launch animation with indeterminate mode?

I'm not sure to understand your question. "indeterminate mode" it's an animation.
Play with the sample to see all the action you can do.


IOError: OSError(0, 'Error')

Hi all,
Great job with eps, quite a breeze to install and run. I did run into one issue. I added a handful of wallets and addresses and am running eps (with a custom tls.key and .cert). I'm connecting from my personal device via a ssh tunnel (as suggested in the readme). When opening Electrum client, I get the following error:
INFO:2020-03-03 22:02:36,189: Starting electrum server
INFO:2020-03-03 22:02:36,325: Listening for Electrum Wallet on ('<IP_ADDRESS>', 50002)
ERROR:2020-03-03 22:02:40,126: IOError: OSError(0, 'Error')
ERROR:2020-03-03 22:02:47,784: IOError: OSError(0, 'Error')

These errors appear every few second for as long as Electrum client is running. When I turn off Electrum client the errors no longer appear, and reapper as I relaunch EPS.
Changing only one line in config.ini (accepting connections from <IP_ADDRESS> to <IP_ADDRESS>) and running EPS again I still see the error. However, now I can connect directly to my machine on the intranet without error.
INFO:2020-03-03 22:15:06,005: Starting electrum server
INFO:2020-03-03 22:15:06,139: Listening for Electrum Wallet on ('<IP_ADDRESS>', 50002)
INFO:2020-03-03 22:15:44,640: Electrum connected from 192.168.[x.y]
DEBUG:2020-03-03 22:15:44,643: => {"jsonrpc": "2.0", "method": "server.version", "id": 0, "params": ["electrum/3.3.8", "1.4"]}

I hope this is useful, happy to answer any questions or test again.

Thanks for the issue

Did you ever come up with a solution for this? I have no idea what the issue might be


Making 'prohibited' in market schema optional?

Hi. I'm looking to add support for Market events in EliteLogAgent and has hit a data sourcing issue. There is no data about items prohibited on a station in log anywhere - however, I can still provide the market commodities and pricing. Is there a way to send a message omitting the 'prohibited' value?

Seems to be a bug in NJsonSchema


Is it possible to hide the breadcrumb?

Hi,
Was wondering if it is possible to hide the breadcrumb all together?
Or alternatively, allow the display of the common options available in "view" mode within the "embedview" mode.

At the moment, when I run our wopi integration through the validator's  FullCheckFileInfoSchema test, I get it complaining about this:
Uri Expected: BreadcrumbBrandUrl, BreadcrumbFolderUrl
The response from our WOPI Host is:
{
  "BaseFileName": "validate.wopitest",
  "OwnerId"<EMAIL_ADDRESS>  "Size": 1,
  "Version": "0",
  "BreadcrumbBrandName": "Brand Name",
  "BreadcrumbBrandUrl": "",
  "BreadcrumbFolderName": "",
  "BreadcrumbFolderUrl": "",
  "BreadcrumbDocName": "validate.wopitest",
  "UserCanWrite": false,
  "ReadOnly": true,
  "SupportsLocks": false,
  "SupportsUpdate": false,
  "UserCanNotWriteRelative": true,
  "UserFriendlyName"<EMAIL_ADDRESS>  "UserId"<EMAIL_ADDRESS>}

Any help on this would be greatly appreciated.
Cheers,
Doug

Just omit the properties altogether. All optional properties in CheckFileInfo can (and should) be omitted, because defaults are always explicitly defined as part of the spec. The reason the validator is complaining is because the Breadcrumb URL properties, if specified, must be absolute URLs. Technically speaking, in Office Online your implementation would be equivalent to omitting them. But still... just omit what you're not using.

Many thanks Tyler


Is it possible to scroll a grid using click-and-drag?

I'm writing a website using w2ui that is designed to be used with a touchscreen. Scrollbars are difficult to use on a touchscreen, so I'd like to use click-and-drag to move through the table instead. Thanks!

I wrote a JS function (with help from Stack Overflow) to scroll the grid when you click and drag. It seems that the w2ui grid breaks jQuery mousedown events, so I have to use EventListeners instead. This function also needs to be called (with a slight delay) every time the content of the grid is replaced.
Overall, this is a pretty terrible solution, but maybe it will help someone in the future.
function drag_to_scroll(){
    cursor_down = false;
    cursor_xpos = 0;
    cursor_ypos = 0;
    grid = document.getElementById("grid_grid_records");
    grid.addEventListener("mousemove", function(e){
        if(cursor_down){
            grid.scrollTo(0, grid.scrollTop + 0.25*(cursor_ypos - e.pageY));
        }
    });
    grid.addEventListener("mousedown", function(e){
        cursor_xpos = e.pageX;
        cursor_ypos = e.pageY;
        cursor_down=true;
    });
    grid.addEventListener("mouseup", function(e){
        cursor_down=false;
    });
}


Remove incorrect run_queues test

The run_queues metric is load metric from the erlang environment, it
isn't directly related to rabbitmq message queues, though it is related
to node load, so a busy broker may have a higher run_queues.
However as this is a measure of load, it is not a good value for
checking replication across rabbit cluster members. This test has been
removed.
This patch also adds a couple of checks to ensure that all nodes are
clustered succesfully.
Descriptions of the variables that are used for the new tests:
Cluster_links:
A list of the other nodes in the cluster. For each node, there are
details of the TCP connection used to connect to it and statistics on
data that has been transferred.
Partitions:
List of network partitions this node is seeing.
From: https://github.com/rabbitmq/rabbitmq-management/blob/626f857dcab1532d6a7006cd7cd16aa824445969/priv/www/doc/stats.html#L653
Related: #626
(cherry picked from commit 99052a15535637415ab9098e18bac2735ee771ef)
Signed-off-by: Matthew Thode<EMAIL_ADDRESS>

recheck - kilo now has a better chance of passing

This looks okay to me :+1:

:+1:


Add Section 1

I'll be writing one of these for each section. If you want to glance over and suggest anything feel free

Per @ColCarroll's comments  getting models from https://github.com/dfm/exoplanet working would be cool

@ColCarroll Going to build the section 1 content on this branch. I'll notify you when ready for a PR

Ended up just making edits to the MD file. One thing to note is that there is no extra time in the tutorial right now which is making it difficult to add an explicit frequentism/bayesian section. As we build it out I'm hoping I'm able to find sections to cut, but will make a note of this

Merging, as I'll be making another PR for section 1 as a whole


Add smoothing "spin-down delay" and/or "spin-down decay rate" options

After a detected noise raises the vibration intensity to the appropriate % it should be possible to configure both an initial delay in ms at which the program will sustain the maximum intensity reached before it begins to fall (e.g. a noise raises the vibe to 50% and is then configured to hold it there after the noise ends for a ~100ms delay) which is then followed by a configurable decay-over-time rate that will cause the vibration % to gradually fall at a set rate instead of just immediately dropping to match the current audio level, at least until a new noise overrides it and raises the intensity back up again.
Obviously setting these values to 0 would disable all of this functionality and make it immediately respond to both rises and falls in the audio level as it does currently, but for certain applications (e.g. when using a minimum cut-off value, or where the music just has lots of ups and downs) it could be useful to have the intensity linger and/or decay after each burst of noise to some degree.
These settings could either be configured globally or on a per toy/motor basis.
I hope all of that makes sense ;)

good idea, but i don't have much time/motivation to work on this right now, sorry


Added description in freq-asked-questions.md

This change is

/assign Swikar

/WIP

/lgtm
/approve


'Inappropriate value for attribute "rcvd": a number is required.'

I get the following error when trying to configure a site24x7_dns_server_monitor to check a TXT record:
Inappropriate value for attribute "rcvd": a number is required.

According to the API docs, it's supposed to be a string (https://www.site24x7.com/help/api/#constants), and that makes more sense because we're talking about TXT records.  I guess it must have just been mixed up in mapping the API to go.

Hi, you approved my PR and then closed it.  Was closing an accident, or do you have another fix in mind?


[3.2] There are no way to connect to different databases with DB::connect()

The reason is that Injector builds all databases with shared connector.
So, for MySQLDatabase there is just one shared service MySQLiConnector.
$dbA = DB::connect($dbAconfig, 'default');
$dbB = DB::connect($dbBconfig, 'alt');

$dbB is actually connected to the server A.

Hm, I think you can alter the behaviour of injector in config.
Injector:
  PDOConnector:
    class: PDOConnector
    type: prototype

Should force all objects that depend on PDOConnector to require a separate instance for each connection.

I've definitely connected to other DBs before, but I think you have to swap out the default conn...
it's not so nice

I think the problem is with Injector::inst()->create
The top level object will indeed be a new instance, but any dependencies of that new object could still come from the current service cache. I don't think that behaviour is wrong, but it still needs to be considered.

I'd say that it is wrong because it violates expectations, makes typical use-cases harder, and deviates from 3.1.
My recommendation would be to change our default configuration such that a new connector is created each time that a new Database subclass is instantiated.

@tractorcow this appears to do the job: https://github.com/silverstripe/silverstripe-framework/pull/4763
@gregsmirnov can you confirm that this fix resolves the situation for you?

Thank you guys, it works again (as it was working in 3.1). And it is the fix I expected.


fix(languagestats): fix the condition

Please describe the changes this PR makes and why it should be merged
After #570 the condition has become incorrect and the command throws an error even when my language is not English
In this PR:

Code changes were not tested

why was this closed lol


Assert that redirects go directly to their target location

Previously the assertion allowed multiple redirect steps as long as it eventually got to the target. Now it's checked that the very first response directly returns a Location header to the final target.
This should save a couple RTTs for some urls.

LGTM, IMO can be merged with or without fixing the nit/typo :)

and thank you for this optimization!


Bot updates

This repo is currently not getting bot updates. Check why that it is.
cc @CJ-Wright

Is it listed under bad in the current graph?


Added transitions with CupertinoPageRoute

Swipe to back support #85
Push use cupertino route #100
Support cupertino full screen dialog page route

Codecov Report

Merging #103 into master will increase coverage by 2.53%.
The diff coverage is 28.57%.

@@            Coverage Diff             @@
##           master     #103      +/-   ##
==========================================
+ Coverage   50.28%   52.82%   +2.53%
==========================================
  Files           3        3
  Lines         175      195      +20
==========================================
+ Hits           88      103      +15
- Misses         87       92       +5

Impacted Files
Coverage Δ

lib/src/router.dart
6.75% <0%> (-0.6%)
:arrow_down:

lib/src/common.dart
80.95% <100%> (+36.5%)
:arrow_up:

lib/src/tree.dart
81% <0%> (+0.38%)
:arrow_up:

Continue to review full report at Codecov.

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

A really good feature to have! @lukef are you still maintaining this repo? If so, can you please merge the pull requests in?

Hi @lukef
Thanks for merging the changes. How do we get access to these new changes?
Has Dart Pub been updated?


feat: sync new files from WebContainer to editor

I work at Nx and in order to use tutorialkit for our tutorials, we need the editor to show files that are created by terminal commands.
This PR shows a prototype that enables the editor to show new files in the webcontainer that are created in a specific set of paths.  This is needed
Adds a new metadata lesson property addNewFilesInPaths under filesystem.
I added e2e tests for the new functionality as well.
If watch is false or undefined, existing files are not synced and new files are not created.
If watch is true and addNewFilesInPaths is undefined, existing files are synced, but new files are not created.
If watch is true and addNewFilesInPaths is an array of path strings, existing files are synced and new files whose paths start with one of the paths listed in the addNewFilesInPaths array are created in the editor. New files that are not in those paths do not get added to the editor.
Let me know if this is a useful feature for the general user base, if you want modify the API at all or if I should figure out a way to create this functionality as a patch just for our purposes.

That API would work for me.  I'm happy to implement it once @Nemikolh has a chance to review.

Hey! Thanks a ton for the PR :smiley:
The proposal of having watch accepting [<glob>] to restrict what get reflected in the file tree, sounds really good! :raised_hands:
In terms of performance concerns, we won't be able to provide that down to fs.watch just yet. It's something we want to add at some point though but it should not block this PR from landing.

PR and description updated to allow an array in the filesystem.watch property

/pkg-pr-new

Updated documentation as well

Released in 1.2.0.


no-unused-variable TypeError: Cannot read property '1' of null

Bug Report

TSLint version: 5.10.0
TypeScript version: 2.8.1
Running TSLint via: CLI

TypeScript code being linted
import { A, B, C } from './file';

console.log('No imports used');

export const D = 4;

with tslint.json configuration:
{
  "rules": {
    "no-unused-variable": [true, {"ignore-pattern": "^_"}]
  }
}

Actual behavior
The 'no-unused-variable' rule threw an error in '/Users/andrew.mitchell/Documents/Projects/test/test.ts':
TypeError: Cannot read property '1' of null
    at walk (/Users/andrew.mitchell/Documents/test/node_modules/tslint/lib/rules/noUnusedVariableRule.js:105:54)
    at Rule.AbstractRule.applyWithFunction (/Users/andrew.mitchell/Documents/test/node_modules/tslint/lib/language/rule/abstractRule.js:39:9)
    at Rule.applyWithProgram (/Users/andrew.mitchell/Documents/test/node_modules/tslint/lib/rules/noUnusedVariableRule.js:32:21)
    at Linter.applyRule (/Users/andrew.mitchell/Documents/test/node_modules/tslint/lib/linter.js:194:29)
    at /Users/andrew.mitchell/Documents/test/node_modules/tslint/lib/linter.js:139:85
    at Object.flatMap (/Users/andrew.mitchell/Documents/test/node_modules/tslint/lib/utils.js:151:29)
    at Linter.getAllFailures (/Users/andrew.mitchell/Documents/test/node_modules/tslint/lib/linter.js:139:32)
    at Linter.lint (/Users/andrew.mitchell/Documents/test/node_modules/tslint/lib/linter.js:99:33)
    at /Users/andrew.mitchell/Documents/test/node_modules/tslint/lib/runner.js:209:32
    at step (/Users/andrew.mitchell/Documents/test/node_modules/tslint/node_modules/tslib/tslib.js:133:27)

Expected behavior
Rule should warn All imports in import declaration are unused. for line 1.
This is caused by noUnusedVariableRule.ts#L123 because the failure message is All imports in import declaration are unused., which does not have a variable name in it for the regex to find.
This rule works correctly if the ignore-pattern option is not specified since it won't try to check the variable name.

Good find @hotforfeature. I started addressing this over in https://github.com/palantir/tslint/pull/3919 because it related to some changes coming up in TS 2.9 which will only exacerbate this issue.
My PR prevent an exception from being thrown, however, it simply ignores ignorePattern in the cases you mentioned which isn't great. I believe we'll need to add some complex code sort of like what we do for import autofixes right now :/

I'm wondering if we should thing about deprecating this rule. tsc now provides a way to ignore its warnings, and it provides support for automatic fixes for its warnings through an IDE.
As far as I can see, the main benefit to this rule is ignore-pattern, but it's difficult to implement that correctly the way the rule is now written to depend off tsc diagnostics. TSLint is also a little more flexible than tsc w/ regards to disabling rules in certain files. @suchanlee any thoughts on all this? I know you have fixed this rule recently

My primary use case for this rule is to autofix problems on commit in a git hook when linting. So I still think there's great value here even if tsc offers something via IDE integrations.

@JKillian i think that the rule is starting to become increasingly expensive to support with TSLint's support for multiple versions of Typescript and continued changes in Typescript behavior. And since Typescript supports the feature, we should lean towards using that. But since earlier versions of TS doesn't support it, I dont think that we should delete it. However i think we should start to think about deprecating the rule and work with the TS folks to better support the current TSLint workflows with TS.

I would second @suchanlee 's proposal. This rule comes up in issues a lot, it seems. Too many considering that recent TS versions warn about the problem adequately. Let's phase it out!

@hotforfeature - acknowledge your usecase and find it reasonable. However, due to the complexity of the rule, I think we're going to deprecate it (see #3919).
As always though, anyone is welcome to copy the source code of the rule and move it to an external package and keep using/improving it that way!

For what it's worth:
{
  "compilerOptions":  {
    "noUnusedLocals": true,
    "noUnusedParameters": true,
  }
}

Using the above in tsconfig allows for the no-unused-variable lint rule to be disabled.

@giladgray, @killtheliterate wrote:

Using the above in tsconfig allows for the no-unused-variable lint rule to be disabled.

I don't want to disable this rule, because as @kachkaev wrote

Defining noUnusedLocals and noUnusedParameters in compilerOptions is not quite the same as tslint's no-unused-variable

My use-case is generated code. I want my manually written code to follow this rule, but to avoid making code-generator enormously complex, i'd like to disable this rule in generated code (or at least in some sections of generated code) - that is smth that can't be done with TypeScript compiler options 😞

continue discussion in #4100 & #4232


Unable to use -y when creating a profile

Description
Unable to -y for code42 profile create.
Steps to Reproduce

Use code42 profile create -u
Notice that it says -y is not an option

Expected Behavior
To use -y and afford automating creating a profile. The use case could be to create the test profile if one does not exist already before running the commands.
Actual Behavior
Failure
Basic Information

code42cli version: 1.0.0
python version: 1.81
operating system: Mac OS

This was implemented in #219.

This was implemented in #219.


How to improve performance of (Synthesis of head and body)

When the torso is not trained, there will be small flaws at the junction of the head and body. What is the reason for this? Do you have any good suggestions for solving improve the performance?

您好 您有想到什么好的办法吗

躯干没有训练好时，头部和身体连接处会出现小瑕疵，这是什么原因造成的？大家有什么好的解决方法，可以提高表现吗？


Fullscreen mode by default

Hello.
I am trying to figure out how to load a video in fullscreen mode by default.
How would you do it?
Thanks in advance.

As of now you would need to edit the package itself. You could trigger _pushFullScreenWidget(context); in the initState of chewie_player.dart.

Option has now been added to as of 0.8.0. Thanks for the report!